Switching

last person joined: yesterday 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  lldp off of a stack

    Posted 07-22-2015 14:03

    I ran into something wierd that baffles me, can anyone guess what I flubbed up?

     

    So I have an HP Switch connected to a Juniper Stack (two ex4300's) via 4 links.

     

    I have two going to port 46 and 47 on both units, so esentually its

     

    HP(port45) to Juniper Switch 1 (port 46)

    HP(port46) to Juniper Switch 1 (port 47)

    HP(port47) to Juniper Switch 2 (port 46)

    HP(port48) to Juniper Switch 2 (Port 47)

     

    lldp is enabled everywhere:

     

    protocols {
    lldp {
    interface all;
    }

     

    and I even tried putting one of the ports in the other switch in the stack in the default vlan 

     

    ge-1/0/47 {
    unit 0 {
    family ethernet-switching {
    vlan {
    members default;
    }
    storm-control default;
    }
    }
    }

     

    but no matter what the output is always the following. I know its stacked but it doesn't seem to care about the other two interfaces. I'm kind of lost here, shouldn't it show all 4?

     

    {master:0}
    root> show lldp neighbors
    Local Interface Parent Interface Chassis Id Port info System Name
    ge-0/0/46 - 00:15:60:23:94:00 45 ProCurve Switch 2650
    ge-0/0/47 - 00:15:60:23:94:00 46 ProCurve Switch 2650

    {master:0}
    root>

     

    expecting also, but not there

    ge-1/0/46 - 00:15:60:23:94:00 45 ProCurve Switch 2650
    ge-1/0/47 - 00:15:60:23:94:00 46 ProCurve Switch 2650



  • 2.  RE: lldp off of a stack

    Posted 07-22-2015 14:29
    Hey, try this out :

    switch# set virtual-chassis no-split-detection

    if not , please provide us the configuration .


  • 3.  RE: lldp off of a stack

    Posted 07-23-2015 06:14
      |   view attached

    thanks! Well that didn't work (or at least didn't appear to). I attatched the config, which is clean with the exception of things that I added to try to help lldp along. Its a test setup currently so its pretty bare bones. The HP only has default vlan 1, no configuration (other than spantree being enabled)

     

    I am noticing that one of the interfaces ge-1/0/47 is showing up as an interface because as I understand it Juniper will not recognize ports off the master until they are assigned to a VLAN? Its showing up as a stack interface at least.

     

    root> show interfaces terse | grep "up    up"
    vcp-255/1/1             up    up
    vcp-255/1/1.32768       up    up
    pfe-0/0/0               up    up
    pfe-0/0/0.16383         up    up   inet
    pfh-0/0/0               up    up
    pfh-0/0/0.16383         up    up   inet
    ge-0/0/46               up    upge-0/0/46.0             up    up   eth-switch
    ge-0/0/47               up    upge-0/0/47.0             up    up   eth-switch
    pfe-1/0/0               up    up
    pfe-1/0/0.16383         up    up   inet
    pfh-1/0/0               up    up
    pfh-1/0/0.16383         up    up   inet
    ge-1/0/46               up    upbme0                    up    up
    bme0.0                  up    up   inet     128.0.0.1/2
    dsc                     up    up
    gre                     up    up
    ipip                    up    up
    irb                     up    up
    irb.0                   up    up   inet
    jsrv                    up    up
    jsrv.1                  up    up   inet     128.0.0.127/2
    lo0                     up    up
    lo0.16385               up    up   inet
    lsi                     up    up
    mtun                    up    up
    pimd                    up    up
    pime                    up    up
    tap                     up    up

     

    Just a quick drawing

            +--------------------------+           
    +-ge0/47|       Juniper Stack      |           
    | +---46|                       0  |           
    | |     +--------------------------+           
    | |     |                          |ge1/47----+
    | |     |                       1  |ge1/46-+  |
    | |     +--------------------------+       |  |
    | |                                        |  |
    | |                                        |  |
    | |                                        |  |
    | |                                        |  |
    | |         +------------------+           |  |
    | +-------47|       HP         |45---------+  |
    +---------48|                  |46------------+
                +------------------+               

     

    Attachment(s)

    txt
    lldp_config.txt   15 KB 1 version


  • 4.  RE: lldp off of a stack

    Posted 07-23-2015 10:11

    It's probably being blocked by spanning tree.  Try running this on the EX stack:

     

    show spanning-tree interface

     

    You'll probably see the one showing FWD and the other one showing BLK



  • 5.  RE: lldp off of a stack
    Best Answer

    Posted 07-23-2015 11:20

    hm.. ok lemme try ... This is what I got.

     

    root> show spanning-tree interface

    (-snipped-)

    ge-0/0/45 128:535 128:535 32768.88a25ec89240 200000000 BLK DIS
    ge-0/0/46 128:536 128:45 0.001560239400 200000 FWD ROOT
    ge-0/0/47 128:537 128:46 0.001560239400 200000 BLK ALT
    ge-1/0/47 128:547 128:48 0.001560239400 200000 BLK ALT

     

    I'm guessing though that it would show it in LLDP anyway, otherwise I would only see one neighbor with spanning tree going. I plan on making all four connections LAG eventually.

     

    root> show lldp neighbors
    Local Interface Parent Interface Chassis Id Port info System Name
    ge-0/0/46 - 00:15:60:23:94:00 45 ProCurve Switch 2650
    ge-0/0/47 - 00:15:60:23:94:00 46 ProCurve Switch 2650

     

    I tried moving one connection in the stack to the master one and that one suddenly appeared in the LLDP neighbor table.. so I am fairly sure its something i'm missing that is stack related.

     

    UPDATE:

    not sure what I did entirely, but I got this to work. I cleared out config, restacked, made sure I was looking at the right port, and added the interface to the configuration since it was missing. I'm not thrilled in how when you add a switch to the stack it means nothing in the config really, but as soon as I included it in the configuration it worked as expected.

     

    So the ports were ge/0/0/46 and ge/1/0/46 (ge-0/0/46 was showing up but not ge-1/0/46)

     

    then I added the port manually

    ge-1/0/46 {
        unit 0 {
            family ethernet-switching {
                vlan {
                    members default;
                }
            }
        }
    }

    then did a commit syncronize, and that seemed to do the trick.

     

    {master:0}[edit]
    root# run show lldp neighbors
    Local Interface Parent Interface Chassis Id Port info System Name
    ge-1/0/46 - 00:15:60:23:94:00 47 ProCurve Switch 2650
    ge-0/0/46 - 00:15:60:23:94:00 48 ProCurve Switch 2650

     

    still unsure what I did wrong but ... oh well.. thanks for trying to help everyone!