faq обучение настройка
Текущее время: Сб апр 20, 2024 00:04

Часовой пояс: UTC + 3 часа




Начать новую тему Ответить на тему  [ Сообщений: 5 ] 
Автор Сообщение
 Заголовок сообщения: DES1210-28ME
СообщениеДобавлено: Вт июл 11, 2017 09:14 
Не в сети

Зарегистрирован: Вт июл 11, 2017 09:03
Сообщений: 5
Добрый день

Собрали кольцо из DLINK DES1210-28ME B3. Прошивка 10.04.B029. Нет MAC-адресов на портах. После перезагрузки на какое то время появляются - потом исчезают. Не хотят работать в кольце. Нет авторизации по PPPoE. Протокол MSTP, проверили код региона, совпадение instance, приоритеты. Все должно работать - но не работает.Путем отключения port security удалось частично добиться появления MAC, который доходил до уровня агрегации (ROOT bridge в кольце), но дальше вверх не поднимался. Проверили сегментацию трафика.
В результате - разрубили кольцо на 2 луча и отключили на всех коммутаторах STP. Все сразу же заработало.
Но это временное решение - что может быть?


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DES1210-28ME
СообщениеДобавлено: Вт июл 11, 2017 15:22 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Вт янв 18, 2011 13:29
Сообщений: 8999
Видимо, что-то с настройками.

P.S. viewtopic.php?f=2&t=4327 см. п.5


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DES1210-28ME
СообщениеДобавлено: Вт июл 11, 2017 15:51 
Не в сети

Зарегистрирован: Вт июл 11, 2017 09:03
Сообщений: 5
Настройки STP с одного коммутатора.
disable stp
config stp version mstp
config stp priority 32768 instance_id 0
config stp txholdcount 6 maxage 20 forwarddelay 15 maxhops 20
config stp nni_bpdu_addr dot1d
config stp fbpdu enable
config stp ports 1-24 externalcost auto edge auto restricted_tcn true restricted_role true p2p auto state disable priority 128 hellotime 2 fbpdu enable
config stp ports 25-26 externalcost auto edge false restricted_tcn false restricted_role false p2p true state disable priority 128 hellotime 2 fbpdu enable
config stp ports 27-28 externalcost auto edge false restricted_tcn false restricted_role false p2p true state enable priority 128 hellotime 2 fbpdu enable
config stp mst_config_id name mtsfn revision_level 0
create stp instance_id 1
config stp instance_id 1 add_vlan 38,90,1137
create stp instance_id 2
config stp instance_id 2 add_vlan 4072
config stp priority 32768 instance_id 1
config stp priority 32768 instance_id 2

Смущает вывод команды

DES-1210-28/ME:5# debug show hw_stp_state
Command: debug show hw_stp_state

speed/ link auto STP lrn inter
port Ena link duplex scan neg? state pause discrd ops face
fe0 En down - SW Yes Forward None FAC MII
fe1 En down - SW Yes Forward None FAC MII
fe2 En down - SW Yes Forward None FAC MII
fe3 En down - SW Yes Forward None FAC MII
fe4 En down - SW Yes Forward None FAC MII
fe5 En down - SW Yes Forward None FAC MII
fe6 En down - SW Yes Forward None FAC MII
fe7 En down - SW Yes Forward None FAC MII
fe8 En down - SW Yes Forward None FAC MII
fe9 En down - SW Yes Forward None FAC MII
fe10 En down - SW Yes Block None FAC MII
fe11 En down - SW Yes Forward None FAC MII
fe12 En down - SW Yes Forward None FAC MII
fe13 En down - SW Yes Forward None FAC MII
fe14 En down - SW Yes Forward None FAC MII
fe15 En down - SW Yes Forward None FAC MII
fe16 En down - SW Yes Forward None FAC MII
fe17 En down - SW Yes Forward None FAC MII
fe18 En down - SW Yes Forward None FAC MII
fe19 En down - SW Yes Forward None FAC MII
fe20 En down - SW Yes Forward None FAC MII
fe21 En down - SW Yes Forward None FAC MII
fe22 En down - SW Yes Forward None FAC MII
fe23 En up 100M FD SW Yes Block None FAC MII
ge0 En down 1G FD SW Yes Forward None FAC SGMII
ge1 En down 1G FD SW Yes Forward None FAC SGMII
ge2 En up 1G FD SW Yes LEarn TX RX None FAC SGMII
ge3 En up 1G FD SW Yes LEarn None FAC SGMII

Как то так.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DES1210-28ME
СообщениеДобавлено: Вт июл 11, 2017 15:54 
Не в сети

Зарегистрирован: Вт июл 11, 2017 09:03
Сообщений: 5
Полный конфиг


#------------------------------------------------------------------------
# DES-1210-28/ME Fast Ethernet Switch Configuration
#
# Firmware: Build 10.04.B029
# Copyright(C) 2010 D-Link Corporation. All rights reserved.
#------------------------------------------------------------------------

command-start


