beautypg.com

88 show ip bgp, Show ip bgp – PLANET XGS3-24042 User Manual

Page 679

background image


37-318

Switch(config-router)#neighbor 10.1.1.68 route-map map1 in

Switch(config-router)#address-family vpnv4 unicast

Switch(config-router-af)#neighbor 10.1.1.68 activate

Switch(config-router-af)#exit-address-family

View the route message after refresh:

Switch#show ip bgp vpnv4 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 ?

*>i15.1.1.0/24 10.1.1.250 0 100 655 200 ?

*> 20.1.1.0/24 11.1.1.64 0 0 200 ?

*>i100.1.1.0/24 10.1.1.250 0 100 655 200 ?

Route Distinguisher: 100:10

*>i15.1.1.0/24 10.1.1.68 0 100 0 200 ?

*>i100.1.1.0/24 10.1.1.68 0 100 0 200 ?

We can see that the nexthop 10.1.1.68 of the VPN route is changed to 10.1.1.250 after applied with

route-map.

37.88 show ip bgp

Command:

show ip bgp [] [| [longer-prefixes]|

cidr-only]

Function:

For displaying the routing messages permitted by BGP.

Parameter:

: address-family such as “ipv4 unicast”

: IP address

: IP address and the mask

Command Mode:

Admin and configuration mode

Usage Guide:

We can display BGP routing messages by different parameters (such as address-family or IPv4

address), or a route covered by a prefix, or only the routing message don’t match the earliest IP

address-family (namely the route is not A or B or C type address.)

This manual is related to the following products: