Ethernet Switching
Highlighted
Ethernet Switching

Persistent MAC Causes connection issue in the same VLAN

[ Edited ]
‎10-11-2018 02:44 AM

Hello guys,

 

  I'm using EX2300 ELS with the latest version 15.1X53-D59.3. I found an issue about persisent MAC learning which causes connection issue between endpoints in the same VLAN.

 

Here is part of the configuration. I configured ge-0/0/14 has persistent-learning but not ge-0/0/0 and ge-0/0/4

----------------------------------------------------------------

switch-options {
interface ge-0/0/0.0 {
interface-mac-limit {
1;
packet-action shutdown;
}
}

 

}
interface ge-0/0/4.0 {
interface-mac-limit {
1;
packet-action shutdown;
}
}

 

interface ge-0/0/14.0 {
interface-mac-limit {
1;
packet-action shutdown;
}
persistent-learning;
}

----------------------------------------------------------------

 

  And here is the ethernet-switching interface and dhcp status.  All 3 interfaces has learned IP address, and only ge-0/0/14.0 has persistent MAC learned.

----------------------------------------------------------------

# run show ethernet-switching table

MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static, C - Control MAC
SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC)


Ethernet switching table : 7 entries, 7 learned
Routing instance : default-switch
Vlan MAC MAC Age Logical NH RTR
name address flags interface Index ID
server c0:bf:a7:b4:a6:f1 D - ge-0/0/17.0 0 0
server e8:98:6d:31:9d:00 D - ge-0/0/16.0 0 0
server e8:98:6d:31:9d:30 D - ae0.0 0 0
staff_lan 00:26:73:cd:25:4d P - ge-0/0/14.0 0 0
staff_lan 6c:4b:90:0e:b9:14 D - ge-0/0/0.0 0 0
staff_lan 94:c6:91:02:0f:eb D - ge-0/0/4.0 0 0
staff_lan e8:98:6d:31:9d:30 D - ae0.0 0 0

 

# run show ethernet-switching interface ge-0/0/0.0
Routing Instance Name : default-switch
Logical Interface flags (DL - disable learning, AD - packet action drop,
LH - MAC limit hit, DN - interface down,
MMAS - Mac-move action shutdown,
SCTL - shutdown by Storm-control )

Logical Vlan TAG MAC STP Logical Tagging
interface members limit state interface flags
ge-0/0/0.0 1 AD,LH untagged
staff_lan 81 16384 Forwarding untagged


# run show ethernet-switching interface ge-0/0/4.0
Routing Instance Name : default-switch
Logical Interface flags (DL - disable learning, AD - packet action drop,
LH - MAC limit hit, DN - interface down,
MMAS - Mac-move action shutdown,
SCTL - shutdown by Storm-control )

Logical Vlan TAG MAC STP Logical Tagging
interface members limit state interface flags
ge-0/0/4.0 1 AD,LH untagged
staff_lan 81 16384 Forwarding untagged


# run show ethernet-switching interface ge-0/0/14.0
Routing Instance Name : default-switch
Logical Interface flags (DL - disable learning, AD - packet action drop,
LH - MAC limit hit, DN - interface down,
MMAS - Mac-move action shutdown,
SCTL - shutdown by Storm-control )

Logical Vlan TAG MAC STP Logical Tagging
interface members limit state interface flags
ge-0/0/14.0 1 AD,LH untagged
staff_lan 81 16384 Forwarding untagged

 

# run show dhcp server binding detail

Client IP Address: 192.168.81.11
Hardware Address: 00:26:73:cd:25:4d
State: BOUND(LOCAL_SERVER_STATE_BOUND)
Protocol-Used: DHCP
Lease Expires:
Lease Expires in: 81447 seconds
Lease Start:
Last Packet Received:
Incoming Client Interface: irb.81:ge-0/0/14.0
Server Identifier: 192.168.81.2
Session Id: 10
Client Pool Name: desktop-pool
Client IP Address: 192.168.81.24
Hardware Address: 6c:4b:90:0e:b9:14
State: BOUND(LOCAL_SERVER_STATE_BOUND)
Protocol-Used: DHCP
Lease Expires:
Lease Expires in: 75835 seconds
Lease Start:
Last Packet Received:
Incoming Client Interface: irb.81:ge-0/0/0.0
Server Identifier: 192.168.81.2
Session Id: 7
Client Pool Name: desktop-pool
Client IP Address: 192.168.81.25
Hardware Address: 94:c6:91:02:0f:eb
State: BOUND(LOCAL_SERVER_STATE_BOUND)
Protocol-Used: DHCP
Lease Expires:
Lease Expires in: 78975 seconds
Lease Start:
Last Packet Received:
Incoming Client Interface: irb.81:ge-0/0/4.0
Server Identifier: 192.168.81.2
Session Id: 8
Client Pool Name: desktop-pool

