3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1145
[Sysname-ospf-100-area-0.0.0.1] network 131.119.0.0 0.0.255.255
[Sysname-ospf-100-area-0.0.0.1] authentication-mode md5
[Sysname-ospf-100-area-0.0.0.1] quit
[Sysname-ospf-100] quit
[Sysname] interface serial 2/0
[Sysname-Serial2/0] ospf authentication-mode md5 15 cipher abc
# Configure the network 131.119.0.0/16 in area1 to support simple
authentication, and set for the interface the authentication password to abc, and
password type to cipher.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 1
[Sysname-ospf-100-area-0.0.0.1] network 131.119.0.0 0.0.255.255
[Sysname-ospf-100-area-0.0.0.1] authentication-mode simple
[Sysname-ospf-100-area-0.0.0.1] quit
[Sysname-ospf-100] quit
[Sysname] interface serial 2/0
[Sysname-Serial2/0] ospf authentication-mode simple cipher abc
ospf cost
Syntax ospf cost value
undo ospf cost
View Interface view
Parameters value: Value of OSPF cost, in the range 1 to 65535.
Description Use the
ospf cost command to set an OSPF cost for the interface.
Use the undo ospf cost command to restore the default OSPF cost for the
interface.
By default, an OSPF interface calculates its cost with the formula: interface default
OSPF cost=100 Mbps/interface bandwidth(Mbps). Default OSPF costs of some
interfaces are:
1785 for the 56kbps serial interface
1562 for the 64kbps serial interface
48 for the E1 (2.048Mbps) interface
1 for the Ethernet interface
You can use the ospf cost command to set an OSPF cost for an interface
manually.
This configuration is not supported on the NULL interface.
Examples # Set the OSPF cost for the interface to 65.