R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
456
Examples
# Configure the network type of the GigabitEthernet 4/2 interface as P2P.
<Sysname> system-view
[Sysname] interface GigabitEthernet 4/2
[Sysname-GigabitEthernet4/2] isis enable
[Sysname-GigabitEthernet4/2] isis circuit-type p2p
isis cost
Syntax
isis ipv6-unicast ] cost value [ level-1 | level-2 ]
undo isis ipv6-unicast ] cost [ value ] [ level-1 | level-2 ]
View
Interface view
Default level
2: System level
Parameters
ipv6-unicast: Specifies an IPv6 unicast topology.
value: Specifies an IS-IS cost for the interface. The cost range differs with cost styles.
• For cost styles narrow, narrow-compatible and compatible, the cost ranges from 1 to 63.
• For cost styles wide and wide-compatible, the cost ranges from 1 to 16777215.
level-1: Applies the cost to Level-1.
level-2: Applies the cost to Level-2.
Description
Use isis cost to set the IS-IS cost of an interface.
Use undo isis cost to restore the default.
No cost is configured by default.
If neither level-1 nor level-2 is included, the cost applies to both level-1 and level-2.
HP recommends to configure a proper IS-IS cost for each interface to guarantee correct route calculation.
Relate command: circuit-cost.
Examples
# Configure the Level-2 IS-IS cost as 5 for GigabitEthernet 4/2.
<Sysname> system-view
[Sysname] interface GigabitEthernet 4/2
[Sysname-GigabitEthernet4/2] isis cost 5 level-2
isis dis-name
Syntax
isis dis-name symbolic-name