VPRN Service Configuration Commands
Page 1176 7750 SR OS Services Guide
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
ipv6-prefix[/prefix-length — Specifies the type of IPv6 routing information to display.
Values ipv6-prefix: x:x:x:x:x:x:x:x   (eight 16-bit pieces)
x:x:x:x:x:x:d.d.d.d
x: [0 — FFFF]H
d: [0 — 255]D
prefix-length 0 — 128
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.