234
If only two routers exist on a broadcast network, configure the network type of attached interfaces as P2P
to avoid DIS election and CSNP flooding, saving network bandwidth and speeding up network
convergence.
Examples
# Configure the network type of VLAN-interface 10 as P2P.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] isis enable
[Sysname-Vlan-interface10] isis circuit-type p2p
isis cost
Use
isis cost
to set the IS-IS cost for an interface.
Use
undo isis cost
to remove the configuration.
Syntax
isis
cost
value
[
level-1
|
level-2
]
undo
isis cost
[
level-1
|
level-2
]
Default
No IS-IS cost is configured for an interface.
Views
Interface view
Predefined user roles
network-admin
Parameters
value
: Specifies an IS-IS cost in the range of 1 to 16777215.
level-1
: Applies the cost to Level-1.
level-2
: Applies the cost to Level-2.
Usage guidelines
If neither
level-1
nor
level-2
is included, the cost applies to both
level-1
and
level-2
.
Examples
# Configure the Level-2 IS-IS cost as 5 for VLAN-interface 10.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] isis cost 5 level-2
Related commands
•
auto-cost enable
•
bandwidth-reference