期末考文件
This commit is contained in:
76
期末ospf全网通脚本.txt
Normal file
76
期末ospf全网通脚本.txt
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
先配置地址===================
|
||||||
|
# 取网段的第一个地址作为PC的ip地址
|
||||||
|
PC1 address 192.168.10.1 mask 255.255.255.192 gw 192.168.10.62
|
||||||
|
PC2 address 192.168.10.129 mask 255.255.255.192 gw 255.255.255.190
|
||||||
|
PC3 address 192.168.10.65 mask 255.255.255.192 gw 255.255.255.126
|
||||||
|
|
||||||
|
AR1===================================
|
||||||
|
sys
|
||||||
|
sysna AR1
|
||||||
|
|
||||||
|
int g0/0/1
|
||||||
|
ip add 172.16.10.1 30
|
||||||
|
int g0/0/0
|
||||||
|
ip add 192.168.10.62 26
|
||||||
|
|
||||||
|
ospf 1
|
||||||
|
a 0
|
||||||
|
sil g0/0/0
|
||||||
|
|
||||||
|
int g0/0/0
|
||||||
|
ospf en 1 a 0
|
||||||
|
|
||||||
|
int g0/0/1
|
||||||
|
ospf en 1 a 0
|
||||||
|
ospf net p2p
|
||||||
|
|
||||||
|
LSW1 ===================================
|
||||||
|
sys
|
||||||
|
sysna LSW1
|
||||||
|
vlan bat 10 100 200
|
||||||
|
int g0/0/1
|
||||||
|
port link-t acc
|
||||||
|
port def vl 100
|
||||||
|
int g0/0/2
|
||||||
|
port link-t acc
|
||||||
|
port def vl 10
|
||||||
|
int g0/0/3
|
||||||
|
port link-t acc
|
||||||
|
port def vl 200
|
||||||
|
|
||||||
|
ospf 1
|
||||||
|
a 0
|
||||||
|
si g0/0/2
|
||||||
|
|
||||||
|
int vl 10
|
||||||
|
ip add 192.168.10.190 26
|
||||||
|
ospf en 1 a 0
|
||||||
|
|
||||||
|
int vl 100
|
||||||
|
ip add 172.16.10.2 30
|
||||||
|
ospf en 1 a 0
|
||||||
|
ospf netw p2p
|
||||||
|
|
||||||
|
int vl 200
|
||||||
|
ip add 172.16.20.1 30
|
||||||
|
ospf en 1 a 0
|
||||||
|
ospf net p2p
|
||||||
|
|
||||||
|
AR3 ===================================
|
||||||
|
sys
|
||||||
|
sysna AR3
|
||||||
|
int g0/0/0
|
||||||
|
ip add 172.16.20.2 30
|
||||||
|
int g0/0/1
|
||||||
|
ip add 192.168.10.126 26
|
||||||
|
|
||||||
|
ospf 1
|
||||||
|
a 0
|
||||||
|
sil g0/0/1
|
||||||
|
|
||||||
|
int g0/0/0
|
||||||
|
ospf en 1 a 0
|
||||||
|
int g0/0/1
|
||||||
|
ospf en 1 a 0
|
||||||
|
|
||||||
|
|
||||||
BIN
期末考解压后双击topo文件即可.zip
Normal file
BIN
期末考解压后双击topo文件即可.zip
Normal file
Binary file not shown.
Reference in New Issue
Block a user