----------------------------------------------------------------

 

  Based on the above configuration, I can ping from the host at ge-0/0/0.0 (192.168.81.24) to the host at ge-0/0/4.0 (192.168.81.25). However, I am not able ping from the host at ge-0/0/0.0 (192.168.81.24) to the host at ge-0/0/14.0 (192.168.81.11).

 

----------------------------------------------------------------

C:\Users\user>ping 192.168.81.11

Pinging 192.168.81.11 with 32 bytes of data:
Reply from 192.168.81.24: Destination host unreachable.
Request timed out.
Reply from 192.168.81.24: Destination host unreachable.
Reply from 192.168.81.24: Destination host unreachable.

Ping statistics for 192.168.81.11:
Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),

 

C:\Users\user>ping 192.168.81.25

Pinging 192.168.81.25 with 32 bytes of data:
Reply from 192.168.81.25: bytes=32 time<1ms TTL=128
Reply from 192.168.81.25: bytes=32 time<1ms TTL=128
Reply from 192.168.81.25: bytes=32 time<1ms TTL=128
Reply from 192.168.81.25: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.81.25:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

 

C:\Users\user>arp -a

Interface: 192.168.81.24 --- 0xc
Internet Address Physical Address Type
192.168.81.1 e8-98-6d-31-9d-30 dynamic
192.168.81.2 c0-bf-a7-b4-a6-f1 dynamic
192.168.81.25 94-c6-91-02-0f-eb dynamic
192.168.81.255 ff-ff-ff-ff-ff-ff static
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.251 01-00-5e-00-00-fb static
224.0.0.252 01-00-5e-00-00-fc static
239.255.255.250 01-00-5e-7f-ff-fa static
255.255.255.255 ff-ff-ff-ff-ff-ff static

 

  Can somebody please help? Thank you!!!

Attachments

2 REPLIES
Ethernet Switching

Re: Persistent MAC Causes connection issue in the same VLAN

‎10-11-2018 03:32 AM

Hello,

Well, according to Your own outputs, ge-0/0/14.0 has hit mac-limit 1  and it drops the packets:

 

 

# run show ethernet-switching interface ge-0/0/14.0
Routing Instance Name : default-switch
Logical Interface flags (DL - disable learning, AD - packet action drop,
LH - MAC limit hit, DN - interface down,
MMAS - Mac-move action shutdown,
SCTL - shutdown by Storm-control )

Logical Vlan TAG MAC STP Logical Tagging
interface members limit state interface flags
ge-0/0/14.0 1 AD,LH untagged

 

 

So, it is not persistent MAC issue You are seeing, it is mac-limit issue.

Please remove mac-limit, re-test only with persistent MAC and report back.

HTH

Thx
Alex

 

_____________________________________________________________________

Please ask Your Juniper account team about Juniper Professional Services offerings.
Juniper PS can design, test & build the network/part of the network as per Your requirements

+++++++++++++++++++++++++++++++++++++++++++++

Accept as Solution = cool !
Accept as Solution+Kudo = You are a Star !
Ethernet Switching

Re: Persistent MAC Causes connection issue in the same VLAN

‎10-11-2018 07:18 PM

Hello Alex,

 

  Thanks for your advice. I deleted switch-options and tested with positive result.

  Next, I configured only interface ge-0/0/14.0 has persistent-learning. There is no more mac limit hit and packet action drop. However, the result goes negative again. 

 

# show switch-options
interface ge-0/0/14.0 {
persistent-learning;
}

 

# run show ethernet-switching interface ge-0/0/14
Routing Instance Name : default-switch
Logical Interface flags (DL - disable learning, AD - packet action drop,
LH - MAC limit hit, DN - interface down,
MMAS - Mac-move action shutdown,
SCTL - shutdown by Storm-control )

Logical Vlan TAG MAC STP Logical Tagging
interface members limit state interface flags
ge-0/0/14.0 16384 untagged
staff_lan 81 16384 Forwarding untagged

 

 

Attachments