
4-37
Description
Use the
ospf authentication-mode
command to configure the authentication mode and key between
adjacent routers.
Use the
undo ospf authentication-mode
command to cancel the authentication key that has been
set.
By default, the interface does not authenticate the OSPF packets.
The passwords for authentication keys of the routers on the same network segment must be identical.
In addition, you need to use the
authentication-mode
command to set the authentication type of the
area, so as to validate the configuration.
Related commands:
authentication-mode
.
Examples
# Configure area 1 where the network segment 131.119.0.0 of interface VLAN-interface 10 resides to
support MD5 cipher text authentication. Set the authentication key identifier to 15 and the
authentication key to
abc
.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ospf 1
[Sysname-ospf-1] area 1
[Sysname-ospf-1-area-0.0.0.1] network 131.119.0.0 0.0.255.255
[Sysname-ospf-1-area-0.0.0.1] authentication-mode md5
[Sysname-ospf-1-area-0.0.0.1] quit
[Sysname-ospf-1] quit
[Sysname] interface Vlan-interface 10
[Sysname-Vlan-interface10] ospf authentication-mode md5 15 abc
ospf cost
Syntax
ospf cost
value
undo ospf cost
View
Interface view
Parameters
value
: Cost for running an OSPF process on an interface, in the range of 1 to 65535.
Description
Use the
ospf cost
command to configure the OSPF cost on an interface.
Use the
undo ospf cost
command to restore the default.
By default, the OSPF cost on an interface is 10.
You can use the
display ospf brief
command to display the OSPF cost information.
Related commands:
display ospf brief
.
Содержание 5500-EI Series
Страница 43: ...2 6 ...
Страница 76: ...1 17 ...
Страница 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46 ...
Страница 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast ...
Страница 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23 ...
Страница 519: ...iii ...
Страница 597: ...2 2 security policy server 192 168 0 1 user name format without domain ...
Страница 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static ...
Страница 663: ...4 3 Sysname resilient arp interface vlan interface 2 ...
Страница 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008 ...
Страница 1111: ...ii xmodem get 3 18 ...
Страница 1314: ...A 44 Z ...