<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: In EXOS how can I duplicate Cisco's switchport port-security mac-address sticky command? in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/in-exos-how-can-i-duplicate-cisco-s-switchport-port-security-mac/m-p/62229#M17868</link>
    <description>Mac-Locking should work for you...&lt;BR /&gt;
&lt;BR /&gt;
To allow 2 clients/MAC Addresses to be on the port:&lt;BR /&gt;
&lt;BR /&gt;
configure mac-locking ports  first-arrival limit-learning 2&lt;BR /&gt;
&lt;BR /&gt;
There are other commands related that will allow for actions when the port goes down etc.  All listed in the CLI guide.</description>
    <pubDate>Thu, 18 Jul 2019 20:18:49 GMT</pubDate>
    <dc:creator>Bill_Handler</dc:creator>
    <dc:date>2019-07-18T20:18:49Z</dc:date>
    <item>
      <title>In EXOS how can I duplicate Cisco's switchport port-security mac-address sticky command?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/in-exos-how-can-i-duplicate-cisco-s-switchport-port-security-mac/m-p/62228#M17867</link>
      <description>We would like to lock down switchports on Exteme X450-G2's so nobody can move or connect their own equipment and obtain network access.  We currently do this today with Cisco switches and the configuration is done on a port by port basis.  Its very easy to do on Cisco simply by a few commands to tell the maximum number of mac addresses on a port (2 for example if passing through a VOIP phone).  and mac-address sticky which automatically populates with the mac address upon the device making a connection.&lt;BR /&gt;
&lt;BR /&gt;
So an example in the Cisco world for a typical end user port that passes through a phone:&lt;BR /&gt;
&lt;BR /&gt;
interface GigabitEthernet1/0/20&lt;BR /&gt;
 description D56&lt;BR /&gt;
 switchport mode access&lt;BR /&gt;
 switchport voice vlan 172&lt;BR /&gt;
 switchport port-security maximum 2&lt;BR /&gt;
 switchport port-security mac-address sticky&lt;BR /&gt;
 switchport port-security mac-address sticky 1866.da09.xxxx&lt;BR /&gt;
 switchport port-security mac-address sticky 0004.f2b2.xxxx vlan voice&lt;BR /&gt;
 switchport port-security&lt;BR /&gt;
 ip access-group acl1 in&lt;BR /&gt;
 mls qos trust dscp&lt;BR /&gt;
 spanning-tree portfast edge&lt;BR /&gt;
