View
IS-IS view
Default level
2: System level
Parameters
None
Description
Use
graceful-restart
suppress-sa
to suppress the SA (Suppress-Advertisement) bit during restart.
Use
undo graceful-restart suppress-sa
to set the SA bit.
By default, the SA bit is set during restart.
Suppressing the SA bit is mainly for avoiding black hole route. If a router starts or reboots without
keeping the local forwarding table, sending packets to the router may result in a severe packet loss.
To avoid this, you can set the SA bit of the hello packet sent by the GR Restarter to 1. Upon receiving
such hello packets, the GR Helpers will not advertise the GR Restarter through LSP.
Examples
# Suppress the SA bit during Graceful Restart.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] graceful-restart suppress-sa
import-route (IS-IS view)
Syntax
import-route
protocol
[
process-id
|
all-processes
|
allow-ibgp
] [
cost
cost
|
cost-type
{
external
|
internal
} |
[
level-1
|
level-1-2
|
level-2
] |
route-policy
route-policy-name
|
tag tag
] *
undo import-route
protocol
[
process-id
|
all-processes
]
View
IS-IS view
Default level
2: System level
Parameters
protocol
: Redistributes routes from a routing protocol, which can be BGP, direct, IS-IS, OSPF, RIP or
static.
process-id
: Process ID, in the range of 1 to 65535. It is available only when the protocol is IS-IS,
OSPF or RIP.
all-processes
: Redistributes routes from all the processes of the specified routing protocol. This
keyword takes effect only when the protocol is
rip
,
ospf
, or
isis
.
allow-ibgp
: Allows redistribution of IBGP routes. It is available when the protocol is BGP.
cost
: Specifies a cost for redistributed routes.
The range of the cost depends on its style:
•
For the styles of narrow, narrow-compatible and compatible, the cost ranges from 0 to 63.
•
For the styles of wide, wide-compatible, the cost ranges from 0 to 16777215.
156