Traskalata Posted February 12, 2016 · Report post Мне необходимо чтобы без использования DHCP релея коммутатор передавал Опцию 82 вот ниже мой конфиг При конфигурировании ориентировался вот на forum.dlink.ru/viewtopic.php?f=2&t=144244&p=765116&hilit=DES+1228ME+Option+82#p765116 #------------------------------------------------------------------- # DES-1228/ME Configuration # # Boot Version Build 1.00.B01 Firmware Version Build 1.60.B02 Hardware Version A1 # Copyright(C) 2009 D-Link Corporation. All rights reserved. #------------------------------------------------------------------- # BASIC config serial_port baud_rate 9600 auto_logout 10_minutes # ACCOUNT LIST # ACCOUNT END # PASSWORD ENCRYPTION disable password encryption config terminal_line default enable clipaging disable command logging # STORM config traffic trap both config traffic control 1-28 broadcast disable multicast disable unicast disable action drop threshold 64 countdown 0 time_interval 5 # LOOP_DETECT enable loopdetect config loopdetect recover_timer 60 config loopdetect interval 10 config loopdetect port 1-28 state enabled # 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 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 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_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 802.1p default_priority 1-28 0 config cos mapping port 1-28 ethernet 802.1p # MIRROR disable mirror config mirror port 1 delete source ports 1 both # BANDWIDTH config bandwidth_control 1-24 rx_rate no_limit tx_rate no_limit config bandwidth_control 25-28 rx_rate 1000000 tx_rate 1000000 # SYSLOG disable syslog config log_save_timing on_demand # TRAF-SEGMENTATION config traffic_segmentation 1-28 forward_list 1-28 # PACKET_FROM_CPU config mgmt_pkt_priority default # PORT config ports 1 speed auto flow_control disable state enable description "34" config ports 1-28 learning enable config ports 1-28 mdix auto config ports 2-28 speed auto flow_control disable state enable clear_description config ports 25-26 medium_type fiber speed auto flow_control disable state enable clear_description config ports 25-26 medium_type fiber learning enable # OAM # MANAGEMENT enable snmp traps enable snmp authenticate traps enable snmp linkchange_traps config snmp linkchange_traps ports all enable config snmp coldstart_traps enable config snmp warmstart_traps enable disable rmon # 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 delete snmp group public delete snmp group private delete snmp group ReadGroup delete snmp group WriteGroup config snmp engineID 800000ab031cbdb983d5ea 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 v2c read_view CommunityView notify_view CommunityView create snmp group initial v3 noauth_nopriv read_view restricted notify_view restricted create snmp group private v2c read_view CommunityView write_view CommunityView notify_view CommunityView create snmp group ReadGroup v1 read_view CommunityView notify_view CommunityView create snmp group ReadGroup v2c read_view CommunityView notify_view CommunityView create snmp group WriteGroup v1 read_view CommunityView write_view CommunityView notify_view CommunityView create snmp group WriteGroup v2c read_view CommunityView write_view CommunityView notify_view CommunityView create snmp user initial initial # VLAN disable asymmetric_vlan config vlan default delete 1-28 config vlan default advertisement enable create vlan admin tag 100 advertisement config vlan admin add tagged 25-28 create vlan abon tag 217 advertisement config vlan abon add tagged 25-28 config vlan abon add untagged 1-24 disable gvrp config gvrp 1-24 state disable ingress_checking enable acceptable_frame admit_all pvid 217 config gvrp 25-28 state disable ingress_checking enable acceptable_frame admit_all pvid 1 # 8021X disable 802.1x config 802.1x auth_protocol radius_eap config radius parameter timeout 5 retransmit 2 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 # PORT_LOCK disable port_security trap_log config port_security ports 1-28 admin_state disable max_learning_addr 1 lock_address_mode DeleteOnTimeout # PPPOE config pppoe circuit_id_insertion state disable config pppoe circuit_id_insertion ports 1-28 state enable circuit_id ip # DhcpSS config filter dhcp_server ports 1-28 state disable config filter dhcp_server trap_log disable config filter dhcp_server illegal_server_log_suppress_duration 5min # FDB config fdb aging_time 300 config multicast port_filtering_mode all filter_unregistered_groups config multicast port_filtering_mode 1-28 forward_unregistered_groups disable flood_fdb config flood_fdb log disable trap disable # MAC_ADDRESS_TABLE_NOTIFICATION config mac_notification interval 1 historysize 1 disable mac_notification config mac_notification ports 1-28 disable # STP config stp version rstp config stp maxage 20 maxhops 20 forwarddelay 15 txholdcount 6 fbpdu enable hellotime 2 lbd enable lbd_recover_timer 60 config stp priority 32768 instance_id 0 config stp mst_config_id name 1C:BD:B9:83:D5:EA revision_level 0 config stp trap new_root enable topo_change enable config stp ports 1-28 externalCost auto edge false p2p auto state enable lbd disable config stp mst_ports 1-28 instance_id 0 internalCost auto priority 128 config stp ports 1-28 fbpdu enable config stp ports 1-28 restricted_role false config stp ports 1-28 restricted_tcn false disable stp # MULTI FILTER config max_mcast_group port 1-28 max_group 64 # SAFEGUARD_ENGINE config safeguard_engine state enable 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 disable ssh # SNOOP disable igmp_snooping config igmp_snooping data_driven_learning max_learned_entry 56 config igmp_snooping vlan_name default host_timeout 260 router_timeout 260 leave_timer 2 state disable fast_leave disable config igmp_snooping data_driven_learning vlan_name default aged_out disable config igmp_snooping querier all query_interval 125 max_response_time 10 robustness_variable 2 last_member_query_interval 1 state disable config igmp_snooping vlan_name admin host_timeout 260 router_timeout 260 leave_timer 2 state disable fast_leave disable config igmp_snooping data_driven_learning vlan_name admin aged_out disable config igmp_snooping vlan_name abon host_timeout 260 router_timeout 260 leave_timer 2 state disable fast_leave disable config igmp_snooping data_driven_learning vlan_name abon aged_out disable config igmp access_authentication port 1-28 state disable config cpu_filter l3_control_pkt 1-28 all state disable # VLAN_TRUNK disable vlan_trunk config vlan_trunk ports 25-28 state enable # SMTP disable smtp # ACL create access_profile ip udp src_port 0xFFFF profile_id 1 config access_profile profile_id 1 add access_id 1 ip udp src_port 67 port 24 permit config access_profile profile_id 1 add access_id 2 ip udp src_port 67 port 25 permit config access_profile profile_id 1 add access_id 3 ip udp src_port 67 port 1 deny config access_profile profile_id 1 add access_id 4 ip udp src_port 67 port 3 deny config access_profile profile_id 1 add access_id 5 ip udp src_port 67 port 2 deny config access_profile profile_id 1 add access_id 6 ip udp src_port 67 port 4 deny config access_profile profile_id 1 add access_id 7 ip udp src_port 67 port 5 deny config access_profile profile_id 1 add access_id 8 ip udp src_port 67 port 7 deny config access_profile profile_id 1 add access_id 9 ip udp src_port 67 port 6 deny config access_profile profile_id 1 add access_id 10 ip udp src_port 67 port 8 deny config access_profile profile_id 1 add access_id 11 ip udp src_port 67 port 10 deny config access_profile profile_id 1 add access_id 12 ip udp src_port 67 port 11 deny enable cpu_interface_filtering # SNTP disable sntp config time_zone operator - hour 6 min 0 config sntp primary 0.0.0.0 secondary 0.0.0.0 poll-interval 720 config dst disable # LACP config lacp_port 1-28 mode passive config link_aggregation algorithm mac_source # ADDRBIND disable address_binding trap_log config address_binding ip_mac ports 1-28 state disable allow_zeroip disable # ARPSPOOF # IP config ipif System vlan admin ipaddress 10.0.0.38/24 state enable config ipif System dhcp_option12 state disable enable telnet 23 enable web 80 disable autoconfig # 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 # 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 # AAA 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 admin local_enable # DHCP_RELAY disable dhcp_relay config dhcp_relay hops 4 time 0 config dhcp_relay option_82 state disable config dhcp_relay option_82 check disable config dhcp_relay option_82 policy replace config dhcp_relay option_82 remote_id default # DHCP_LOCAL_RELAY enable dhcp_local_relay config dhcp_local_relay option_82 remote_id default config dhcp_local_relay vlan vlanid 217 state enable # FIRM config configuration trap save disable upload disable download disable # ROUTE create iproute default 10.0.0.167 1 #------------------------------------------------------------------- # End of configuration file for DES-1228/ME #------------------------------------------------------------------- Заранее благодарю за помощь. Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
rdc Posted February 13, 2016 · Report post перешейте в 3028 Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...
Traskalata Posted February 13, 2016 · Report post перешейте в 3028 А можно это удаленно сделать и вдруг получу такой же результат? неужели нет никого у кого оно работает. Вставить ник Quote Ответить с цитированием Share this post Link to post Share on other sites More sharing options...