VPRN Show Commands
7210-SAS M Services Guide Page 773
routes
Syntax routes [family family] [prefix [detail | longer]]
routes [family family] [prefix [hunt | brief]]
routes [family family] [community comm-id]
routes [family family] [aspath-regex reg-ex1]
routes [family family] [ipv6-prefix[/prefix-length] [detail | longer] | [hunt [brief]]]
Context show>router>bgp
Description This command displays BGP route information.
When this command is issued without any parameters, then the entire BGP routing table displays.
When this command is issued with an IP prefix/mask or IP address, then the best match for the
parameter displays.
Parameters family family — Specifies the type of routing information to be distributed by the BGP instance.
Values ipv4 — Displays only those BGP peers that have the IPv4 family enable and not
those capable of exchanging IP-VPN routes.
vpn-ipv4 — Displays the BGP peers that are IP-VPN capable.
ipv6 — Displays the BGP peers that are IPv6 capable.
mcast-ipv4 — Displays the BGP peers that are mcast-ipv4 capable.
prefix — Specifies the type of routing information to display.
Values rd|[rd:]ip-address[/mask]
rd {ip-address:number1
as-number1:number2
as-number2:number3}
number1 1 — 65535
as-number1 1 — 65535
number2 0 — 4294967295
as-number2 1 — 4294967295
number3 0 — 65535
ip-address a.b.c.d
mask 0 — 32
filter — Specifies route criteria.
Values hunt Displays entries for the specified route in the RIB-In, RIB-Out, and RTM.
longer Displays the specified route and subsets of the route.
detail Display the longer, more detailed version of the output.
aspath-regex “reg-exp” — Displays all routes with an AS path matching the specified regular
expression reg-exp.
community comm.-id — Displays all routes with the specified BGP community.
Values [as-number1:comm-val1 | ext-comm | well-known-comm]
ext-comm type:{ip-address:comm-val1 | as-number1:comm-val2 | as-
number2:comm-val1}
as-number1 0..65535
comm-val1 0..65535
type keywords: target, origin
ip-address a.b.c.d
comm-val2 0 — 4294967295