Cisco IOS XR VPLS Configuration Example
Router-1
interface TenGigE0/0/0/3.20 l2transport
encapsulation dot1q 20
l2vpn
bridge group vplslab
bridge-domain vplslab
interface TenGigE0/0/0/3.20
!
vfi vplslab
vpn-id 600
autodiscovery bgp
rd 10.10.10.1:20
route-target 1:60
signaling-protocol bgp
ve-id 10
router bgp 1
address-family l2vpn vpls-vpws
!
neighbor 10.10.10.2
remote-as 1
update-source Loopback0
address-family l2vpn vpls-vpws
show l2vpn bridge-domain bd-name vplslab detail
Bridge group: vplslab, bridge-domain: vplslab, id: 0, 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: 1
Filter MAC addresses:
Create time: 12/09/2011 23:24:27 (11:45:37 ago)
No status change since creation
ACs: 1 (1 up), VFIs: 1, PWs: 1 (1 up), PBBs: 0 (0 up)
List of ACs:
AC: TenGigE0/0/0/3.20, state is up
Type VLAN; Num Ranges: 1
VLAN ranges: [20, 20]
MTU 1504; XC ID 0x40001; 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 2470, sent 10
bytes: received 168136, sent 1016
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:
VFI vplslab
VPN-ID: 600, Auto Discovery: BGP, state is Provisioned (Service Connected)
Route Distinguisher: 10.10.10.1:200
Import Route Targets:
1:60
Export Route Targets:
1:60
Signaling protocol: BGP
Local VE-ID: 10 , Advertised Local VE-ID : 10
VE-Range: 10
PW: neighbor 10.10.10.2, PW ID 600, state is up ( established )
PW class not set, XC ID 0xfffc0003
Encapsulation MPLS, Auto-discovered (BGP), protocol BGP
PW type VPLS, control word disabled, interworking none
PW backup disable delay 0 sec
Sequencing not set
MPLS Local Remote
------------ ------------------------------ -------------------------
Label 16008 16054
MTU 1500 1500
Control word disabled disabled
PW type VPLS VPLS
VE-ID 10 9
------------ ------------------------------ -------------------------
MIB cpwVcIndex: 4294705155
Create time: 12/09/2011 10:37:35 (00:32:30 ago)
Last time status changed: 12/09/2011 10:37:35 (00:32:30 ago)
MAC withdraw message: send 0 receive 0
Static MAC addresses:
Statistics:
packets: received 10, sent 987
bytes: received 1016, sent 67440
DHCPv4 snooping: disabled
IGMP Snooping profile: none
VFI Statistics:
drops: illegal VLAN 0, illegal length 0
show bgp l2vpn vpls
BGP router identifier 10.10.10.1, local AS number 1
BGP generic scan interval 60 secs
BGP table state: Active
Table ID: 0x0
BGP main routing table version 21
BGP scan interval 60 secs
Status codes: s suppressed, d damped, h history, * valid, > best
i - internal, r RIB-failure, S stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Rcvd Label Local Label
Route Distinguisher: 10.10.10.1:200 (default for vrf vplslab:vplslab)
*>i9:1/32 10.10.10.2 16045 nolabel
*> 10:1/32 0.0.0.0 nolabel 16000
---------------------------------------------------------------
Router-2
interface TenGigE0/0/0/2.20 l2transport
encapsulation dot1q 20
l2vpn
bridge group vplslab
bridge-domain vplslab
interface TenGigE0/0/0/2.20
!
vfi vplslab
vpn-id 600
autodiscovery bgp
rd 10.10.10.1:20
route-target 1:60
signaling-protocol bgp
ve-id 9
show run router bgp
router bgp 1
address-family l2vpn vpls-vpws
neighbor 10.10.10.1
remote-as 1
update-source Loopback0
address-family ipv4 unicast
address-family l2vpn vpls-vpws
show l2vpn bridge-domain bd-name vplslab detail
Bridge group: vplslab, bridge-domain: vplslab, id: 0, 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: 1
Filter MAC addresses:
Create time: 12/09/2011 23:22:52 (12:02:13 ago)
No status change since creation
ACs: 1 (1 up), VFIs: 1, PWs: 1 (1 up), PBBs: 0 (0 up)
List of ACs:
AC: TenGigE0/0/0/2.20 , state is up
Type VLAN; Num Ranges: 1
VLAN ranges: [20, 20]
MTU 1504; XC ID 0x440002; 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 11, sent 1292
bytes: received 1076, sent 88196
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:
VFI vplslab
VPN-ID: 600, Auto Discovery: BGP, state is Provisioned (Service Connected)
Route Distinguisher: 10.10.10.1:200
Import Route Targets:
1:60
Export Route Targets:
1:60
Signaling protocol: BGP
Local VE-ID: 9 , Advertised Local VE-ID : 9
VE-Range: 10
PW: neighbor 10.10.10.1, PW ID 600, state is up ( established )
PW class not set, XC ID 0xfffc0003
Encapsulation MPLS, Auto-discovered (BGP), protocol BGP
PW type VPLS, control word disabled, interworking none
PW backup disable delay 0 sec
Sequencing not set
MPLS Local Remote
------------ ------------------------------ -------------------------
Label 16054 16008
MTU 1500 1500
Control word disabled disabled
PW type VPLS VPLS
VE-ID 9 10
------------ ------------------------------ -------------------------
MIB cpwVcIndex: 0
Create time: 12/09/2011 10:36:17 (00:48:48 ago)
Last time status changed: 12/09/2011 10:36:17 (00:48:48 ago)
MAC withdraw message: send 0 receive 0
Static MAC addresses:
Statistics:
packets: received 1476, sent 11
bytes: received 100688, sent 1076
DHCPv4 snooping: disabled
IGMP Snooping profile: none
VFI Statistics:
drops: illegal VLAN 0, illegal length 0
show bgp l2vpn vpls
BGP router identifier 10.10.10.2 local AS number 1
BGP generic scan interval 60 secs
BGP table state: Active
Table ID: 0x0
BGP main routing table version 19
BGP scan interval 60 secs
Status codes: s suppressed, d damped, h history, * valid, > best
i - internal, r RIB-failure, S stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Rcvd Label Local Label
Route Distinguisher: 10.10.10.1:20 (default for vrf vplslab:vplslab)
*> 9:1/32 0.0.0.0 nolabel 16045
*>i10:1/32 10.10.10.1 16000 nolabel
Processed 2 prefixes, 2 paths
Router-1
interface TenGigE0/0/0/3.20 l2transport
encapsulation dot1q 20
l2vpn
bridge group vplslab
bridge-domain vplslab
interface TenGigE0/0/0/3.20
!
vfi vplslab
vpn-id 600
autodiscovery bgp
rd 10.10.10.1:20
route-target 1:60
signaling-protocol bgp
ve-id 10
router bgp 1
address-family l2vpn vpls-vpws
!
neighbor 10.10.10.2
remote-as 1
update-source Loopback0
address-family l2vpn vpls-vpws
show l2vpn bridge-domain bd-name vplslab detail
Bridge group: vplslab, bridge-domain: vplslab, id: 0, 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: 1
Filter MAC addresses:
Create time: 12/09/2011 23:24:27 (11:45:37 ago)
No status change since creation
ACs: 1 (1 up), VFIs: 1, PWs: 1 (1 up), PBBs: 0 (0 up)
List of ACs:
AC: TenGigE0/0/0/3.20, state is up
Type VLAN; Num Ranges: 1
VLAN ranges: [20, 20]
MTU 1504; XC ID 0x40001; 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 2470, sent 10
bytes: received 168136, sent 1016
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:
VFI vplslab
VPN-ID: 600, Auto Discovery: BGP, state is Provisioned (Service Connected)
Route Distinguisher: 10.10.10.1:200
Import Route Targets:
1:60
Export Route Targets:
1:60
Signaling protocol: BGP
Local VE-ID: 10 , Advertised Local VE-ID : 10
VE-Range: 10
PW: neighbor 10.10.10.2, PW ID 600, state is up ( established )
PW class not set, XC ID 0xfffc0003
Encapsulation MPLS, Auto-discovered (BGP), protocol BGP
PW type VPLS, control word disabled, interworking none
PW backup disable delay 0 sec
Sequencing not set
MPLS Local Remote
------------ ------------------------------ -------------------------
Label 16008 16054
MTU 1500 1500
Control word disabled disabled
PW type VPLS VPLS
VE-ID 10 9
------------ ------------------------------ -------------------------
MIB cpwVcIndex: 4294705155
Create time: 12/09/2011 10:37:35 (00:32:30 ago)
Last time status changed: 12/09/2011 10:37:35 (00:32:30 ago)
MAC withdraw message: send 0 receive 0
Static MAC addresses:
Statistics:
packets: received 10, sent 987
bytes: received 1016, sent 67440
DHCPv4 snooping: disabled
IGMP Snooping profile: none
VFI Statistics:
drops: illegal VLAN 0, illegal length 0
show bgp l2vpn vpls
BGP router identifier 10.10.10.1, local AS number 1
BGP generic scan interval 60 secs
BGP table state: Active
Table ID: 0x0
BGP main routing table version 21
BGP scan interval 60 secs
Status codes: s suppressed, d damped, h history, * valid, > best
i - internal, r RIB-failure, S stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Rcvd Label Local Label
Route Distinguisher: 10.10.10.1:200 (default for vrf vplslab:vplslab)
*>i9:1/32 10.10.10.2 16045 nolabel
*> 10:1/32 0.0.0.0 nolabel 16000
---------------------------------------------------------------
Router-2
interface TenGigE0/0/0/2.20 l2transport
encapsulation dot1q 20
l2vpn
bridge group vplslab
bridge-domain vplslab
interface TenGigE0/0/0/2.20
!
vfi vplslab
vpn-id 600
autodiscovery bgp
rd 10.10.10.1:20
route-target 1:60
signaling-protocol bgp
ve-id 9
show run router bgp
router bgp 1
address-family l2vpn vpls-vpws
neighbor 10.10.10.1
remote-as 1
update-source Loopback0
address-family ipv4 unicast
address-family l2vpn vpls-vpws
show l2vpn bridge-domain bd-name vplslab detail
Bridge group: vplslab, bridge-domain: vplslab, id: 0, 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: 1
Filter MAC addresses:
Create time: 12/09/2011 23:22:52 (12:02:13 ago)
No status change since creation
ACs: 1 (1 up), VFIs: 1, PWs: 1 (1 up), PBBs: 0 (0 up)
List of ACs:
AC: TenGigE0/0/0/2.20 , state is up
Type VLAN; Num Ranges: 1
VLAN ranges: [20, 20]
MTU 1504; XC ID 0x440002; 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 11, sent 1292
bytes: received 1076, sent 88196
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:
VFI vplslab
VPN-ID: 600, Auto Discovery: BGP, state is Provisioned (Service Connected)
Route Distinguisher: 10.10.10.1:200
Import Route Targets:
1:60
Export Route Targets:
1:60
Signaling protocol: BGP
Local VE-ID: 9 , Advertised Local VE-ID : 9
VE-Range: 10
PW: neighbor 10.10.10.1, PW ID 600, state is up ( established )
PW class not set, XC ID 0xfffc0003
Encapsulation MPLS, Auto-discovered (BGP), protocol BGP
PW type VPLS, control word disabled, interworking none
PW backup disable delay 0 sec
Sequencing not set
MPLS Local Remote
------------ ------------------------------ -------------------------
Label 16054 16008
MTU 1500 1500
Control word disabled disabled
PW type VPLS VPLS
VE-ID 9 10
------------ ------------------------------ -------------------------
MIB cpwVcIndex: 0
Create time: 12/09/2011 10:36:17 (00:48:48 ago)
Last time status changed: 12/09/2011 10:36:17 (00:48:48 ago)
MAC withdraw message: send 0 receive 0
Static MAC addresses:
Statistics:
packets: received 1476, sent 11
bytes: received 100688, sent 1076
DHCPv4 snooping: disabled
IGMP Snooping profile: none
VFI Statistics:
drops: illegal VLAN 0, illegal length 0
show bgp l2vpn vpls
BGP router identifier 10.10.10.2 local AS number 1
BGP generic scan interval 60 secs
BGP table state: Active
Table ID: 0x0
BGP main routing table version 19
BGP scan interval 60 secs
Status codes: s suppressed, d damped, h history, * valid, > best
i - internal, r RIB-failure, S stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Rcvd Label Local Label
Route Distinguisher: 10.10.10.1:20 (default for vrf vplslab:vplslab)
*> 9:1/32 0.0.0.0 nolabel 16045
*>i10:1/32 10.10.10.1 16000 nolabel
Processed 2 prefixes, 2 paths
No comments:
Post a Comment