交换机
|
型号
|
数量
|
DCRS-5950
|
1
|
|
DCS-3950
|
2
|
|
路由器
|
型号
|
数量
|
DCR- 2659
|
3
|
|
PC
|
系统
|
数量
|
WinXP
|
3
|
|
服务器
|
服务
|
数量
|
Web服务
|
1
|
- hostname SW1
- vendorlocation China
- vendorContact 800-810-9119
- ssh-server enable
- ssh-user admin password 0 admin
- spanning-tree
- vlan 1
- vlan 11
- vlan 12
- vlan 13
- vlan 14
- port-group 1
- Interface Ethernet0/0/1
- switchport access vlan 11
- Interface Ethernet0/0/2
- switchport access vlan 11
- !
- Interface Ethernet0/0/3
- switchport access vlan 11
- !
- Interface Ethernet0/0/4
- switchport access vlan 12
- !
- Interface Ethernet0/0/5
- switchport access vlan 12
- !
- Interface Ethernet0/0/6
- switchport access vlan 12
- !
- Interface Ethernet0/0/7
- switchport access vlan 13
- !
- Interface Ethernet0/0/8
- switchport access vlan 13
- !
- Interface Ethernet0/0/9
- switchport access vlan 13
- !
- Interface Ethernet0/0/10
- switchport access vlan 14
- !
- Interface Ethernet0/0/11
- switchport access vlan 14
- !
- Interface Ethernet0/0/12
- switchport access vlan 14
- !
- Interface Ethernet0/0/13
- !
- Interface Ethernet0/0/22
- switchport mode trunk
- !
- Interface Ethernet0/0/23
- switchport mode trunk
- port-group 1 mode on
- !
- Interface Ethernet0/0/24
- switchport mode trunk
- port-group 1 mode on
- !
- hostname SW2
- vendorlocation China
- vendorContact 800-810-9119
- !
- !
- ssh-server enable
- ssh-user admin password 0 admin
- spanning-tree
- vlan 1
- vlan 11
- vlan 12
- vlan 13
- vlan 14
- port-group 1
- Interface Ethernet0/0/1
- switchport access vlan 11
- Interface Ethernet0/0/2
- switchport access vlan 11
- Interface Ethernet0/0/3
- switchport access vlan 11
- Interface Ethernet0/0/4
- switchport access vlan 12
- Interface Ethernet0/0/5
- switchport access vlan 12
- Interface Ethernet0/0/6
- switchport access vlan 12
- Interface Ethernet0/0/7
- switchport access vlan 13
- Interface Ethernet0/0/8
- switchport access vlan 13
- Interface Ethernet0/0/9
- switchport access vlan 13
- Interface Ethernet0/0/10
- switchport access vlan 14
- Interface Ethernet0/0/11
- switchport access vlan 14
- Interface Ethernet0/0/12
- switchport access vlan 14
- Interface Ethernet0/0/13
- Interface Ethernet0/0/23
- switchport mode trunk
- port-group 1 mode on
- Interface Ethernet0/0/24
- switchport mode trunk
- port-group 1 mode on
- hostname sw3
- sysLocation China
- sysContact 800-810-9119
- !
- username admin privilege 15 password 0 admin
- ssh-server enable
- vlan 1
- !
- vlan 6
- !
- vlan 7
- !
- vlan 100
- !
- vlan 200
- !
- Interface Ethernet1/1
- switchport mode hybrid
- switchport hybrid allowed vlan 1-100 untag
- !
- Interface Ethernet1/2
- switchport mode hybrid
- switchport hybrid allowed vlan 1-100 untag
- !
- Interface Ethernet1/3
- switchport mode hybrid
- switchport hybrid allowed vlan 1-100 untag
- !
- Interface Ethernet1/4
- switchport mode hybrid
- switchport hybrid allowed vlan 1-100 untag
- !
- Interface Ethernet1/5
- switchport mode hybrid
- switchport hybrid allowed vlan 1-100 untag
- !
- Interface Ethernet1/6
- switchport mode hybrid
- switchport hybrid allowed vlan 1-100 untag
- !
- Interface Ethernet1/7
- switchport mode hybrid
- switchport hybrid allowed vlan 1-100 untag
- !
- Interface Ethernet1/8
- switchport mode hybrid
- switchport hybrid allowed vlan 1-100 untag
- !
- Interface Ethernet1/9
- switchport mode hybrid
- switchport hybrid allowed vlan 1-100 untag
- !
- Interface Ethernet1/10
- switchport mode hybrid
- switchport hybrid allowed vlan 1-100 untag
- !
- Interface Ethernet1/11
- switchport mode hybrid
- switchport hybrid allowed vlan 1-100 untag
- !
- Interface Ethernet1/12
- switchport mode hybrid
- switchport hybrid allowed vlan 1-100 untag
- !
- Interface Ethernet1/13
- switchport mode hybrid
- switchport hybrid allowed vlan 1-100 untag
- !
- Interface Ethernet1/14
- switchport mode hybrid
- switchport hybrid allowed vlan 1-100 untag
- !
- Interface Ethernet1/15
- switchport mode hybrid
- switchport hybrid allowed vlan 1-100 untag
- !
- Interface Ethernet1/16
- !
- Interface Ethernet1/17
- !
- Interface Ethernet1/18
- !
- Interface Ethernet1/19
- !
- Interface Ethernet1/20
- !
- Interface Ethernet1/21
- !
- Interface Ethernet1/22
- !
- Interface Ethernet1/23
- switchport access vlan 100
- !
- Interface Ethernet1/24
- switchport access vlan 200
- !
- Interface Ethernet1/25
- !
- Interface Ethernet1/26
- !
- Interface Ethernet1/27
- !
- Interface Ethernet1/28
- !
- interface Vlan1
- ip address 192.168.10.1 255.255.255.0
- !
- interface Vlan6
- ip address 10.10.6.1 255.255.255.0
- !
- interface Vlan7
- ip address 10.10.7.1 255.255.255.0
- !
- interface Vlan100
- ip rip authentication mode md5
- ip rip authentication string aaa
- ip address 202.103.96.13 255.255.255.252
- !
- interface Vlan200
- ip rip authentication mode md5
- ip rip authentication string aaa
- ip address 58.20.200.26 255.255.255.0
- !
- router rip
- network 10.10.6.0/24
- network 10.10.7.0/24
- network 58.20.200.0/24
- network 202.103.96.0/24
- no login
- !
- subnet-vlan ip-address 10.10.7.2 mask 255.255.255.0 vlan 7 priority 0
- subnet-vlan ip-address 10.10.6.2 mask 255.255.255.0 vlan 6 priority 0
- end
- hostname R1
- gbsc group default
- aaa authentication login default local none
- aaa authentication enable default enable
- !
- username admin password 0 admin privilege 15
- !
- enable password 0 admin level 15
- !
- !
- !
- interface FastEthernet0/0
- no ip address
- no ip directed-broadcast
- !
- interface FastEthernet0/0.1
- ip address 10.10.11.1 255.255.255.0
- no ip directed-broadcast
- encapsulation dot1Q 11
- bandwidth 100000
- delay 1
- ip nat inside
- !
- interface FastEthernet0/0.2
- ip address 10.10.12.1 255.255.255.0
- no ip directed-broadcast
- encapsulation dot1Q 12
- bandwidth 100000
- delay 1
- ip nat inside
- !
- interface FastEthernet0/0.3
- ip address 10.10.13.1 255.255.255.0
- no ip directed-broadcast
- encapsulation dot1Q 13
- bandwidth 100000
- delay 1
- ip nat inside
- !
- interface FastEthernet0/0.4
- ip address 10.10.14.1 255.255.255.0
- no ip directed-broadcast
- encapsulation dot1Q 14
- bandwidth 100000
- delay 1
- ip nat inside
- !
- interface GigaEthernet0/3
- ip address 192.168.100.1 255.255.255.0
- no ip directed-broadcast
- !
- interface GigaEthernet0/4
- ip address 58.20.200.21 255.255.255.252
- no ip directed-broadcast
- ip rip authentication md5
- ip rip md5-key 1 md5 aaa
- ip nat outside
- !
- interface GigaEthernet0/5
- ip address 202.103.96.9 255.255.255.252
- no ip directed-broadcast
- ip rip authentication md5
- ip rip md5-key 1 md5 aaa
- ip nat outside
- !
- interface GigaEthernet0/6
- no ip address
- no ip directed-broadcast
- !
- interface Serial0/1
- no ip address
- no ip directed-broadcast
- !
- interface Serial0/2
- no ip address
- no ip directed-broadcast
- !
- interface Async0/0
- no ip address
- no ip directed-broadcast
- !
- !
- !
- !
- router rip
- version 2
- no auto-summary
- network 202.103.96.8 255.255.255.252
- network 58.20.200.20 255.255.255.252
- ip access-list standard namepat
- permit 10.10.11.0 255.255.255.0
- permit 10.10.12.0 255.255.255.0
- permit 10.10.13.0 255.255.255.0
- permit 10.10.14.0 255.255.255.0
- deny any
- !
- ip access-list extended vlan13-14
- deny tcp 10.10.13.0 255.255.255.0 any eq www
- deny tcp 10.10.14.0 255.255.255.0 any eq www
- permit ip any any
- ip dhcpd pool vlan11
- network 10.10.11.0 255.255.255.0
- range 10.10.11.10 10.10.11.100
- default-router 10.10.11.1
- !
- ip dhcpd pool vlan13
- network 10.10.13.0 255.255.255.0
- range 10.10.13.10 10.10.13.100
- default-router 10.10.13.1 255.255.255.0
- !
- ip dhcpd pool vlan14
- network 10.10.14.0 255.255.255.0
- range 10.10.14.10 10.10.14.100
- default-router 10.10.14.1
- !
- ip dhcpd pool vlan12
- network 10.10.12.0 255.255.255.0
- range 10.10.12.10 10.10.12.100
- default-router 10.10.12.1
- !
- ip dhcpd enable
- !
- ip nat inside source list namepat interface GigaEthernet0/4
- ip nat inside source list namepat interface GigaEthernet0/5
- hostname R2
- gbsc group default
- !
- interface FastEthernet0/0
- no ip address
- no ip directed-broadcast
- !
- interface GigaEthernet0/3
- no ip address
- no ip directed-broadcast
- !
- interface GigaEthernet0/4
- ip address 202.103.96.14 255.255.255.252
- no ip directed-broadcast
- !
- interface GigaEthernet0/5
- ip address 202.103.96.10 255.255.255.252
- no ip directed-broadcast
- ip rip authentication md5
- ip rip md5-key 1 md5 aaa
- !
- interface GigaEthernet0/6
- no ip address
- no ip directed-broadcast
- ip rip authentication md5
- ip rip md5-key 1 md5 aaa
- !
- interface Serial0/1
- no ip address
- no ip directed-broadcast
- !
- interface Serial0/2
- no ip address
- no ip directed-broadcast
- !
- interface Async0/0
- no ip address
- no ip directed-broadcast
- router rip
- version 2
- no auto-summary
- network 202.103.96.0 255.255.255.0
- hostname R3
- !
- gbsc group default
- interface FastEthernet0/0
- no ip address
- no ip directed-broadcast
- !
- interface GigaEthernet0/3
- no ip address
- no ip directed-broadcast
- !
- interface GigaEthernet0/4
- ip address 58.20.200.22 255.255.255.252
- no ip directed-broadcast
- !
- interface GigaEthernet0/5
- no ip address
- no ip directed-broadcast
- ip rip authentication md5
- ip rip md5-key 1 md5 aaa
- !
- interface GigaEthernet0/6
- ip address 58.20.200.25 255.255.255.252
- no ip directed-broadcast
- ip rip authentication md5
- ip rip md5-key 1 md5 aaa
- !
- interface Serial0/1
- no ip address
- no ip directed-broadcast
- !
- interface Serial0/2
- no ip address
- no ip directed-broadcast
- !
- interface Async0/0
- no ip address
- no ip directed-broadcast
- router rip
- version 2
- no auto-summary
- network 58.20.200.20 255.255.255.252
- network 58.20.200.24 255.255.255.252