Пример настройки коммутатора D-Link DES-3028 и 1228

create vlan manag tag 2
config vlan vlanid 1 delete 1-10
config vlan manag add tagged 9-10
config ipif System ipaddress 192.168.2.119/24
create iproute default 192.168.2.1 1
config ipif System vlan manag

disable stp 
config stp ports 1-10 state disable

enable loopdetect
config loopdetect lbd_recover_time 60
config loopdetect interval_time 10
config loopdetect ports 1-8 state enable
config loopdetect ports 9,10 state disable

enable snmp traps 
enable snmp authenticate traps 
config snmp system_name SW_2-119
config snmp system_contact admin@domain.ru
enable rmon

disable asymmetric_vlan
config vlan default advertisement enable
config vlan manag advertisement disable

config ipif System vlan manag ipaddress 192.168.2.119/24 state enable
disable autoconfig

config command_prompt SW_2-119
enable web
config filter dhcp_server ports 1-8 state enable 

enable sntp
config time_zone operator + hour 3 min 0
config sntp primary 192.168.2.129 secondary 0.0.0.0 poll-interval 720
config dst disable

enable igmp_snooping
enable igmp_snooping multicast_vlan
create igmp_snooping multicast_vlan IPTV 50
config igmp_snooping multicast_vlan IPTV state enable 
config igmp_snooping multicast_vlan IPTV replace_source_ip 10.0.2.119
config igmp_snooping multicast_vlan IPTV add member_port 1-8
config igmp_snooping multicast_vlan IPTV add source_port 9-10
config igmp_snooping vlan_name IPTV fast_leave enable
config igmp_snooping data_driven_learning vlan_name IPTV aged_out disable 
config igmp_snooping querier vlan_name IPTV query_interval 125 max_response_time 10 robustness_variable 2 last_member_query_interval 1 state enable
config igmp access_authentication ports 1-10 state disable
config igmp_snooping querier all state disable
config igmp_snooping multicast_vlan_group IPTV add ipv4_range 230.3.4.1 230.3.4.255
config igmp_snooping multicast_vlan_group IPTV add ipv4_range 230.3.3.1 230.3.3.255

enable password encryption
create account admin admin