ospf authentication-mode命令用来设置相邻设备之间的验证模式及验证字。 ospf authentication-mode null命令用来在接口上配置null验证模式。 undo ospf authentication-mode命令用来删除接口下已设置的验证模式。 缺省情况下,接口不对OSPF报文进行验证。 命令格式
ospf authentication-mode simple [ plain plain-text | [ cipher ] cipher-text ] 其中,plain表示简单口令类型。cipher表示密文口令类型。 配置认证密码时,请尽量选择密文模式,因为简单口令会直接保存在配置脚本中,有高安全风险。为保证设备安全,请定期修改密码。 配置密文认证模式。 ospf authentication-mode { md5 ...
[Sysname-ospfv3-1-area-0.0.0.1] authentication-mode keychain test1.1.5 bandwidth-referencebandwidth-reference命令用来配置计算链路开销时所依据的带宽参考值。undo bandwidth-reference命令用来恢复缺省情况。【命令】bandwidth-reference valueundo bandwidth-reference...
authentication-mode命令用来配置OSPF区域所使用的验证模式。undo authentication-mode命令用来取消OSPF区域所使用的验证模式。【命令】MD5/HMAC-MD5验证模式:authentication-mode { hmac-md5 | md5 } [ key-id { cipher | plain } string ]undo authentication-mode [ { hmac-md5 | md5 } [ key-id ] ]...
接口或区域上都可以运行ospf authentication-mode{simple[ [plain] <plain-text> |cipher<cipher-text>]|null} 命令来配置简单认证,参数plain表示使用显示密码,参数cipher表示使用密文密码,参数null表示不认证。 命令ospfauthentication-mode{md5|hmac-md5} [ key-id {plain<plain-text>|[cipher] <cipher-text>} ...
ospf authentication-mode 认证类型 KEY 密码在本地保存形式 密码 认证类型有:null(不认证) ;simple(明文认证) ;MD5(通过比对摘要值的方式进行认证) KEY:邻居间的KEY需要相同,KEY和密码一起才是认证口令 密码在本地保存形式:simple(明文保存),MD5(只保存摘要值) ...
配置接口认证。[r4-ospf-1-area-0.0.0.0]authentication-mode md5 1 cipher 123456 3,虚链路认证--- 其本质也是接口认证 [r5-ospf-1-area-0.0.0.2]vlink-peer 4.4.4.4 md5 1 cipher 123456 2,缺省路由--- 3类缺省,5类缺省,7类缺省 3类——只能自动生成,在配置--- 末梢区域,完全的末梢区域,完全的非...
interface NULL0 # interface LoopBack0 ip address 1.1.1.1 255.255.255.255 # interface LoopBack1 ip address 11.11.11.11 255.255.255.0 # ospf 1 router-id 1.1.1.1 area 0.0.0.0 authentication-mode simple plain Huawei network 1.1.1.1 0.0.0.0 ...
authentication-null:多选一可选项,设置采用无验证模式。 keychainkeychain-name:多选一可选项,设置采用Keychain 验证极式,并指定所使用的Keychain的名称,长度范围为1~47个字符,不区分大小写。采用此验证模式前,需要首先通过keychainkeychain-name命令创建一个keychain,并分别通过key-idkey-id、key-string{[plain]pla...
认证机制:支持区域认证和接口认证,支持null(不认证)、simple(明文)、MD5和HMAC-MD5认证模式,接口认证优先级高于区域认证。常见故障 1. OSPF邻居表为空?首先确定接口双方的IP地址是否配置正确,通告的地址是否正确。其次OSPF建立邻居关系时,会检查Hello报文中的Area ID、Autype、Authentication、Network Mask、Hello...