I manage several Juniper EX3400 switches.
When I need to connect a new computer to the Ethernet port or when I plug in an unmanaged switch into the network jack in the wall so that I can connect more than one computer using the Ethernet port to the switch I will type in the following two commands within the Juniper switch's command-line interface (Junos OS CLI).
The first command deletes the number of MAC addresses that are recognized by that particular switch port (in this case 1).
The second command increases the number of MAC addresses that are allowed to be recognized by that particular switch port (in this case 2).
However, sometimes the number of MAC addresses that are allowed to be plugged into the network port is set to an unknown value (for example 5 or 8).
I never know what this value is set to so I will have to type in the first command listed below to Delete the number of allowed MAC addresses. When this command errors out I will then increase the number following the mac-limit value by one until I finally find the correct numerical value & the command completes successfully.
So I'm hoping to find out what the exact command is that I can type into the Juniper switch command interface that will tell me exactly how many MAC addresses are currently allowed to be plugged into the switch port.
This will allow me to type in the correct numerical value for the first command that deletes the mac-limit value.
What is the correct syntax for this command?
Delete ethernet-switching-options secure-access-port interface ge-3/0/12.0 mac-limit 1
Set ethernet-switching-options secure-access-port interface ge-3/0/12.0 mac-limit 2
------------------------------
DENNIS STROBLE
------------------------------