进阶22.rtr

来自「这是运行在BOSON软件上的组网实验源码.仔细揣摩.内涵实验要求.」· RTR 代码 · 共 52 行

RTR
52
字号

!
Version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname routerB
!
!
!
ip subnet-zero
!
!
!
!
interface Serial0
 ip address 192.168.6.1 255.255.255.0
 no ip directed-broadcast
 clock rate 64000
 ip ospf cost 64
!
interface Serial1
 ip address 192.168.9.1 255.255.255.0
 no ip directed-broadcast
 clock rate 64000
 ip ospf cost 64
!
interface Ethernet0
 ip address 192.168.2.1 255.255.255.0
 no ip directed-broadcast
 ip ospf cost 100
!
!
router ospf 50
 network 192.168.2.0 0.0.0.255 area 0
 network 192.168.9.0 0.0.0.255 area 0
 network 192.168.6.0 0.0.0.255 area 0
!
ip classless
no ip http server
!
!
line con 0
 transport input none
line aux 0
line vty 0 4
!
no scheduler allocate
end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?