Show, Clear, Debug Commands
Page 1860 7750 SR OS Services Guide
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.
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
as-number2 0 — 4294967295
well-known-comm no-export, no-export-subconfed, no-advertise