#
version 5.20, Release 2221P27
#
sysname H3C
#
clock timezone Beijing add 08:00:00
#
domain default enable system
#
ipv6
#
telnet server enable
#
password-recovery enable
#
acl number 4006 match-order auto
#
vlan 1
#
vlan 10
#
vlan 12 to 15
#
vlan 20
#
vlan 30
#
vlan 100
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
dhcp server ip-pool 12f
network 168.12.0.0 mask 255.255.254.0
gateway-list 168.12.0.1
dns-list 10.96.0.10
expired day 0 hour 2
option 43 hex 80070000 01A80D00 FE
#
dhcp server ip-pool 13f
network 168.13.0.0 mask 255.255.252.0
gateway-list 168.13.0.1
dns-list 10.96.0.10
expired day 0 hour 2
#
dhcp server ip-pool 14f
network 168.14.0.0 mask 255.255.254.0
gateway-list 168.14.0.1
dns-list 218.108.248.200 218.108.248.228
option 43 hex 80070000 01A80D00 FE
#
dhcp server ip-pool 15f
network 168.15.0.0 mask 255.255.254.0
gateway-list 168.15.0.1
dns-list 218.108.248.200 218.108.248.228
option 43 hex 80070000 01A80D00 FE
#
dhcp server ip-pool ac/ap
network 172.16.102.0 mask 255.255.255.0
gateway-list 172.16.102.1
dns-list 218.108.248.200
expired unlimited
#
dhcp server ip-pool office
network 192.168.0.0 mask 255.255.252.0
gateway-list 192.168.1.1
dns-list 218.108.248.200
expired unlimited
#
user-group system
group-attribute allow-guest
#
local-user admin
password cipher $c$3$Esnr0e5rFJ+nXWLrLtnr8dCiCnl6vkfU7GMPAMQ8mw==
authorization-attribute level 3
service-type ssh telnet terminal
service-type web
local-user administrator
password cipher $c$3$2o/b0LEuO98GuDFpFjUuLqyxqDHssaJw
authorization-attribute level 3
service-type ssh
#
interface NULL0
#
interface Vlan-interface1
ip address 192.168.10.2 255.255.255.0
undo dhcp select server global-pool
#
interface Vlan-interface10
ip address 192.168.1.1 255.255.252.0
#
interface Vlan-interface12
ip address 168.12.0.1 255.255.254.0
#
interface Vlan-interface13
ip address 168.13.0.1 255.255.252.0
#
interface Vlan-interface14
ip address 168.14.0.1 255.255.254.0
#
interface Vlan-interface15
ip address 168.15.0.1 255.255.254.0
#
interface Vlan-interface20
ip address 172.16.100.1 255.255.255.0
undo dhcp select server global-pool
#
interface Vlan-interface30
ip address 172.16.101.1 255.255.255.248
undo dhcp select server global-pool
#
interface Vlan-interface100
ip address 172.16.102.1 255.255.255.0
#
interface GigabitEthernet1/0/1
port access vlan 10
#
interface GigabitEthernet1/0/2
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 10 untagged
port hybrid pvid vlan 10
loopback-detection enable
loopback-detection control enable
loopback-detection per-vlan enable
#
interface GigabitEthernet1/0/3
port access vlan 10
loopback-detection enable
#
interface GigabitEthernet1/0/4
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 10 untagged
port hybrid pvid vlan 10
loopback-detection enable
loopback-detection control enable
loopback-detection per-vlan enable
#
interface GigabitEthernet1/0/5
port access vlan 10
loopback-detection enable
#
interface GigabitEthernet1/0/6
port access vlan 10
loopback-detection enable
#
interface GigabitEthernet1/0/7
port access vlan 10
loopback-detection enable
#
interface GigabitEthernet1/0/8
port access vlan 10
loopback-detection enable
#
interface GigabitEthernet1/0/9
port access vlan 10
loopback-detection enable
#
interface GigabitEthernet1/0/10
port access vlan 10
loopback-detection enable
#
interface GigabitEthernet1/0/11
port access vlan 20
loopback-detection enable
#
interface GigabitEthernet1/0/12
port access vlan 12
loopback-detection enable
#
interface GigabitEthernet1/0/13
port access vlan 13
loopback-detection enable
#
interface GigabitEthernet1/0/14
port access vlan 14
loopback-detection enable
#
interface GigabitEthernet1/0/15
port access vlan 15
loopback-detection enable
#
interface GigabitEthernet1/0/16
port access vlan 20
loopback-detection enable
#
interface GigabitEthernet1/0/17
loopback-detection enable
#
interface GigabitEthernet1/0/18
loopback-detection enable
#
interface GigabitEthernet1/0/19
loopback-detection enable
#
interface GigabitEthernet1/0/20
loopback-detection enable
#
interface GigabitEthernet1/0/21
shutdown
loopback-detection enable
#
interface GigabitEthernet1/0/22
loopback-detection enable
#
interface GigabitEthernet1/0/23
port link-type trunk
port trunk permit vlan 1 12 to 15 100
loopback-detection enable
loopback-detection control enable
loopback-detection per-vlan enable
#
interface GigabitEthernet1/0/24
port access vlan 30
loopback-detection enable
#
interface GigabitEthernet1/0/25
shutdown
loopback-detection enable
#
interface GigabitEthernet1/0/26
port access vlan 30
shutdown
loopback-detection enable
#
interface GigabitEthernet1/0/27
port access vlan 20
loopback-detection enable
#
interface GigabitEthernet1/0/28
shutdown
loopback-detection enable
#
ip route-static 0.0.0.0 0.0.0.0 172.16.101.2
ip route-static 10.96.0.0 255.240.0.0 172.16.100.100
ip route-static 10.244.0.0 255.255.0.0 172.16.100.100
#
snmp-agent
snmp-agent local-engineid 800063A2035CDD70B3C4BE
snmp-agent community read public
snmp-agent sys-info version all
#
dhcp enable
#
ssh server enable
#
load xml-configuration
#
user-interface aux 0
authentication-mode scheme
user-interface vty 0 15
authentication-mode scheme
#
return