17 show ip bgp vpnv4 – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 550
CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 550 of 855
export add route-target to the exporting routing information from the VRF.
import import routing information which have this route-target.
both Specify both import and export.
RT-VALUE = ASN|IPID
RT-VALUE = ASN|IPID
ASN = ASN:NN 16-bit Specifies a AS number and an arbitrary number (for example- 100:1).
IPID = A.B.C.D|NN Specifies a 32-bit IP address and an arbitrary number (for example-
192.16.10.1:1)
Command Mode
VRF mode
Usage
The route-target command creates lists of import and export route-target extended communities for the VRF. It
specifies a target VPN extended community. Execute the command once for each community. All routes with
the specific route-target extended community are imported into all VRFs with the same extended community
as an import route-target.
Examples
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