authentication-mode命令用来配置OSPF区域对OSPF报文进行验证的验证模式及验证字。undo authentication-mode命令用来取消该区域已配置的验证模式。缺省情况下,区域不对OSPF报文进行验证。OSPF可指定区域下使用MD5/HMAC-MD5验证或简单验证两种方式,但不能同时指定;使用MD5/HMAC-MD5验证方式时,可配置多条MD5或HMAC-MD5验证命令...
1.1.4 authentication-mode authentication-mode命令用来配置OSPF区域所使用的验证模式。 undo authentication-mode命令用来取消OSPF区域所使用的验证模式。 【命令】 MD5/HMAC-MD5/HMAC-SHA-256验证模式: authentication-mode { hmac-md5 | hmac-sha-256 | md5 } key-id { cipher | plain } string undo authenticat...
1,接口认证——[r1-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123456 2,区域认证--- 本质还是接口认证,相当于,将一台设备在某个区域内所有激活的接口 配置接口认证。[r4-ospf-1-area-0.0.0.0]authentication-mode md5 1 cipher 123456 3,虚链路认证--- 其本质也是接口认证 [r5-ospf-1-...
1,接口认证——[r1-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123456 2,区域认证--- 本质还是接口认证,相当于,将一台设备在某个区域内所有激活的接口 配置接口认证。[r4-ospf-1-area-0.0.0.0]authentication-mode md5 1 cipher 123456 3,虚链路认证--- 其本质也是接口认证 [r5-ospf-1-...
接下来,我们需要在OSPF进程下配置区域。使用area [area-id]命令可以在OSPF进程中创建一个区域,并指定一个唯一的区域ID。区域ID是一个32位的数值,用于标识不同的区域。例如,area 0.0.0.0命令可以创建一个区域ID为0的区域。 然后,我们需要配置OSPF认证。使用ospf authentication-mode命令可以指定OSPF认证模式。H3C三层...
2. 进入OSPF配置模式,输入命令“ospf”,然后输入“enable”启用OSPF协议; 3. 设置OSPF区域,输入命令“area <区域号>”; 4. 设置认证密钥,输入命令“authentication-mode simple <密码>”,这里的密码可以是任意的字符组合; 5. 激活OSPF协议,输入命令“network <网络地址> <掩码位数> area <区域号>”; ...
peer 1.1.1.1 simple cipher H3C 虚链路明文认证虚链路的另一端也类似配置display ospf vlink /显示虚链路七、OSPF认证RT1ospf 1RT1ospf-1area 1RT1-ospf-1-area-0.0.0.1authentication-mode md5RT1-ospf-1-area-0.0.0.1quitRT1-ospf-1quitRT1int s0/2/0RT1-Serial0/2/0ospf authentication-mode md5 10 ...
10、link / 显示虚链路七、 OSPF 认证 RT1ospf 1 RT1ospf-1area 1 RT1-ospf-1-area-0.0.0.1authentication-mode md5 RT1-ospf-1-area-0.0.0.1quitRT1-ospf-1quitRT1int s0/2/0 RT1-Serial0/2/0ospf authentication-mode md5 10 cipher H3CRT3ospf 1 RT3ospf-1area 1RT3-ospf-1-area-0.0.0.1authentic...
[H3C-Vlan-interface113] ospf network-type p2p 配置OSPF MD5 验证 从安全性角度来考虑,为了避免路由信息外泄或者对 OSPF 路由器进行恶意攻击,建议配置 OSPF 报文验证功能: [H3C-ospf-1-area-0.0.0.0] authentication-mode md5 [H3C-Vlan-interface113] ospf authentication-mode md5 1 cipher h3c.com ...
[Sysname-ospf-100-area-0.0.0.2]vlink-peer 1.1.1.1 md5 10 cipher H3C虚链路MD5认证 vlink-peer 1.1.1.1 simple cipher H3C虚链路明文认证 虚链路的另一端也类似配置 display ospf vlink //显示虚链路 七、OSPF认证 [RT1]ospf 1 [RT1ospf-1]area 1 [RT1-ospf-1-area-0.0.0.1]authentication-mode md5...