Step 1 |
enable
|
Enables
privileged EXEC mode.
|
Step 2 |
configure
terminal
Device# configure terminal
|
Enters global
configuration mode.
|
Step 3 |
router bgp
autonomous-system-number
Device(config)# router bgp 100
|
Enters router
configuration mode for the specified routing process.
|
Step 4 |
bgp
graceful-restart
Device(config-router)# bgp graceful-restart
|
Enables the
Border Gateway Protocol (BGP) graceful restart capability globally for all BGP
neighbors.
|
Step 5 |
neighbor {ip-address |
peer-group-name}
remote-as
autonomous-system-number
Device(config-router)# neighbor 198.51.100.1 remote-as 65000
|
Adds the IP
address or peer group name of the neighbor in the specified autonomous system
to the IPv4 multiprotocol BGP neighbor table of the local router.
-
If the
autonomous-system-number argument matches the
autonomous system number specified in the
router bgp
command, the neighbor is an internal neighbor.
-
If the
autonomous-system-number argument does not match
the autonomous system number specified in the
router bgp
command, the neighbor is an external neighbor.
-
In this
example, the neighbor at 10.10.10.1 is an internal BGP neighbor.
|
Step 6 |
address-family l2vpn
vpls
Device(config-router)# address-family l2vpn vpls
|
Specifies the
L2VPN address family and enters address family configuration mode.
|
Step 7 |
neighbor {ip-address |
peer-group-name}
activate
Device(config-router-af)# neighbor 198.51.100.1 activate
|
Enables the
exchange of information with a BGP neighbor.
|
Step 8 |
neighbor {ip-address |
peer-group-name}
send-community extended
Device(config-router-af)# neighbor 198.51.100.1 send-community extended
|
Specifies that
a communities attribute should be sent to a BGP neighbor.
|
Step 9 |
neighbor {ip-address |
peer-group-name}
suppress-signaling-protocol ldp
Device(config-router-af)# neighbor 198.51.100.1 suppress-signaling protocol ldp
|
Suppresses
LDP signaling for a BGP neighbor so that BGP signaling for VPLS auto-discovery
is used instead.
|
Step 10 |
exit-address-family
Device(config-router-af)# exit-address-family
|
Exits address
family configuration mode and returns to router configuration mode.
|
Step 11 |
Repeat steps
1 to 10 to configure and activate other BGP neighbors in an L2VPN address
family.
|
|
Step 12 |
end
Device(config-router)# end
|
Exits router
configuration mode and returns to privileged EXEC mode.
|
Step 13 |
show l2vpn
vfi
Device# show l2vpn vfi
PE1-standby#sh l2vpn vfi
Load for five secs: 0%/0%; one minute: 0%; five minutes: 0%
Time source is hardware calendar, *20:50:52.526 GMT Wed Aug 29 2012
Legend: RT=Route-target, S=Split-horizon, Y=Yes, N=No
VFI name: VFI1, state: up, type: multipoint, signaling: BGP
VPN ID: 1, VE-ID: 10, VE-SIZE: 10
RD: 1:1, RT: 1:1
Bridge-Domain 100 attachment circuits:
Pseudo-port interface: pseudowire100001
Interface Peer Address VE-ID Local Label Remote Label S
pseudowire100003 198.51.100.2 11 1003 2002 Y
pseudowire100005 198.51.100.3 12 1004 2002 Y
VFI name: VFI2, state: up, type: multipoint, signaling: BGP
VPN ID: 2, VE-ID: 20, VE-SIZE: 12
RD: 1:2, RT: 1:2, import 3:3, export 4:4
Bridge-Domain 200 attachment circuits:
Pseudo-port interface: pseudowire100002
Interface Peer Address VE-ID Local Label Remote Label S
pseudowire100004 198.51.100.2 21 1021 2020 Y
pseudowire100006 198.51.100.3 22 1022 2020 Y
|
Displays
information about the configured VFI instances.
|
Step 14 |
show ip
bgp l2vpn vpls {all [summary] |
rd
route-distinguisher}
Device# show ip bgp l2vpn vpls all summary
BGP router identifier 198.51.100.1, local AS number 65000
BGP table version is 14743, main routing table version 14743
6552 network entries using 1677312 bytes of memory
6552 path entries using 838656 bytes of memory
3276/3276 BGP path/bestpath attribute entries using 760032 bytes of memory
1638 BGP extended community entries using 65520 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 3341520 total bytes of memory
BGP activity 9828/3276 prefixes, 9828/3276 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
198.51.101.1 4 65000 90518 90507 14743 0 0 8w0d 1638
198.51.102.2 4 65000 4901 4895 14743 0 0 2d01h 1638
198.51.103.3 4 65000 4903 4895 14743 0 0 2d01h 1638
|
Displays
information about the L2VPN VPLS address family.
|