Comware

 View Only
Expand all | Collapse all

Help config dhcp-snooping sw 5500G-EI

This thread has been viewed 0 times
  • 1.  Help config dhcp-snooping sw 5500G-EI

    Posted Dec 13, 2018 02:52 PM

    Greetings

    I am trying to configure dhcp-snooping on a 3Com 5500G-EI switch, however the test machine does not get ip address.
    I'm posting the configuration, and the debug log of the switch.
    If someone can help me ...
    Note: I already use the dhcp-snooping service running on my network, but in Switch 4500 26-Port Software Version 3Com OS V3.03.02s168p21, and it works perfectly.
    I have already confronted the configuration in both models, it is exactly the same but it does not work on the 5500G.
    I downloaded the manual and checked, everything seems correct, I do not know what it can be.

    CONFIG

    <swtst>display version
    3Com Corporation
    Switch 5500G-EI Software Version 3Com OS V3.03.02s168p23
    Copyright (c) 2004-2014 3Com Corporation and its licensors, All rights reserved.
    Switch 5500G-EI uptime is 0 week, 0 day, 1 hour, 44 minutes

    Switch 5500G-EI 24-Port with 1 Processor
    128M bytes SDRAM
    16384K bytes Flash Memory
    Config Register points to FLASH

    Hardware Version is REV.C
    CPLD Version is 002
    Bootrom Version is 5.05
    [Subslot 0] 24GE+4SFP Hardware Version is 00.00.00
    [Subslot 2] 2 STACK Hardware Version is REV.C
    ***********************************************************************

    <swtst>
    %Jan 1 01:37:26:521 2005 swtst SHELL/5/LOGIN:- 1 - Console(aux0) in unit1 login
    <swtst>disp cu
    #
    sysname swtst
    #
    password-control login-attempt 3 exceed lock-time 120
    #
    dhcp-server 0 ip 172.31.4.1
    #
    igmp-snooping enable
    #
    dhcp-snooping information enable
    dhcp-snooping information packet-format standard
    dhcp-snooping information remote-id sysname
    dhcp-snooping information strategy replace
    #
    radius scheme system
    #
    domain system
    #
    vlan 1
    #
    vlan 318
    #
    interface Vlan-interface318
    ip address 172.31.4.18 255.255.255.248
    dhcp-server 0
    #
    interface GigabitEthernet1/0/1
    stp edged-port enable
    broadcast-suppression pps 3000
    port access vlan 318
    #
    interface GigabitEthernet1/0/24
    stp edged-port enable
    broadcast-suppression pps 3000
    port access vlan 318
    dhcp-snooping trust
    #
    dhcp-snooping
    #
    ip route-static 0.0.0.0 0.0.0.0 172.31.4.17 preference 60
    #
    user-interface aux 0 7
    user-interface vty 0 4
    #
    return
    <swtst>
    ***********************************************************************
    <swtst>disp dhcp-snooping
    DHCP-Snooping is enabled.
    DHCP snooping option 82 is enabled and effective.
    DHCP snooping option 82 strategy is replace.
    The client binding table for all untrusted ports.
    Type : D--Dynamic , S--Static
    Unit ID : 1
    Type IP Address MAC Address Remaining VLAN Interface
    lease
    ==== =============== =============== ========= ==== =================
    --- 0 dhcp-snooping item(s) of unit 1 found ---
    <swtst>
    ***********************************************************************

    <swtst>disp dhcp-snooping trust
    DHCP-Snooping is enabled.
    DHCP-Snooping trust become effective.
    Interface Trusted
    ===================== =================
    GigabitEthernet1/0/24 Trusted

    <swtst>

    ****** debugging dhcp-snooping information ******

    #Jan 1 01:11:45:984 2005 swtst L2INF/2/PORT LINK STATUS CHANGE:- 1 -
    Trap 1.3.6.1.6.3.1.1.5.4(linkUp): portIndex is 4227625, ifAdminStatus is 1, ifOperStatus is 1

    %Jan 1 01:11:46:195 2005 swtst L2INF/5/PORT LINK STATUS CHANGE:- 1 -
    GigabitEthernet1/0/1 is UP

    *0.4309104 swtst DHCP-SNP/8/debug_information:- 1 -
    Handle option82: Option code is 255.

    *0.4309224 swtst DHCP-SNP/8/debug_information:- 1 -
    Handle option82: ADD!

    *0.4309324 swtst DHCP-SNP/8/debug_information:- 1 -
    ADD option82: VLAN = 318, port = 0, MAC = 00-00-00-00-00-00

    *0.4309476 swtst DHCP-SNP/8/debug_information:- 1 -
    Handle option82: Option code is 82.

    *0.4309596 swtst DHCP-SNP/8/debug_information:- 1 -
    DEL option82: delete option82 successful

    *0.4319005 swtst DHCP-SNP/8/debug_information:- 1 -
    Handle option82: Option code is 255.

    *0.4319125 swtst DHCP-SNP/8/debug_information:- 1 -
    Handle option82: ADD!

    *0.4319226 swtst DHCP-SNP/8/debug_information:- 1 -
    ADD option82: VLAN = 318, port = 0, MAC = 00-00-00-00-00-00

    *0.4319376 swtst DHCP-SNP/8/debug_information:- 1 -
    Handle option82: Option code is 82.

    *0.4319497 swtst DHCP-SNP/8/debug_information:- 1 -
    DEL option82: delete option82 successful

    *0.4335025 swtst DHCP-SNP/8/debug_information:- 1 -
    Handle option82: Option code is 255.

    *0.4335145 swtst DHCP-SNP/8/debug_information:- 1 -
    Handle option82: ADD!

    *0.4335246 swtst DHCP-SNP/8/debug_information:- 1 -
    ADD option82: VLAN = 318, port = 0, MAC = 00-00-00-00-00-00

    *0.4335398 swtst DHCP-SNP/8/debug_information:- 1 -
    Handle option82: Option code is 82.

    *0.4335519 swtst DHCP-SNP/8/debug_information:- 1 -
    DEL option82: delete option82 successful



  • 2.  RE: Help config dhcp-snooping sw 5500G-EI

    Posted Jan 11, 2019 07:38 AM

    Hi,

     

    Looks like this switch and dhcp servers are in different subnets

    1) Check the reachability of dhcp server from this switch

    2) I guess GigabitEthernet1/0/24 is your uplink towards your L3 Swich? disable the stp edge port if its an uplink port and try disabling dhcp snooping (for testing purpose) and check if the client is getting ip address.

    3) If still issue, capture the wireshark traces to see the dhcp packets