Cisco Systems 10000 Network Router User Manual


 
23-8
Cisco 10000 Series Router Software Configuration Guide
OL-2226-23
Chapter 23 Configuring Gigabit EtherChannel Features
Configuring IEEE 802.1Q and QinQ Support on GEC Bundle
Ingress packet accounting for QinQ subinterfaces is carried out at the bundle level. Accounting of
these ingress packets per member link is not supported.
Configuration Tasks for IEEE 802.1Q and QinQ on Subinterfaces
To create a GEC bundle subinterface and configure a dot1Q/QinQ encapsulation, enter the following
commands beginning from the global configuration mode in the following table:
Configuration Examples
Example 23-2 and Example 23-3 show the encapsulation configuration details:
Example 23-2 show interface Command for the GEC Bundle Subinterface
router# show interface port-channel 1.1
Port-channel1.1 is up, line protocol is up
Hardware is GEChannel, address is 0004.9b3e.101a (bia 0004.9b3e.1000)
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation 802.1Q Virtual LAN, Vlan ID 20.
ARP type: ARPA, ARP Timeout 04:00:00
Last clearing of "show interface" counters never
Example 23-3 show running-config Command for the GEC Bundle Subinterface
router# show running-config interface port-channel 1.1
Building configuration...
Current configuration : 134 bytes
!
interface Port-channel1.1
encapsulation dot1Q 20 second-dot1q 200
ip address 3.0.0.1 255.255.255.0
end
Command Purpose
Step 1
router(config)# interface port-channel number
Creates a GEC bundle.
Step 2
router(config)# interface port-channel
subinterface
Creates a GEC bundle subinterface and enters
the subinterface mode.
Step 3
router(config-subif)# encapsulation dot1Q
vlan-id
Enables IEEE 802.1Q encapsulation on a
specified subinterface in a VLAN.
Step 4
router(config-subif)# encapsulation dot1Q
vlan-id second-dot1q inner vlan-id
Enables 802.1Q encapsulation on a specified
subinterface in an inner VLAN.
Step 5
router# show running-config interface
port-channel subinterface
Displays the current configuration for the
GEC bundle subinterface.
Step 6
router# show interface port-channel
subinterface
Displays status, traffic data, and configuration
information about the subinterface you
specify.