# Basic
config syslogintimeout 5
config sysgroupinterval 0
enable web 80
config autocable_diag ports 1 state disable
config autocable_diag ports 2 state disable
config autocable_diag ports 3 state disable
config autocable_diag ports 4 state disable
config autocable_diag ports 5 state disable
config autocable_diag ports 6 state disable
config autocable_diag ports 7 state disable
config autocable_diag ports 8 state disable
config autocable_diag ports 9 state disable
config autocable_diag ports 10 state disable
config autocable_diag ports 11 state disable
config autocable_diag ports 12 state disable
config autocable_diag ports 13 state disable
config autocable_diag ports 14 state disable
config autocable_diag ports 15 state disable
config autocable_diag ports 16 state disable
config autocable_diag ports 17 state disable
config autocable_diag ports 18 state disable
config autocable_diag ports 19 state disable
config autocable_diag ports 20 state disable
config autocable_diag ports 21 state disable
config autocable_diag ports 22 state disable
config autocable_diag ports 23 state disable
config autocable_diag ports 24 state disable
config autocable_diag ports 25 state disable
config autocable_diag ports 26 state disable
enable clipaging
config command_prompt default
config serial_port baud_rate 9600
config serial_port auto_logout 10_minutes

# Arp Aging Time
config arp_aging time 5

# FDB Aging Time
config fdb aging_time 300

# Telnet Setting
enable telnet 23

# Vlan
disable asymmetric_vlan
config vlan default delete 1-28
config vlan default add forbidden 1-28 advertisement disable
create vlan vlan38 tag 38
create vlan vlan90 tag 90
create vlan vlan1137 tag 1137
create vlan vlan4066 tag 4066
create vlan vlan4072 tag 4072
config vlan vlan38 add tagged 25-28 advertisement disable
config vlan vlan90 add tagged 25-28 advertisement disable
config vlan vlan1137 add tagged 25-28 advertisement disable
config vlan vlan1137 add untagged 1-23 advertisement disable
config vlan vlan4066 add tagged 25-28 advertisement disable
config vlan vlan4066 add untagged 24 advertisement disable
config vlan vlan4066 add forbidden 1-23 advertisement disable
config vlan vlan4072 add tagged 25-28 advertisement disable
config vlan vlan4072 add forbidden 1-24 advertisement disable
enable pvid auto_assign

# Multicast Filter
config multicast filter 1-28 filter

# IMPBv2
disable address_binding dhcp_snoop ports 1-28 all
config address_binding ip_mac ports 1-28 arp_inspection disable nd_inspection disable ip_inspection disable protocol all state disable allow_zeroip disable forward_dhcppkt enable
config address_binding dhcp_snoop max_entry ports 1-28 limit no_limit
config address_binding dhcp_snoop max_entry ports 1-28 limit no_limit IPv6
enable address_binding roaming
config address_binding vlan_checking state disable
config address_binding ip_mac log all
disable address_binding dhcp_pd_snoop
disable address_binding trap_log
config filter dhcp_server ports 1-24 state enable
config filter dhcp_server vlanid 1-4094 state disable
config filter dhcp_server illegal_server_log_suppress_duration 5min
config filter dhcp_server log state enable
config filter dhcpv6_server ports 1-28 state disable
config filter dhcpv6_server log state enable
config filter icmpv6_ra_all_node ports 1-28 state disable
config filter icmpv6_ra_all_node log state enable

# IP
config ipif System state enable
config ipif System ipaddress 10.228.196.21/255.255.255.0
disable jumbo_frame
config ipif System dhcp_option12 state disable
config ipif System dhcp_option12 hostname DES-1210-28/ME
config ipif System dhcpv6_client disable
config ipv6 nd ns ipif System retrans_time 1
disable ipif_ipv6_link_local_auto System
config ipif System ipv6 state enable
enable autoconfig
config autoconfig timeout 50
enable autoimage

# Multi Interface
config ipif System vlan vlan4072

# Static Route
create iproute default 10.228.196.1 1

# Gratuitous Arp
config gratuitous_arp send ipif_status_up disable
config gratuitous_arp send dup_ip_detected disable
config gratuitous_arp learning disable
config gratuitous_arp send periodically ipif System interval 0

# QinQ
disable qinq
config qinq ports 1-28 role nni outer_tpid 0x88a8 trust_cvid disable vlan_translation disable

