HP MSR2000/3000/4000 Router Series Layer 3 - IP Routing Command Reference

157
3. Delete the old MD5 authentication key from the local device and all its neighbors. This operation
helps prevent attacks from devices that use the old key for communication and reduce system
resources and bandwidth consumption caused by key rollover.
Examples
# Enable MD5 authentication for the network 131.119.0.0/16 in Area 1. Set the interface key ID to 15,
and plaintext key to 123456 .
<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 md5
[Sysname-ospf-100-area-0.0.0.1] quit
[Sysname-ospf-100] quit
[Sysname] interface Ethernet1/1
[Sysname-Ethernet1/1] ospf authentication-mode md5 15 plain 123456
# Enable simple authentication for the network 131.119.0.0/16 in Area 1. Set the plaintext key to 123456
on Ethernet 1/1.
<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 ethernet1/1
[Sysname-Ethernet1/1] ospf authentication-mode simple plain 123456
Related commands
authentication-mode
ospf bfd enable
Use ospf bfd enable to enable BFD on an OSPF interface.
Use undo ospf bfd enable to disable BFD on an OSPF interface.
Syntax
ospf bfd enable [ echo ]
undo ospf bfd enable
Default
BFD for OSPF is disabled.
Views
Interface view
Predefined user roles
network-admin