The network topology is displayed in Figure 280. The setup uses 7750/7450/7710 Service Router (SR) nodes. PE-1 to PE-4 and the Route Reflector (RR-1) are located in the same Autonomous System (AS); AS6696. CE-3 is in a separate AS 64497 and peers using eBGP with its directly connected neighbor, PE-4.
configure router bgp
group internal
family vpn-ipv4
type internal
neighbor 192.0.2.20
exit
exit
exit all
configure router bgp
cluster 0.0.0.1
group rr_clients
type internal
family vpn-ipv4
neighbor 192.0.2.1
exit
neighbor 192.0.2.2
exit
neighbor 192.0.2.3
exit
neighbor 192.0.2.4
exit
exit
exit all
A:RR-1# show router bgp summary
===============================================================================
BGP Router ID:192.0.2.20 AS:64496 Local AS:64496
===============================================================================
BGP Admin State : Up BGP Oper State : Up
Total Peer Groups : 1 Total Peers : 4
Total BGP Paths : 18 Total Path Memory : 3336
Total IPv4 Remote Rts : 0 Total IPv4 Rem. Active Rts : 0
Total McIPv4 Remote Rts : 0 Total McIPv4 Rem. Active Rts: 0
Total McIPv6 Remote Rts : 0 Total McIPv6 Rem. Active Rts: 0
Total IPv6 Remote Rts : 0 Total IPv6 Rem. Active Rts : 0
Total IPv4 Backup Rts : 0 Total IPv6 Backup Rts : 0
Total Supressed Rts : 0 Total Hist. Rts : 0
Total Decay Rts : 0
Total VPN Peer Groups : 0 Total VPN Peers : 0
Total VPN Local Rts : 0
Total VPN-IPv4 Rem. Rts : 8 Total VPN-IPv4 Rem. Act. Rts: 0
Total VPN-IPv6 Rem. Rts : 0 Total VPN-IPv6 Rem. Act. Rts: 0
Total VPN-IPv4 Bkup Rts : 0 Total VPN-IPv6 Bkup Rts : 0
Total VPN Supp. Rts : 0 Total VPN Hist. Rts : 0
Total VPN Decay Rts : 0
Total L2-VPN Rem. Rts : 0 Total L2VPN Rem. Act. Rts : 0
Total MVPN-IPv4 Rem Rts : 0 Total MVPN-IPv4 Rem Act Rts : 0
Total MDT-SAFI Rem Rts : 0 Total MDT-SAFI Rem Act Rts : 0
Total MSPW Rem Rts : 0 Total MSPW Rem Act Rts : 0
Total RouteTgt Rem Rts : 0 Total RouteTgt Rem Act Rts : 0
Total McVpnIPv4 Rem Rts : 0 Total McVpnIPv4 Rem Act Rts : 0
Total MVPN-IPv6 Rem Rts : 0 Total MVPN-IPv6 Rem Act Rts : 0
Total EVPN Rem Rts : 0 Total EVPN Rem Act Rts : 0
Total FlowIpv4 Rem Rts : 0 Total FlowIpv4 Rem Act Rts : 0
Total FlowIpv6 Rem Rts : 0 Total FlowIpv6 Rem Act Rts : 0
===============================================================================
BGP Summary
===============================================================================
Neighbor
AS PktRcvd InQ Up/Down State|Rcv/Act/Sent (Addr Family)
PktSent OutQ
-------------------------------------------------------------------------------
192.0.2.1
64496 2089 0 17h20m25s 7/0/8 (VpnIPv4)
2091 0
192.0.2.2
64496 2083 0 17h20m16s 0/0/8 (VpnIPv4)
2091 0
192.0.2.3
64496 2082 0 17h19m44s 0/0/8 (VpnIPv4)
2089 0
192.0.2.4
64496 2084 0 17h20m19s 1/0/8 (VpnIPv4)
2091 0
-------------------------------------------------------------------------------
A:RR-1#
A:PE-1# configure service vprn 3
----------------------------------------------
route-distinguisher 64496:3
auto-bind ldp
vrf-target target:64496:3
interface "int-PE-1-CE-1" create
address 172.16.1.1/30
sap 1/2/1:1.0 create
exit
exit
interface "int-PE-1-CE-2" create
unnumbered "loop1"
sap 1/2/2:1.0 create
exit
exit
interface "loop1" create
address 192.0.2.100/32
loopback
exit
A:PE-4# configure service vprn 3
A:PE-4>config>service>vprn# info
----------------------------------------------
autonomous-system 64496
route-distinguisher 64496:3
auto-bind ldp
vrf-target target:64496:3
interface "int-PE-4-CE-3" create
address 172.16.0.1/30
sap 1/1/4:3 create
exit
exit
bgp
export "PE-4-VPN-BGP"
group "VPRN-3-ext"
peer-as 64497
neighbor 172.16.0.2
exit
exit
no shutdown
exit
no shutdown
Figure 281 shows a pair of Customer Edge (CE) routers connected to PE1. The link to CE-1 is a numbered link. The link to CE-2 is an un-numbered link. The loopback interface address is used as a reference address for the un-numbered Ethernet interface.
A:PE-1>config>service vprn 3
static-route 10.100.100.0/24 next-hop 172.16.1.2 community no-export
A:PE-1>config> service vprn 3
static-route 10.100.101.0/24 next-hop 172.16.1.2 community 64496:101
A:PE-1>config> service vprn 3
static-route 10.100.102.0/24 next-hop 172.16.1.2 community no-advertise
A:PE-1>config> service vprn 3
static-route 10.100.103.0/24 next-hop 172.16.1.2 tag 10 community 64496:103
A:PE-1>config> service vprn 3
static-route 10.100.104.0/24 indirect 192.0.2.21 community 64496:104
static-route 192.0.2.21/32 next-hop 172.16.1.2 community no-advertise
A:PE-1>config> service vprn 3
static-route 10.100.105.0/24 next-hop "int-PE-1-CE-2" community 64496:105
A:PE-1# show router bgp neighbor 192.0.2.20 advertised-routes vpn-ipv4
===============================================================================
BGP Router ID:192.0.2.1 AS:64496 Local AS:64496
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP VPN-IPv4 Routes
===============================================================================
Flag Network LocalPref MED
Nexthop Path-Id Label
As-Path
-------------------------------------------------------------------------------
i 64496:3:10.100.100.0/24 100 None
192.0.2.1 None 262142
No As-Path
i 64496:3:10.100.101.0/24 100 None
192.0.2.1 None 262142
No As-Path
i 64496:3:10.100.103.0/24 100 None
192.0.2.1 None 262142
No As-Path
i 64496:3:10.100.104.0/24 100 None
192.0.2.1 None 262142
No As-Path
i 64496:3:10.100.105.0/24 100 None
192.0.2.1 None 262142
No As-Path
i 64496:3:172.16.1.0/30 100 None
192.0.2.1 None 262142
No As-Path
i 64496:3:192.0.2.100/32 100 None
192.0.2.1 None 262142
No As-Path
-------------------------------------------------------------------------------
Routes : 7
===============================================================================
A:PE-1#
A:PE-4# show router bgp routes vpn-ipv4 10.100.100.0/24 detail
===============================================================================
BGP Router ID:192.0.2.4 AS:64496 Local AS:64496
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP VPN-IPv4 Routes
===============================================================================
-------------------------------------------------------------------------------
Original Attributes
Network : 10.100.100.0/24
Nexthop : 192.0.2.1
Route Dist. : 64496:3 VPN Label : 262142
Path Id : None
From : 192.0.2.20
Res. Nexthop : n/a
Local Pref. : 100 Interface Name : int-PE-4-PE-1
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None
Connector : None
Community : no-export target:64496:3
Cluster : 0.0.0.1
Originator Id : 192.0.2.1 Peer Router Id : 192.0.2.20
Fwd Class : None Priority : None
Flags : Used Valid Best IGP
Route Source : Internal
AS-Path : No As-Path
Neighbor-AS : N/A
VPRN Imported : 3
Modified Attributes
Network : 10.100.100.0/24
Nexthop : 192.0.2.1
Route Dist. : 64496:3 VPN Label : 262142
Path Id : None
From : 192.0.2.20
Res. Nexthop : n/a
Local Pref. : 100 Interface Name : int-PE-4-PE-1
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None
Connector : None
Community : no-export target:64496:3
Cluster : 0.0.0.1
Originator Id : 192.0.2.1 Peer Router Id : 192.0.2.20
Fwd Class : None Priority : None
Flags : Used Valid Best IGP
Route Source : Internal
AS-Path : No As-Path
Neighbor-AS : N/A
VPRN Imported : 3
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
A:PE-4#
A:PE-4# show router bgp routes vpn-ipv4 10.100.101.0/24 detail
===============================================================================
BGP Router ID:192.0.2.4 AS:64496 Local AS:64496
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP VPN-IPv4 Routes
===============================================================================
-------------------------------------------------------------------------------
Original Attributes
Network : 10.100.101.0/24
Nexthop : 192.0.2.1
Route Dist. : 64496:3 VPN Label : 262142
Path Id : None
From : 192.0.2.20
Res. Nexthop : n/a
Local Pref. : 100 Interface Name : int-PE-4-PE-1
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None
Connector : None
Community : 64496:101 target:64496:3
Cluster : 0.0.0.1
Originator Id : 192.0.2.1 Peer Router Id : 192.0.2.20
Fwd Class : None Priority : None
Flags : Used Valid Best IGP
Route Source : Internal
AS-Path : No As-Path
Neighbor-AS : N/A
VPRN Imported : 3
Modified Attributes
Network : 10.100.101.0/24
Nexthop : 192.0.2.1
Route Dist. : 64496:3 VPN Label : 262142
Path Id : None
From : 192.0.2.20
Res. Nexthop : n/a
Local Pref. : 100 Interface Name : int-PE-4-PE-1
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None
Connector : None
Community : 64496:101 target:64496:3
Cluster : 0.0.0.1
Originator Id : 192.0.2.1 Peer Router Id : 192.0.2.20
Fwd Class : None Priority : None
Flags : Used Valid Best IGP
Route Source : Internal
AS-Path : No As-Path
Neighbor-AS : N/A
VPRN Imported : 3
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
A:PE-4#
A:PE-4# show router bgp routes vpn-ipv4 10.100.103.0/24 detail
===============================================================================
BGP Router ID:192.0.2.4 AS:64496 Local AS:64496
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP VPN-IPv4 Routes
===============================================================================
-------------------------------------------------------------------------------
Original Attributes
Network : 10.100.103.0/24
Nexthop : 192.0.2.1
Route Dist. : 64496:3 VPN Label : 262142
Path Id : None
From : 192.0.2.20
Res. Nexthop : n/a
Local Pref. : 100 Interface Name : int-PE-4-PE-1
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None
Connector : None
Community : 64496:103 target:64496:3
Cluster : 0.0.0.1
Originator Id : 192.0.2.1 Peer Router Id : 192.0.2.20
Fwd Class : None Priority : None
Flags : Used Valid Best IGP
Route Source : Internal
AS-Path : No As-Path
Neighbor-AS : N/A
VPRN Imported : 3
Modified Attributes
Network : 10.100.103.0/24
Nexthop : 192.0.2.1
Route Dist. : 64496:3 VPN Label : 262142
Path Id : None
From : 192.0.2.20
Res. Nexthop : n/a
Local Pref. : 100 Interface Name : int-PE-4-PE-1
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None
Connector : None
Community : 64496:103 target:64496:3
Cluster : 0.0.0.1
Originator Id : 192.0.2.1 Peer Router Id : 192.0.2.20
Fwd Class : None Priority : None
Flags : Used Valid Best IGP
Route Source : Internal
AS-Path : No As-Path
Neighbor-AS : N/A
VPRN Imported : 3
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
A:PE-4#
A:PE-4# show router bgp routes vpn-ipv4 10.100.104.0/24 detail
===============================================================================
BGP Router ID:192.0.2.4 AS:64496 Local AS:64496
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP VPN-IPv4 Routes
===============================================================================
-------------------------------------------------------------------------------
Original Attributes
Network : 10.100.104.0/24
Nexthop : 192.0.2.1
Route Dist. : 64496:3 VPN Label : 262142
Path Id : None
From : 192.0.2.20
Res. Nexthop : n/a
Local Pref. : 100 Interface Name : int-PE-4-PE-1
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None
Connector : None
Community : 64496:104 target:64496:3
Cluster : 0.0.0.1
Originator Id : 192.0.2.1 Peer Router Id : 192.0.2.20
Fwd Class : None Priority : None
Flags : Used Valid Best IGP
Route Source : Internal
AS-Path : No As-Path
Neighbor-AS : N/A
VPRN Imported : 3
Modified Attributes
Network : 10.100.104.0/24
Nexthop : 192.0.2.1
Route Dist. : 64496:3 VPN Label : 262142
Path Id : None
From : 192.0.2.20
Res. Nexthop : n/a
Local Pref. : 100 Interface Name : int-PE-4-PE-1
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None
Connector : None
Community : 64496:104 target:64496:3
Cluster : 0.0.0.1
Originator Id : 192.0.2.1 Peer Router Id : 192.0.2.20
Fwd Class : None Priority : None
Flags : Used Valid Best IGP
Route Source : Internal
AS-Path : No As-Path
Neighbor-AS : N/A
VPRN Imported : 3
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
A:PE-4#
A:PE-4# show router bgp routes vpn-ipv4 10.100.105.0/24 detail
===============================================================================
BGP Router ID:192.0.2.4 AS:64496 Local AS:64496
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP VPN-IPv4 Routes
===============================================================================
-------------------------------------------------------------------------------
Original Attributes
Network : 10.100.105.0/24
Nexthop : 192.0.2.1
Route Dist. : 64496:3 VPN Label : 262142
Path Id : None
From : 192.0.2.20
Res. Nexthop : n/a
Local Pref. : 100 Interface Name : int-PE-4-PE-1
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None
Connector : None
Community : 64496:105 target:64496:3
Cluster : 0.0.0.1
Originator Id : 192.0.2.1 Peer Router Id : 192.0.2.20
Fwd Class : None Priority : None
Flags : Used Valid Best IGP
Route Source : Internal
AS-Path : No As-Path
Neighbor-AS : N/A
VPRN Imported : 3
Modified Attributes
Network : 10.100.105.0/24
Nexthop : 192.0.2.1
Route Dist. : 64496:3 VPN Label : 262142
Path Id : None
From : 192.0.2.20
Res. Nexthop : n/a
Local Pref. : 100 Interface Name : int-PE-4-PE-1
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None
Connector : None
Community : 64496:105 target:64496:3
Cluster : 0.0.0.1
Originator Id : 192.0.2.1 Peer Router Id : 192.0.2.20
Fwd Class : None Priority : None
Flags : Used Valid Best IGP
Route Source : Internal
AS-Path : No As-Path
Neighbor-AS : N/A
VPRN Imported : 3
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
A:PE-4#
A:PE-4# show router 3 route-table protocol bgp-vpn
===============================================================================
Route Table (Service: 3)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
10.100.100.0/24 Remote BGP VPN 17h24m48s 170
192.0.2.1 (tunneled) 0
10.100.101.0/24 Remote BGP VPN 17h24m48s 170
192.0.2.1 (tunneled) 0
10.100.103.0/24 Remote BGP VPN 17h24m48s 170
192.0.2.1 (tunneled) 0
10.100.104.0/24 Remote BGP VPN 17h24m48s 170
192.0.2.1 (tunneled) 0
10.100.105.0/24 Remote BGP VPN 17h24m48s 170
192.0.2.1 (tunneled) 0
172.16.1.0/30 Remote BGP VPN 17h24m48s 170
192.0.2.1 (tunneled) 0
192.0.2.100/32 Remote BGP VPN 17h24m48s 170
192.0.2.1 (tunneled) 0
-------------------------------------------------------------------------------
No. of Routes: 7
Flags: n = Number of times nexthop is repeated
B = BGP backup route available
L = LFA nexthop available
===============================================================================
A:PE-4#
A:CE-3# show router route-table protocol bgp
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
10.100.101.0/24 Remote BGP 17h32m32s 170
172.16.0.1 0
10.100.103.0/24 Remote BGP 17h32m32s 170
172.16.0.1 0
10.100.104.0/24 Remote BGP 17h32m32s 170
172.16.0.1 0
10.100.105.0/24 Remote BGP 17h32m32s 170
172.16.0.1 0
172.16.1.0/30 Remote BGP 17h32m32s 170
172.16.0.1 0
192.0.2.100/32 Remote BGP 17h32m32s 170
172.16.0.1 0
-------------------------------------------------------------------------------
No. of Routes: 6
Flags: n = Number of times nexthop is repeated
B = BGP backup route available
L = LFA nexthop available
===============================================================================
A:CE-3#
A:CE-3# show router bgp routes community 64496:100
===============================================================================
BGP Router ID:192.0.2.11 AS:64497 Local AS:64497
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network LocalPref MED
Nexthop Path-Id Label
As-Path
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
A:CE-3#
A:CE-3# show router bgp routes community 64496:101
===============================================================================
BGP Router ID:192.0.2.11 AS:64497 Local AS:64497
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network LocalPref MED
Nexthop Path-Id Label
As-Path
-------------------------------------------------------------------------------
u*>i 10.100.101.0/24 None None
172.16.0.1 None -
64496
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
A:CE-3#
A:CE-3# show router bgp routes community 64496:103
===============================================================================
BGP Router ID:192.0.2.11 AS:64497 Local AS:64497
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network LocalPref MED
Nexthop Path-Id Label
As-Path
-------------------------------------------------------------------------------
u*>i 10.100.103.0/24 None None
172.16.0.1 None -
64496
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
A:CE-3#
A:CE-3# show router bgp routes community 64496:104
===============================================================================
BGP Router ID:192.0.2.11 AS:64497 Local AS:64497
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network LocalPref MED
Nexthop Path-Id Label
As-Path
-------------------------------------------------------------------------------
u*>i 10.100.104.0/24 None None
172.16.0.1 None -
64496
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
A:CE-3#
A:CE-3# show router bgp routes community 64496:105
===============================================================================
BGP Router ID:192.0.2.11 AS:64497 Local AS:64497
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network LocalPref MED
Nexthop Path-Id Label
As-Path
-------------------------------------------------------------------------------
u*>i 10.100.105.0/24 None None
172.16.0.1 None -
64496
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
A:CE-3#
Figure 282 shows a CE router (CE-1), in AS 64498, that advertises a series of contiguous prefixes via BGP.
B:PE-1>config>service>vprn# info
----------------------------------------------
autonomous-system 64496
route-distinguisher 64496:4
auto-bind mpls
vrf-target target:64496:4
interface "int-PE-1-CE-1" create
address 172.16.1.1/30
sap 1/2/1:2.0 create
exit
exit
bgp
group "external"
family ipv4
type external
peer-as 64498
neighbor 172.16.1.2
exit
exit
no shutdown
exit
no shutdown
*A:PE-1# show router 4 bgp neighbor
===============================================================================
BGP Neighbor
===============================================================================
-------------------------------------------------------------------------------
Peer : 172.16.1.2
Group : external
-------------------------------------------------------------------------------
Peer AS : 64498 Peer Port : 179
Peer Address : 172.16.1.2
Local AS : 64496 Local Port : 50709
Local Address : 172.16.1.1
Peer Type : External
State : Established Last State : Active
Last Event : recvKeepAlive
Last Error : Unrecognized Error
Local Family : IPv4
Remote Family : IPv4
Hold Time : 90 Keep Alive : 30
Min Hold Time : 0
Active Hold Time : 90 Active Keep Alive : 30
Cluster Id : None
Preference : 170 Num of Update Flaps : 0
Recd. Paths : 1
IPv4 Recd. Prefixes : 16 IPv4 Active Prefixes : 16
IPv4 Suppressed Pfxs : 0 VPN-IPv4 Suppr. Pfxs : 0
VPN-IPv4 Recd. Pfxs : 0 VPN-IPv4 Active Pfxs : 0
Mc IPv4 Recd. Pfxs. : 0 Mc IPv4 Active Pfxs. : 0
Mc IPv4 Suppr. Pfxs : 0 IPv6 Suppressed Pfxs : 0
IPv6 Recd. Prefixes : 0 IPv6 Active Prefixes : 0
VPN-IPv6 Recd. Pfxs : 0 VPN-IPv6 Active Pfxs : 0
VPN-IPv6 Suppr. Pfxs : 0
Mc IPv6 Recd. Pfxs. : 0 Mc IPv6 Active Pfxs. : 0
Mc IPv6 Suppr. Pfxs : 0 L2-VPN Suppr. Pfxs : 0
L2-VPN Recd. Pfxs : 0 L2-VPN Active Pfxs : 0
MVPN-IPv4 Suppr. Pfxs: 0 MVPN-IPv4 Recd. Pfxs : 0
MVPN-IPv4 Active Pfxs: 0 MDT-SAFI Suppr. Pfxs : 0
MDT-SAFI Recd. Pfxs : 0 MDT-SAFI Active Pfxs : 0
Flow-IPv4 Suppr. Pfxs: 0 Flow-IPv4 Recd. Pfxs : 0
Flow-IPv4 Active Pfxs: 0 Rte-Tgt Suppr. Pfxs : 0
Rte-Tgt Recd. Pfxs : 0 Rte-Tgt Active Pfxs : 0
Backup IPv4 Pfxs : 0 Backup IPv6 Pfxs : 0
Mc Vpn Ipv4 Recd. Pf*: 0 Mc Vpn Ipv4 Active P*: 0
Backup Vpn IPv4 Pfxs : 0 Backup Vpn IPv6 Pfxs : 0
Input Queue : 0 Output Queue : 0
i/p Messages : 10 o/p Messages : 10
i/p Octets : 304 o/p Octets : 308
i/p Updates : 1 o/p Updates : 1
MVPN-IPv6 Suppr. Pfxs: 0 MVPN-IPv6 Recd. Pfxs : 0
MVPN-IPv6 Active Pfxs: 0
Flow-IPv6 Suppr. Pfxs: 0 Flow-IPv6 Recd. Pfxs : 0
Flow-IPv6 Active Pfxs: 0
Evpn Suppr. Pfxs : 0 Evpn Recd. Pfxs : 0
Evpn Active Pfxs : 0
TTL Security : Disabled Min TTL Value : n/a
Graceful Restart : Disabled Stale Routes Time : n/a
Restart Time : n/a
Advertise Inactive : Disabled Peer Tracking : Disabled
Advertise Label : None
Auth key chain : n/a
Disable Cap Nego : Disabled Bfd Enabled : Disabled
Flowspec Validate : Disabled Default Route Tgt : Disabled
Aigp Metric : Disabled Split Horizon : Disabled
Damp Peer Oscillatio*: Disabled Update Errors : 0
GR Notification : Disabled Fault Tolerance : Disabled
Rem Idle Hold Time : 00h00m00s
Next-Hop Unchanged : None
Local Capability : RtRefresh MPBGP 4byte ASN
Remote Capability : RtRefresh MPBGP 4byte ASN
Local AddPath Capabi*: Disabled
Remote AddPath Capab*: Send - None
: Receive - None
Import Policy : None Specified / Inherited
Export Policy : None Specified / Inherited
-------------------------------------------------------------------------------
Neighbors : 1
===============================================================================
* indicates that the corresponding row element may have been truncated.
*A:PE-1#
*A:PE-1# show router 4 bgp routes
===============================================================================
BGP Router ID:192.0.2.1 AS:64496 Local AS:64496
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network LocalPref MED
Nexthop Path-Id Label
As-Path
-------------------------------------------------------------------------------
u*>i 10.101.0.0/24 None None
172.16.1.2 None -
64498
u*>i 10.101.1.0/24 None None
172.16.1.2 None -
64498
u*>i 10.101.2.0/24 None None
172.16.1.2 None -
64498
u*>i 10.101.3.0/24 None None
172.16.1.2 None -
64498
u*>i 10.101.4.0/24 None None
172.16.1.2 None -
64498
u*>i 10.101.5.0/24 None None
172.16.1.2 None -
64498
u*>i 10.101.6.0/24 None None
172.16.1.2 None -
64498
u*>i 10.101.7.0/24 None None
172.16.1.2 None -
64498
u*>i 10.102.0.0/24 None None
172.16.1.2 None -
64498
u*>i 10.102.1.0/24 None None
172.16.1.2 None -
64498
u*>i 10.102.2.0/24 None None
172.16.1.2 None -
64498
u*>i 10.102.3.0/24 None None
172.16.1.2 None -
64498
u*>i 10.102.4.0/24 None None
172.16.1.2 None -
64498
u*>i 10.102.5.0/24 None None
172.16.1.2 None -
64498
u*>i 10.102.6.0/24 None None
172.16.1.2 None -
64498
u*>i 10.102.7.0/24 None None
172.16.1.2 None -
64498
-------------------------------------------------------------------------------
Routes : 16
===============================================================================
*A:PE-1#
A:PE-4>config>service>vprn# info
----------------------------------------------
autonomous-system 64496
route-distinguisher 64496:4
auto-bind mpls
vrf-target target:64496:4
interface "int-PE-4-CE-3" create
address 172.16.0.5/30
sap 1/1/4:4 create
exit
exit
bgp
group "VPRN-4-ext"
peer-as 64497
neighbor 172.16.0.6
exit
exit
no shutdown
exit
no shutdown
Figure 283 shows the connectivity between PE-4 and CE-3. PE-4 will only forward a summarizing aggregate route towards CE-3.
*A:PE-4# show router 4 route-table
===============================================================================
Route Table (Service: 4)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
10.101.0.0/24 Remote BGP VPN 00h00m57s 170
192.0.2.1 (tunneled) 0
10.101.1.0/24 Remote BGP VPN 00h00m57s 170
192.0.2.1 (tunneled) 0
10.101.2.0/24 Remote BGP VPN 00h00m57s 170
192.0.2.1 (tunneled) 0
10.101.3.0/24 Remote BGP VPN 00h00m57s 170
192.0.2.1 (tunneled) 0
10.101.4.0/24 Remote BGP VPN 00h00m57s 170
192.0.2.1 (tunneled) 0
10.101.5.0/24 Remote BGP VPN 00h00m57s 170
192.0.2.1 (tunneled) 0
10.101.6.0/24 Remote BGP VPN 00h00m57s 170
192.0.2.1 (tunneled) 0
10.101.7.0/24 Remote BGP VPN 00h00m57s 170
192.0.2.1 (tunneled) 0
10.102.0.0/24 Remote BGP VPN 00h00m57s 170
192.0.2.1 (tunneled) 0
10.102.1.0/24 Remote BGP VPN 00h00m57s 170
192.0.2.1 (tunneled) 0
10.102.2.0/24 Remote BGP VPN 00h00m57s 170
192.0.2.1 (tunneled) 0
10.102.3.0/24 Remote BGP VPN 00h00m57s 170
192.0.2.1 (tunneled) 0
10.102.4.0/24 Remote BGP VPN 00h00m57s 170
192.0.2.1 (tunneled) 0
10.102.5.0/24 Remote BGP VPN 00h00m57s 170
192.0.2.1 (tunneled) 0
10.102.6.0/24 Remote BGP VPN 00h00m57s 170
192.0.2.1 (tunneled) 0
10.102.7.0/24 Remote BGP VPN 00h00m57s 170
192.0.2.1 (tunneled) 0
172.16.0.4/30 Local Local 00h01m00s 0
int-PE-4-CE-3 0
172.16.1.0/30 Remote BGP VPN 00h00m57s 170
192.0.2.1 (tunneled) 0
-------------------------------------------------------------------------------
No. of Routes: 18
Flags: n = Number of times nexthop is repeated
B = BGP backup route available
L = LFA nexthop available
===============================================================================
*A:PE-4#
*A:CE-3>config>service>ies# info
interface "int-CE-3-PE-4-2" create
address 172.16.0.6/30
sap 1/1/2:4 create
exit
exit
no shutdown
*A:CE-3>config>router>bgp# info
----------------------------------------------
group "ext"
peer-as 64496
neighbor 172.16.0.5
exit
exit
*A:PE-4# show router 4 bgp neighbor 172.16.0.6
===============================================================================
BGP Neighbor
===============================================================================
-------------------------------------------------------------------------------
Peer : 172.16.0.6
Group : VPRN-4-ext
-------------------------------------------------------------------------------
Peer AS : 64497 Peer Port : 179
Peer Address : 172.16.0.6
Local AS : 64496 Local Port : 50539
Local Address : 172.16.0.5
Peer Type : External
State : Established Last State : Active
Last Event : recvKeepAlive
Last Error : Unrecognized Error
Local Family : IPv4
Remote Family : IPv4
Hold Time : 90 Keep Alive : 30
Min Hold Time : 0
Active Hold Time : 90 Active Keep Alive : 30
Cluster Id : None
Preference : 170 Num of Update Flaps : 0
Recd. Paths : 0
IPv4 Recd. Prefixes : 0 IPv4 Active Prefixes : 0
IPv4 Suppressed Pfxs : 0 VPN-IPv4 Suppr. Pfxs : 0
VPN-IPv4 Recd. Pfxs : 0 VPN-IPv4 Active Pfxs : 0
Mc IPv4 Recd. Pfxs. : 0 Mc IPv4 Active Pfxs. : 0
Mc IPv4 Suppr. Pfxs : 0 IPv6 Suppressed Pfxs : 0
IPv6 Recd. Prefixes : 0 IPv6 Active Prefixes : 0
VPN-IPv6 Recd. Pfxs : 0 VPN-IPv6 Active Pfxs : 0
VPN-IPv6 Suppr. Pfxs : 0
Mc IPv6 Recd. Pfxs. : 0 Mc IPv6 Active Pfxs. : 0
Mc IPv6 Suppr. Pfxs : 0 L2-VPN Suppr. Pfxs : 0
L2-VPN Recd. Pfxs : 0 L2-VPN Active Pfxs : 0
MVPN-IPv4 Suppr. Pfxs: 0 MVPN-IPv4 Recd. Pfxs : 0
MVPN-IPv4 Active Pfxs: 0 MDT-SAFI Suppr. Pfxs : 0
MDT-SAFI Recd. Pfxs : 0 MDT-SAFI Active Pfxs : 0
Flow-IPv4 Suppr. Pfxs: 0 Flow-IPv4 Recd. Pfxs : 0
Flow-IPv4 Active Pfxs: 0 Rte-Tgt Suppr. Pfxs : 0
Rte-Tgt Recd. Pfxs : 0 Rte-Tgt Active Pfxs : 0
Backup IPv4 Pfxs : 0 Backup IPv6 Pfxs : 0
Mc Vpn Ipv4 Recd. Pf*: 0 Mc Vpn Ipv4 Active P*: 0
Backup Vpn IPv4 Pfxs : 0 Backup Vpn IPv6 Pfxs : 0
Input Queue : 0 Output Queue : 0
i/p Messages : 4 o/p Messages : 4
i/p Octets : 102 o/p Octets : 102
i/p Updates : 0 o/p Updates : 0
MVPN-IPv6 Suppr. Pfxs: 0 MVPN-IPv6 Recd. Pfxs : 0
MVPN-IPv6 Active Pfxs: 0
Flow-IPv6 Suppr. Pfxs: 0 Flow-IPv6 Recd. Pfxs : 0
Flow-IPv6 Active Pfxs: 0
Evpn Suppr. Pfxs : 0 Evpn Recd. Pfxs : 0
Evpn Active Pfxs : 0
TTL Security : Disabled Min TTL Value : n/a
Graceful Restart : Disabled Stale Routes Time : n/a
Restart Time : n/a
Advertise Inactive : Disabled Peer Tracking : Disabled
Advertise Label : None
Auth key chain : n/a
Disable Cap Nego : Disabled Bfd Enabled : Disabled
Flowspec Validate : Disabled Default Route Tgt : Disabled
Aigp Metric : Disabled Split Horizon : Disabled
Damp Peer Oscillatio*: Disabled Update Errors : 0
GR Notification : Disabled Fault Tolerance : Disabled
Rem Idle Hold Time : 00h00m00s
Next-Hop Unchanged : None
Local Capability : RtRefresh MPBGP 4byte ASN
Remote Capability : RtRefresh MPBGP 4byte ASN
Local AddPath Capabi*: Disabled
Remote AddPath Capab*: Send - None
: Receive - None
Import Policy : None Specified / Inherited
Export Policy : PE-4-VPN-Agg
-------------------------------------------------------------------------------
Neighbors : 1
===============================================================================
* indicates that the corresponding row element may have been truncated.
*A:PE-4#
*A:PE-4>config>service>vprn#
aggregate 10.101.0.0/21 community 64496:101
aggregate 10.102.0.0/21 community no-export
*A:PE-4>config>router>policy-options# begin
policy-statement "PE-4-VPN-Agg"
entry 10
from
protocol aggregate
exit
action accept
exit
exit
exit
commit
*A:PE-4>config>service>vprn#
bgp
group "VPRN-4-ext"
export "PE-4-VPN-Agg"
exit
no shutdown
exit
A:CE-3# show router bgp routes 10.101.0.0/21 hunt
===============================================================================
BGP Router ID:192.0.2.11 AS:64497 Local AS:64497
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
-------------------------------------------------------------------------------
RIB In Entries
-------------------------------------------------------------------------------
Network : 10.101.0.0/21
Nexthop : 172.16.0.5
Path Id : None
From : 172.16.0.5
Res. Nexthop : 172.16.0.5
Local Pref. : None Interface Name : int-CE-3-PE-4
Aggregator AS : 64496 Aggregator : 192.0.2.4
Atomic Aggr. : Atomic MED : None
AIGP Metric : None
Connector : None
Community : 64496:101
Cluster : No Cluster Members
Originator Id : None Peer Router Id : 192.0.2.4
Fwd Class : None Priority : None
Flags : Used Valid Best IGP
Route Source : External
AS-Path : 64496
Neighbor-AS : 64496
-------------------------------------------------------------------------------
RIB Out Entries
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
A:CE-3#
A:CE-3# show router bgp routes 10.102.0.0/21 hunt
===============================================================================
BGP Router ID:192.0.2.11 AS:64497 Local AS:64497
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
No Matching Entries Found
===============================================================================
A:CE-3#