Пример конфигурации с VLAN
Прошивка
a3100v2_48-cmw520-r2112p05.bin
#
version 5.20.99, Release 2112P05
#
sysname HP-3100v2-5
#
clock timezone Moscow add 03:00:00
#
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
#
domain default enable system
#
dns resolve
dns server 192.168.10.20
dns dscp 30
dns source-interface Vlan-interface1
#
telnet server enable
telnet server dscp 30
#
lldp compliance cdp
#
web idle-timeout 999
#
password-recovery enable
#
vlan 1
#
vlan 300
description VLAN0300
name VLAN0300
#
vlan 400
description VLAN0400
name VLAN0400
#
radius scheme system
server-type extended
primary authentication 127.0.0.1 1645
primary accounting 127.0.0.1 1646
user-name-format without-domain
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
user-group system
group-attribute allow-guest
#
local-user admin
password cipher $c$3$G0WV4P0sQn8JalNbyWwW/GQBn1k5D3YX5jAh
authorization-attribute level 3
service-type ssh telnet terminal
service-type web
#
stp region-configuration
region-name SKLAD
active region-configuration
#
stp timer forward-delay 1400
stp enable
#
interface NULL0
#
interface Vlan-interface1
ip address dhcp-alloc
#
interface Ethernet1/0/1
port link-type hybrid
port hybrid vlan 300 400 tagged
port hybrid vlan 1 untagged
#
...
#
interface Ethernet1/0/48
port link-type hybrid
port hybrid vlan 300 400 tagged
port hybrid vlan 1 untagged
#
interface GigabitEthernet1/0/49
port link-type hybrid
port hybrid vlan 300 400 tagged
port hybrid vlan 1 untagged
qos trust dscp
#
interface GigabitEthernet1/0/50
port link-type hybrid
port hybrid vlan 300 400 tagged
port hybrid vlan 1 untagged
qos trust dscp
#
interface GigabitEthernet1/0/51
port link-type hybrid
port hybrid vlan 300 400 tagged
port hybrid vlan 1 untagged
qos trust dscp
#
interface GigabitEthernet1/0/52
port link-type hybrid
port hybrid vlan 300 400 tagged
port hybrid vlan 1 untagged
qos trust dscp
#
snmp-agent
snmp-agent local-engineid 800063A203D07E281055DF
snmp-agent community read public
snmp-agent sys-info version v2c
snmp-agent target-host trap address udp-domain 192.168.10.67 params securityname public v2c
#
ntp-service source-interface Vlan-interface1
ntp-service max-dynamic-sessions 2
ntp-service unicast-server 192.168.10.123
#
ssh server enable
ssh server dscp 30
ssh server authentication-timeout 61
ssh server authentication-retries 4
ssh user admin service-type all authentication-type password
#
load xml-configuration
#
load tr069-configuration
#
user-interface aux 0
authentication-mode password
set authentication password cipher $c$3$PdUjex3EIHlRnBjNBTVn7PNb2wfagDdDbDC9
history-command max-size 15
idle-timeout 35790 59
user-interface vty 0 15
authentication-mode scheme
user privilege level 3
history-command max-size 15
idle-timeout 35790 59
protocol inbound ssh
#
return