28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

}<br />

}<br />

peer-as 65500;<br />

neighbor 10.0.1.2;<br />

As a first step in verifying the configuration, make sure that the EBGP session<br />

between the PE and CE routers is established. Check on the CE router:<br />

aviva@RouterH> show bgp summary<br />

Groups: 1 Peers: 1 Down peers: 0<br />

Table Tot Paths Act Paths Suppressed History Damp State Pending<br />

inet.0 1 1 0 0 0 0<br />

Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#A<br />

ctive/Received/Damped...<br />

10.0.1.2 65500 69 69 0 1 33:25 1/1/0<br />

0/0/0<br />

The CE router has one BGP session to 10.0.1.2, the PE router. This is a regular<br />

EBGP session, and routes are placed in the inet.0 unicast routing table.<br />

Checking on the PE router shows the BGP neighbors:<br />

aviva@RouterG> show bgp summary<br />

Groups: 2 Peers: 2 Down peers: 0<br />

Table Tot Paths Act Paths Suppressed History Damp State Pending<br />

bgp.l3vpn.0 3 3 0 0 0 0<br />

Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#A<br />

ctive/Received/Damped...<br />

192.168.16.1 65500 23091 23102 0 0 1w1d0h Establ<br />

bgp.l3vpn.0: 3/3/0<br />

VPN1.inet.0: 1/1/0<br />

VPN2.inet.0: 2/2/0<br />

10.0.1.1 65530 46 49 0 0 22:36 Establ<br />

VPN1.inet.0: 0/0/0<br />

The last entry shows that the EBGP session to 10.0.1.1, the CE router, is established<br />

and that its routes are in the VPN1.inet.0 routing table.<br />

VPN1 also has a CE router (RouterE) at the remote site that is connected to the<br />

remote PE router, RouterF. You configure these two routers the same way as the two<br />

routers shown in this recipe. Here’s the VPN1 routing-instance configuration on the<br />

remote PE router, RouterF:<br />

aviva@RouterF> show configuration routing-instances<br />

VPN1 {<br />

instance-type vrf;<br />

interface t1-0/0/2.0;<br />

route-distinguisher 65500:4;<br />

vrf-target target:65530:200;<br />

routing-options {<br />

static {<br />

route 192.168.15.1/32 next-hop t1-0/0/2.0;<br />

}<br />

}<br />

}<br />

Adding a VPN for a Second Customer | 571<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!