faq обучение настройка
Текущее время: Ср июл 23, 2025 15:56

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




Начать новую тему Ответить на тему  [ Сообщений: 8 ] 
Автор Сообщение
 Заголовок сообщения: DES-3528 DHCP-Snooping + IPMB
СообщениеДобавлено: Вт янв 10, 2012 10:46 
Не в сети

Зарегистрирован: Пн ноя 27, 2006 19:25
Сообщений: 265
Откуда: Крым
С наступившими всех!

Уже 2 недели бъемся с такой проблемой. На DES-3528 включены DHCP-Relay и DHCP-snooping + IPMB. Абонент коннектится без проблем, получает адрес, работает. Когда истекает время лизы, абонентский комп перезапрашивает адрес, свич вроде все отрабатывает, идет обмен с сервером DHCPREQUEST - DHCPACK. Но абонентский комп почему-то не получает адрес, виндовс подставляет свой адрес, который успешно блочится свичем. Бедный абонент вынужден перетыкать кабель, чтобы заново инициировать поиск сервера и запрос адреса. Такая ерунда творится только на свичах 3528 (прошивка последняя). Полностью аналогичный конфиг в свиче 3200-28 проблем у абонентов не вызывает.
Попытались отказаться от DHCP-snooping + IPMB, оставив только один DHCP-Relay + ACL. Но в этом случае свич вообще не релеит DHCP на сервер. Хотя опять же, в 3200 при точно таких же настройках DHCP-Relay + ACL без DHCP-snooping + IPMB все отрабатывает на ура.

Привожу полный конфиг 3528. Ткните пожалуйста носом если где-то что-то не так! Абонент сидит в порту 15.
Код:
 
#-------------------------------------------------------------------------------
#                        DES-3528 Fast Ethernet Switch
#                                Configuration
#
#                          Firmware: Build 2.71.B039
#           Copyright(C) 2010 D-Link Corporation. All rights reserved.
#-------------------------------------------------------------------------------
 

# STACK

config stacking force_master_role state disable

# BASIC

# ACCOUNT LIST

# ACCOUNT END
# PASSWORD ENCRYPTION
disable password encryption
config serial_port auto_logout never
enable web 80
disable clipaging
config terminal width 80
disable command logging

# DEBUG

debug config state enable
debug config error_reboot enable

# STORM

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

# LOOP_DETECT

enable loopdetect
config loopdetect recover_timer 60 interval 10 mode port-based
config loopdetect log state enable
config loopdetect ports 1 state enabled
config loopdetect ports 2 state enabled
config loopdetect ports 3 state enabled
config loopdetect ports 4 state enabled
config loopdetect ports 5 state enabled
config loopdetect ports 6 state enabled
config loopdetect ports 7 state enabled
config loopdetect ports 8 state enabled
config loopdetect ports 9 state enabled
config loopdetect ports 10 state enabled
config loopdetect ports 11 state enabled
config loopdetect ports 12 state enabled
config loopdetect ports 13 state enabled
config loopdetect ports 14 state enabled
config loopdetect ports 15 state enabled
config loopdetect ports 16 state enabled
config loopdetect ports 17 state enabled
config loopdetect ports 18 state enabled
config loopdetect ports 19 state enabled
config loopdetect ports 20 state enabled
config loopdetect ports 21 state enabled
config loopdetect ports 22 state enabled
config loopdetect ports 23 state enabled
config loopdetect ports 24 state enabled
config loopdetect ports 25 state disabled
config loopdetect ports 26 state disabled
config loopdetect ports 27 state disabled
config loopdetect ports 28 state disabled
config loopdetect trap none

# GM

disable sim
config sim candidate
config sim dp_interval 30
config sim hold_time 100

# GM_H


# MIRROR

disable mirror

# QOS

