8-3
Ethernet Card Software Feature and Configuration Guide, R7.2
January 2009
Chapter 8 Configuring VLANs
IEEE 802.1Q VLAN Configuration
Note In a bridge group on the ML-Series card, the VLAN ID does not have to be uniform across interfaces
that belong to that bridge group. For example, a bridge-group can connect from a VLAN ID subinterface
to a subinterface with a different VLAN ID, and then frames enteri ng with one VLAN ID can be changed
to exit with a different VLAN ID. This is know as VLAN translation.
Note IP routing is enabled by default. To enable bridging, enter the no ip routing or bridge IRB command.
Note Native VLAN frames transmitted on the interface are normally unt agged. All untagged frames received
on the interface are associated with the native VLAN, which is always VLAN 1. Use the command
encapsulation dot1q 1 native.
IEEE 802.1Q VLAN Configuration
The VLAN configuration example for the ML100T-12 shown in Figure 8-2 depicts the following
VLANs:
Fast Ethernet subinterface 0.1 is in the IEEE 802.1Q native VLAN 1.
Fast Ethernet subinterface 0.2 is in the IEEE 802.1Q VLAN 2.
Fast Ethernet subinterface 0.3 is in the IEEE 802.1Q VLAN 3.
Fast Ethernet subinterface 0.4 is in the IEEE 802.1Q VLAN 4.
Step 5 Router(config-subif)# encap dot1q
vlan
-
number
Sets the encapsulation on the VLAN to IEEE
802.1Q.
Step 6 Router(config-subif)# bridge-group
bridge-group
-
number
Assigns a network interface to a bridge group.
Step 7 Router(config-subif)# end Returns to privileged EXEC mode.
Step 8 Router# copy running-config startup-config (Optional) Saves your configuration changes to
NVRAM.
Command Purpose