[j-nsp] Interfaces with copper SFPs not getting torn down when partner is disabled (not correctly recognizing Media type?)

Jason Lixfeld jason-jnsp at lixfeld.ca
Mon Jul 18 16:04:44 EDT 2016


Hey there,

I’m messing around with a lab EX9204 with a EX9200-40x1G-SFP running 14.2R4.9

I’ve got two ports (on the same box) connected together with 10/100/1000T SFPs in each.

ario at lab01.juniper# show interfaces | display set
set interfaces ge-0/1/0 unit 0
set interfaces ge-0/3/0 unit 0

ario at lab01.juniper# run show lldp neighbors
Local Interface    Parent Interface    Chassis Id          Port info          System Name
ge-0/1/0           -                   30:7c:5e:96:ac:80   ge-0/3/0           lab01.juniper
ge-0/3/0           -                   30:7c:5e:96:ac:80   ge-0/1/0           lab01.juniper

[edit]
ario at lab01.juniper#

I’m noticing that if I disable either interface, it’s partner interface does not go down.  I’m not talking about Ethernet OAM, just simple layer 1 link detection with copper SFPs.  In my past experiences with various Cisco platforms, this works with no special configuration required.  One thing of interest is that the box thinks the media type is Fiber.

ario at lab01.juniper# set interfaces ge-0/1/0 disable

[edit]
ario at lab01.juniper# commit
commit complete

[edit]
ario at lab01.juniper# Jul 18 15:56:42.333 2016  lab01.juniper mib2d[2006]: %DAEMON-4-SNMP_TRAP_LINK_DOWN: ifIndex 558, ifAdminStatus down(2), ifOperStatus down(2), ifName ge-0/1/0


[edit]
ario at lab01.juniper# run show interfaces ge-0/1/0
Physical interface: ge-0/1/0, Administratively down, Physical link is Down
  Interface index: 149, SNMP ifIndex: 558
  Link-level type: Ethernet, MTU: 1514, MRU: 0, LAN-PHY mode, Speed: 1000mbps, BPDU Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled,
  Flow control: Enabled, Auto-negotiation: Enabled, Remote fault: Online, Media type: Fiber
  Device flags   : Present Running Down
  Interface flags: Hardware-Down Down SNMP-Traps Internal: 0x4000
  Link flags     : None
  CoS queues     : 8 supported, 8 maximum usable queues
  Current address: 30:7c:5e:96:a5:65, Hardware address: 30:7c:5e:96:a5:65
  Last flapped   : 2016-07-18 15:56:42 EDT (00:00:11 ago)
  Input rate     : 0 bps (0 pps)
  Output rate    : 0 bps (0 pps)
  Active alarms  : LINK
  Active defects : LINK
  Interface transmit statistics: Disabled

  Logical interface ge-0/1/0.0 (Index 345) (SNMP ifIndex 570)
    Flags: Device-Down SNMP-Traps 0x4004000 Encapsulation: ENET2
    Input packets : 3
    Output packets: 4
    Protocol multiservice, MTU: Unlimited

[edit]
ario at lab01.juniper# run show interfaces ge-0/3/0
Physical interface: ge-0/3/0, Enabled, Physical link is Up
  Interface index: 169, SNMP ifIndex: 526
  Link-level type: Ethernet, MTU: 1514, MRU: 0, LAN-PHY mode, Speed: 1000mbps, BPDU Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled,
  Flow control: Enabled, Auto-negotiation: Enabled, Remote fault: Online, Media type: Fiber
  Device flags   : Present Running
  Interface flags: SNMP-Traps Internal: 0x4000
  Link flags     : None
  CoS queues     : 8 supported, 8 maximum usable queues
  Current address: 30:7c:5e:96:a6:af, Hardware address: 30:7c:5e:96:a6:af
  Last flapped   : 2016-07-18 14:52:35 EDT (01:04:23 ago)
  Input rate     : 0 bps (0 pps)
  Output rate    : 0 bps (0 pps)
  Active alarms  : None
  Active defects : None
  Interface transmit statistics: Disabled

  Logical interface ge-0/3/0.0 (Index 348) (SNMP ifIndex 544)
    Flags: Up SNMP-Traps 0x4004000 Encapsulation: ENET2
    Input packets : 4
    Output packets: 4
    Protocol multiservice, MTU: Unlimited

[edit]
ario at lab01.juniper#

Am I missing something somewhere?

Thanks in advance.


More information about the juniper-nsp mailing list