enable hol_prevention
config 802.1p default_priority 1-28 0
config bandwidth_control 1-28 rx_rate no_limit tx_rate no_limit
config per_queue bandwidth_control ports 1-28 0 min_rate  no_limit  max_rate no_limit
config per_queue bandwidth_control ports 1-28 1 min_rate  no_limit  max_rate no_limit
config per_queue bandwidth_control ports 1-28 2 min_rate  no_limit  max_rate no_limit
config per_queue bandwidth_control ports 1-28 3 min_rate  no_limit  max_rate no_limit
config per_queue bandwidth_control ports 1-28 4 min_rate  no_limit  max_rate no_limit
config per_queue bandwidth_control ports 1-28 5 min_rate  no_limit  max_rate no_limit
config per_queue bandwidth_control ports 1-28 6 min_rate  no_limit  max_rate no_limit
config per_queue bandwidth_control ports 1-28 7 min_rate  no_limit  max_rate no_limit
config scheduling_mechanism ports 1-28 strict
config scheduling ports 1-28 0  weight 1
config scheduling ports 1-28 1  weight 2
config scheduling ports 1-28 2  weight 3
config scheduling ports 1-28 3  weight 4
config scheduling ports 1-28 4  weight 5
config scheduling ports 1-28 5  weight 6
config scheduling ports 1-28 6  weight 7
config scheduling ports 1-28 7  weight 8
config 802.1p user_priority ports 1-28 0  2
config 802.1p user_priority ports 1-28 1  0
config 802.1p user_priority ports 1-28 2  1
config 802.1p user_priority ports 1-28 3  3
config 802.1p user_priority ports 1-28 4  4
config 802.1p user_priority ports 1-28 5  5
config 802.1p user_priority ports 1-28 6  6
config 802.1p user_priority ports 1-28 7  7

# SYSLOG

config log_save_timing on_demand
disable syslog
config system_severity trap information
config system_severity log information

# TRAF-SEGMENTATION

config traffic_segmentation 1-28 forward_list all

# 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 600

# PORT

disable jumbo_frame
config ports 1-24,27-28 speed auto flow_control disable learning enable state enable mdix auto
config ports 25-26 medium_type copper speed auto flow_control disable learning enable state enable mdix auto
config ports 25-26 medium_type fiber speed auto flow_control disable learning enable state enable

# SFLOW


# OAM


# DDM

config ddm trap disable
config ddm log enable
config ddm power_unit mw
config ddm ports 25-26 state disable shutdown none

# MANAGEMENT

enable snmp traps
disable snmp authenticate_traps
disable snmp linkchange_traps
enable snmp
config snmp linkchange_traps ports 1-28 disable

# TRAP

config snmp coldstart_traps disable
config snmp warmstart_traps disable
config rmon trap rising_alarm enable
config rmon trap falling_alarm enable

# TR


# VLAN

enable pvid auto_assign
config vlan default delete 1-28
config vlan default add tagged 25-28
config vlan default advertisement disable
create vlan 10_0_5 tag 5
config vlan 10_0_5 add tagged 25-28
config vlan 10_0_5 add untagged 1-14,16-24 advertisement disable
create vlan DHCP2 tag 22
config vlan DHCP2 add tagged 25-28
config vlan DHCP2 add untagged 15 advertisement disable
disable gvrp
config gvrp nni_bpdu_addr dot1d
disable asymmetric_vlan
disable vlan_trunk
config port_vlan 1-14,16-24 gvrp_state disable ingress_checking enable acceptable_frame admit_all pvid 5
config port_vlan 15 gvrp_state disable ingress_checking enable acceptable_frame admit_all pvid 22
config port_vlan 25-28 gvrp_state disable ingress_checking enable acceptable_frame admit_all pvid 1

# PORT_SECURITY

config port_security system max_learning_addr no_limit
disable port_security trap_log
config port_security ports 1-14,16-24 admin_state enable max_learning_addr 4 lock_address_mode deleteontimeout
config port_security ports 15 admin_state disable max_learning_addr 4 lock_address_mode deleteontimeout
config port_security ports 25-28 admin_state disable max_learning_addr 1 lock_address_mode deleteonreset

# ACL

create access_profile profile_id 1 profile_name ARP-permit packet_content_mask offset_chunk_1 3 0xFFFF offset_chunk_2 7 0xFFFF offset_chunk_3 8 0xFFFF0000
config access_profile profile_id 1 add access_id auto_assign packet_content offset_chunk_1 0x806 offset_chunk_2 0x2FAE offset_chunk_3 0xDA030000 port 15 permit counter enable
create access_profile profile_id 4 profile_name ARP-Deny ethernet ethernet_type
config access_profile profile_id 4 add access_id 1 ethernet ethernet_type 0x806 port 1-24 deny
create access_profile profile_id 8 profile_name IP-permit ip source_ip_mask 255.255.255.255
config access_profile profile_id 8 add access_id auto_assign ip source_ip 47.174.218.3 port 15 permit
create access_profile profile_id 10 profile_name ALL-deny ip source_ip_mask 0.0.0.0
config access_profile profile_id 10 add access_id 1 ip source_ip 0.0.0.0 port 1-24 deny

#CPU Interface Filter

disable cpu_interface_filtering

# SUBNETVLAN

config vlan_precedence port 1-28 mac_based_vlan

# PROTOCOL_VLAN


# QINQ

config qinq inner_tpid 0x8100
config qinq ports 1-28  missdrop disable outer_tpid 0x8100
config qinq ports 1-28  add_inner_tag disable

