This topic describes how to configure the Layer 2 attachment circuit (AC) interfaces for routing by a Bridge-Group Virtual Interface (BVI), including enabling Layer 2 transport mode, applying IEEE 802.1Q encapsulation, and rewriting ingress tags.
Before you begin
The interfaces to be configured as Layer 2 ACs in the bridge domain and routed by a BVI must be located on the Cisco 8000 Series Router.
To configure the Layer 2 AC interfaces for routing by a BVI, complete the following steps.
Procedure
| 1. | Run the configure command to enter the global configuration mode. Example:
|
|
| 2. | Run the interface [HundredGigE] interface-path-id[ .subinterface] l2transport command to enable Layer 2 transport mode on a HundredGigE interface or subinterface and enter the interface or subinterface configuration mode. Example:
The interface-path-id is specified as the rack/slot/module/port location of the interface and .subinterface is the optional subinterface number. |
|
| 3. | (Optional) Run the encapsulation dot1q vlan-id [exact] orencapsulation dot1ad vlan-id dot1q vlan-id command to configure the IEEE 802.1Q encapsulation on the specified VLAN only. Example:
|
|
| 4. | (Required if VLAN tagging configured) Specify the one or two tags (depending on the network configuration) that should be removed from frames arriving at the ingress interface to the bridge domain. Example:
|
|
| 5. | Run the end or commit commands to save the configuration changes. Example:
or
|