路由器OSPF邻居路由
原创
©著作权归作者所有:来自51CTO博客作者MRfbyu的原创作品,谢绝转载,否则将追究法律责任
RA:loopback1ipadd:10.10.10.1/24s0/1ipadd:192.168.1.1/24
OSPF1Area0passwordpassword
RB:loopback2ipadd:10.10.11.1/24s0/2ipadd:192.168.1.1/24
OSPF2Area0passwordpassword
config:
RA#
intloopback1<进入回环口1>
ipadd10.10.10.1255.255.255.0<配置IP与掩码>
nosh<激活回环口1>
ex
ints0/1
ipadd192.168.1.1255.255.255.0
nosh
ex
routerospf1<启动OSPF进程号1>
network192.168.1.0255.255.255.0area0<配置运行在OSPF1区域0中的网段>
network10.10.10.0255.255.255.0area0<配置运行在OSPF1区域0中的网段>
area0authenticationsimple<启用OSPF邻居认证为明文认证>
quit
ints0/1<进入串行口1>
ipospfpasswordpassword<配置OSPF认证的密文为:password>
nosh<激活此端口>
exit
RB#
intloopback2
ipadd10.10.11.1255.255.255.0
nosh
ex
ints0/2
ipadd192.168.1.2255.255.255.0
physical-layerspeed64000<配置时钟速率为64000>
nosh
ex
routerospf2
network192.168.1.0255.255.255.0area0
network10.10.11.0255.255.255.0area0
area0authenticationsimple
quit
ints0/2
ipospfpasswordpassword
nosh
exit
上一篇:神州数码 路由器CHAP认证
下一篇:三层交换机端口聚合
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
OSPF的邻居关系和邻接关系
ospf邻居与邻接
OSPF 多址 邻接关系