# RSPAN

disable rspan

# 8021X

disable 802.1x
config 802.1x auth_protocol radius_eap
config 802.1x fwd_pdu system disable
config 802.1x max_users 448
config 802.1x authorization attributes radius enable
config 802.1x capability ports 1-28 none
config 802.1x auth_parameter ports 1-28 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
config 802.1x auth_parameter ports 1-28 max_users 16

# guestvlan


# POE


# FDB

config fdb aging_time 300

# VLANCounter


# ADDRBIND

config address_binding dhcp_snoop max_entry ports 1 limit 2
config address_binding dhcp_snoop max_entry ports 2 limit 2
config address_binding dhcp_snoop max_entry ports 3 limit 2
config address_binding dhcp_snoop max_entry ports 4 limit 2
config address_binding dhcp_snoop max_entry ports 5 limit 2
config address_binding dhcp_snoop max_entry ports 6 limit 2
config address_binding dhcp_snoop max_entry ports 7 limit 2
config address_binding dhcp_snoop max_entry ports 8 limit 2
config address_binding dhcp_snoop max_entry ports 9 limit 2
config address_binding dhcp_snoop max_entry ports 10 limit 2
config address_binding dhcp_snoop max_entry ports 11 limit 2
config address_binding dhcp_snoop max_entry ports 12 limit 2
config address_binding dhcp_snoop max_entry ports 13 limit 2
config address_binding dhcp_snoop max_entry ports 14 limit 2
config address_binding dhcp_snoop max_entry ports 15 limit 2
config address_binding dhcp_snoop max_entry ports 16 limit 2
config address_binding dhcp_snoop max_entry ports 17 limit 2
config address_binding dhcp_snoop max_entry ports 18 limit 2
config address_binding dhcp_snoop max_entry ports 19 limit 2
config address_binding dhcp_snoop max_entry ports 20 limit 2
config address_binding dhcp_snoop max_entry ports 21 limit 2
config address_binding dhcp_snoop max_entry ports 22 limit 2
config address_binding dhcp_snoop max_entry ports 23 limit 2
config address_binding dhcp_snoop max_entry ports 24 limit 2
config address_binding dhcp_snoop max_entry ports 25 limit no_limit
config address_binding dhcp_snoop max_entry ports 26 limit no_limit
config address_binding dhcp_snoop max_entry ports 27 limit no_limit
config address_binding dhcp_snoop max_entry ports 28 limit no_limit
config address_binding ip_mac ports 15 mode acl
config address_binding ip_mac ports 15 state enable strict
config address_binding ip_mac ports 15 allow_zeroip enable
enable address_binding dhcp_snoop
disable address_binding trap_log
disable address_binding dhcp_snoop ipv6
disable address_binding nd_snoop
config address_binding dhcp_snoop max_entry ports 1-28 limit no_limit ipv6
config address_binding nd_snoop ports 1-28 max_entry no_limit

# DHCPV6_SNOOPING


# NetBiosFilter

config filter netbios all state disable
config filter netbios 1-28 state enable
config filter extensive_netbios all state disable
config filter extensive_netbios 1-28 state enable

# RADIUS


# ND_SNOOPING


# DhcpServerScreening

config filter dhcp_server ports all state disable
config filter dhcp_server ports 1-24 state enable
config filter dhcp_server illegal_server_log_suppress_duration 5min
config filter dhcp_server trap_log disable

# PPPoE

config pppoe circuit_id_insertion state disable

# sRED