!&lt;BR /&gt;
&lt;BR /&gt;
Or if just one device is connected, its a little easier (you don't need to give it a maximum)&lt;BR /&gt;
interface GigabitEthernet1/0/21&lt;BR /&gt;
 description D102 &lt;BR /&gt;
 switchport mode access&lt;BR /&gt;
 switchport port-security mac-address sticky&lt;BR /&gt;
 switchport port-security mac-address sticky 9cae.d386.xxxx&lt;BR /&gt;
 switchport port-security&lt;BR /&gt;
 ip access-group acl1 in&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Lets say I need to upgrade a computer or move a computer on Gi1/0/20 above.  I would simply unplug the network port from the back of the computer and on the switch I would enter config mode and go into int Gi1/0/20 and enter:&lt;BR /&gt;
no switchport port-security mac-address sticky 1866.da09.xxxx&lt;BR /&gt;
then exit config mode.&lt;BR /&gt;
I would plug in the new machine and since that port has a maximum of 2 and I removed just one of the MAC's, upon the new machine powering on, the switch would automatically add the new mac address to the configuration.  I would wr mem and be done with it.&lt;BR /&gt;
&lt;BR /&gt;
What is the most straighforward way to accomplish the same thing in the EXOS world?&lt;BR /&gt;
&lt;BR /&gt;
Thank you for your assistance!</description>
      <pubDate>Thu, 18 Jul 2019 02:37:37 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/in-exos-how-can-i-duplicate-cisco-s-switchport-port-security-mac/m-p/62228#M17867</guid>
      <dc:creator>Keith9</dc:creator>
      <dc:date>2019-07-18T02:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: In EXOS how can I duplicate Cisco's switchport port-security mac-address sticky command?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/in-exos-how-can-i-duplicate-cisco-s-switchport-port-security-mac/m-p/62229#M17868</link>
      <description>Mac-Locking should work for you...&lt;BR /&gt;
&lt;BR /&gt;
To allow 2 clients/MAC Addresses to be on the port:&lt;BR /&gt;
&lt;BR /&gt;
configure mac-locking ports  first-arrival limit-learning 2&lt;BR /&gt;
&lt;BR /&gt;
There are other commands related that will allow for actions when the port goes down etc.  All listed in the CLI guide.</description>
      <pubDate>Thu, 18 Jul 2019 20:18:49 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/in-exos-how-can-i-duplicate-cisco-s-switchport-port-security-mac/m-p/62229#M17868</guid>
      <dc:creator>Bill_Handler</dc:creator>
      <dc:date>2019-07-18T20:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: In EXOS how can I duplicate Cisco's switchport port-security mac-address sticky command?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/in-exos-how-can-i-duplicate-cisco-s-switchport-port-security-mac/m-p/62230#M17869</link>
      <description>&lt;P&gt;Ok I found a series of commands that seem to work. &amp;nbsp;It does learn 1 MAC address. &amp;nbsp;I then plug in a different device and the port disables. &amp;nbsp;The issue is that when I plug back in the original device, the port is still down. &amp;nbsp;It’s like I have to disable and enable the port. &amp;nbsp;At least Cisco retries in 30 secs (errdisable-recovery). &amp;nbsp;The more automated the better.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 01:24:41 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/in-exos-how-can-i-duplicate-cisco-s-switchport-port-security-mac/m-p/62230#M17869</guid>
      <dc:creator>Keith9</dc:creator>
      <dc:date>2019-10-17T01:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: In EXOS how can I duplicate Cisco's switchport port-security mac-address sticky command?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/in-exos-how-can-i-duplicate-cisco-s-switchport-port-security-mac/m-p/62231#M17870</link>
      <description>&lt;P&gt;How would you like it to work?&lt;/P&gt;&lt;P&gt;I guess this is one thing you’d like:&lt;/P&gt;&lt;P&gt;configure mac-locking ports port_list learn-limit-action remain-enabled&lt;/P&gt;&lt;P&gt;From the EXOS user guide:&lt;/P&gt;&lt;P&gt;“Disable/Enable port when MAC threshold is reached&lt;/P&gt;&lt;P&gt;This command is used to configure the disabling of ports when the configured MAC threshold is met.&lt;BR /&gt;This is used for both “first arrival” and “static” MAC locking methods.&lt;BR /&gt;configure mac-locking ports port_list learn-limit-action [disable-port |remain-enabled]&lt;BR /&gt;The port is disabled when the configured MAC threshold is met. All the FDB entries learned on this port&lt;BR /&gt;are flushed as the port is disabled. This configuration can be reset using the clear mac-locking&lt;BR /&gt;disabled-state ports port_list command. When MAC locking is disabled on the port, the&lt;BR /&gt;port comes back up.&lt;/P&gt;&lt;P&gt;Clearing the Disabled-state of a Port&lt;BR /&gt;This command is used to return the behavior of first arrival MAC locking with link state change to its&lt;BR /&gt;default value of enabled.&lt;BR /&gt;clear mac-locking disabled-state ports port_list&lt;/P&gt;&lt;P&gt;Delete Static MAC Locking Entries&lt;BR /&gt;To delete MAC locking for all static MAC address or the specified static MAC address on the given port,&lt;BR /&gt;use the following command:&lt;BR /&gt;configure mac-locking ports port_list static delete station&lt;BR /&gt;[station_mac_address | all]&lt;/P&gt;&lt;P&gt;Clearing MAC Locking entries&lt;BR /&gt;The following command is used to clear MAC locking station entries for the given parameters:&lt;BR /&gt;clear mac-locking station [all | {mac station_mac_address} {firstarrival&lt;BR /&gt;| static} {ports port_list}]”&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a look in the user guide (page 898 in the 22.6 version).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Fredrik&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 02:35:39 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/in-exos-how-can-i-duplicate-cisco-s-switchport-port-security-mac/m-p/62231#M17870</guid>
      <dc:creator>FredrikB</dc:creator>
      <dc:date>2019-10-22T02:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: In EXOS how can I duplicate Cisco's switchport port-security mac-address sticky command?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/in-exos-how-can-i-duplicate-cisco-s-switchport-port-security-mac/m-p/62232#M17871</link>
      <description>&lt;P&gt;Yes I got that to work. &amp;nbsp;I was just curious if I was missing something to have the switch retry the port if the original device is plugged back in. &amp;nbsp;Cisco has an errdisable recovery timer which I think we have set to 30 (seconds). &amp;nbsp;I got the port violations to log but I can’t get netsight to email alert me. &amp;nbsp;Strange because I have no issues getting ospf alerts.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 04:00:12 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/in-exos-how-can-i-duplicate-cisco-s-switchport-port-security-mac/m-p/62232#M17871</guid>
      <dc:creator>Keith9</dc:creator>
      <dc:date>2019-10-22T04:00:12Z</dc:date>
    </item>
  </channel>
</rss>

