Configuration Commands
Page 34 7210 SAS D, E OS Router Configuration Guide
Router Global Commands
router
Syntax router
Context config
Description This command enables the context to configure router parameters, and interfaces.
Default Base
static-route
[no] static-route {ip-prefix/prefix-length | ip-prefix netmask} [preference preference]
[metric metric] [enable | disable] next-hop ip-address
[no] static-route {ip-prefix/prefix-length | ip-prefix netmask} [preference preference]
[metric metric] [enable | disable] black-hole
Context config>router
Description This command creates static route entries for both the network and access routes.
When configuring a static route, either next-hop or black-hole must be configured.
The no form of the command deletes the static route entry. If a static route needs to be removed when
multiple static routes exist to the same destination, then as many parameters to uniquely identify the
static route must be entered.
Default No static routes are defined.
Parameters ip-prefix/prefix-length — The destination address of the static route.
Values ipv4-prefix a.b.c.d (host bits must be 0)
ipv4-prefix-length 0 — 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 — FFFF]H
d [0 — 255]D
ipv6-prefix-length 0 — 128
ip-address — The IP address of the IP interface. The ip-addr portion of the address command
specifies the IP host address that will be used by the IP interface within the subnet. This address
must be unique within the subnet and specified in dotted decimal notation.
Values ipv4-address a.b.c.d (host bits must be 0)
netmask — The subnet mask in dotted decimal notation.
Values 0.0.0.0 — 255.255.255.255 (network bits all 1 and host bits all 0)