beautypg.com

19 show ip bgp vpnv4, Show ip bgp vpnv – PLANET XGS3-24042 User Manual

Page 1237

background image

77-13

membership of directly connected site and route policies. For the configured import rule, enumerate

all routes received by the bgp process and add routes matching the condition (the export

route-target overlaps with the import route-target of this VRF) to the bgp process of this VRF and

advertise the route update messages to the bgp private network neighbors of this VRF. For the

configured export rule, enumerate all bgp routes stored in the bgp process related with this VRF,

add an export-target to these routes and advertise the route update messages to the bgp public

network neighbors. If there is an import route-target of some other VRF matches the export route-

target, copy the routes to the matching VRF and advertise the route update messages to the bgp

private network neighbors of it.

Example:

Switch(config)#ip vrf VRF-A

Switch(config-vrf)#route-target both 100:1

Switch(config-vrf)#

77.19 show ip bgp vpnv4

Command:

show ip bgp vpnv4 {all|rd <rd-val>|vrf <vrf-name>}

Function:

Implementing this command will display all VRF of this switch or route information of the specified

VRF.

Parameters:

all: all VPNv4 peers.

rd-val: the route distinguisher, usually in a format of numbers (AS number of IP address), such as

100:10.

the configured VPN instance name, whose length is 1 to 64.

Command Mode:

Admin and Config mode.

Usage Guide:

Display information of a specified RD or VRF.

Example:

Switch#show ip bgp vpn4 all

Network Next Hop Metric LocPrf Weight Path

Route Distinguisher: 100:10 (Default for VRF DC1)

*> 11.1.1.0/24 11.1.1.64 0 0 200 ?

*> 20.1.1.0/24 11.1.1.64 0 0 200 ?

This manual is related to the following products: