Switching

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  DHCP Client on EX Switch Not Getting IP

    Posted 12-08-2022 14:50
    Greetings,
    We have an EX-2300-C-Poe switch that WAS getting and IP via DHCP when the uplink was plugged into port 0, but once moving the uplink port to SFP port 0/1/1 (copper GBIC), it's no longer getting DHCP, although it is passing traffic.  Below is a section of the config that might be relevant.  NOTE that (as far as I know, the GBIC is 1 Gig, not 10, however I may be mistaken.)

    interface-range all-interfaces {
            member-range ge-0/0/0 to ge-0/1/1;
            native-vlan-id 1;
            unit 0 {
                family ethernet-switching {
                    interface-mode trunk;
                    vlan {
                        members all;
                    }
                }
            }
        }
        xe-0/1/0 {
            unit 0 {
                family ethernet-switching {
                    storm-control default;
                }
            }
        }
        xe-0/1/1 {
            unit 0 {
                family ethernet-switching {
                    storm-control default;
                }
            }
        }
        irb {
            unit 0 {
                family inet {
                    dhcp {
                        vendor-id Juniper:ex2300-c-12p:HV3621310228;
                    }
                }​


    Thanks for any insights here.



  • 2.  RE: DHCP Client on EX Switch Not Getting IP

    Posted 12-09-2022 09:38
    Could you show the vlan configuration that has irb.0 as the layer 3 interface.

    And the configuration of both interfaces with inheritance

    show configuration ge-0/0/0 | display inheritance
    show configuration ge-0/1/1 | display inheritance

    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
    http://puluka.com/home
    ------------------------------



  • 3.  RE: DHCP Client on EX Switch Not Getting IP

    Posted 12-09-2022 23:08

    Thanks Steve,

    Since I can't log into the switch remotely, I can't run the show configuration commands right now (though I can early next week), but I can provide this info for the IRB.0

    default {
            vlan-id 1;
            l3-interface irb.0;
        }



  • 4.  RE: DHCP Client on EX Switch Not Getting IP

    Posted 12-10-2022 06:08
    The interface is what I expected, I'm wondering if the configuration inheritance is working with the specific configuration applied.

    Also were you able to confirm that the link came up on the new port with the sfp after the cable is moved?
    show interface terse

    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
    http://puluka.com/home
    ------------------------------



  • 5.  RE: DHCP Client on EX Switch Not Getting IP

    Posted 12-12-2022 21:53

    Thanks, Steve.

    Yes, the link was up on the SFP interface.

    I plugged the uplink back into port ge-0/0/0 and DHCP resumed.

    Here are the other two commands you requested regarding interface inheritance:

    show configuration interfaces ge-0/0/0 | display inheritance 
    ##
    ## '1' was expanded from interface-range 'all-interfaces'
    ##
    native-vlan-id 1;
    ##
    ## '0' was expanded from interface-range 'all-interfaces'
    ##
    unit 0 {
        ##
        ## 'ethernet-switching' was expanded from interface-range 'all-interfaces'
        ##
        family ethernet-switching {
            ##
            ## 'trunk' was expanded from interface-range 'all-interfaces'
            ##
            interface-mode trunk;
            ##
            ## 'vlan' was expanded from interface-range 'all-interfaces'
            ##
            vlan {
                ##
                ## 'all' was expanded from interface-range 'all-interfaces'
                ##
                members all;
            }
        }
    }

    show configuration interfaces ge-0/1/1 | display inheritance    
    ##
    ## '1' was expanded from interface-range 'all-interfaces'
    ##
    native-vlan-id 1;
    ##
    ## '0' was expanded from interface-range 'all-interfaces'
    ##
    unit 0 {
        ##
        ## 'ethernet-switching' was expanded from interface-range 'all-interfaces'
        ##
        family ethernet-switching {
            ##
            ## 'trunk' was expanded from interface-range 'all-interfaces'
            ##
            interface-mode trunk;
            ##
            ## 'vlan' was expanded from interface-range 'all-interfaces'
            ##
            vlan {
                ##
                ## 'all' was expanded from interface-range 'all-interfaces'
                ##
                members all;
            }
        }
    }



  • 6.  RE: DHCP Client on EX Switch Not Getting IP

    Posted 12-13-2022 07:32
    Well this does verify that the configuration for both interfaces is identical. 

    So I guess there is some kind of issue with the sfp itself or hardware on the port.  I would think the sfp is more likely.

    See if the sfp is recognized 
    show chassis hardware

    And can you see if traffic is seen in both directions at similar levels on both interfaces

    monitor traffic interface ge-0/0/0
    monitor traffic interface ge-0/1/1

    We can also check for any logs that may show issues
    show log messages | match sfp

    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
    http://puluka.com/home
    ------------------------------