T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
386
Command Mode
Router Configuration Mode
User Guidelines
If the password you configured here is unencrypted and the global encryption
function is enabled in
service password-encryption
, the password in the
configuration file will be displayed in the symmetric encrypted form.
Example
Configure the authentication mode of a virtual-link as md5 authentication, with
the transmission area as Area 2 and the ID of the neighboring router on the
other endpoint as 3.3.3.3, with the authentication ID as 2 and the authentication
key as 123456:
T2700G-28TQ(config)# router ospf
1
T2700G-28TQ(config-router)# area
2
virtual-link
3.3.3.3
message-digest-
key
2
md5
123456
ip ospf cost
Description
The
ip ospf cost
is used to configure the interface cost. To restore to the default
value, please use the
no ip ospf cost
command.
Syntax
ip ospf cost
cost
no ip ospf cost
Parameter
cost
—— The interface cost, ranging from 1 to 65535. The default value is
calculated according to the bandwidth.
Command Mode
Interface Configuration Mode
Example
Configure the cost of interface VLAN 2 as 10:
T2700G-28TQ(config)# interface vlan 2
T2700G-28TQ(config-if)# ip ospf cost
10