IP Router Configuration
Router Configuration Guide 307
static-route
Syntax static-route [family] [[ip-prefix /mask] | [preference preference] | [next-hop ip-address] | tag
tag]
Context show>router
Description This command displays the static entries in the routing table. If no options are present, all static routes
are displayed sorted by prefix.
Parameters family — Specify the type of routing information to be distributed by this peer group.
Values ipv4 — Displays only those BGP peers that have the IPv4 family
enabled and not those capable of exchanging IP-VPN routes.
ipv6 — Displays the BGP peers that are IPv6 capable.
mcast-ipv4 — Displays the BGP peers that are IPv4 multicast
capable.
ip-prefix /mask — Displays static routes only matching the specified ip-prefix and mask.
Values The following values apply to the 7750 SR and 7950 XRS:
Values The following values apply to the 7450 ESS:
preference preference — Only displays static routes with the specified route preference.
Values 0 to 65535
next-hop ip-address — Only displays static routes with the specified next hop IP address.
Values The following values apply to the 7750 SR and 7950 XRS:
ipv4-prefix: a.b.c.d (host bits must be 0)
ipv4-prefix-length: 0 to 32
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 to FFFF]H
d: [0 to 255]D
ipv6-prefix-length: 0 to 128
ipv4-prefix: a.b.c.d (host bits must be 0)
ipv4-prefix-length: 0 to 32