disable sred
config sred all  all threshold low 60 high 80 drop_rate low 1 high 1 drop_green disable
config dscp trust all state disable
config 802.1p map all 1p_color 0-7 to green
config dscp map all dscp_color 0-63 to green
config dscp map all dscp_dscp 0 to 0
config dscp map all dscp_dscp 1 to 1
config dscp map all dscp_dscp 2 to 2
config dscp map all dscp_dscp 3 to 3
config dscp map all dscp_dscp 4 to 4
config dscp map all dscp_dscp 5 to 5
config dscp map all dscp_dscp 6 to 6
config dscp map all dscp_dscp 7 to 7
config dscp map all dscp_dscp 8 to 8
config dscp map all dscp_dscp 9 to 9
config dscp map all dscp_dscp 10 to 10
config dscp map all dscp_dscp 11 to 11
config dscp map all dscp_dscp 12 to 12
config dscp map all dscp_dscp 13 to 13
config dscp map all dscp_dscp 14 to 14
config dscp map all dscp_dscp 15 to 15
config dscp map all dscp_dscp 16 to 16
config dscp map all dscp_dscp 17 to 17
config dscp map all dscp_dscp 18 to 18
config dscp map all dscp_dscp 19 to 19
config dscp map all dscp_dscp 20 to 20
config dscp map all dscp_dscp 21 to 21
config dscp map all dscp_dscp 22 to 22
config dscp map all dscp_dscp 23 to 23
config dscp map all dscp_dscp 24 to 24
config dscp map all dscp_dscp 25 to 25
config dscp map all dscp_dscp 26 to 26
config dscp map all dscp_dscp 27 to 27
config dscp map all dscp_dscp 28 to 28
config dscp map all dscp_dscp 29 to 29
config dscp map all dscp_dscp 30 to 30
config dscp map all dscp_dscp 31 to 31
config dscp map all dscp_dscp 32 to 32
config dscp map all dscp_dscp 33 to 33
config dscp map all dscp_dscp 34 to 34
config dscp map all dscp_dscp 35 to 35
config dscp map all dscp_dscp 36 to 36
config dscp map all dscp_dscp 37 to 37
config dscp map all dscp_dscp 38 to 38
config dscp map all dscp_dscp 39 to 39
config dscp map all dscp_dscp 40 to 40
config dscp map all dscp_dscp 41 to 41
config dscp map all dscp_dscp 42 to 42
config dscp map all dscp_dscp 43 to 43
config dscp map all dscp_dscp 44 to 44
config dscp map all dscp_dscp 45 to 45
config dscp map all dscp_dscp 46 to 46
config dscp map all dscp_dscp 47 to 47
config dscp map all dscp_dscp 48 to 48
config dscp map all dscp_dscp 49 to 49
config dscp map all dscp_dscp 50 to 50
config dscp map all dscp_dscp 51 to 51
config dscp map all dscp_dscp 52 to 52
config dscp map all dscp_dscp 53 to 53
config dscp map all dscp_dscp 54 to 54
config dscp map all dscp_dscp 55 to 55
config dscp map all dscp_dscp 56 to 56
config dscp map all dscp_dscp 57 to 57
config dscp map all dscp_dscp 58 to 58
config dscp map all dscp_dscp 59 to 59
config dscp map all dscp_dscp 60 to 60
config dscp map all dscp_dscp 61 to 61
config dscp map all dscp_dscp 62 to 62
config dscp map all dscp_dscp 63 to 63
config dscp map all dscp_priority 0-7 to 0
config dscp map all dscp_priority 8-15 to 1
config dscp map all dscp_priority 16-23 to 2
config dscp map all dscp_priority 24-31 to 3
config dscp map all dscp_priority 32-39 to 4
config dscp map all dscp_priority 40-47 to 5
config dscp map all dscp_priority 48-55 to 6
config dscp map all dscp_priority 56-63 to 7

# ARPSpoofingPrevention


# MEF

 config mef_l2_protocols port 1-28 peer addr_00_0F
 config mef_l2_protocols port 1-28 peer addr_10
 config mef_l2_protocols port 1-28 peer addr_20_2F

# MAC_ADDRESS_TABLE_NOTIFICATION

enable mac_notification
config mac_notification interval 1 historysize 1
config mac_notification ports 1-28 disable

# STP

 config stp version rstp
 config stp maxage 20 maxhops 20 forwarddelay 15 txholdcount 6 fbpdu disable hellotime 2 nni_bpdu_addr dot1d
 config stp priority 32768 instance_id 0
 config stp ports 1-28 externalCost auto  edge false p2p auto state enable restricted_role false restricted_tcn false
 config stp mst_ports 1-28 instance_id 0 internalCost auto priority 128
config stp ports 1-28 fbpdu disable
 config stp mst_config_id name 1C:AF:F7:91:BE:60 revision_level 0
 disable stp

# L2PT

disable l2protocol_tunnel
config l2protocol_tunnel ports all type none

# BPDU_PROTECTION

config bpdu_protection ports 1-28 mode shutdown

# SAFEGUARD_ENGINE

config safeguard_engine state disable utilization rising 30 falling 20 trap_log disable mode fuzzy

# BANNER_PROMP

config command_prompt default
config greeting_message default

# SSH

 config ssh algorithm 3DES enable
 config ssh algorithm AES128 enable
 config ssh algorithm AES192 enable
 config ssh algorithm AES256 enable
 config ssh algorithm arcfour enable
 config ssh algorithm blowfish enable
 config ssh algorithm cast128 enable
 config ssh algorithm twofish128 enable
 config ssh algorithm twofish192 enable
 config ssh algorithm twofish256 enable
 config ssh algorithm MD5 enable
 config ssh algorithm SHA1 enable
 config ssh algorithm RSA enable
 config ssh algorithm DSA enable
 config ssh authmode password enable
 config ssh authmode publickey enable
 config ssh authmode hostbased enable
 config ssh server maxsession 8
 config ssh server contimeout 120
 config ssh server authfail 2
 config ssh server rekey never
 config ssh user admin authmode password
 disable ssh

