Странное дело, на B54 safeguard на практически пустом коммутаторе постоянно переходит в exchaust режим и обратно.
Код:
Command: show log
Index Time Log Text
----- ------------------- ----------------------------------------------------
133 00004 days 21:11:27 SafeGuard Engine enters NORMAL mode
132 00004 days 21:11:26 Successful login through Console (Username: admin)
131 00004 days 21:11:20 Login failed through Console (Username: Anonymous)
130 00004 days 21:11:19 Login failed through Console (Username: Anonymous)
129 00004 days 21:11:17 SafeGuard Engine enters EXHAUSTED mode
128 00004 days 21:05:08 Logout through SSH (Username: admin, IP: 10.77.77.88
, MAC: 00-00-00-00-00-00)
127 00004 days 20:58:23 SafeGuard Engine enters NORMAL mode
126 00004 days 20:58:21 Login failed through Console (Username: Anonymous)
125 00004 days 20:58:20 Login failed through Console (Username: Anonymous)
124 00004 days 20:58:19 Logout through Console (Username: admin)
123 00004 days 20:58:14 SafeGuard Engine enters EXHAUSTED mode
122 00004 days 20:58:05 Configuration and log saved to flash (Username: admi
n, IP: 10.77.77.88, MAC: 00-00-00-00-00-00)
121 00004 days 20:54:48 Successful login through SSH (Username: admin, IP: 1
0.77.77.88, MAC: 00-00-00-00-00-00)
120 00004 days 20:54:28 SafeGuard Engine enters NORMAL mode
119 00004 days 20:54:19 SafeGuard Engine enters EXHAUSTED mode
118 00004 days 20:54:08 Successful login through Console (Username: admin)
117 00004 days 20:54:06 Login failed through Console (Username: Anonymous)
116 00004 days 20:53:45 SafeGuard Engine enters NORMAL mode
115 00004 days 20:52:59 SafeGuard Engine enters EXHAUSTED mode
114 00004 days 20:52:11 Console session timed out (Username: admin)
113 00004 days 20:48:45 SafeGuard Engine enters NORMAL mode
112 00004 days 20:48:17 SafeGuard Engine enters EXHAUSTED mode
111 00004 days 20:37:05 Successful login through Console (Username: admin)
110 00004 days 20:37:02 Login failed through Console (Username: Anonymous)
109 00004 days 20:20:39 Console session timed out (Username: admin)
108 00004 days 19:44:49 Successful login through Console (Username: admin)
107 00004 days 19:44:08 Port 3 link up, 100Mbps FULL duplex
106 00004 days 19:07:23 Login failed through Console (Username: Anonymous)
105 00004 days 19:07:23 Login failed through Console (Username: Anonymous)
104 00004 days 18:22:35 Login failed through Console (Username: Anonymous)
103 00004 days 18:22:27 Console session timed out (Username: admin)
102 00004 days 18:05:06 SafeGuard Engine enters NORMAL mode
101 00004 days 18:04:56 SafeGuard Engine enters EXHAUSTED mode
100 00004 days 18:04:45 Configuration and log saved to flash by console (Use
rname: admin)
99 00004 days 18:03:31 SafeGuard Engine enters NORMAL mode
98 00004 days 18:03:22 SafeGuard Engine enters EXHAUSTED mode
97 00004 days 18:03:13 Configuration and log saved to flash by console (Use
rname: admin)
Код:
Command: show config current_config
#-------------------------------------------------------------------
# DES-3526 Configuration
#
# Firmware: Build 5.01.B52
# Copyright(C) 2008 D-Link Corporation. All rights reserved.
#-------------------------------------------------------------------
# BASIC
config serial_port baud_rate 115200 auto_logout 15_minutes
enable telnet 23
disable web
# PASSWORD ENCRYPTION
enable password encryption
config terminal_line default
# BNR
config command_prompt default
# STORM
config traffic control_trap none
config traffic control 1-5 broadcast disable multicast disable unicast disable action drop threshold 128000
# LOOP_DETECT
enable loopdetect
config loopdetect recover_timer 60
config loopdetect interval 10
config loopdetect mode port-based
config loopdetect ports 1-24 state enabled
config loopdetect ports 25-26 state disabled
# GM
config sim candidate
disable sim
config sim dp_interval 30
config sim hold_time 100
# SYSLOG
enable syslog
config system_severity trap information
config system_severity log information
create syslog host 1 ipaddress 10.99.99.88 severity all facility local0 udp_port 514 state enable
# QOS
config scheduling 0 max_packet 0 max_latency 0
config scheduling 1 max_packet 0 max_latency 0
config scheduling 2 max_packet 0 max_latency 0
config scheduling 3 max_packet 0 max_latency 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 802.1p default_priority 1-26 0
config bandwidth_control 1-26 rx_rate no_limit tx_rate no_limit
# MIRROR
disable mirror
# TRAF-SEGMENTATION
config traffic_segmentation 1-26 forward_list 1-26
# PORT
config ports 1-24 speed auto flow_control disable mdix auto learning enable state enable trap enable
config ports 25-26 medium_type copper speed auto flow_control disable mdix auto learning enable state enable trap enable
config ports 25-26 medium_type fiber speed auto flow_control disable learning enable state enable trap enable
# PORT_LOCK
enable port_security trap_log
config port_security ports 1-24 admin_state enable max_learning_addr 8 lock_address_mode DeleteOnReset
config port_security ports 25-26 admin_state disable max_learning_addr 1 lock_address_mode DeleteOnReset
# 8021X
disable 802.1x
config 802.1x auth_protocol radius_eap
config 802.1x capability ports 1-26 none
config 802.1x auth_parameter ports 1-26 direction both port_control auto quiet_period 60 tx_period 30 supp_timeout 30 server_timeout 30 max_req 2 reauth_period 3600 enable_reauth disable
# SNMPv3
delete snmp community public
delete snmp community private
delete snmp user initial
delete snmp group initial
delete snmp view restricted all
delete snmp view CommunityView all
config snmp engineID 800000ab03001e58a37aa8
create snmp view comm-view 1 view_type included
create snmp view comm-view 1.3.6.1.6.3 view_type excluded
create snmp view comm-view 1.3.6.1.6.3.1 view_type included
create snmp view restricted 1.3.6.1.2.1.1 view_type included
create snmp view restricted 1.3.6.1.2.1.11 view_type included
create snmp view restricted 1.3.6.1.6.3.10.2.1 view_type included
create snmp view restricted 1.3.6.1.6.3.11.2.1 view_type included
create snmp view restricted 1.3.6.1.6.3.15.1.1 view_type included
create snmp group blablabla1 v1 read_view comm-view write_view comm-view notify_view comm-view
create snmp group blablabla1 v2c read_view comm-view write_view comm-view notify_view comm-view
create snmp group blablabla1 v1 read_view comm-view notify_view comm-view
create snmp group blablabla1 v2c read_view comm-view notify_view comm-view
create snmp community blablabla1 view comm-view read_write
create snmp community blablabla1 view comm-view read_only
create snmp host 10.99.99.88 v2c mazjamba1
# MANAGEMENT
enable snmp traps
enable snmp authenticate traps
config snmp system_name D-Link
disable rmon
# VLAN
disable asymmetric_vlan
config vlan default delete 1-26
config vlan default advertisement enable
create vlan management tag 3001
config vlan management add tagged 25
config vlan management advertisement disable
create vlan homenet1 tag 3101
config vlan homenet1 add tagged 25
config vlan homenet1 add untagged 1-24
config vlan homenet1 advertisement disable
disable gvrp
config gvrp 1-24 state disable ingress_checking enable acceptable_frame admit_all pvid 3101
config gvrp 25-26 state disable ingress_checking enable acceptable_frame admit_all pvid 1
# FDB
config fdb aging_time 300
config multicast port_filtering_mode 1-26 forward_unregistered_groups
# MAC_ADDRESS_TABLE_NOTIFICATION
config mac_notification interval 1 historysize 1
enable mac_notification
config mac_notification ports 1-24 enable
config mac_notification ports 25-26 disable
# STP
config stp version rstp
config stp maxage 20 maxhops 20 forwarddelay 15 txholdcount 6 fbpdu enable
config stp priority 32768 instance_id 0
config stp hellotime 2
config stp mst_config_id name 00:1E:58:A3:7A:A8 revision_level 0
disable stp
config stp ports 1-26 externalCost auto edge false p2p auto state enable
config stp ports 1-26 fbpdu disable
config stp ports 1-26 restricted_role false
config stp ports 1-26 restricted_tcn false
config stp mst_ports 1-26 instance_id 0 internalCost auto priority 128
# SSH
config ssh authmode hostbased disable
config ssh server maxsession 8
config ssh server contimeout 300
config ssh server authfail 2
config ssh server rekey never
config ssh server port 22
enable ssh
# SSL
disable ssl
enable ssl ciphersuite RSA_with_RC4_128_MD5
enable ssl ciphersuite RSA_with_3DES_EDE_CBC_SHA
enable ssl ciphersuite DHE_DSS_with_3DES_EDE_CBC_SHA
enable ssl ciphersuite RSA_EXPORT_with_RC4_40_MD5
config ssl cachetimeout timeout 600
# SAFE_GUARD
config safeguard_engine state enable cpu_utilization rising_threshold 95 falling_threshold 40 trap_log enable
# TIMERANGE
# ACL
create access_profile packet_content_mask offset_16-31 0xFFFF0000 0x0 0x0 0x0 profile_id 254
config access_profile profile_id 254 add access_id 254 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 1 deny
config access_profile profile_id 254 add access_id 255 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 2 deny
config access_profile profile_id 254 add access_id 256 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 3 deny
config access_profile profile_id 254 add access_id 257 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 4 deny
config access_profile profile_id 254 add access_id 258 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 5 deny
config access_profile profile_id 254 add access_id 259 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 6 deny
config access_profile profile_id 254 add access_id 260 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 7 deny
config access_profile profile_id 254 add access_id 261 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 8 deny
config access_profile profile_id 254 add access_id 262 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 9 deny
config access_profile profile_id 254 add access_id 263 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 10 deny
config access_profile profile_id 254 add access_id 264 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 11 deny
config access_profile profile_id 254 add access_id 265 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 12 deny
config access_profile profile_id 254 add access_id 266 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 13 deny
config access_profile profile_id 254 add access_id 267 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 14 deny
config access_profile profile_id 254 add access_id 268 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 15 deny
config access_profile profile_id 254 add access_id 269 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 16 deny
config access_profile profile_id 254 add access_id 270 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 17 deny
config access_profile profile_id 254 add access_id 271 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 18 deny
config access_profile profile_id 254 add access_id 272 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 19 deny
config access_profile profile_id 254 add access_id 273 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 20 deny
config access_profile profile_id 254 add access_id 274 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 21 deny
config access_profile profile_id 254 add access_id 275 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 22 deny
config access_profile profile_id 254 add access_id 276 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 23 deny
config access_profile profile_id 254 add access_id 277 packet_content_mask offset_16-31 0x8060000 0x0 0x20000 0x0 port 24 deny
create access_profile ip source_ip_mask 0.0.0.0 profile_id 255
config access_profile profile_id 255 add access_id 255 ip source_ip 0.0.0.0 port 1 deny
config access_profile profile_id 255 add access_id 256 ip source_ip 0.0.0.0 port 2 deny
config access_profile profile_id 255 add access_id 257 ip source_ip 0.0.0.0 port 3 deny
config access_profile profile_id 255 add access_id 258 ip source_ip 0.0.0.0 port 4 deny
config access_profile profile_id 255 add access_id 259 ip source_ip 0.0.0.0 port 5 deny
config access_profile profile_id 255 add access_id 260 ip source_ip 0.0.0.0 port 6 deny
config access_profile profile_id 255 add access_id 261 ip source_ip 0.0.0.0 port 7 deny
config access_profile profile_id 255 add access_id 262 ip source_ip 0.0.0.0 port 8 deny
config access_profile profile_id 255 add access_id 263 ip source_ip 0.0.0.0 port 9 deny
config access_profile profile_id 255 add access_id 264 ip source_ip 0.0.0.0 port 10 deny
config access_profile profile_id 255 add access_id 265 ip source_ip 0.0.0.0 port 11 deny
config access_profile profile_id 255 add access_id 266 ip source_ip 0.0.0.0 port 12 deny
config access_profile profile_id 255 add access_id 267 ip source_ip 0.0.0.0 port 13 deny
config access_profile profile_id 255 add access_id 268 ip source_ip 0.0.0.0 port 14 deny
config access_profile profile_id 255 add access_id 269 ip source_ip 0.0.0.0 port 15 deny
config access_profile profile_id 255 add access_id 270 ip source_ip 0.0.0.0 port 16 deny
config access_profile profile_id 255 add access_id 271 ip source_ip 0.0.0.0 port 17 deny
config access_profile profile_id 255 add access_id 272 ip source_ip 0.0.0.0 port 18 deny
config access_profile profile_id 255 add access_id 273 ip source_ip 0.0.0.0 port 19 deny
config access_profile profile_id 255 add access_id 274 ip source_ip 0.0.0.0 port 20 deny
config access_profile profile_id 255 add access_id 275 ip source_ip 0.0.0.0 port 21 deny
config access_profile profile_id 255 add access_id 276 ip source_ip 0.0.0.0 port 22 deny
config access_profile profile_id 255 add access_id 277 ip source_ip 0.0.0.0 port 23 deny
config access_profile profile_id 255 add access_id 278 ip source_ip 0.0.0.0 port 24 deny
disable cpu_interface_filtering
# SNTP
enable sntp
config time_zone operator + hour 3 min 0
config sntp primary 10.99.99.88 secondary 0.0.0.0 poll-interval 720
config dst repeating s_week 1 s_day sun s_mth 4 s_time 0:0 e_week last e_day sun e_mth 10 e_time 0:0 offset 60
# IPBIND
config address_binding ip_mac ports 1-26 allow_zeroip enable
disable address_binding acl_mode
enable address_binding trap_log
disable address_binding dhcp_snoop
config address_binding dhcp_snoop max_entry ports 1-26 limit 5
# FILTER
config filter dhcp_server ports 1-24 state enable
config filter extensive_netbios 1-24 state enable
config filter netbios 1-24 state enable
# ARP_Spoofing_Prevention
# ROUTE
create iproute default 10.90.90.1 1
# SNOOP
disable igmp_snooping
config igmp_snooping default host_timeout 260 router_timeout 260 leave_timer 2 state disable
config igmp_snooping querier default query_interval 125 max_response_time 10 robustness_variable 2
config igmp_snooping querier default last_member_query_interval 1 state disable
config igmp_snooping management host_timeout 260 router_timeout 260 leave_timer 2 state disable
config igmp_snooping querier management query_interval 125 max_response_time 10 robustness_variable 2
config igmp_snooping querier management last_member_query_interval 1 state disable
config igmp_snooping homenet1 host_timeout 260 router_timeout 260 leave_timer 2 state disable
config igmp_snooping querier homenet1 query_interval 125 max_response_time 10 robustness_variable 2
config igmp_snooping querier homenet1 last_member_query_interval 1 state disable
config limited_multicast_addr ports 1-26 access deny state disable
# LACP
config link_aggregation algorithm mac_source
config lacp_port 1-26 mode passive
# GVLAN
# IP
config ipif System vlan management ipaddress 10.90.90.10/23 state enable
disable autoconfig
# ARP
config arp_aging time 20
config gratuitous_arp send ipif_status_up enable
config gratuitous_arp send dup_ip_detected enable
config gratuitous_arp learning enable
# LLDP
disable lldp
config lldp message_tx_interval 30
config lldp tx_delay 2
config lldp message_tx_hold_multiplier 4
config lldp reinit_delay 2
config lldp notification_interval 5
config lldp ports 1-26 notification disable
config lldp ports 1-26 admin_status tx_and_rx
# ACCESS_AUTHENTICATION_CONTROL
config authen_login default method local
config authen_enable default method local_enable
config authen application console login default
config authen application console enable default
config authen application telnet login default
config authen application telnet enable default
config authen application ssh login default
config authen application ssh enable default
config authen application http login default
config authen application http enable default
config authen parameter response_timeout 0
config authen parameter attempt 3
config authen enable_admin all state enable
disable authen_policy
# 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 keep
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 10.77.77.88
# DHCP_LOCAL_RELAY
disable dhcp_local_relay
#-------------------------------------------------------------------
# End of configuration file for DES-3526
#-------------------------------------------------------------------
Воткнут в него только аплинк (порт 25, вланы 1 и 3000) и клиент (влан 3000), активность совершенно мизерная (буквально пара десятков пакетов в сек)