EasyManuals Logo

Cisco XR 12000 Series User Manual

Cisco XR 12000 Series
234 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #52 background imageLoading...
Page #52 background image
Examples
The following example shows how to configure an interface or connection as Layer 2 switched under several
different modes:
Ethernet Port Mode:
RP/0/0/CPU0:router# configure
RP/0/0/CPU0:router(config)# interface GigabitEthernet 0/0/0/0
RP/0/0/CPU0:router(config-if)# l2transport
Ethernet VLAN Mode:
RP/0/0/CPU0:router# configure
RP/0/0/CPU0:router(config)# interface GigabitEthernet 0/0/0/0.900 l2transport
RP/0/0/CPU0:router(config-if)# encapsulation dot1q 100do1q vlan 999
Ethernet VLAN Mode (QinQ):
RP/0/0/CPU0:router# configure
RP/0/0/CPU0:router(config)# interface GigabitEthernet 0/0/0/0.900 l2transport
RP/0/0/CPU0:router(config-if)# encapsulation dot1q 20 second-dot1q 10vlan 999 888
Ethernet VLAN Mode (QinAny):
RP/0/0/CPU0:router# configure
RP/0/0/CPU0:router(config)# interface GigabitEthernet 0/0/0/0.900 l2transport
RP/0/0/CPU0:router(config-if)# encapsulation dot1q 30 second-dot1q do1q vlan 999 any
Related Commands
DescriptionCommand
Displays forwarding information from the layer2_fib manager
on the line card.
show l2vpn forwarding, on page 105
Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x
44 OL-28460-01
Virtual Private Network Commands
l2transport

Table of Contents

Other manuals for Cisco XR 12000 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco XR 12000 Series and is the answer not in the manual?

Cisco XR 12000 Series Specifications

General IconGeneral
BrandCisco
ModelXR 12000 Series
CategoryNetwork Router
LanguageEnglish

Related product manuals