# STP
disable stp
config stp version mstp
config stp priority 32768 instance_id 0
config stp txholdcount 6 maxage 20 forwarddelay 15 maxhops 20
config stp nni_bpdu_addr dot1d
config stp fbpdu enable
config stp ports 1-24 externalcost auto edge auto restricted_tcn true restricted_role true p2p auto state disable priority 128 hellotime 2 fbpdu enable
config stp ports 25-26 externalcost auto edge false restricted_tcn false restricted_role false p2p true state disable priority 128 hellotime 2 fbpdu enable
config stp ports 27-28 externalcost auto edge false restricted_tcn false restricted_role false p2p true state enable priority 128 hellotime 2 fbpdu enable
config stp mst_config_id name mtsfn revision_level 0
create stp instance_id 1
config stp instance_id 1 add_vlan 38,90,1137
create stp instance_id 2
config stp instance_id 2 add_vlan 4072
config stp priority 32768 instance_id 1
config stp priority 32768 instance_id 2
config stp mst_ports 1 instance_id 0 internalCost auto priority 128
config stp mst_ports 2 instance_id 0 internalCost auto priority 128
config stp mst_ports 3 instance_id 0 internalCost auto priority 128
config stp mst_ports 4 instance_id 0 internalCost auto priority 128
config stp mst_ports 5 instance_id 0 internalCost auto priority 128
config stp mst_ports 6 instance_id 0 internalCost auto priority 128
config stp mst_ports 7 instance_id 0 internalCost auto priority 128
config stp mst_ports 8 instance_id 0 internalCost auto priority 128
config stp mst_ports 9 instance_id 0 internalCost auto priority 128
config stp mst_ports 10 instance_id 0 internalCost auto priority 128
config stp mst_ports 11 instance_id 0 internalCost auto priority 128
config stp mst_ports 12 instance_id 0 internalCost auto priority 128
config stp mst_ports 13 instance_id 0 internalCost auto priority 128
config stp mst_ports 14 instance_id 0 internalCost auto priority 128
config stp mst_ports 15 instance_id 0 internalCost auto priority 128
config stp mst_ports 16 instance_id 0 internalCost auto priority 128
config stp mst_ports 17 instance_id 0 internalCost auto priority 128
config stp mst_ports 18 instance_id 0 internalCost auto priority 128
config stp mst_ports 19 instance_id 0 internalCost auto priority 128
config stp mst_ports 20 instance_id 0 internalCost auto priority 128
config stp mst_ports 21 instance_id 0 internalCost auto priority 128
config stp mst_ports 22 instance_id 0 internalCost auto priority 128
config stp mst_ports 23 instance_id 0 internalCost auto priority 128
config stp mst_ports 24 instance_id 0 internalCost auto priority 128
config stp mst_ports 25 instance_id 0 internalCost auto priority 128
config stp mst_ports 26 instance_id 0 internalCost auto priority 128
config stp mst_ports 27 instance_id 0 internalCost auto priority 128
config stp mst_ports 28 instance_id 0 internalCost auto priority 128
config stp mst_ports 1 instance_id 1 internalCost auto priority 128
config stp mst_ports 1 instance_id 2 internalCost auto priority 128
config stp mst_ports 2 instance_id 1 internalCost auto priority 128
config stp mst_ports 2 instance_id 2 internalCost auto priority 128
config stp mst_ports 3 instance_id 1 internalCost auto priority 128
config stp mst_ports 3 instance_id 2 internalCost auto priority 128
config stp mst_ports 4 instance_id 1 internalCost auto priority 128
config stp mst_ports 4 instance_id 2 internalCost auto priority 128
config stp mst_ports 5 instance_id 1 internalCost auto priority 128
config stp mst_ports 5 instance_id 2 internalCost auto priority 128
config stp mst_ports 6 instance_id 1 internalCost auto priority 128
config stp mst_ports 6 instance_id 2 internalCost auto priority 128
config stp mst_ports 7 instance_id 1 internalCost auto priority 128
config stp mst_ports 7 instance_id 2 internalCost auto priority 128
config stp mst_ports 8 instance_id 1 internalCost auto priority 128
config stp mst_ports 8 instance_id 2 internalCost auto priority 128
config stp mst_ports 9 instance_id 1 internalCost auto priority 128
config stp mst_ports 9 instance_id 2 internalCost auto priority 128
config stp mst_ports 10 instance_id 1 internalCost auto priority 128
config stp mst_ports 10 instance_id 2 internalCost auto priority 128
config stp mst_ports 11 instance_id 1 internalCost auto priority 128
config stp mst_ports 11 instance_id 2 internalCost auto priority 128
config stp mst_ports 12 instance_id 1 internalCost auto priority 128
config stp mst_ports 12 instance_id 2 internalCost auto priority 128
config stp mst_ports 13 instance_id 1 internalCost auto priority 128
config stp mst_ports 13 instance_id 2 internalCost auto priority 128
config stp mst_ports 14 instance_id 1 internalCost auto priority 128
config stp mst_ports 14 instance_id 2 internalCost auto priority 128
config stp mst_ports 15 instance_id 1 internalCost auto priority 128
config stp mst_ports 15 instance_id 2 internalCost auto priority 128
config stp mst_ports 16 instance_id 1 internalCost auto priority 128
config stp mst_ports 16 instance_id 2 internalCost auto priority 128
config stp mst_ports 17 instance_id 1 internalCost auto priority 128
config stp mst_ports 17 instance_id 2 internalCost auto priority 128
config stp mst_ports 18 instance_id 1 internalCost auto priority 128
config stp mst_ports 18 instance_id 2 internalCost auto priority 128
config stp mst_ports 19 instance_id 1 internalCost auto priority 128
config stp mst_ports 19 instance_id 2 internalCost auto priority 128
config stp mst_ports 20 instance_id 1 internalCost auto priority 128
config stp mst_ports 20 instance_id 2 internalCost auto priority 128
config stp mst_ports 21 instance_id 1 internalCost auto priority 128
config stp mst_ports 21 instance_id 2 internalCost auto priority 128
config stp mst_ports 22 instance_id 1 internalCost auto priority 128
config stp mst_ports 22 instance_id 2 internalCost auto priority 128
config stp mst_ports 23 instance_id 1 internalCost auto priority 128
config stp mst_ports 23 instance_id 2 internalCost auto priority 128
config stp mst_ports 24 instance_id 1 internalCost auto priority 128
config stp mst_ports 24 instance_id 2 internalCost auto priority 128
config stp mst_ports 25 instance_id 1 internalCost auto priority 128
config stp mst_ports 25 instance_id 2 internalCost auto priority 128
config stp mst_ports 26 instance_id 1 internalCost auto priority 128
config stp mst_ports 26 instance_id 2 internalCost auto priority 128
config stp mst_ports 27 instance_id 1 internalCost auto priority 128
config stp mst_ports 27 instance_id 2 internalCost auto priority 128
config stp mst_ports 28 instance_id 1 internalCost auto priority 128
config stp mst_ports 28 instance_id 2 internalCost auto priority 128
config stp trap new_root disable
config stp trap topo_change disable

# traffic segmentation
config traffic_segmentation 1-26 forward_list 27-28
config traffic_segmentation 27-28 forward_list 1-28

# LLDP
enable lldp
config lldp message_tx_hold_multiplier 4
config lldp message_tx_interval 30
config lldp reinit_delay 2
config lldp tx_delay 2
config lldp ports 1-28 mgt_addr ipv4 10.228.196.21 disable
config lldp ports 1-24 admin_status disable
config lldp ports 1-24 notification disable
config lldp ports 1-24 basic_tlvs all disable
config lldp ports 1-24 dot1_tlv_pvid disable
config lldp ports 1-28 dot1_tlv_vlan_name vlanid 1-4094 disable
config lldp ports 25-28 admin_status tx_and_rx
config lldp ports 25-28 notification enable
config lldp ports 25-28 basic_tlvs port_description system_name system_description system_capabilities enable
config lldp ports 25-28 dot1_tlv_pvid enable
config lldp ports 1-28 dot1_tlv_protocol_identity eapol disable
config lldp ports 1-28 dot1_tlv_protocol_identity lacp disable
config lldp ports 1-28 dot1_tlv_protocol_identity gvrp disable
config lldp ports 1-28 dot1_tlv_protocol_identity stp disable
config lldp ports 1-24 dot3_tlvs all disable
config lldp ports 25-28 dot3_tlvs mac_phy_configuration_status link_aggregation maximum_frame_size enable

# QoS
config scheduling_mechanism strict
config scheduling 0 weight 1
config scheduling 1 weight 2
config scheduling 2 weight 4
config scheduling 3 weight 8
config 802.1p default_priority 1-28 0
config 802.1p user_priority 0 1
config 802.1p user_priority 1 0
config 802.1p user_priority 2 0
config 802.1p user_priority 3 1
config 802.1p user_priority 4 2
config 802.1p user_priority 5 2
config 802.1p user_priority 6 3
config 802.1p user_priority 7 3
config dscp_mapping dscp_value 0 class 0
config dscp_mapping dscp_value 1 class 0
config dscp_mapping dscp_value 2 class 0
config dscp_mapping dscp_value 3 class 0
config dscp_mapping dscp_value 4 class 0
config dscp_mapping dscp_value 5 class 0
config dscp_mapping dscp_value 6 class 0
config dscp_mapping dscp_value 7 class 0
config dscp_mapping dscp_value 8 class 0
config dscp_mapping dscp_value 9 class 0
config dscp_mapping dscp_value 10 class 0
config dscp_mapping dscp_value 11 class 0
config dscp_mapping dscp_value 12 class 0
config dscp_mapping dscp_value 13 class 0
config dscp_mapping dscp_value 14 class 0
config dscp_mapping dscp_value 15 class 0
config dscp_mapping dscp_value 16 class 0
config dscp_mapping dscp_value 17 class 0
config dscp_mapping dscp_value 18 class 0
config dscp_mapping dscp_value 19 class 0
config dscp_mapping dscp_value 20 class 0
config dscp_mapping dscp_value 21 class 0
config dscp_mapping dscp_value 22 class 0
config dscp_mapping dscp_value 23 class 0
config dscp_mapping dscp_value 24 class 0
config dscp_mapping dscp_value 25 class 0
config dscp_mapping dscp_value 26 class 0
config dscp_mapping dscp_value 27 class 0
config dscp_mapping dscp_value 28 class 0
config dscp_mapping dscp_value 29 class 0
config dscp_mapping dscp_value 30 class 0
config dscp_mapping dscp_value 31 class 0
config dscp_mapping dscp_value 32 class 0
config dscp_mapping dscp_value 33 class 0
config dscp_mapping dscp_value 34 class 0
config dscp_mapping dscp_value 35 class 0
config dscp_mapping dscp_value 36 class 0
config dscp_mapping dscp_value 37 class 0
config dscp_mapping dscp_value 38 class 0
config dscp_mapping dscp_value 39 class 0
config dscp_mapping dscp_value 40 class 0
config dscp_mapping dscp_value 41 class 0
config dscp_mapping dscp_value 42 class 0
config dscp_mapping dscp_value 43 class 0
config dscp_mapping dscp_value 44 class 0
config dscp_mapping dscp_value 45 class 0
config dscp_mapping dscp_value 46 class 0
config dscp_mapping dscp_value 47 class 0
config dscp_mapping dscp_value 48 class 0
config dscp_mapping dscp_value 49 class 0
config dscp_mapping dscp_value 50 class 0
config dscp_mapping dscp_value 51 class 0
config dscp_mapping dscp_value 52 class 0
config dscp_mapping dscp_value 53 class 0
config dscp_mapping dscp_value 54 class 0
config dscp_mapping dscp_value 55 class 0
config dscp_mapping dscp_value 56 class 0
config dscp_mapping dscp_value 57 class 0
config dscp_mapping dscp_value 58 class 0
config dscp_mapping dscp_value 59 class 0
config dscp_mapping dscp_value 60 class 0
config dscp_mapping dscp_value 61 class 0
config dscp_mapping dscp_value 62 class 0
config dscp_mapping dscp_value 63 class 0
config cos mapping port 1-28 none
config cos mapping port 1-28 802.1p
config cos mapping port 1-28 dscp
config mgmt_pkt_priority 7
config cos tos value 0 class 0
config cos tos value 1 class 0
config cos tos value 2 class 0
config cos tos value 3 class 0
config cos tos value 4 class 0
config cos tos value 5 class 0
config cos tos value 6 class 0
config cos tos value 7 class 0
config dscp mode
config bandwidth_control 1-28 rx_rate no_limit tx_rate no_limit

