IP Router Configuration
7750 SR OS Router Configuration Guide
Page 123
[
no
]
static-route
{
ip-prefix/prefix-length
|
ip-prefix
netmask
} [
preference
preference
]
[
metric
metric
] [
tag
tag
] [
community
comm-id
] [
enable
|
disable
]
black-hole
[
mcast-family
]
{
prefix-list
prefix-list-name
[
all
|
none
]}
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
,
indirect
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.
If a CPE connectivity check target address is already being used as the target address in a different
static route, then cpe-check parameters must match. If they do not, the new configuration command
will be rejected.
If a static-route command is issued with no cpe-check target but the destination prefix/netmask and
next-hop matches a static route that did have an associated cpe-check, the cpe-check test will be
removed from the associated static route.
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)
ipv6-address
x:x:x:x:x:x:x:x[-interface]
x:x:x:x:x:x:d.d.d.d[-interface]
x: [0..FFFF]H
d: [0..255]D
interface: 32 characters maximum, mandatory for link local
addresses
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)
community
comm-id
—
This configuration option associates a BGP community with the static route.
The community can be matched in route policies and is automatically added to BGP routes
exported from the static route.
Values
comm-id
asn:comm-val | well-known-comm
asn
0 — 65535
comm-val
0 — 65535
well-known-comm
no-advertise, no-export, no-export-subconfed
Содержание 7750 SR-OS
Страница 10: ...Page 10 7750 SR OS Router Configuration Guide List of Tables...
Страница 12: ...Page 12 7750 SR OS Router Configuration Guide List of Figures...
Страница 18: ...Getting Started Page 18 7750 SR OS Router Configuration Guide...
Страница 108: ...IP Router Command Reference Page 108 7750 SR OS Router Configuration Guide...
Страница 200: ...Router Advertisement Commands Page 200 7750 SR OS Router Configuration Guide...
Страница 269: ...IP Router Configuration 7750 SR OS Router Configuration Guide Page 269 LDP 1 1 SDP 1 1 A ALA A config service...
Страница 299: ...IP Router Configuration 7750 SR OS Router Configuration Guide Page 299...
Страница 300: ...Debug Commands Page 300 7750 SR OS Router Configuration Guide...
Страница 348: ...Page 348 7750 SR OS Router Configuration Guide...
Страница 388: ...Page 388 7750 SR OS Router Configuration Guide...
Страница 442: ...Configuration Notes Page 442 7750 SR OS Router Configuration Guide...
Страница 470: ...Filter Management Tasks Page 470 7750 SR OS Router Configuration Guide...
Страница 586: ...Configuration Notes Page 586 7750 SR OS Router Configuration Guide...
Страница 588: ...OpenFlow Command Reference Page 588 7750 SR OS Router Configuration Guide...
Страница 598: ...Show Commands Page 598 7750 SR OS Router Configuration Guide...
Страница 608: ...Page 608 7750 SR OS Router Configuration Guide...
Страница 646: ...Page 646 7750 SR OS Router Configuration Guide...
Страница 660: ...Page 660 7750 SR OS Router Configuration Guide...
Страница 666: ...Common CLI Command Descriptions Page 666 7750 SR OS Router Configuration Guide...