# TELNETS

enable telnet 23

# BCPING


# IGMP_MULTICAST_VLAN

create igmp_snooping multicast_vlan_group_profile TV
config igmp_snooping multicast_vlan_group_profile TV add 239.0.0.0-239.0.0.255
enable igmp_snooping multicast_vlan
config igmp_snooping multicast_vlan forward_unmatched disable
create igmp_snooping multicast_vlan TV 200
config igmp_snooping multicast_vlan TV state enable replace_source_ip 10.0.200.112 remap_priority 5 replace_priority
config igmp_snooping multicast_vlan TV add member_port 1-23
config igmp_snooping multicast_vlan TV add source_port 25-28
config igmp_snooping multicast_vlan_group TV add profile_name TV

# MLD_MULTICAST_VLAN

config mld_snooping multicast_vlan forward_unmatched disable

# SNTP

enable sntp
config time_zone operator + hour 2 min 0
config sntp primary 10.0.100.1 secondary 0.0.0.0 poll-interval 720
config dst annual s_date 29 s_mth 4 s_time 0:0 e_date 12 e_mth 10 e_time 0:0 offset 60
config dst repeating s_week last s_day sun s_mth 3 s_time 2:0 e_week last e_day sun e_mth 10 e_time 3:0 offset 60

# MULTICAST_FILTER

config limited_multicast_addr vlanid 200 access permit

# LACP

config link_aggregation algorithm mac_source
config lacp_port 1-28 mode passive

# IP

config ipif System ipaddress 10.0.100.112/24 vlan default
config ipif System proxy_arp disable local disable
config ipif System dhcpv6_client disable
disable autoconfig

# 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 800000ab031caff791be60
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 view CommunityView 1 view_type included
create snmp view CommunityView 1.3.6.1.6.3 view_type excluded
create snmp view CommunityView 1.3.6.1.6.3.1 view_type included
create snmp group public v1 read_view CommunityView notify_view CommunityView
create snmp group public v2c read_view CommunityView notify_view CommunityView
create snmp group initial v3  noauth_nopriv read_view restricted notify_view restricted
create snmp group private v1 read_view CommunityView write_view CommunityView notify_view CommunityView
create snmp group private v2c read_view CommunityView write_view CommunityView notify_view CommunityView
create snmp community private view CommunityView read_write
create snmp community public view CommunityView read_only
create snmp user initial initial
create snmp host 10.0.100.1 v1  public

# VOICEVLAN


# ERPS

 disable erps
 config erps log disable
 config erps trap disable

# CFM


# JWAC

config jwac switch_http_port 80
config jwac clear_quarantine_server_url
config jwac radius_protocol pap
disable jwac quarantine_server_monitor

config jwac quarantine_server_error_timeout 30
enable jwac forcible_logout
enable jwac udp_filtering
enable jwac redirect
config jwac redirect destination quarantine_server delay_time 1
disable jwac
config jwac authenticate_page english
config jwac authorization attributes radius enable
config jwac authorization attributes local enable
config jwac ports 1-28 max_authenticating_host 50 aging_time 1440 idle_time infinite block_time 60

# WAC

 config wac switch_http_port 80
 config wac method local
 config wac authorization attributes local enable
 config wac authorization attributes radius enable
 disable wac
 config wac ports 1-28 aging_time 1440 idle_time infinite block_time 60

# 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-28 notification disable
config lldp ports 1-28 admin_status tx_and_rx

# MAC-based_Access_Control

