132 
Ste
 Command
Remarks 
1.  Enter system view. 
system-view  N/A 
2.  Enter interface view. 
interface interface-type 
interface-number
 
N/A 
3.  Configure P2P network type for an 
interface. 
isis circuit-type p2p 
By default, the network type of an 
interface depends on the physical 
media. The network type of a 
VLAN interface is broadcast. 
 
Configuring IS-IS route control 
Configuration prerequisites 
Before the configuration, complete the following tasks: 
•  Configure IP addresses for interfaces to ensure IP connectivity between neighboring nodes. 
•  Enable IS-IS. 
Configuring IS-IS link cost 
The IS-IS cost of an interface is determined in the following order: 
1.  IS-IS cost specified in interface view. 
2.  IS-IS cost specified in system view.  
The cost is applied to the interfaces associated with the IS-IS process. 
3.  Automatically calculated cost.  
If the cost style is wide or wide-compatible, IS-IS automatically calculates the cost using the formula: 
Interface cost = (Bandwidth reference value / Expected interface bandwidth) × 10, in the range of 
1 to 16777214. For other cost styles, Table 6 applies.
 
Configure the expected bandwidth of an interface with the bandwidth command. For more 
information, see Interface Command Reference. 
Table 6 Automatic cost calculation scheme for cost styles other than wide and wide-compatible 
Interface bandwidth  Interface cost
≤ 10 Mbps  60 
≤ 100 Mbps
 
50 
≤ 155 Mbps  40 
≤ 622 Mbps  30 
≤ 2500 Mbps
 
20 
> 2500 Mbps
 
10 
 
If none of the above costs is used, a default cost of 10 applies.