dis cur
#
sysname HEXINS9306
#
vlan batch 2 to 4 10 to 49 100 to 120 199 to 200
#
diffserv domain default
#
drop-profile default
#
dhcp server group dhcp10
dhcp-server 10.10.2.10
#
dhcp server group temp
dhcp-server 10.10.2.10
#
interface Vlanif1
ip address 172.16.0.1 255.255.255.0
#
interface Vlanif2
ip address 10.10.2.1 255.255.255.0
#
interface Vlanif3
ip address 10.10.3.1 255.255.255.0
#
interface Vlanif4
ip address 10.10.4.1 255.255.255.0
#
interface Vlanif10
ip address 10.10.10.1 255.255.255.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif11
ip address 10.10.11.1 255.255.255.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif12
ip address 10.10.12.1 255.255.255.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif13
ip address 10.10.13.1 255.255.255.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif14
ip address 10.10.14.1 255.255.255.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif15
ip address 10.10.15.1 255.255.255.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif16
ip address 10.10.16.1 255.255.255.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif17
ip address 10.10.17.1 255.255.255.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif18
ip address 10.10.18.1 255.255.254.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif20
ip address 10.10.20.1 255.255.255.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif21
ip address 10.10.21.1 255.255.255.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif30
ip address 10.10.30.1 255.255.255.0
#
interface Vlanif31
ip address 10.10.31.1 255.255.255.0
#
interface Vlanif32
ip address 10.10.32.1 255.255.255.0
#
interface Vlanif33
ip address 10.10.33.1 255.255.255.0
#
interface Vlanif34
ip address 10.10.34.1 255.255.255.0
#
interface Vlanif35
ip address 10.10.35.1 255.255.255.0
#
interface Vlanif36
ip address 10.10.36.1 255.255.255.0
#
interface Vlanif37
ip address 10.10.37.1 255.255.255.0
#
interface Vlanif38
ip address 10.10.38.1 255.255.255.0
#
interface Vlanif39
ip address 10.10.39.1 255.255.255.0
#
interface Vlanif40
ip address 10.10.40.1 255.255.255.0
#
interface Vlanif41
ip address 10.10.41.1 255.255.255.0
#
interface Vlanif42
ip address 10.10.42.1 255.255.255.0
#
interface Vlanif43
ip address 10.10.43.1 255.255.255.0
#
interface Vlanif44
ip address 10.10.44.1 255.255.255.0
#
interface Vlanif45
ip address 10.10.45.1 255.255.255.0
#
interface Vlanif46
ip address 10.10.46.1 255.255.255.0
#
interface Vlanif47
ip address 10.10.47.1 255.255.255.0
#
interface Vlanif48
ip address 10.10.48.1 255.255.255.0
#
interface Vlanif49
ip address 10.10.49.1 255.255.255.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif100
ip address 10.10.100.1 255.255.254.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif102
ip address 10.10.102.1 255.255.254.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif104
ip address 10.10.104.1 255.255.254.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif106
ip address 10.10.106.1 255.255.254.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif108
ip address 10.10.108.1 255.255.254.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif110
ip address 10.10.110.1 255.255.254.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif112
ip address 10.10.112.1 255.255.254.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif114
ip address 10.10.114.1 255.255.254.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif116
ip address 10.10.116.1 255.255.254.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif118
ip address 10.10.118.1 255.255.254.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif120
ip address 10.10.120.1 255.255.254.0
dhcp select relay
dhcp relay server-select dhcp10
#
interface Vlanif199
ip address 10.10.199.1 255.255.255.0
#
interface Vlanif200
ip address 192.168.1.1 255.255.255.0
#
interface Ethernet0/0/0
ip address 202.1.1.102 255.255.255.0
#
interface GigabitEthernet2/0/0
port link-type access
port default vlan 200
combo copper
#
interface GigabitEthernet2/0/1
port link-type access
combo copper
#
interface GigabitEthernet2/0/2
port link-type access
port default vlan 2
combo copper
#
interface GigabitEthernet2/0/3
port link-type access
port default vlan 2
combo copper
#
interface GigabitEthernet2/0/4
port link-type access
port default vlan 4
combo copper
#
interface GigabitEthernet2/0/5
port link-type access
port default vlan 3
combo copper
#
interface GigabitEthernet2/0/6
port link-type access
port default vlan 3
combo copper
#
interface GigabitEthernet2/0/7
port link-type access
port default vlan 3
combo copper
#
interface GigabitEthernet2/0/8
port link-type access
port default vlan 3
#
interface GigabitEthernet2/0/9
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet2/0/10
port link-type access
port default vlan 199
#
interface GigabitEthernet2/0/11
port link-type access
#
interface GigabitEthernet2/0/12
port link-type access
#
interface GigabitEthernet2/0/13
port link-type access
#
interface GigabitEthernet2/0/14
port link-type access
#
interface GigabitEthernet2/0/15
port link-type access
#
interface GigabitEthernet2/0/16
port link-type access
#
interface GigabitEthernet2/0/17
port link-type access
#
interface GigabitEthernet2/0/18
port link-type access
#
interface GigabitEthernet2/0/19
port link-type access
#
interface GigabitEthernet2/0/20
port link-type access
#
interface GigabitEthernet2/0/21
port link-type access
#
interface GigabitEthernet2/0/22
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet2/0/23
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface NULL0
#
aaa
local-user admin password simple Admin123
local-user admin service-type terminal telnet
local-user admin level 3
authentication-scheme default
#
authorization-scheme default
#
accounting-scheme default
#
domain default
#
#
ip route-static 0.0.0.0 0.0.0.0 192.168.1.254
#
user-interface maximum-vty 15
user-interface con 0
idle-timeout 0 0
screen-length 0
user-interface vty 0 14
authentication-mode aaa
user privilege level 3
idle-timeout 0 0
screen-length 0
user-interface vty 16 20
#
port-group h
#
port-group l
#
port-group trunk
#
return
<HEXINS9306>
本文出自 “陈高儒的博客” 博客,谢绝转载!