Код:
# VLAN
disable asymmetric_vlan
config vlan default delete 1-26
config vlan default add untagged 25-26
config vlan default add forbidden 1-24
config vlan default advertisement enable
create vlan client tag 19
config vlan client add tagged 25
config vlan client add untagged 1-24
config vlan client advertisement disable
disable gvrp
config gvrp 1-24 state disable ingress_checking enable acceptable_frame admit_all pvid 19
config gvrp 25-26 state disable ingress_checking enable acceptable_frame admit_all pvid 1
# IPBIND
config address_binding ip_mac ports 1-24 state enable
config address_binding ip_mac ports 1-24 allow_zeroip enable
config address_binding ip_mac ports 1-26 forward_dhcppkt disable
enable address_binding acl_mode
enable address_binding trap_log
enable address_binding dhcp_snoop
config address_binding dhcp_snoop max_entry ports 1-26 limit 5
config address_binding ip_mac ports 1-24 stop_learning_threshlod 5
# DHCP_RELAY
enable dhcp_relay
config dhcp_relay hops 4 time 0
config dhcp_relay option_82 state enable
config dhcp_relay option_82 check disable
config dhcp_relay option_82 policy replace
config dhcp_relay option_82 remote_id default
config dhcp_relay option_60 state disable
config dhcp_relay option_60 default mode drop
config dhcp_relay option_61 state disable
config dhcp_relay option_61 default drop
config dhcp_relay add ipif System 192.168.100.1
# DHCP_LOCAL_RELAY
enable dhcp_local_relay