Dynamic Routing OSPF CLI 配置

A 路由配置
user:admin
Power:private
(Router)>enable
(Router)#configure
(Router)(Config)#interface 2/1
(Router)(Interface 2/1)#ip address 10.0.1.1 255.255.255.0
(Router)(Interface 2/1)#routing
(Router)(Interface 2/1)#exit
(Router)(Config)#interface 2/2
(Router)(Interface 2/2)#ip address 10.0.2.1 255.255.255.0
(Router)(Interface 2/2)#routing
(Router)(Interface 2/2)#ip ospf
(Router)(Interface 2/2)#exit
(Router)(Config)#router ospf
(Router)(Config router)#enable
(Router)(Config router)#router-id 10.0.2.1
(Router)(Config router)#redistribute connected subnets
(Router)(Config router)#exit
(Router)(Config)#ip routing
(Router)(Config)#exit
(Router)#show ip ospf
 
B 路由配置
user:admin
Power:private
(Router)>enable
(Router)#configure
(Router)(Config)#interface 2/2
(Router)(Interface 2/1)#ip address 10.0.3.1 255.255.255.0
(Router)(Interface 2/1)#routing
(Router)(Interface 2/1)#exit
(Router)(Config)#interface 2/1
(Router)(Interface 2/2)#ip address 10.0.2.2 255.255.255.0
(Router)(Interface 2/2)#routing
(Router)(Interface 2/2)#ip ospf
(Router)(Interface 2/2)#exit
(Router)(Config)#router ospf
(Router)(Config router)#enable
(Router)(Config router)#router-id 10.0.2.2
(Router)(Config router)#redistribute connected subnets
(Router)(Config router)#exit
(Router)(Config)#ip routing
(Router)(Config)#exit
(Router)#show ip ospf
 
赞(1)
未经允许不得转载:伊阳博客 » Dynamic Routing OSPF CLI 配置
所属分类: 网络硬件

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

表情 关闭

图片