《S7506E三层交换机配置.pdf》由会员分享,可在线阅读,更多相关《S7506E三层交换机配置.pdf(37页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、.*Copyright(c)2004-2008 Hangzhou H3C Tech.Co.,Ltd.All rights reserved.*Copyright(c)2004-2008 Hangzhou H3C Tech.Co.,Ltd.All rights reserved.*Without the owners prior written consent,*Without the owners prior written consent,*no decompiling or reverse-engineering shall be allowed.*no decompiling or re
2、verse-engineering shall be allowed.*Login authenticationLogin authenticationUsername:adminUsername:adminPassword:Password:di curdi cur#version 5.20,Release 6305 version 5.20,Release 6305#sysname 7506E sysname 7506E#domain default enable system domain default enable system#telnet server enable telnet
3、 server enable#ip ttl-expires enable ip ttl-expires enable ip unreachables enable ip unreachables enable#port-security enable port-security enable#loopback-detection enable loopback-detection enable#mirroring-group 1 local mirroring-group 1 local mirroring-group 2 local mirroring-group 2 local#.资料.s
4、witch-mode standardswitch-mode standard#acl number 3010acl number 3010 description to UTM200 description to UTM200rule 0 permit ip source 192.168.128.0 0.0.15.255rule 0 permit ip source 192.168.128.0 0.0.15.255 rule 1 permit ip source 192.168.160.0 0.0.31.255 rule 1 permit ip source 192.168.160.0 0.
5、0.31.255acl number 3011acl number 3011rule 0 permit ip source 192.168.34.0 0.0.0.255rule 0 permit ip source 192.168.34.0 0.0.0.255 rule 1 permit ip source 192.168.37.0 0.0.0.255 rule 1 permit ip source 192.168.37.0 0.0.0.255 rule 2 permit ip source 192.168.31.0 0.0.0.255 rule 2 permit ip source 192.
6、168.31.0 0.0.0.255 rule 3 permit ip source 192.168.39.0 0.0.0.255 rule 3 permit ip source 192.168.39.0 0.0.0.255 rule 4 permit ip source 192.168.254.0 0.0.0.255 rule 4 permit ip source 192.168.254.0 0.0.0.255acl number 3500acl number 3500#vlan 1vlan 1#vlan 2 to 2221vlan 2 to 2221#vlan 2222vlan 2222
7、description wireless_guest description wireless_guest#vlan 2223 to 2500vlan 2223 to 2500#vlan 3000vlan 3000 description test description test#vlan 3901vlan 3901 description dianxin ap description dianxin ap#.资料.vlan 3902vlan 3902 description test description test#vlan 3985vlan 3985 description dhcp
8、for temp guest meeting description dhcp for temp guest meeting supervlan supervlan subvlan 36 subvlan 36#vlan 3986vlan 3986 description dianxin wireless description dianxin wireless supervlan supervlan subvlan 3901 subvlan 3901#vlan 3987vlan 3987 description huisuo vlan 33 description huisuo vlan 33
9、 supervlan supervlan subvlan 33 subvlan 33#vlan 3988vlan 3988 description wireless description wireless supervlan supervlan subvlan 2222 subvlan 2222#vlan 3989vlan 3989 supervlan supervlan subvlan 3 to 29 subvlan 3 to 29#vlan 3990vlan 3990 supervlan supervlan.资料.subvlan 1226 to 1250 subvlan 1226 to
10、1250#vlan 3991vlan 3991 supervlan supervlan subvlan 1200 to 1225 subvlan 1200 to 1225#vlan 3992vlan 3992 supervlan supervlan subvlan 100 to 111 subvlan 100 to 111#vlan 3993vlan 3993 supervlan supervlan subvlan 1032 to 1150 subvlan 1032 to 1150#vlan 3994vlan 3994 supervlan supervlan subvlan 911 to 10
11、31 subvlan 911 to 1031#vlan 3995vlan 3995 supervlan supervlan subvlan 791 to 910 subvlan 791 to 910#vlan 3996vlan 3996 supervlan supervlan subvlan 351 to 421 747 to 790 subvlan 351 to 421 747 to 790#vlan 3997vlan 3997 supervlan supervlan subvlan 231 to 350 subvlan 231 to 350.资料.#vlan 3998vlan 3998 s
12、upervlan supervlan subvlan 112 to 230 subvlan 112 to 230#vlan 3999vlan 3999 description to UTM200 description to UTM200#vlan 4000 to 4001vlan 4000 to 4001#ftthftth#domain systemdomain system access-limit disable access-limit disable state active state active idle-cut disable idle-cut disable self-se
13、rvice-url disable self-service-url disable#traffic classifier kefang operator andtraffic classifier kefang operator and if-match acl 3010 if-match acl 3010traffic classifier denyvlanclass operator andtraffic classifier denyvlanclass operator and if-match acl 3500 if-match acl 3500#traffic behavior k
14、efangtraffic behavior kefang redirect next-hop 192.168.145.2 redirect next-hop 192.168.145.2traffic behavior dengvlantraffic behavior dengvlan filter deny filter deny#qos policy kefangqos policy kefang.资料.classifier kefang behavior kefang classifier kefang behavior kefangqos policy denyvlanqos polic
15、y denyvlan classifier denyvlanclass behavior dengvlan classifier denyvlanclass behavior dengvlan#dhcp server ip-pool 3985dhcp server ip-pool 3985 network 192.168.36.0 mask 255.255.255.0 network 192.168.36.0 mask 255.255.255.0 gateway-list 192.168.36.254 gateway-list 192.168.36.254 dns-list 202.96.12
16、8.86 202.96.128.166 8.8.8.8 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 expired day 0 hour 8 expired day 0 hour 8#dhcp server ip-pool 3986dhcp server ip-pool 3986 network 192.168.160.0 mask 255.255.224.0 network 192.168.160.0 mask 255.255.224.0 gateway-list 192.168.160.1 gateway-list 192.168.160.1
17、 dns-list 202.96.128.86 8.8.8.8 202.96.128.166 dns-list 202.96.128.86 8.8.8.8 202.96.128.166 expired day 0 hour 2 expired day 0 hour 2#dhcp server ip-pool 3987dhcp server ip-pool 3987 network 192.168.33.0 mask 255.255.255.0 network 192.168.33.0 mask 255.255.255.0 gateway-list 192.168.33.254 gateway-
18、list 192.168.33.254 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 expired day 0 hour 8 expired day 0 hour 8#dhcp server ip-pool 3988dhcp server ip-pool 3988 network 192.168.142.0 mask 255.255.254.0 network 192.168.142.0 mask 255.255.254.0 gateway-list 19
19、2.168.142.1 gateway-list 192.168.142.1 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 expired day 0 hour 4 expired day 0 hour 4#dhcp server ip-pool 3989dhcp server ip-pool 3989.资料.network 192.168.140.0 mask 255.255.254.0 network 192.168.140.0 mask 255.255
20、.254.0 gateway-list 192.168.140.1 gateway-list 192.168.140.1 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 expired day 0 hour 4 expired day 0 hour 4#dhcp server ip-pool 3990dhcp server ip-pool 3990 network 192.168.138.0 mask 255.255.254.0 network 192.168
21、.138.0 mask 255.255.254.0 gateway-list 192.168.138.1 gateway-list 192.168.138.1 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 expired day 0 hour 4 expired day 0 hour 4#dhcp server ip-pool 3991dhcp server ip-pool 3991 network 192.168.136.0 mask 255.255.25
22、4.0 network 192.168.136.0 mask 255.255.254.0 gateway-list 192.168.136.1 gateway-list 192.168.136.1 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 expired day 0 hour 4 expired day 0 hour 4#dhcp server ip-pool 3992dhcp server ip-pool 3992 network 192.168.13
23、4.0 mask 255.255.254.0 network 192.168.134.0 mask 255.255.254.0 gateway-list 192.168.134.1 gateway-list 192.168.134.1 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 expired day 0 hour 4 expired day 0 hour 4#dhcp server ip-pool 3993dhcp server ip-pool 3993
24、 network 192.168.132.128 mask 255.255.255.128 network 192.168.132.128 mask 255.255.255.128 gateway-list 192.168.132.129 gateway-list 192.168.132.129 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 expired day 0 hour 4 expired day 0 hour 4#.资料.dhcp server i
25、p-pool 3994dhcp server ip-pool 3994 network 192.168.132.0 mask 255.255.255.128 network 192.168.132.0 mask 255.255.255.128 gateway-list 192.168.132.1 gateway-list 192.168.132.1 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 expired day 0 hour 4 expired day
26、 0 hour 4#dhcp server ip-pool 3995dhcp server ip-pool 3995 network 192.168.131.128 mask 255.255.255.128 network 192.168.131.128 mask 255.255.255.128 gateway-list 192.168.131.129 gateway-list 192.168.131.129 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 e
27、xpired day 0 hour 4 expired day 0 hour 4#dhcp server ip-pool 3996dhcp server ip-pool 3996 network 192.168.131.0 mask 255.255.255.128 network 192.168.131.0 mask 255.255.255.128 gateway-list 192.168.131.1 gateway-list 192.168.131.1 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 dns-list 202.96.128.86 2
28、02.96.128.166 8.8.8.8 expired day 0 hour 4 expired day 0 hour 4#dhcp server ip-pool 3997dhcp server ip-pool 3997 network 192.168.130.128 mask 255.255.255.128 network 192.168.130.128 mask 255.255.255.128 gateway-list 192.168.130.129 gateway-list 192.168.130.129 dns-list 202.96.128.86 202.96.128.166 8
29、.8.8.8 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 expired day 0 hour 4 expired day 0 hour 4#dhcp server ip-pool 3998dhcp server ip-pool 3998 network 192.168.130.0 mask 255.255.255.128 network 192.168.130.0 mask 255.255.255.128 gateway-list 192.168.130.1 gateway-list 192.168.130.1 dns-list 202.96.
30、128.86 202.96.128.166 8.8.8.8 dns-list 202.96.128.86 202.96.128.166 8.8.8.8 expired day 0 hour 4 expired day 0 hour 4.资料.#dhcp server ip-pool 3999dhcp server ip-pool 3999#local-user adminlocal-user admin password cipher _PWRO8;4.DN#U3;6Q!password cipher _PWRO8;4.DN#U3;6Q!service-type telnet service-
31、type telnet level 3 level 3#stp instance 0 root primary stp instance 0 root primary stp enable stp enable#monitor-link group 1monitor-link group 1#interface NULL0interface NULL0#interface Vlan-interface1interface Vlan-interface1 ip address 192.168.39.2 255.255.255.0 ip address 192.168.39.2 255.255.2
32、55.0#interface Vlan-interface2interface Vlan-interface2 ip address 192.168.31.227 255.255.255.0 ip address 192.168.31.227 255.255.255.0#interface Vlan-interface30interface Vlan-interface30 ip address 192.168.30.254 255.255.255.0 ip address 192.168.30.254 255.255.255.0#interface Vlan-interface32inter
33、face Vlan-interface32 ip address 192.168.32.254 255.255.255.0 ip address 192.168.32.254 255.255.255.0#interface Vlan-interface34interface Vlan-interface34 ip address 192.168.34.254 255.255.255.0 ip address 192.168.34.254 255.255.255.0.资料.#interface Vlan-interface35interface Vlan-interface35 ip addre
34、ss 192.168.35.254 255.255.255.0 ip address 192.168.35.254 255.255.255.0#interface Vlan-interface37interface Vlan-interface37 ip address 192.168.37.254 255.255.255.0 ip address 192.168.37.254 255.255.255.0#interface Vlan-interface38interface Vlan-interface38 ip address 192.168.38.254 255.255.255.0 ip
35、 address 192.168.38.254 255.255.255.0#interface Vlan-interface3985interface Vlan-interface3985 ip address 192.168.36.254 255.255.255.0 ip address 192.168.36.254 255.255.255.0#interface Vlan-interface3986(interface Vlan-interface3986(分配网关分配网关)ip address 192.168.160.1 255.255.224.0 ip address 192.168.
36、160.1 255.255.224.0 local-proxy-arp enable local-proxy-arp enable#interface Vlan-interface3987interface Vlan-interface3987 ip address 192.168.33.254 255.255.255.0 ip address 192.168.33.254 255.255.255.0#interface Vlan-interface3988interface Vlan-interface3988 ip address 192.168.142.1 255.255.254.0 i
37、p address 192.168.142.1 255.255.254.0#interface Vlan-interface3989interface Vlan-interface3989 ip address 192.168.140.1 255.255.254.0 ip address 192.168.140.1 255.255.254.0 local-proxy-arp enable local-proxy-arp enable#interface Vlan-interface3990interface Vlan-interface3990 ip address 192.168.138.1
38、 255.255.254.0 ip address 192.168.138.1 255.255.254.0.资料.local-proxy-arp enable local-proxy-arp enable#interface Vlan-interface3991interface Vlan-interface3991 ip address 192.168.136.1 255.255.254.0 ip address 192.168.136.1 255.255.254.0 local-proxy-arp enable local-proxy-arp enable#interface Vlan-i
39、nterface3992interface Vlan-interface3992 ip address 192.168.134.1 255.255.254.0 ip address 192.168.134.1 255.255.254.0 local-proxy-arp enable local-proxy-arp enable#interface Vlan-interface3993interface Vlan-interface3993 ip address 192.168.132.129 255.255.255.128 ip address 192.168.132.129 255.255.
40、255.128 local-proxy-arp enable local-proxy-arp enable#interface Vlan-interface3994interface Vlan-interface3994 ip address 192.168.132.1 255.255.255.128 ip address 192.168.132.1 255.255.255.128 local-proxy-arp enable local-proxy-arp enable#interface Vlan-interface3995interface Vlan-interface3995 ip a
41、ddress 192.168.131.129 255.255.255.128 ip address 192.168.131.129 255.255.255.128 local-proxy-arp enable local-proxy-arp enable#interface Vlan-interface3996interface Vlan-interface3996 ip address 192.168.131.1 255.255.255.128 ip address 192.168.131.1 255.255.255.128 local-proxy-arp enable local-prox
42、y-arp enable#interface Vlan-interface3997interface Vlan-interface3997 ip address 192.168.130.129 255.255.255.128 ip address 192.168.130.129 255.255.255.128 local-proxy-arp enable local-proxy-arp enable.资料.#interface Vlan-interface3998interface Vlan-interface3998 ip address 192.168.130.1 255.255.255.
43、128 ip address 192.168.130.1 255.255.255.128 local-proxy-arp enable local-proxy-arp enable#interface Vlan-interface3999interface Vlan-interface3999 description to UTM200 description to UTM200 ip address 192.168.145.1 255.255.255.0 ip address 192.168.145.1 255.255.255.0#interface Vlan-interface4000in
44、terface Vlan-interface4000 description to f1000-s description to f1000-s ip address 192.168.254.1 255.255.255.0 ip address 192.168.254.1 255.255.255.0#interface Vlan-interface4001interface Vlan-interface4001 ip address 192.168.254.101 255.255.255.252 ip address 192.168.254.101 255.255.255.252#interf
45、ace GigabitEthernet2/0/1interface GigabitEthernet2/0/1 port link-type trunk port link-type trunk port trunk permit vlan 1 to 3984 3999 to 4094 port trunk permit vlan 1 to 3984 3999 to 4094 qos apply policy kefang inbound qos apply policy kefang inbound#interface GigabitEthernet2/0/2interface Gigabit
46、Ethernet2/0/2 port link-type trunk port link-type trunk port trunk permit vlan 1 to 3984 4000 to 4094 port trunk permit vlan 1 to 3984 4000 to 4094 qos apply policy kefang inbound qos apply policy kefang inbound#interface GigabitEthernet2/0/3interface GigabitEthernet2/0/3 port link-type trunk port l
47、ink-type trunk port trunk permit vlan 1 to 3984 4000 to 4094 port trunk permit vlan 1 to 3984 4000 to 4094.资料.qos apply policy kefang inbound qos apply policy kefang inbound#interface GigabitEthernet2/0/4interface GigabitEthernet2/0/4 port link-type trunk port link-type trunk port trunk permit vlan
48、1 to 3984 4000 to 4094 port trunk permit vlan 1 to 3984 4000 to 4094 qos apply policy kefang inbound qos apply policy kefang inbound#interface GigabitEthernet2/0/5interface GigabitEthernet2/0/5 port link-type trunk port link-type trunk port trunk permit vlan 1 to 3984 4000 to 4094 port trunk permit
49、vlan 1 to 3984 4000 to 4094 qos apply policy kefang inbound qos apply policy kefang inbound#interface GigabitEthernet2/0/6interface GigabitEthernet2/0/6 port link-type trunk port link-type trunk port trunk permit vlan 1 to 3984 4000 to 4094 port trunk permit vlan 1 to 3984 4000 to 4094 qos apply pol
50、icy kefang inbound qos apply policy kefang inbound#interface GigabitEthernet2/0/7interface GigabitEthernet2/0/7 port link-type trunk port link-type trunk port trunk permit vlan 1 to 3984 4000 to 4094 port trunk permit vlan 1 to 3984 4000 to 4094 qos apply policy kefang inbound qos apply policy kefan