172
Default
The network type of an interface depends on the physical media. (The network type of a VLAN interface
is broadcast.)
Views
Interface view
Predefined user roles
network-admin
Usage guidelines
Perform this configuration only for a broadcast network with only two attached routers.
Interfaces with different network types operate differently. For example, broadcast interfaces must elect a
DIS and flood CSNP packets to synchronize the LSDBs, and P2P interfaces do not need to elect a DIS,
and use a different LSDB synchronization mechanism.
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.