enable
configure terminal
hostname jinan
no ip domain-lookup
line console 0
no exec-timeout
logging syn
exit
interface loopback 0
ip address 1.1.1.1 255.255.255.255
interface f0/0
ip address 10.0.0.6 255.255.255.252
no shutdown
interface f1/0
ip address 10.0.0.2 255.255.255.252
no shutdown
interface s2/1
ip address 10.10.0.2 255.255.255.252
no shutdown
interface s2/2
encapsulation frame-relay
no frame-relay inverse-arp
no shutdown
exit
interface s2/2.1 point-to-point
ip address 10.11.12.2 255.255.255.252
frame-relay interface-dlci 102
exit
exit
interface s2/2.2 multipoint
ip address 10.11.11.2 255.255.255.252
frame-relay map ip 10.11.11.2 103 broadcast
frame-relay map ip 10.11.11.1 103 broadcast
exit
interface s2/0
ip address 100.0.0.2 255.255.255.252
no shutdown
clock rate 6400
exit
access-list 1 permit 10.0.0.0 0.0.0.3
access-list 2 permit 10.0.0.4 0.0.0.3
ip nat inside source list 1 interface s2/0 overload
ip nat inside source list 2 interface s2/0 overload
interface s2/0
ip nat outside
interface f1/0
ip nat inside
interface f0/0
ip nat inside
exit
ip route 0.0.0.0 0.0.0.0 s2/0
router ospf 11
default-information originate
network 10.10.0.0 0.0.0.3 area 0
network 10.11.11.0 0.0.0.3 area 0
network 10.11.12.0 0.0.0.3 area 0
network 10.0.0.0 0.0.0.3 area 0
network 10.0.0.4 0.0.0.3 aewa 0
zhensw1
enable
configure terminal
no ip domain-lookup
line console 0
no exec-timeout
logging syn
exit
frame-relay switch
interface s0/1
encapsulation frame-relay
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 102 interface s0/2 201
frame-relay route 103 interface s0/3 301
no shutdown
interface s0/2
encapsulation frame-relay
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 201 interface s0/1 102
no shutdown
interface s0/3
encapsulation frame-relay
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 203 interface s0/3 302
no shutdown
nanjing
enable
configure terminal
hostname nanjing
no ip domain-lookup
line console 0
no exec-timeout
logging syn
exit
interface f1/0
ip address 172.16.3.2 255.255.255.0
no shutdown
interface s0/0
encapsulation frame-relay
no frame-relay inverse-arp
IP address 10.11.12.1 255.255.255.252
clock rate 6400
no shutdown
frame-relay map ip 10.11.12.2 201 broadcast
frame-relay map ip 10.11.12.1 201 broadcast
ip route 0.0.0.0 0.0.0.0 s0/0
router ospf 11
default-information originate
exit
guangzhou
enable
configure terminal
hostname guangzhou
no ip domain-lookup
line console 0
no exec-timeout
logging syn
exit
interface f1/0
ip address 172.16.2.2 255.255.255.0
no shutdown
interface s0/0
encapsulation frame-relay
no frame-relay inverse-arp
IP address 10.11.11.1 255.255.255.252
clock rate 6400
no shutdown
frame-relay map ip 10.11.11.2 301 broadcast
frame-relay map ip 10.11.11.1 301 broadcast
ip route 0.0.0.0 0.0.0.0 s0/0
router ospf 11
default-information originate
exit
isp
enable
configure terminal
hostname isp
no ip domain-lookup
line console 0
no exec-timeout
logging syn
exit
interface s0/0
ip address 100.0.0.1 255.255.255.252
no shutdown
interface s0/1
ip address 200.0.0.2 255.255.255.252
no shutdown
interface f1/0
ip address 11.0.0.2 255.255.255.252
no shutdown
exit
access-list 111 deny tcp any host 11.0.0.1 eq 23
access-list 111 permit ip any any
access-list 112 permit tcp host 11.0.0.1 any eq 23
access-list 112 permit ip any any
interface f1/0
ip access-group 111 out
ip access-group 112 in
exit
ip route 172.16.1.0 255.255.255.0 200.0.0.1
ip route 0.0.0.0 0.0.0.0 100.0.0.2
exit
beijing
enable
configure terminal
hostname beijing
no ip domain-lookup
line console 0
no exec-timeout
logging syn
exit
interface s0/0
ip address 200.0.0.1 255.255.255.252
no shutdown
interface f1/0
ip address 172.16.1.2 255.255.255.0
no shutdown
exit
ip route 0.0.0.0 0.0.0.0 200.0.0.2
exit
qingdao
enable
configure terminal
hostname qingdao
no ip domain-lookup
line console 0
no exec-timeout
logging syn
exit
interface s0/0
ip address 10.10.0.1 255.255.255.252
no shutdown
interface f1/0
ip address 172.16.0.2 255.255.255.0
no shutdown
exit
ip route 0.0.0.0 0.0.0.0 10.10.0.2
router ospf 11
default-information originate
内网
sw3-1
enable
vlan database
vlan 3
vlan 4
vtp domain haha
exit
configure terminal
no ip domain-lookup
line console 0
no exec-timeout
logging syn
exit
interface range f0/1 - 12
switchport mode trunk
interface range f0/1 - 2
channel-group 1 mode on
interface f0/7
no switchport
ip address 10.0.0.17 255.255.255.252
no shutdown
interface f0/6
no switchport
ip address 10.0.0.9 255.255.255.252
no shutdown
interface f0/10
no switchport
ip address 192.168.0.1 255.255.255.0
no shutdown
interface f0/12
ip address 10.0.0.1 255.255.255.252
no shutdown
exit
spanning-tree vlan 3
spanning-tree vlan 4
spanning-tree vlan 3 root primary
ip routing
interface vlan 3
ip address 192.168.3.1 255.255.255.0
standby 3 ip 192.168.3.200
standby 3 preempt
standby 3 priority 150
standby 3 track fastethernet 0/12 66
no shutdown
interface vlan 4
ip address 192.168.4.1 255.255.255.0
standby 4 ip 192.168.4.200
standby 4 preempt
no shutdown
ip route 0.0.0.0 0.0.0.0 10.0.0.2
router ospf 11
default-information originate
network 192.168.1.0 0.0.0.255 area 0
network 192.168.2.0 0.0.0.255 area 0
network 192.168.5.0 0.0.0.255 area 0
exit
sw3-2
enable
vlan database
vlan 2
vtp domain haha
exit
configure terminal
no ip domain-lookup
line console 0
no exec-timeout
logging syn
exit
interface range f0/1 - 13
switchport mode trunk
interface range f0/1 - 2
channel-group 1 mode on
interface f0/7
no switchport
ip address 10.0.0.13 255.255.255.252
no shutdown
interface f0/8
no switchport
ip address 10.0.0.21 255.255.255.252
no shutdown
interface f0/12
no switchport
ip address 192.168.5.2 255.255.255.0
no shutdown
interface f0/13
no switchport
ip address 10.0.0.5 255.255.255.252
no shutdown
exit
spanning-tree vlan 3
spanning-tree vlan 4
spanning-tree vlan 4 root primary
ip routing
interface vlan 3
ip address 192.168.3.2 255.255.255.0
standby 3 ip 192.168.3.200
standby 3 preempt
no shutdown
interface vlan 4
ip address 192.168.4.2 255.255.255.0
standby 4 ip 192.168.4.200
standby 4 preempt
standby 4 priority 150
standby 4 track fastethernet 0/13 66
no shutdown
ip route 0.0.0.0 0.0.0.0 10.0.0.6
router ospf 11
default-information originate
network 192.168.1.0 0.0.0.255 area 0
network 192.168.2.0 0.0.0.255 area 0
network 192.168.0.0 0.0.0.255 area 0
exit
sw3-3
enable
vlan database
vlan 2
vtp domain haha
exit
configure terminal
no ip domain-lookup
line console 0
no exec-timeout
logging syn
exit
interface range f0/1 - 9
switchport mode trunk
interface range f0/1 - 2
channel-group 1 mode on
interface f0/7
no switchport
ip address 10.0.0.13 255.255.255.252
no shutdown
interface f0/6
no switchport
ip address 10.0.0.10 255.255.255.252
no shutdown
exit
spanning-tree vlan 1
spanning-tree vlan 2
spanning-tree vlan 1 root primary
ip routing
interface vlan 1
ip address 192.168.1.1 255.255.255.0
standby 1 ip 192.168.1.200
standby 1 preempt
standby 1 priority 150
standby 1 track fastethernet 0/7 66
no shutdown
interface vlan 2
ip address 192.168.2.1 255.255.255.0
standby 2 ip 192.168.2.200
standby 2 preempt
no shutdown
ip route 0.0.0.0 0.0.0.0 10.0.0.9
router ospf 11
default-information originate
exit
sw3-4
enable
vlan database
vlan 2
vtp domain haha
exit
configure terminal
no ip domain-lookup
line console 0
no exec-timeout
logging syn
exit
interface range f0/1 - 9
switchport mode trunk
interface range f0/1 - 2
channel-group 1 mode on
interface f0/7
no switchport
ip address 10.0.0.18 255.255.255.252
no shutdown
interface f0/8
no switchport
ip address 10.0.0.22 255.255.255.252
no shutdown
exit
spanning-tree vlan 1
spanning-tree vlan 2
spanning-tree vlan 2 root primary
ip routing
interface vlan 1
ip address 192.168.1.2 255.255.255.0
standby 1 ip 192.168.1.200
standby 1 preempt
no shutdown
interface vlan 2
ip address 192.168.2.2 255.255.255.0
standby 2 ip 192.168.2.200
standby 2 preempt
standby 2 priority 150
standby 2 track fastethernet 0/13 66
no shutdown
ip route 0.0.0.0 0.0.0.0 10.0.0.17
router ospf 11
default-information originate
exit