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.

65500:3:10.0.31.0/24<br />

*[BGP/170] 00:03:40, localpref 100, from 192.168.16.1<br />

AS path: I<br />

> via t1-4/0/0.0, label-switched-path RouterG-PE-to-RouterF-PE<br />

65500:3:192.168.14.1/32<br />

*[BGP/170] 00:03:40, localpref 100, from 192.168.16.1<br />

AS path: I<br />

> via t1-4/0/0.0, label-switched-path RouterG-PE-to-RouterF-PE<br />

The VPN-IPv4 routes in this table are for two routes in VPN2, which you configured<br />

with a route distinguisher of 65500:3. Looking at just the IPv4 portion of the<br />

address, 10.0.31.0/24 is the subnetwork between the remote PE and CE routers,<br />

and 192.168.14.1/32 is the loopback address of the remote CE router. To see the<br />

VRF target for the VPN-IPv4 routes, use the detail option of the show route command:<br />

aviva@RouterG> show route table bgp.l3vpn.0 detail 10.0.31.0/24<br />

bgp.l3vpn.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)<br />

65500:3:10.0.31.0/24 (1 entry, 0 announced)<br />

*BGP Preference: 170/-101<br />

Route Distinguisher: 65500:3<br />

Next-hop reference count: 3<br />

Source: 192.168.16.1<br />

Next hop: via t1-4/0/0.0 weight 1, selected<br />

Label-switched-path RouterG-PE-to-RouterF-PE<br />

Label operation: Push 100032, Push 100048(top)<br />

Protocol next hop: 192.168.16.1<br />

Push 100032<br />

Indirect next hop: 85d5b00 262142<br />

State: <br />

Local AS: 65500 Peer AS: 65500<br />

Age: 2:30 Metric2: 66<br />

Task: BGP_65500.192.168.16.1+179<br />

AS path: I<br />

Communities: target:65520:100<br />

VPN Label: 100032<br />

Localpref: 100<br />

Router ID: 192.168.16.1<br />

Secondary Tables: VPN2.inet.0<br />

The second line shows the VPN-IPv4 address, and further down, along with other<br />

path attributes, you see the extended community VRF target in the Communities field.<br />

The PE routers filter based on the VRF target to determine which VPN the route<br />

belongs to and hence the VRF table into which to install the route.<br />

The mpls.0 table also stores information used by the VPN. In this table, you see the<br />

distinct label that the VPN assigns to each PE-CE interface:<br />

aviva@RouterG> show route table mpls protocol vpn<br />

mpls.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)<br />

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

100048 *[VPN/170] 00:41:21<br />

> via se-5/0/1.0, Pop<br />

100064 *[VPN/170] 00:41:21<br />

> via se-5/0/1.0, Pop<br />

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