Alcatel-Lucent 7750 SR-OS Configuration Manual page 123

Table of Contents

Advertisement

[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.
ip-address — The IP address of the IP interface. The ip-addr portion of the address command
netmask — The subnet mask in dotted decimal notation.
community comm-id — This configuration option associates a BGP community with the static route.
7750 SR OS Router Configuration Guide
Values
ipv4-prefix
ipv4-prefix-length
ipv6-prefix
ipv6-prefix-length
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
ipv6-address
Values
0.0.0.0 — 255.255.255.255 (network bits all 1 and host bits all 0)
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
a.b.c.d (host bits must be 0)
0 — 32
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
0 — 128
a.b.c.d (host bits must be 0)
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
asn:comm-val | well-known-comm
0 — 65535
0 — 65535
no-advertise, no-export, no-export-subconfed
IP Router Configuration
Page 123

Advertisement

Table of Contents
loading

Table of Contents