# Syslog
enable syslog
config log_save_timing on_demand
create syslog host 1 ipaddress 10.32.0.3 severity warning facility local2 udp_port 514 state enable
create syslog host 2 ipaddress 178.155.1.12 severity all facility local7 udp_port 514 state enable

# ACL
create access_profile ip tcp dst_port_mask 0xffff profile_id 3
create access_profile ip udp dst_port_mask 0xffff profile_id 4
create access_profile ip udp src_port_mask 0xffff dst_port_mask 0xffff profile_id 5
create access_profile ethernet ethernet_type profile_id 6
create access_profile ethernet ethernet_type profile_id 7
config access_profile profile_id 7 add access_id 19 ethernet ethernet_type 0x86dd port 1-24 deny
config access_profile profile_id 3 add access_id 1 ip tcp dst_port 135 dst_port_mask 0xffff port 1-28 deny
config access_profile profile_id 3 add access_id 2 ip tcp dst_port 139 dst_port_mask 0xffff port 1-28 deny
config access_profile profile_id 3 add access_id 3 ip tcp dst_port 369 dst_port_mask 0xffff port 1-28 deny
config access_profile profile_id 3 add access_id 4 ip tcp dst_port 445 dst_port_mask 0xffff port 1-28 deny
config access_profile profile_id 3 add access_id 5 ip tcp dst_port 593 dst_port_mask 0xffff port 1-28 deny
config access_profile profile_id 3 add access_id 6 ip tcp dst_port 2869 dst_port_mask 0xffff port 1-28 deny
config access_profile profile_id 3 add access_id 7 ip tcp dst_port 5000 dst_port_mask 0xffff port 1-28 deny
config access_profile profile_id 3 add access_id 8 ip tcp dst_port 5355 dst_port_mask 0xffff port 1-28 deny
config access_profile profile_id 4 add access_id 1 ip udp dst_port 137 dst_port_mask 0xffff port 1-28 deny
config access_profile profile_id 4 add access_id 2 ip udp dst_port 138 dst_port_mask 0xffff port 1-28 deny
config access_profile profile_id 4 add access_id 3 ip udp dst_port 1900 dst_port_mask 0xffff port 1-28 deny
config access_profile profile_id 4 add access_id 4 ip udp dst_port 5355 dst_port_mask 0xffff port 1-28 deny
config access_profile profile_id 5 add access_id 1 ip udp src_port 68 src_port_mask 0xffff dst_port 67 dst_port_mask 0xffff port 1-24 permit
config access_profile profile_id 5 add access_id 2 ip udp src_port 67 src_port_mask 0xffff dst_port 68 dst_port_mask 0xffff port 1-24 deny
enable cpu_interface_filtering

# SNMP
enable snmp
disable community_encryption
create snmp user ReadOnly ReadOnly v1
create snmp user ReadOnly ReadOnly v2c
create snmp user ReadWrite ReadWrite v1
create snmp user ReadWrite ReadWrite v2c
create snmp group ReadOnly v1 read_view ReadWrite notify_view ReadWrite
create snmp group ReadOnly v2c read_view ReadWrite notify_view ReadWrite
create snmp group ReadWrite v1 read_view ReadWrite write_view ReadWrite notify_view ReadWrite
create snmp group ReadWrite v2c read_view ReadWrite write_view ReadWrite notify_view ReadWrite
create snmp view ReadWrite 1 1 view_type included
create snmp view CommunityView 1 1 view_type included
create snmp view CommunityView 1.3.6.1.6.3 1.1.1.1.1.1 view_type excluded
create snmp view CommunityView 1.3.6.1.6.3.1 1.1.1.1.1.1.1 view_type included
create snmp community <community> ReadWrite
create snmp community <community> ReadOnly
create snmp host 10.32.0.4 v2c <community>
config snmp engineID 4445532d313231302d3238000102030405
enable snmp authenticate_traps
config snmp coldstart_traps enable
config snmp warmstart_traps enable
enable snmp linkchange_traps
config snmp linkchange_traps ports 1-28 enable
enable snmp Login_Logout traps
enable snmp rstpport_state_change traps
enable snmp firmware_upgrade_state traps
enable snmp port_security_violation traps
enable snmp IMPB_violation traps
enable snmp LBD traps
enable snmp DHCP_screening traps
enable snmp duplicate_IP_detected traps
enable snmp DHCPv6_screening traps
enable snmp ICMPv6_RA_all_node traps
enable snmp DULD traps

# IPv6 Neighbor_cache

# MAC address table notification
disable mac_notification
config mac_notification interval 1
config mac_notification historysize 1
config mac_notification ports 1-28 disable

# SNTP
config sntp primary 10.32.0.3 secondary 62.117.76.130 poll-interval 300
enable sntp
config time_zone operator + hour 4 minute 0
config dst repeat s_mth 1 s_week 1 s_day sun s_time 00:00 e_mth 1 e_week 1 e_day sun e_time 00:00 offset 60
config dst annual s_mth 1 s_date 1 s_time 00:00 e_mth 1 e_date 1 e_time 00:00 offset 60
config dst disable

# DHCP_RELAY
disable dhcp_relay
config dhcp_relay hops 4
config dhcp_relay time 0
config dhcp_relay port 1-28 state disable
config dhcp_relay port 1-28 state enable
config dhcp_relay vlan vlanid 1 state enable
config dhcp_relay vlan vlanid 38,90,1137,4066,4072 state disable
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_82 circuit_id default
disable dhcp_local_relay
disable dhcpv6_relay
config dhcpv6_relay hop_count 4
config dhcpv6_relay port 1-28 state disable
config dhcpv6_relay port 1-28 state enable
config dhcpv6_relay option_37 state enable
config dhcpv6_relay option_37 check enable
config dhcpv6_relay option_37 remote_id default
config dhcpv6_relay option_38 ports 1-28 state disable subscriber_id default
config dhcpv6_relay option_18 state enable
config dhcpv6_relay option_18 check enable
config dhcpv6_relay option_18 interface_id default

# GVRP
disable gvrp
config gvrp 1-23 pvid 1137
config gvrp 1-28 state disable
config gvrp 1-28 ingress_checking enable
config gvrp 1-28 acceptable_frame All_Frames
config gvrp 24 pvid 4066
config gvrp 25-28 pvid 1
config gvrp timer join_timer 200
config gvrp timer leave_timer 600
config gvrp timer leave-all_timer 10000

# Loopback Detection
enable loopdetect
config loopdetect mode portbase
config loopdetect interval_time 2
config loopdetect lbd_recover_time 60
config loopdetect ports 1 state enable
config loopdetect ports 2 state enable
config loopdetect ports 3 state enable
config loopdetect ports 4 state enable
config loopdetect ports 5 state enable
config loopdetect ports 6 state enable
config loopdetect ports 7 state enable
config loopdetect ports 8 state enable
config loopdetect ports 9 state enable
config loopdetect ports 10 state enable
config loopdetect ports 11 state enable
config loopdetect ports 12 state enable
config loopdetect ports 13 state enable
config loopdetect ports 14 state enable
config loopdetect ports 15 state enable
config loopdetect ports 16 state enable
config loopdetect ports 17 state enable
config loopdetect ports 18 state enable
config loopdetect ports 19 state enable
config loopdetect ports 20 state enable
config loopdetect ports 21 state enable
config loopdetect ports 22 state enable
config loopdetect ports 23 state enable
config loopdetect ports 24 state enable

# BPDU Attack Protection
disable bpdu_protection
config bpdu_protection recovery_timer 60
config bpdu_protection ports 1-28 state disable mode shutdown
config bpdu_protection trap none
config bpdu_protection log none

# SMTP
disable smtp
config smtp server 0.0.0.0 server_port 25

# traffic control
config traffic trap none
config traffic control unicast 1 disable action drop
config traffic control multicast 1 enable action drop threshold 128
config traffic control broadcast 1 enable action drop threshold 128
config traffic control unicast 2 disable action drop
config traffic control multicast 2 enable action drop threshold 128
config traffic control broadcast 2 enable action drop threshold 128
config traffic control unicast 3 disable action drop
config traffic control multicast 3 enable action drop threshold 128
config traffic control broadcast 3 enable action drop threshold 128
config traffic control unicast 4 disable action drop
config traffic control multicast 4 enable action drop threshold 128
config traffic control broadcast 4 enable action drop threshold 128
config traffic control unicast 5 disable action drop
config traffic control multicast 5 enable action drop threshold 128
config traffic control broadcast 5 enable action drop threshold 128
config traffic control unicast 6 disable action drop
config traffic control multicast 6 enable action drop threshold 128
config traffic control broadcast 6 enable action drop threshold 128
config traffic control unicast 7 disable action drop
config traffic control multicast 7 enable action drop threshold 128
config traffic control broadcast 7 enable action drop threshold 128
config traffic control unicast 8 disable action drop
config traffic control multicast 8 enable action drop threshold 128
config traffic control broadcast 8 enable action drop threshold 128
config traffic control unicast 9 disable action drop
config traffic control multicast 9 enable action drop threshold 128
config traffic control broadcast 9 enable action drop threshold 128
config traffic control unicast 10 disable action drop
config traffic control multicast 10 enable action drop threshold 128
config traffic control broadcast 10 enable action drop threshold 128
config traffic control unicast 11 disable action drop
config traffic control multicast 11 enable action drop threshold 128
config traffic control broadcast 11 enable action drop threshold 128
config traffic control unicast 12 disable action drop
config traffic control multicast 12 enable action drop threshold 128
config traffic control broadcast 12 enable action drop threshold 128
config traffic control unicast 13 disable action drop
config traffic control multicast 13 enable action drop threshold 128
config traffic control broadcast 13 enable action drop threshold 128
config traffic control unicast 14 disable action drop
config traffic control multicast 14 enable action drop threshold 128
config traffic control broadcast 14 enable action drop threshold 128
config traffic control unicast 15 disable action drop
config traffic control multicast 15 enable action drop threshold 128
config traffic control broadcast 15 enable action drop threshold 128
config traffic control unicast 16 disable action drop
config traffic control multicast 16 enable action drop threshold 128
config traffic control broadcast 16 enable action drop threshold 128
config traffic control unicast 17 disable action drop
config traffic control multicast 17 enable action drop threshold 128
config traffic control broadcast 17 enable action drop threshold 128
config traffic control unicast 18 disable action drop
config traffic control multicast 18 enable action drop threshold 128
config traffic control broadcast 18 enable action drop threshold 128
config traffic control unicast 19 disable action drop
config traffic control multicast 19 enable action drop threshold 128
config traffic control broadcast 19 enable action drop threshold 128
config traffic control unicast 20 disable action drop
config traffic control multicast 20 enable action drop threshold 128
config traffic control broadcast 20 enable action drop threshold 128
config traffic control unicast 21 disable action drop
config traffic control multicast 21 enable action drop threshold 128
config traffic control broadcast 21 enable action drop threshold 128
config traffic control unicast 22 disable action drop
config traffic control multicast 22 enable action drop threshold 128
config traffic control broadcast 22 enable action drop threshold 128
config traffic control unicast 23 disable action drop
config traffic control multicast 23 enable action drop threshold 128
config traffic control broadcast 23 enable action drop threshold 128
config traffic control unicast 24 disable action drop
config traffic control multicast 24 enable action drop threshold 128
config traffic control broadcast 24 enable action drop threshold 128
config traffic control unicast 25 disable action drop
config traffic control multicast 25 disable action drop
config traffic control broadcast 25 disable action drop
config traffic control unicast 26 disable action drop
config traffic control multicast 26 disable action drop
config traffic control broadcast 26 disable action drop
config traffic control unicast 27 disable action drop
config traffic control multicast 27 disable action drop
config traffic control broadcast 27 disable action drop
config traffic control unicast 28 disable action drop
config traffic control multicast 28 disable action drop
config traffic control broadcast 28 disable action drop
config traffic control auto_recover_time 0

# RMON
enable rmon

# ISM vlan
disable igmp_snooping multicast_vlan

# IGMP snooping
disable igmp_snooping
config igmp_snooping all router_timeout 125
config igmp_snooping all host_timeout 260
config igmp_snooping data_driven_learning max_learned_entry 512
disable igmp_snooping forward_mcrouter_only
config igmp_snooping vlanid 1,38,90,1137,4066,4072 state disable fast_leave disable report_suppression enable
config igmp_snooping vlanid 1,38,90,1137,4066,4072 proxy_reporting state disable
config igmp_snooping vlanid 1,38,90,1137,4066,4072 proxy_reporting source_ip 0.0.0.0
config igmp_snooping data_driven_learning vlanid 1,38,90,1137,4066,4072 state disable
config igmp_snooping data_driven_learning vlanid 1,38,90,1137,4066,4072 aged_out disable
config igmp_snooping querier vlanid 1,38,90,1137,4066,4072 state disable querier_version 2 last_member_query_interval 1 max_response_time 10 query_interval 125 robustness_variable 2
config igmp access_authentication ports 1-28 state disable

# MLD Snooping
disable mld_snooping
config mld_snooping all router_timeout 125
config mld_snooping all host_timeout 260
config mld_snooping data_driven_learning max_learned_entry 256
disable mld_snooping forward_mcrouter_only
config mld_snooping vlanid 1,38,90,1137,4066,4072 state disable fast_done disable
config mld_snooping data_driven_learning vlanid 1,38,90,1137,4066,4072 state disable
config mld_snooping querier vlanid 1,38,90,1137,4066,4072 state disable version 2 last_listener_query_interval 1 max_response_time 10 query_interval 125 robustness_variable 2

# 8021X
disable 802.1x
config 802.1x auth_mode port_based
config 802.1x auth_protocol local
config 802.1x fwd_pdu system enable
config 802.1x capability ports 1-28 none
config 802.1x auth_parameter ports 1-28 port_control force_auth
config 802.1x auth_parameter ports 1-28 direction both quiet_period 60 tx_period 30 supp_timeout 30 server_timeout 30 max_req 2 reauth_period 3600 enable_reauth disable

# port mirroring

# trusted host
enable trusted_host
create trusted_host network 10.32.0.0/255.255.255.248
create trusted_host network 10.40.48.0/255.255.255.0
create trusted_host network 10.40.254.0/255.255.255.128
create trusted_host network 178.155.1.0/255.255.255.0
create trusted_host network 178.155.2.0/255.255.255.0
create trusted_host network 213.27.28.0/255.255.252.0
create trusted_host network 213.27.120.0/255.255.248.0

# SSL
disable ssl ciphersuite RSA-NULL-MD5 RSA-NULL-SHA1 RSA-DES-SHA1 RSA-3DES-SHA1 DH-RSA-DES-SHA1 DH-RSA-3DES-SHA1 RSA-EXP1024-DES-SHA1

# SSH
disable ssh
config ssh server authfail 2
config ssh server rekey 60min
config ssh server maxsession 1
config ssh server contimeout 120
config ssh authmode password disable
config ssh authmode publickey disable
config ssh authmode hostbased disable
config ssh algorithm 3DES enable
config ssh algorithm MD5 enable
config ssh algorithm SHA1 enable
config ssh algorithm RSA enable

# access authentication control
disable authen_policy
disable aaa_server_password_encryption
config authen parameter response_timeout 30
config authen parameter attempt 3
create authen server_group tacacs+
create authen server_group radius
create authen_login method_list_name default
config authen_login default method local
create authen_enable method_list_name default
config authen_enable default method none
config authen application console login method_list_name default
config authen application telnet login method_list_name default
config authen application ssh login method_list_name default
config authen application http login method_list_name default
config authen application console enable method_list_name default
config authen application telnet enable method_list_name default
config authen application ssh enable method_list_name default
config authen application http enable method_list_name default

# PPPoE
config pppoe circuit_id_insertion state disable
config pppoe circuit_id_insertion ports 1-28 circuit_id ip state disable
config pppoe circuit_id_insertion ports 1-28 remote_id default

