
要求:
1,R5为ISP,其上只能配置IP地址;
R5与基他所有直连设备间均使用公有IP;环回地址为100.1.1.1/32
2,R4设备为企业出口路由器
3,整个OSPF环境IP基于172.16.0.0/16划分;
4,所有设备均可访问R5的环回;
5,减少LSA的更新里,加快收敛,保障更新安全;
6,全网可达
AR1

AR3

LSW1
system - view
undo portswitch
interface GigabitEthernet0/0/1
ip address 172.16.4.4 24
quit
interface GigabitEthernet0/0/2
ip address 172.16.4.5 24
quit
interface GigabitEthernet0/0/3
ip address 172.16.4.6 24
quit
ospf 1
area 1
network 172.16.4.0 0.0.0.255
stub
authentication - mode simple plain [123456]
quit
AR4
system-view
interface Serial4/0/1
ip address 202.100.1.2 30
quit
interface Serial4/0/0
ip address 172.16.1.1 30
quit
interface Serial3/0/0
ip address 172.16.2.1 30
quit
interface GigabitEthernet0/0/0
ip address 172.16.3.1 24
quit
ospf 1
area 0
network 172.16.1.0 0.0.0.3
network 172.16.2.0 0.0.0.3
network 172.16.3.0 0.0.0.255
quit
ip route-static 0.0.0.0 0.0.0.0 202.100.1.1
AR5
system - view
interface Serial4/0/0
ip address 202.100.1.2 24
quit
interface Serial4/0/1
ip address 202.100.2.1 24
quit
interface LoopBack0
ip address 100.1.1.1 32
quit
AR6
system - view
interface Serial4/0/0
ip address 172.16.4.2 24
quit
interface GigabitEthernet0/0/0
ip address 172.16.2.1 24
quit
ospf 1 router - id 6.6.6.6
area 0
network 172.16.4.0 0.0.0.255
quit
area 2
network 172.16.2.0 0.0.0.255
quit
AR7
system - view
interface GigabitEthernet0/0/0
ip address 172.16.5.2 24
quit
interface GigabitEthernet0/0/1
ip address 172.16.6.1 24
quit
ospf 1 router - id 7.7.7.7
area 3
network 172.16.5.0 0.0.0.255
network 172.16.6.0 0.0.0.255
quit
AR8
system - view
interface GigabitEthernet0/0/0
ip address 172.16.6.2 24
quit
interface GigabitEthernet0/0/1
ip address 172.16.7.1 24
quit
ospf 1 router - id 8.8.8.8
area 3
network 172.16.6.0 0.0.0.255
network 172.16.7.0 0.0.0.255
quit
AR9
system - view
interface GigabitEthernet0/0/0
ip address 172.16.7.2 24
quit
interface GigabitEthernet0/0/1
ip address 172.16.8.1 24
quit
ospf 1 router - id 9.9.9.9
area 3
network 172.16.7.0 0.0.0.255
quit
area 4
network 172.16.8.0 0.0.0.255
quit
AR10
system - view
interface GigabitEthernet0/0/0
ip address 172.16.8.2 24
quit
ospf 1 router - id 10.10.10.10
area 4
network 172.16.8.0 0.0.0.255
quit
AR12
system - view
interface GigabitEthernet0/0/0
ip address 172.16.9.2 24
quit
rip 1
network 172.16.9.0
import - route ospf 1
quit
3万+

被折叠的 条评论
为什么被折叠?