disable mac_based_access_control
config mac_based_access_control authorization attributes radius enable local enable
config mac_based_access_control ports 1-28 state disable
config mac_based_access_control ports  1 max_users 128
config mac_based_access_control ports  1 aging_time 1440
config mac_based_access_control ports  1 block_time 300
config mac_based_access_control ports  2 max_users 128
config mac_based_access_control ports  2 aging_time 1440
config mac_based_access_control ports  2 block_time 300
config mac_based_access_control ports  3 max_users 128
config mac_based_access_control ports  3 aging_time 1440
config mac_based_access_control ports  3 block_time 300
config mac_based_access_control ports  4 max_users 128
config mac_based_access_control ports  4 aging_time 1440
config mac_based_access_control ports  4 block_time 300
config mac_based_access_control ports  5 max_users 128
config mac_based_access_control ports  5 aging_time 1440
config mac_based_access_control ports  5 block_time 300
config mac_based_access_control ports  6 max_users 128
config mac_based_access_control ports  6 aging_time 1440
config mac_based_access_control ports  6 block_time 300
config mac_based_access_control ports  7 max_users 128
config mac_based_access_control ports  7 aging_time 1440
config mac_based_access_control ports  7 block_time 300
config mac_based_access_control ports  8 max_users 128
config mac_based_access_control ports  8 aging_time 1440
config mac_based_access_control ports  8 block_time 300
config mac_based_access_control ports  9 max_users 128
config mac_based_access_control ports  9 aging_time 1440
config mac_based_access_control ports  9 block_time 300
config mac_based_access_control ports  10 max_users 128
config mac_based_access_control ports  10 aging_time 1440
config mac_based_access_control ports  10 block_time 300
config mac_based_access_control ports  11 max_users 128
config mac_based_access_control ports  11 aging_time 1440
config mac_based_access_control ports  11 block_time 300
config mac_based_access_control ports  12 max_users 128
config mac_based_access_control ports  12 aging_time 1440
config mac_based_access_control ports  12 block_time 300
config mac_based_access_control ports  13 max_users 128
config mac_based_access_control ports  13 aging_time 1440
config mac_based_access_control ports  13 block_time 300
config mac_based_access_control ports  14 max_users 128
config mac_based_access_control ports  14 aging_time 1440
config mac_based_access_control ports  14 block_time 300
config mac_based_access_control ports  15 max_users 128
config mac_based_access_control ports  15 aging_time 1440
config mac_based_access_control ports  15 block_time 300
config mac_based_access_control ports  16 max_users 128
config mac_based_access_control ports  16 aging_time 1440
config mac_based_access_control ports  16 block_time 300
config mac_based_access_control ports  17 max_users 128
config mac_based_access_control ports  17 aging_time 1440
config mac_based_access_control ports  17 block_time 300
config mac_based_access_control ports  18 max_users 128
config mac_based_access_control ports  18 aging_time 1440
config mac_based_access_control ports  18 block_time 300
config mac_based_access_control ports  19 max_users 128
config mac_based_access_control ports  19 aging_time 1440
config mac_based_access_control ports  19 block_time 300
config mac_based_access_control ports  20 max_users 128
config mac_based_access_control ports  20 aging_time 1440
config mac_based_access_control ports  20 block_time 300
config mac_based_access_control ports  21 max_users 128
config mac_based_access_control ports  21 aging_time 1440
config mac_based_access_control ports  21 block_time 300
config mac_based_access_control ports  22 max_users 128
config mac_based_access_control ports  22 aging_time 1440
config mac_based_access_control ports  22 block_time 300
config mac_based_access_control ports  23 max_users 128
config mac_based_access_control ports  23 aging_time 1440
config mac_based_access_control ports  23 block_time 300
config mac_based_access_control ports  24 max_users 128
config mac_based_access_control ports  24 aging_time 1440
config mac_based_access_control ports  24 block_time 300
config mac_based_access_control ports  25 max_users 128
config mac_based_access_control ports  25 aging_time 1440
config mac_based_access_control ports  25 block_time 300
config mac_based_access_control ports  26 max_users 128
config mac_based_access_control ports  26 aging_time 1440
config mac_based_access_control ports  26 block_time 300
config mac_based_access_control ports  27 max_users 128
config mac_based_access_control ports  27 aging_time 1440
config mac_based_access_control ports  27 block_time 300
config mac_based_access_control ports  28 max_users 128
config mac_based_access_control ports  28 aging_time 1440
config mac_based_access_control ports  28 block_time 300
config mac_based_access_control method local
config mac_based_access_control password default
config mac_based_access_control password_type manual_string
config mac_based_access_control max_users 128
config mac_based_access_control trap state enable
config mac_based_access_control log state enable

# MCFILTER

config multicast vlan_filtering_mode vlanid 1 filter_unregistered_groups
config multicast vlan_filtering_mode vlanid 5 filter_unregistered_groups
config multicast vlan_filtering_mode vlanid 200 filter_unregistered_groups

# COMPOUND_AUTHENTICATION

 config authentication ports 1-28 auth_mode host_based
 config authentication ports 1-28 multi_authen_methods none
 enable authorization attributes
 config authentication server failover block
 config authentication mac_format case uppercase
 config authentication mac_format delimiter none
 config authentication mac_format delimiter number 5

# LLDP-MED

