Ieee 802.1Q Vlan Configuration Example - Cisco ONS 15454 Software Feature And Configuration Manual

Sonet / sdh ml-series multilayer ethernet card
Hide thumbs Also See for ONS 15454:
Table of Contents

Advertisement

Chapter 7
Configuring VLANs
To configure VLANs using IEEE 802.1Q VLAN encapsulation, perform the following procedure,
beginning in global configuration mode:
Command
Step 1
Router(config)# bridge bridge-group - number
protocol type
Step 2
Router(config)# interface type number
Step 3
Router(config-if)#no ip address
Step 4
Router(config)# interface type
number.subinterface-number
Step 5
Router(config-subif)# encap dot1q
vlan-number
Step 6
Router(config-subif)# bridge-group
bridge-group - number
Step 7
Router(config-subif)# end
Step 8
Router# copy running-config startup-config
In a bridge group on the ML-Series card, the VLAN ID does not have to be uniform across interfaces
Note
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 entering with one VLAN ID can be changed
to exit with a different VLAN ID. This is know as VLAN translation.
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 untagged. All untagged frames received
Note
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 Example

The VLAN configuration example for the ML100T-12 shown in
following:
Cisco ONS 15454 SONET/SDH ML-Series Multilayer Ethernet Card Software Feature and Configuration Guide, R4.0
78-15224-02
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.
IEEE 802.1Q VLAN Configuration Example
Purpose
Assigns a bridge group (VLAN) number and
define the appropriate spanning tree type. See
Chapter 5, "Configuring Bridging."
Enters interface configuration mode to configure
the interface.
Disables IP processing.
Enters subinterface configuration mode to
configure the subinterface.
Sets the encapsulation format on the VLAN to
IEEE 802.1Q.
Assigns a network interface to a bridge group.
Returns to privileged EXEC mode.
(Optional) Saves your configuration changes to
NVRAM.
Figure 7-2 on page 7-4
depicts the
7-3

Advertisement

Table of Contents
loading

Table of Contents