- mGRE Tunnel Support over IPv6
- IP over IPv6 Tunnels
- Manually Configured IPv6 over IPv4 Tunnels
- Configuring Physical Interfaces
- Configuring Virtual Interfaces
- Implementing Tunnels
- Tunnel Route Selection
- MPLS VPN over mGRE
- IP Tunnel MIBs
- IF-MIBs
- Synchronous Ethernet (SyncE) ESMC and SSM
- 1+1 SR-APS Without Bridging
- IPv6 Rapid Deployment
- IPv6 Automatic 6to4 Tunnels
- IPv6 over IPv4 GRE Tunnels
- GRE IPv6 Tunnels
- ISATAP Tunnel Support for IPv6
- VRF-Aware Tunnels
- Ethernet over GRE Tunnels
- QoS on Ethernet over GRE Tunnels
- VRF-Aware IPv6 Rapid Deployment Tunnel
- IP Tunnel - GRE Key Entropy Support
- Finding Feature Information
- Information About QoS on Ethernet over GRE Tunnels
- How to Configure QoS on Ethernet over GRE Tunnels
- Configuration Examples for QoS on Ethernet over GRE Tunnels
- Additional References for QoS on Ethernet over GRE Tunnels
- Feature Information for QoS on Ethernet over GRE Tunnels
QoS on Ethernet
over GRE Tunnels
The QoS on Ethernet over GRE (EoGRE) Tunnels feature enables service providers to configure one common Quality of Service (QoS) policy for all endpoints, where an end-point can be a customer premise equipment (CPE) or a VLAN on a CPE. This feature supports high availability on a route processor.
- Finding Feature Information
- Information About QoS on Ethernet over GRE Tunnels
- How to Configure QoS on Ethernet over GRE Tunnels
- Configuration Examples for QoS on Ethernet over GRE Tunnels
- Additional References for QoS on Ethernet over GRE Tunnels
- Feature Information for QoS on Ethernet over GRE Tunnels
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Information About QoS on Ethernet over GRE Tunnels
EoGRE Downstream QoS
The Quality of Service (QoS) on Ethernet over GRE (EoGRE) Tunnels feature enables service providers to apply a unified QoS policy on all endpoints of a tunnel. This controls the bandwidth that public subscribers can download and ensures maximum bandwidth for private customers.
In the deployment scenario given in the figure below, the total available WAN bandwidth at the customer premise equipment (CPE) is 10 Mbps, of which public users are allowed 2 Mbps and the remaining bandwidth is available for private users.
Single SSID
Mobile nodes connect to wireless access points (APs). These APs have Service Set Identifiers (SSIDs) provided by the service provider. The SSID of a customer premise equipment (CPE) is the VLAN identifier. Service providers can provide more than one public SSID at a CPE. If a CPE has more than one SSID, then additional mGRE tunnels are configured with a corresponding VLAN tag. The configured multipoint generic routing encapsulation (mGRE) tunnels learn about remote subscribers and the corresponding CPEs independently. This ensures that VLANs, their subnets, default gateways, and VRFs are kept separate and independent of each other, and any QoS policy that is configured on each endpoint of these tunnels also applies to the traffic from the VLAN on the CPE.
Multiple SSIDs
In a single tunnel for a multiple Service Set Identifiers (SSID), service providers can configure a VLAN range on the multipoint generic routing encapsulation (mGRE) tunnel. When a subscriber traffic is received, the traffic is matched according to the tunnel source and the VLAN range. The Ethernet over GRE (EoGRE) control process also learns the MAC address of subscribers and the VLAN tag of the CPE from which the traffic is originating.
Note | You cannot change a VLAN configuration if any subscriber session or MAC address is already learned in the EoGRE control process. To change the VLAN configurations, you must clear all subscriber sessions. |
In the figure below, all endpoints learned on Tunnel-1 represent a CPE and a Quality of Service (QoS) policy applied on this tunnel endpoint applies to all traffic going towards the CPE irrespective of the VLAN.
How to Configure QoS on Ethernet over GRE Tunnels
Configuring Downstream QoS Policy on Ethernet over GRE Tunnels
Create a Quality of Service (QoS) policy map to attach to the Ethernet over GRE (EoGRE) tunnel.
Note | How to create a QoS policy map is not described in the following task. |
1.
enable
2.
configure terminal
3.
interface tunnel
tunnel-number
4.
interface source
{ip-address |
ipv6-address |
interface-type interface-number}
5.
tunnel vlan
vlan-id
6.
ip address
ip-address
mask
7.
tunnel mode ethernet
gre
{ipv4 |
ipv6}
8.
tunnel endpoint service-policy output
policy-map-name
9.
ip subscriber l2-connected
10.
initiator unclassified mac-address
11.
initiator dhcp
12.
end
DETAILED STEPS
Verifying QoS on Ethernet over GRE Tunnels
The show commands can be entered in any order.
Configure QoS on Ethernet over GRE (EoGRE) tunnel.
1.
show interface tunnel
tunnel-interface
2.
show tunnel endpoints tunnel
tunnel-interface
3.
show tunnel mac-table
tunnel
tunnel-interface
4.
show policy-map multipoint tunnel
tunnel-interface
DETAILED STEPS
Configuration Examples for QoS on Ethernet over GRE Tunnels
Example: QoS on Ethernet over GRE Tunnels
Configuring Ethernet over GRE (EoGRE) on the mobile node.
! configure the topology mobile-node1(config-if)# interface GigabitEthernet0/1 mobile-node1(config-if)# ip address 10.21.1.1 255.255.255.0 mobile-node1(config-if)# no shutdown mobile-node1(config-if)# exit mobile-node1(config)# ip route 10.0.0.1 255.255.255.255 10.21.1.2 ! Configure the interface used as the source of the tunnel mobile-node1(config)# interface Loopback0 mobile-node1(config-if)# ip address 10.40.0.1 255.255.255.0 mobile-node1(config-if)# ipv6 address 2001:db8:2:40::1/64 mobile-node1(config-if)# no shutdown ! Configure the Ethernet over GRE IPv4 Tunnel mobile-node1(config-if)# interface Tunnel1 mobile-node1(config-if)# mac-address 0000.0000.0001 mobile-node1(config-if)# ip dhcp client client-id ascii MN1@cisco.com mobile-node1(config-if)# ip address dhcp mobile-node1(config-if)# no ip redirects mobile-node1(config-if)# no ip route-cache mobile-node1(config-if)# tunnel source Loopback0 mobile-node1(config-if)# tunnel mode ethernet gre ipv4 mobile-node1(config-if)# tunnel key 1 mobile-node1(config-if)# tunnel vlan 10, 20 mobile-node1(config-if)# no shutdown mobile-node1(config-if)# exit Configuring Ethernet over GRE tunnel on the MAG ! Configure the topology MAG(config)# interface FastEthernet1/1/5 MAG(config-if)# ip address 10.21.1.2 255.255.255.0 MAG(config-if)# ipv6 address 2001:db8:2:21::2/64 MAG(config-if)# no shutdown MAG(config)# ip route 10.40.0.1 255.255.255.255 10.21.1.1 ! Configure the interface used as source of the tunnel MAG(config-if)# interface Loopback0 MAG(config-if)# ip address 10.0.0.1 255.255.255.0 MAG(config-if)# no shutdown ! configure the policy map MAG(config)# policy-map tunnel-qos-policy MAG(config-pmap)# class class-default MAG(config-pmap-c)# police rate 200000 bps MAG(config-pmap-c)# exit ! Configure the Ethernet over GRE IPv4 Tunnel MAG(config)# interface Tunnel1 MAG(config-if)# ip address 10.11.1.1 255.255.255.0 MAG(config-if)# tunnel mode ethernet gre ipv4 MAG(config-if)# tunnel source Loopback0 ! Configure a static GRE and VLAN ID for the tunnel MAG(config-if)# tunnel key 1 MAG(config-if)# tunnel vlan 10, 20 !Associate the QoS policy to the tunnel interface MAG(config-if)# tunnel endpoint service-policy output tunnel-qos-policy ! Enable ISG on the tunnel MAG(config-if)# ip subscriber l2-connected MAG(config-subscriber)# initiator unclassified mac-address MAG(config-subscriber)# initiator dhcp MAG(config-subscriber)# exit
Additional References for QoS on Ethernet over GRE Tunnels
Related Documents
Related Topic |
Document Title |
---|---|
Cisco IOS commands |
|
Ethernet over GRE Tunnels |
Cisco IOS Interface and Hardware Component Configuration Guide |
Tunnel commands: complete command syntax, command mode, defaults, command history, usage guidelines, and examples |
Technical Assistance
Description |
Link |
---|---|
The Cisco Support website provides extensive online resources, including documentation and tools for troubleshooting and resolving technical issues with Cisco products and technologies. To receive security and technical information about your products, you can subscribe to various services, such as the Product Alert Tool (accessed from Field Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds. Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. |
Feature Information for QoS on Ethernet over GRE Tunnels
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Feature Name |
Releases |
Feature Information |
---|---|---|
QoS on Ethernet over GRE Tunnels |
Cisco IOS XE 3.13S |
The QoS on Ethernet over GRE (EoGRE) Tunnels feature enables service providers to configure a common QoS policy for all endpoints. This feature supports dual high availability for a route processor. The following command was introduced by this feature: tunnel endpoint service-policy output. |