config lldp_med fast_start repeat_count 4
config lldp_med log state disable
config lldp_med notification topo_change ports 1 state disable
config lldp_med notification topo_change ports 2 state disable
config lldp_med notification topo_change ports 3 state disable
config lldp_med notification topo_change ports 4 state disable
config lldp_med notification topo_change ports 5 state disable
config lldp_med notification topo_change ports 6 state disable
config lldp_med notification topo_change ports 7 state disable
config lldp_med notification topo_change ports 8 state disable
config lldp_med notification topo_change ports 9 state disable
config lldp_med notification topo_change ports 10 state disable
config lldp_med notification topo_change ports 11 state disable
config lldp_med notification topo_change ports 12 state disable
config lldp_med notification topo_change ports 13 state disable
config lldp_med notification topo_change ports 14 state disable
config lldp_med notification topo_change ports 15 state disable
config lldp_med notification topo_change ports 16 state disable
config lldp_med notification topo_change ports 17 state disable
config lldp_med notification topo_change ports 18 state disable
config lldp_med notification topo_change ports 19 state disable
config lldp_med notification topo_change ports 20 state disable
config lldp_med notification topo_change ports 21 state disable
config lldp_med notification topo_change ports 22 state disable
config lldp_med notification topo_change ports 23 state disable
config lldp_med notification topo_change ports 24 state disable
config lldp_med notification topo_change ports 25 state disable
config lldp_med notification topo_change ports 26 state disable
config lldp_med notification topo_change ports 27 state disable
config lldp_med notification topo_change ports 28 state disable

# IGMP_SNOOPING

enable igmp_snooping
config igmp_snooping data_driven_learning max_learned_entry 128
config igmp_snooping vlan_name TV fast_leave enable report_suppression enable
config igmp_snooping querier vlan_name TV query_interval 125 max_response_time 10 robustness_variable 2 last_member_query_interval 1 state disable version 2
config igmp_snooping data_driven_learning vlan_name TV state disable aged_out disable expiry_time 180
 config cpu_filter l3_control_pkt 1-24 dvmrp state enable
 config cpu_filter l3_control_pkt 1-24 pim state enable
 config cpu_filter l3_control_pkt 1-24 igmp_query state enable

# MLDSNP

config mld_snooping data_driven_learning max_learned_entry 128

# 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 30
config authen parameter attempt 3
disable authen_policy
config accounting service network state disable
config accounting service shell state disable
config accounting service system state disable

# DHCP_LOCAL_RELAY

disable dhcp_local_relay

# AAA_LOCAL_ENABLE_PASSWORD

# AAA ADMIN PWD LIST
config admin local_enable



# AAA ADMIN PWD END

# DHCP_RELAY

enable dhcp_relay
config dhcp_relay hops 1 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 user_define 0112
config dhcp_relay option_60 state disable
config dhcp_relay option_61 state disable
config dhcp_relay option_60 default mode drop
config dhcp_relay option_61 default drop
config dhcp_relay add vlanid 22 10.0.100.1

# NDP

config ipv6 nd ns ipif System retrans_time 0

# ARP

config arp_aging time 20
config gratuitous_arp send ipif_status_up disable
config gratuitous_arp send dup_ip_detected disable
config gratuitous_arp learning disable
enable gratuitous_arp ipif System log

# IGMP_AC


# DNSR

disable dnsr
config dnsr primary nameserver 0.0.0.0
config dnsr secondary nameserver 0.0.0.0
disable dnsr cache
disable dnsr static

# ROUTE

enable local_route ipv4
disable local_route ipv6
create iproute default 10.0.100.15 1 primary

# PROUTE


# DHCP_SERVER

config dhcp ping_packets 2
config dhcp ping_timeout 100
disable dhcp_server

# RELAY6

config dhcpv6_relay hop_count  4
disable dhcpv6_relay

#-------------------------------------------------------------------
#             End of configuration file for DES-3528
#-------------------------------------------------------------------


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DES-3528 DHCP-Snooping + IPMB
СообщениеДобавлено: Ср янв 11, 2012 09:48 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Чт фев 12, 2009 14:59
Сообщений: 9482
Откуда: Ryazan
Уточните, пожалуйста, какая ОС у абонента.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DES-3528 DHCP-Snooping + IPMB
СообщениеДобавлено: Ср янв 11, 2012 14:25 
Не в сети

Зарегистрирован: Пн ноя 27, 2006 19:25
Сообщений: 265
Откуда: Крым
ОС Виндовс 7.