# safeguard_engine
config safeguard_engine state enable
enable command logging

# Discover Trap setting
disable vlan_trunk

# Ethernet OAM
config ethernet_oam ports 1-28 state disable mode active remote_loopback stop received_remote_loopback ignore
config ethernet_oam ports 1-28 critical_link_event dying_gasp notify_state enable
config ethernet_oam ports 1-28 critical_link_event critical_event notify_state enable
config ethernet_oam ports 1-28 link_monitor error_symbol threshold 1 window 1000 notify_state enable
config ethernet_oam ports 1-28 link_monitor error_frame threshold 1 window 1000 notify_state enable
config ethernet_oam ports 1-28 link_monitor error_frame_seconds threshold 1 window 60000 notify_state enable
config ethernet_oam ports 1-24 link_monitor error_frame_period threshold 1 window 148810 notify_state enable
config ethernet_oam ports 25-28 link_monitor error_frame_period threshold 1 window 1488100 notify_state enable

# DULD
config duld ports 1-28 state disable mode normal discovery_time 5
config duld recover_timer 60

# port security
config port_security 1-24 admin_state disable max_learning_addr 5 lock_address_mode DeleteOnTimeout
config port_security 25-28 admin_state disable max_learning_addr 0 lock_address_mode DeleteOnTimeout

# port
config ports 1-24 speed auto state enable flow_control enable mdix auto learning enable description "users"
config ports 25-26 medium_type copper speed auto state enable flow_control disable mdix auto learning enable description "transport"
config ports 25-26 medium_type fiber speed auto state enable flow_control disable learning enable description "transport"
config ports 27-28 speed auto state enable flow_control disable learning enable description "transport"
config ports 1-24 capability_advertised 10_half 10_full 100_half 100_full
config ports 25-28 capability_advertised 10_half 10_full 100_half 100_full 1000_full

# LACP
config link_aggregation state disable
config link_aggregation algorithm mac_source
config lacp port_priority 1-28 128 timeout long
config lacp_ports 1-28 mode active

# Limited IP Multicast
config max_mcast_group ports 1-28 ipv4 max_group 512 action drop
config max_mcast_group ports 1-28 ipv6 max_group 512 action drop
config limited_multicast_addr ports 1-28 ipv4 access permit
config limited_multicast_addr ports 1-28 ipv6 access permit

# DoS Prevention
config dos_prevention dos_type land_attack action drop state disable
config dos_prevention dos_type blat_attack action drop state disable
config dos_prevention dos_type smurf_attack action drop state disable
config dos_prevention dos_type tcp_null_scan action drop state disable
config dos_prevention dos_type tcp_xmascan action drop state disable
config dos_prevention dos_type tcp_synfin action drop state disable
config dos_prevention dos_type tcp_syn_srcport_less_1024 action drop state disable
disable dos_prevention trap_log

# DDM
config ddm power_unit mw
config ddm ports 25-28 state disable
config ddm ports 25-28 shutdown none
config ddm ports 25-28 temperature_threshold high_alarm +95.000 low_alarm -25.000 high_warning +90.000 low_warning -20.000
config ddm ports 25-28 voltage_threshold high_alarm 3.80 low_alarm 2.80 high_warning 3.70 low_warning 2.90
config ddm ports 25-28 bias_current_threshold high_alarm 20.0 low_alarm 0.5 high_warning 18.0 low_warning 1.0
config ddm ports 25-28 tx_power_threshold high_alarm 1.5900 low_alarm 0.1599 high_warning 1.2599 low_warning 0.2000
config ddm ports 25-28 rx_power_threshold high_alarm 1.2599 low_alarm 0.0099 high_warning 1.0000 low_warning 0.0126

# Flood FDB
disable flood_fdb
config flood_fdb log enable

# L2 Protocol Tunnel
disable l2protocol_tunnel
config l2protocol_tunnel tunneled_protocol stp default
config l2protocol_tunnel tunneled_protocol gvrp default
config l2protocol_tunnel tunneled_protocol 01-00-0C-CC-CC-CC default
config l2protocol_tunnel tunneled_protocol 01-00-0C-CC-CC-CD default
config l2protocol_tunnel tunneled_protocol lldp default
config l2protocol_tunnel tunneled_protocol is-is default

# Cpu Protection
disable cpu_protect
config cpu_protect type arp pps no_limit
config cpu_protect type bpdu pps no_limit
config cpu_protect type icmp pps no_limit
config cpu_protect type igmp pps no_limit
config cpu_protect type snmp pps no_limit

# Accounting
create accounting method_list_name default
config accounting default method none
config accounting service network state disable
config accounting service shell state disable
config accounting service system state disable
config accounting service command administrator none
config accounting service command operator none
config accounting service command power_user none
config accounting service command user none
command-end


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DES1210-28ME
СообщениеДобавлено: Вт июл 11, 2017 17:20 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Вт янв 18, 2011 13:29
Сообщений: 8999
Пропишите на магистральных портах PVID равный любому vlan, который присутствует на порту, например
config gvrp 25-28 pvid 38


Вернуться наверх
 Профиль  
 
Показать сообщения за:  Сортировать по:  
Начать новую тему Ответить на тему  [ Сообщений: 5 ] 

Часовой пояс: UTC + 3 часа


Кто сейчас на форуме

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 109


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Перейти:  
Создано на основе phpBB® Forum Software © phpBB Group
Русская поддержка phpBB