Blade ICE RACKSWITCH G8124-E Manuale Utente

Pagina di 388
BLADEOS 6.5.2 Application Guide
BMD00220, October 2010
Chapter 20: OSPF  

  285
Configuring Plain Text OSPF Passwords
To configure simple plain text OSPF passwords on the switches shown in 
 use the 
following commands:
1.
Enable OSPF authentication for Area 0 on switches 1, 2, and 3.
2.
Configure a simple text password up to eight characters for each OSPF IP interface in Area 0 on 
switches 1, 2, and 3.     
3.
Enable OSPF authentication for Area 2 on switch 4.
4.
Configure a simple text password up to eight characters for the virtual link between Area 2 and 
Area 0 on switches 2 and 4.
RS G8124(config-router-ospf)#
area 0 authentication-type password
RS G8124(config-router-ospf)#
exit
RS G8124(config)#
interface ip 1
RS G8124(config-ip-if)#
ip ospf key test
RS G8124(config-ip-if)#
exit
RS G8124(config)#
interface ip 2
RS G8124(config-ip-if)#
ip ospf key test
RS G8124(config-ip-if)#
exit
RS G8124(config)#
interface ip 3
RS G8124(config-ip-if)#
ip ospf key test
RS G8124(config-ip-if)#
exit
RS G8124(config)#
router ospf
RS G8124(config-router-ospf)#
area 2 authentication-type password
RS G8124(config-router-ospf)#
area-virtual-link 1 key
blade