28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

--- 192.168.13.1 ping statistics ---<br />

5 packets transmitted, 5 packets received, 0% packet loss<br />

round-trip min/avg/max/stddev = 10.346/21.011/40.311/11.186 ms<br />

The ping operation now succeeds, and you have verified that static routing between<br />

PE RouterG and CE RouterA is working.<br />

Let’s take a moment and look back at the IBGP session between the two PE routers.<br />

When you first configured it, the session was up, but the router had not learned any<br />

routes from BGP because the VPN itself was not yet up. Now that the VPN is up,<br />

you expect to see BGP routes. Use the show bgp summary command on PE RouterG:<br />

aviva@RouterG> show bgp summary<br />

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

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

bgp.l3vpn.0 2 2 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 5021 5034 0 0 1d 17:48:00 Establ<br />

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

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

The last two lines show the two VPN-specific routing tables, bgp.l3vpn.0 and<br />

VPN2.inet.0 (the VRF table), both with BGP routes. Each table has two active<br />

routes and has received two routes. Recipe 15.2 explains how to view the contents of<br />

these routing tables.<br />

See Also<br />

Recipes 10.1, 11.1, 14.1, and 15.2<br />

15.2 Viewing the VPN Routing Tables<br />

Problem<br />

You want to check the routing tables on the PE routers to determine that they contain<br />

all the expected routes.<br />

Solution<br />

The show route command displays the contents of all routing tables on the PE router:<br />

aviva@RouterG> show route<br />

inet.0: 12 destinations, 13 routes (12 active, 0 holddown, 0 hidden)<br />

+ = Active Route, - = Last Active, * = Both<br />

0.0.0.0/0 *[Static/5] 1w1d 21:04:56<br />

> to 172.19.121.1 via fe-0/0/0.0<br />

10.0.0.0/24 *[Direct/0] 3d 02:34:48<br />

> via t1-4/0/0.0<br />

[OSPF/10] 00:40:32, metric 65<br />

> via t1-4/0/0.0<br />

Viewing the VPN Routing Tables | 563<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!