17 show ip bgp vpnv4 – CANOGA PERKINS 9175 Command Reference User Manual
Page 487
CanogaOS Command Reference
27-11
Switch(config)# ip vrf VRF_A
Switch(config-vrf)# route-target both 100:10
Switch(config)# ip vrf VRF_A
Switch(config-vrf)# route-target import 100:20
Related Commands
ip vrf, route distinguisher
27.17 show ip bgp vpnv4
Use this command to display all VPNv4 routing data, routing data for a VRF or a route-distinguisher.
Command Syntax
show ip bgp vpnv4 all TYPE
show ip bgp vpvn4 vrf VRFNAME (network)|(tags)
show ip bgp vpvn4 rd RDVALUE TYPE
TYPE = network|neighbors|summary|tags
network A.B.C.D Network for which information will be displayed in the BGP routing table.
tag Shows label information for the route
neighbor Shows neighbor information for the route
summary Shows summary information for the route
VRFNAME a name used to identify a VRF.
RDVALUE = route-distinguisher either ASN: 16bits-number or A.B.C.D: 32bits-number form
Command Mode
Privileged Exec mode
Usage
Switch@vpc1# show ip bgp vpnv4 all
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 100:1 (VRF_A)
*>i 10.20.1.0/24 10.20.0.1 0 100 0 ?
*> 10.10.1.0/24 10.10.0.1 0 0 65000 ?
Switch@vpc1# show ip bgp vpnv4 all tags
Network Next Hop In tag/Out tag
Route Distinguisher: 100:1 (VRF_A)
*>i 10.20.1.0/24 10.20.0.1 notag/16
*> 10.10.1.0/24 10.10.0.1 16(eth1)/aggregate(VRF_A)
Related Commands
show ip route vrf