22-高级路由:OSPF 路由认证:明文、密文

一、实验拓扑:
明文认证:
22-高级路由:OSPF 路由认证:明文、密文
二、命令部署:
R1(config)#int f0/0
R1(config-if)#ip ospf authentication
R1(config-if)#ip ospf authentication-key 123

R2(config)#int f0/0
R2(config-if)#ip ospf authentication
R2(config-if)#ip ospf authentication-key 123

三、验证:
R1#ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:!!!!!
22-高级路由:OSPF 路由认证:明文、密文
一、实验拓扑:
密文认证:

二、命令部署:
R1(config)#int f0/0
R1(config-if)#ip ospf authentication message-digest
R1(config-if)#ip ospf message-digest-key 1 md5 123

R2(config)#int f0/0
R2(config-if)#ip ospf authentication message-digest
R2(config-if)#ip ospf message-digest-key 1 md5 123

三、验证:
R1#ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:!!!!!
22-高级路由:OSPF 路由认证:明文、密文
还有个OSPF区域认证,这里不做了,都是一样的套路。

猜你喜欢

转载自blog.51cto.com/13856092/2137528