Monday, August 15, 2011

Cisco IOS XR L2VPN Local Bridging


Sub-Interface configurations can be done by translating tags or popping vlan tag:

First option:

interface GigabitEthernet0/0/0/10.1 l2transport
 encapsulation dot1q 10
 rewrite ingress tag translate 1-to-1 dot1q 20 symmetric

interface GigabitEthernet0/0/0/11.1 l2transport
 encapsulation dot1q 20
 rewrite ingress tag translate 1-to-1 dot1q 10 symmetric

Second Option:

interface GigabitEthernet0/0/0/10.1 l2transport
 encapsulation dot1q 10
 rewrite ingress tag pop 1 symmetric

interface GigabitEthernet0/0/0/11.1 l2transport
 encapsulation dot1q 20
 rewrite ingress tag pop 1 symmetric

l2vpn
bridge group bridge1
  bridge-domain bridge1
   interface GigabitEthernet0/0/0/10.1  
   interface GigabitEthernet0/0/0/11.1

   
RP/0/RSP0/CPU0:LabRouter1#show l2vpn bridge-domain bd-name bridge1 detail
Bridge group: bridge1, bridge-domain: bridge1, id: 1, state: up, ShgId: 0, MSTi: 0
  MAC learning: enabled
  MAC withdraw: enabled
    MAC withdraw for Access PW: enabled
  Flooding:
    Broadcast & Multicast: enabled
    Unknown unicast: enabled
  MAC aging time: 300 s, Type: inactivity
  MAC limit: 4000, Action: none, Notification: syslog
  MAC limit reached: no
  MAC port down flush: enabled
  MAC Secure: disabled, Logging: disabled
  Split Horizon Group: none
  Dynamic ARP Inspection: disabled, Logging: disabled
  IP Source Guard: disabled, Logging: disabled
  DHCPv4 snooping: disabled
  IGMP Snooping profile: none
  Bridge MTU: 1500
  MIB cvplsConfigIndex: 2
  Filter MAC addresses: 
  No status change since creation
  ACs: 2 (2 up), VFIs: 0, PWs: 0 (0 up), PBBs: 0 (0 up)
  List of ACs:
    AC: GigabitEthernet0/0/0/10.1, state is up
      Type VLAN; Num Ranges: 1
      VLAN ranges: [10, 10]
      MTU 1504; XC ID 0x440006; interworking none
      MAC learning: enabled
      Flooding:
        Broadcast & Multicast: enabled
        Unknown unicast: enabled
      MAC aging time: 300 s, Type: inactivity
      MAC limit: 4000, Action: none, Notification: syslog
      MAC limit reached: no
      MAC port down flush: enabled
      MAC Secure: disabled, Logging: disabled
      Split Horizon Group: none
      Dynamic ARP Inspection: disabled, Logging: disabled
      IP Source Guard: disabled, Logging: disabled
      DHCPv4 snooping: disabled
      IGMP Snooping profile: none
      Storm Control: disabled
      Static MAC addresses:
      Statistics:
        packets: received 22, sent 10
        bytes: received 2380, sent 1068
      Storm control drop counters:
        packets: broadcast 0, multicast 0, unknown unicast 0
        bytes: broadcast 0, multicast 0, unknown unicast 0
      Dynamic ARP inspection drop counters:
        packets: 0, bytes: 0
      IP source guard drop counters:
        packets: 0, bytes: 0
    AC: GigabitEthernet0/0/0/11.1, state is up
      Type VLAN; Num Ranges: 1
      VLAN ranges: [20, 20]
      MTU 1504; XC ID 0x40002; interworking none
      MAC learning: enabled
      Flooding:
        Broadcast & Multicast: enabled
        Unknown unicast: enabled
      MAC aging time: 300 s, Type: inactivity
      MAC limit: 4000, Action: none, Notification: syslog
      MAC limit reached: no
      MAC port down flush: enabled
      MAC Secure: disabled, Logging: disabled
      Split Horizon Group: none
      Dynamic ARP Inspection: disabled, Logging: disabled
      IP Source Guard: disabled, Logging: disabled
      DHCPv4 snooping: disabled
      IGMP Snooping profile: none
      Storm Control: disabled
      Static MAC addresses:
      Statistics:
        packets: received 10, sent 11
        bytes: received 1064, sent 1844
      Storm control drop counters:
        packets: broadcast 0, multicast 0, unknown unicast 0
        bytes: broadcast 0, multicast 0, unknown unicast 0
      Dynamic ARP inspection drop counters:
        packets: 0, bytes: 0
      IP source guard drop counters:
        packets: 0, bytes: 0
  List of Access PWs:
  List of VFIs:

No comments:

Post a Comment