Сменили mode acl на mode arp в биндинге и убрали порт 15 из запрещающего правила в АЦЛ-профиле 10 - вроде помогло. Понаблюдаем еще.
То есть напрашивается вывод: в 3200/3526 дхцп-релей перехватывает абонентские реквесты до проверки АЦЛ, а в 3528 сначала проверяются АЦЛ, а уже потом работает дхцп-релей. Это так?


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DES-3528 DHCP-Snooping + IPMB
СообщениеДобавлено: Ср янв 11, 2012 14:37 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Чт фев 12, 2009 14:59
Сообщений: 9482
Откуда: Ryazan
IMPB использует 17 профиль, а ваши правила в 10-ом, поэтому выполняются раньше. С DHCP Relay получается такая же ситуация.

Код:
================================================================================                                                                                                   
Profile ID: 17    Profile name: IMPBv4                                                                                                                                             
                                                                                                                                                                                   
MASK on                                                                                                                                                                           
    Source MAC      : 00-00-00-00-00-00                                                                                                                                           
    Source IP       : 0.0.0.0                                                                                                                                                     
Consumed HW Entries  : 1                                                                                                                                                           
--------------------------------------------------------------------------------                                                                                                   
Rule ID : 512     Ports: 15                                                                                                                                                       
                                                                                                                                                                                   
Match on                                                                                                                                                                           
                                                                                                                                                                                   
Action:                                                                                                                                                                           
    Deny                                                                                                                                                                           
                                                                                                                                                                                   
================================================================================   


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DES-3528 DHCP-Snooping + IPMB
СообщениеДобавлено: Ср янв 11, 2012 15:38 
Не в сети

Зарегистрирован: Пн ноя 27, 2006 19:25
Сообщений: 265
Откуда: Крым
Логично. И в 3526 у нас запрещающий профиль 10 идет после всех профилей, автоматом созданных разными службами. А как же 3200? Я там не смог найти ни одного профиля АЦЛ, созданного системой. Их можно как-то увидеть?


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DES-3528 DHCP-Snooping + IPMB
СообщениеДобавлено: Ср янв 11, 2012 15:41 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Чт фев 12, 2009 14:59
Сообщений: 9482
Откуда: Ryazan
На DES-3200 их не получится увидеть. Системные правила там имеют больший приоритет, чем пользовательские.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DES-3528 DHCP-Snooping + IPMB
СообщениеДобавлено: Пт фев 10, 2012 19:53 
Не в сети

Зарегистрирован: Вс дек 21, 2008 18:53
Сообщений: 1308
Подскажите по поведению DHCP-Snooping + IPMB на 3028/3200.
Если уже существует валидная связка IP+MAC+Port и на этом же порту клиент получает тот же IP, но с другим мак, то добавится ли новая запись и что произойдет со старой?
Есть ли время жизни у динамически созданных записей?

_________________
D-Link Switches: Tips & Tricks


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DES-3528 DHCP-Snooping + IPMB
СообщениеДобавлено: Пн фев 13, 2012 12:35 
Не в сети
Сотрудник D-LINK
Сотрудник D-LINK

Зарегистрирован: Чт фев 12, 2009 14:59
Сообщений: 9482
Откуда: Ryazan
В таком случае коммутатор удалит старую связку и создаст новую не дожидаясь окончания Lease Time, т.е. тут все определеяется DHCP сервером (если он не против выдать используемый IP другому MAC адресу до истечения Lease Time). Вот пример для IP 10.100.10.243:
Код:
DES-3200-28:5#show address_binding dhcp_snoop binding_entry                                                                                                                       
Command: show address_binding dhcp_snoop binding_entry                                                                                                                             
                                                                                                                                                                                   
IP Address      MAC Address       Lease Time (secs) Port  Status                                                                                                                   
--------------- ----------------- ----------------- ----  --------                                                                                                                 
10.100.10.243   40-61-86-FB-A8-26 73                1     Active                                                                                                                   
10.100.10.244   40-61-86-FB-A8-27 112               1     Active                                                                                                                   
                                                                                                                                                                                   
Total Entries : 2                                                                                                                                                                 
                                                                                                                                                                                   
DES-3200-28:5#show address_binding dhcp_snoop binding_entry                                                                                                                       
Command: show address_binding dhcp_snoop binding_entry                                                                                                                             
                                                                                                                                                                                   
IP Address      MAC Address       Lease Time (secs) Port  Status                                                                                                                   
--------------- ----------------- ----------------- ----  --------                                                                                                                 
10.100.10.243   40-61-86-FB-A8-55 296               1     Active                                                                                                                   
10.100.10.244   40-61-86-FB-A8-27 106               1     Active                                                                                                                   
                                                                                                                                                                                   
Total Entries : 2

P.S. В обычном случае время жизни связки равно Lease Time.


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

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


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

Сейчас этот форум просматривают: Google [Bot] и гости: 39


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

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