Bridging On Ios Xr Trunk Interfaces: Example - Cisco ASR 9000 Series Configuration Manuallines

L2vpn and ethernet services configuration guide
Hide thumbs Also See for ASR 9000 Series:
Table of Contents

Advertisement

Implementing Multipoint Layer 2 Services

Bridging on IOS XR Trunk Interfaces: Example

This example shows how to configure a as a simple L2 switch.
Important notes:
Create a bridge domain that has four attachment circuits (AC). Each AC is an IOS XR trunk interface (i.e.
not a subinterface/EFP).
• This example assumes that the running config is empty, and that all the components are created.
• This example provides all the necessary steps to configure the to perform switching between the interfaces.
• The bridge domain is in a no shut state, immediately after being created.
• Only trunk (i.e. main) interfaces are used in this example.
• The trunk interfaces are capable of handling tagged (i.e. IEEE 802.1Q) or untagged (i.e. no VLAN header)
• The bridge domain learns, floods, and forwards based on MAC address. This functionality works for
• The bridge domain entity spans the entire system. It is not necessary to place all the bridge domain ACs
• The show bundle and the show l2vpn bridge-domain commands are used to verify that the router was
• The ACs in this example use interfaces that are in the admin down state.
Configuration Example
RP/0/RSP0/CPU0:router#config
RP/0/RSP0/CPU0:router(config)#interface Bundle-ether10
RP/0/RSP0/CPU0:router(config-if)#l2transport
RP/0/RSP0/CPU0:router(config-if-l2)#interface GigabitEthernet0/2/0/5
RP/0/RSP0/CPU0:router(config-if)#bundle id 10 mode active
RP/0/RSP0/CPU0:router(config-if)#interface GigabitEthernet0/2/0/6
RP/0/RSP0/CPU0:router(config-if)#bundle id 10 mode active
RP/0/RSP0/CPU0:router(config-if)#interface GigabitEthernet0/2/0/0
RP/0/RSP0/CPU0:router(config-if)#l2transport
RP/0/RSP0/CPU0:router(config-if-l2)#interface GigabitEthernet0/2/0/1
RP/0/RSP0/CPU0:router(config-if)#l2transport
RP/0/RSP0/CPU0:router(config-if-l2)#interface TenGigE0/1/0/2
RP/0/RSP0/CPU0:router(config-if)#l2transport
RP/0/RSP0/CPU0:router(config-if-l2)#l2vpn
RP/0/RSP0/CPU0:router(config-l2vpn)#bridge group examples
RP/0/RSP0/CPU0:router(config-l2vpn-bg)#bridge-domain test-switch
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)#interface Bundle-ether10
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-ac)#exit
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)#interface GigabitEthernet0/2/0/0
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-ac)#exit
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)#interface GigabitEthernet0/2/0/1
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-ac)#exit
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)#interface TenGigE0/1/0/2
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-ac)#commit
RP/0/RSP0/CPU0:Jul 26 10:48:21.320 EDT: config[65751]: %MGBL-CONFIG-6-DB_COMMIT :
Configuration committed by user 'lab'. Use 'show configuration commit changes 1000000973'
to view the changes.
However, the commands to prepare the interfaces such as no shut, negotiation auto, etc., have been
excluded.
frames.
frames regardless of tag configuration.
on a single LC. This applies to any bridge domain configuration.
configured as expected, and that the commands show the status of the new configurations.
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
Bridging on IOS XR Trunk Interfaces: Example
327

Advertisement

Table of Contents
loading

Table of Contents