<?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: Port-security aging time in Switching</title>
    <link>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058519#M74812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a previous poster stated the CAM &amp;amp; port-security tables have independant timers so flooding will only be an issue if you muck around with the CAM timers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the subject of port-security timers I had a similar dilema a while ago with the default port-security aging times (3-minutes).  The customer had the same issues you are seeing - i.e. move a PC from one IP-Phone to another before the aging timer had expired and you get port-security errors (default being restrict).  When we lowered the timers we then started to have IP Phone issues (Ericsson IP Phones using H.323) where there would be a delay for dialtone.  We identified this as a 'feature' of port-security due to the IP Phone not transmitting anything within the port-security timeout period and it's MAC being removed from the port-security table.  It would recover however the 1st few packets sent from the IP Phone when there was no MAC for it in the port-security table were discarded due and this resulted in the dialtone delay.&lt;/P&gt;&lt;P&gt;Cisco SCCP is much more chatty (keepalives) so I don't think you will see the same behaviour, however you may see similar behaviour with any devices that don't 'speak' much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Nov 2008 17:18:46 GMT</pubDate>
    <dc:creator>andrew.butterworth</dc:creator>
    <dc:date>2008-11-06T17:18:46Z</dc:date>
    <item>
      <title>Port-security aging time</title>
      <link>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058510#M74803</link>
      <description>&lt;P&gt;I have reduced the port-security (type inactivity) aging time to the minimum (1 minute) because when you move a data device (laptop) from an IP phone to another port of the same switch port-security blocks this device. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this new lower aging time I have to wait only one minute to move the device, but my questions are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.- With the aging time so low, there is any problem related with flooding? &lt;/P&gt;&lt;P&gt;2.- The tables mac-address-table and port-security address table are the same or they are different?&lt;/P&gt;&lt;P&gt;3.-  Do another mac entries (in CAM or in psecurity table) be deleted if they still remain connected to the switch or IP phone?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much and best regards &lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 09:35:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058510#M74803</guid>
      <dc:creator>luis.elvira</dc:creator>
      <dc:date>2019-03-06T09:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Port-security aging time</title>
      <link>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058511#M74804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Luis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) it should be able to react to a mac address flooding attack that implies sending of frames with random source MAC addresses at a moderate high rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) the tables are two and separated with the secure MAC address table much smaller (at least it was in CatOS 8.1 when I've tested 1024 secure mac addresses and 65535 mac-address-table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) it is unclear to me: if you move a device from a non secure port to a secure port the entry will be deleted on the CAM table and added in the psecurity table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope to help&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2008 19:01:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058511#M74804</guid>
      <dc:creator>Giuseppe Larosa</dc:creator>
      <dc:date>2008-09-25T19:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Port-security aging time</title>
      <link>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058512#M74805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello and thanks Giuseppe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.- When I asked if there are any problem with flooding I didn't mean flooding attacks, I meant to flooding problem of the switch due to the short aging time. Do this short aging time affect to the mac entries (also secured) that are active, and that shouldn't be aged? I think that the only problem will be CPU utilization, but I am not sure.&lt;/P&gt;&lt;P&gt;3.- If I have all ports as secured, will all ports be in the psecurity table and not in the CAM table?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thank you very much for your help, best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2008 05:38:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058512#M74805</guid>
      <dc:creator>luis.elvira</dc:creator>
      <dc:date>2008-09-26T05:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Port-security aging time</title>
      <link>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058513#M74806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Luis,&lt;/P&gt;&lt;P&gt;1) until the MAC addresses owners speak no problem, when they stop to speak if someone tries to reach them at first you have unicast flooding but as soon as they answer they are mapped again.&lt;/P&gt;&lt;P&gt;default CAM aging time is 300 seconds so it shouldn't be a very big impact on the switch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) all learned mac addresses will be in the psecurity table and not in the CAM but interswitch links, if any, should be not secured (multiple mac addresses come on them) or they fill the psecurity table that is smaller then CAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope to help&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2008 06:11:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058513#M74806</guid>
      <dc:creator>Giuseppe Larosa</dc:creator>
      <dc:date>2008-09-26T06:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Port-security aging time</title>
      <link>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058514#M74807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Giuseppe,&lt;/P&gt;&lt;P&gt;I have 288 ports configured with psecurity in the same switch (Cat6509E-Sup32-PISA). Almost all with PC+IP phone connected. I want to configure "switchport port-security aging time 1" to solve the problem of moving laptops connected to IP phones. Considering the amount of ports configured, do you still think that there will be no impact with flooding?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2008 06:25:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058514#M74807</guid>
      <dc:creator>luis.elvira</dc:creator>
      <dc:date>2008-09-26T06:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Port-security aging time</title>
      <link>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058515#M74808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Luis,&lt;/P&gt;&lt;P&gt;so you have 288 * 2 secure MAC addresses on a device like that, as far as I know, you shouldn't have problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I strongly recommend to use the option inactivity to get a better result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://www.cisco.com/en/US/docs/ios/interface/command/reference/ir_s7.html#wp1013959" target="_blank"&gt;http://www.cisco.com/en/US/docs/ios/interface/command/reference/ir_s7.html#wp1013959&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the default is absolute time but inactvity is better and should allow to move laptops with a much less impact on the switch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can apply one of two types of aging for automatically learned addresses on a secure port: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;â&amp;#128;¢Absolute aging times out the MAC address after the age-time has been exceeded, regardless of the traffic pattern. This default is for any secured port, and the age-time is set to 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;â&amp;#128;¢Inactivity aging times out the MAC address only after the age_time of inactivity from the corresponding host has been exceeded. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I actually was thinking of the inactivity option in my considerations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope to help&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2008 12:32:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058515#M74808</guid>
      <dc:creator>Giuseppe Larosa</dc:creator>
      <dc:date>2008-09-26T12:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Port-security aging time</title>
      <link>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058516#M74809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Giuseppe. I will configure inactivity. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your notes have been really helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 06:28:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058516#M74809</guid>
      <dc:creator>luis.elvira</dc:creator>
      <dc:date>2008-09-29T06:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Port-security aging time</title>
      <link>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058517#M74810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I am dealing with a similar issue. &lt;/P&gt;&lt;P&gt;I have a crazy question:&lt;/P&gt;&lt;P&gt;Does your switchport port-security work with your ip phones? I had the problem that the mac addresse were just being recorded as 'dynimicsecure' that meant that I could just unplug a phone, plug in any notebook and access my network. If your port-security works with ip phones and pc nodes using the same switch port on different vlans, please please post your config. It would be a great help as I cannot find a solution to my problem.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2008 17:00:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058517#M74810</guid>
      <dc:creator>chris.king</dc:creator>
      <dc:date>2008-11-06T17:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Port-security aging time</title>
      <link>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058518#M74811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think your problem could be the maximum MACs allowed. I have a maximum of 3 (2 will be enough, phone+pc). With this situaton it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I had the problem that if you change a notebook connected to one IP phone to another IP phone (or other switchport) the port shutdown because the phone doesn't notify that the notebook is not connected yet, and switch "sees" the same mac-address by 2 switchports (which is a port-security violation). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can short down the aging time and change to restrict mode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any way, it is my configuration ( hope help!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;interface GigabitEthernet&lt;X&gt;&lt;/X&gt;&lt;/P&gt;&lt;P&gt; description IP PHONE/PC&lt;/P&gt;&lt;P&gt; switchport&lt;/P&gt;&lt;P&gt; switchport access vlan &lt;VLAN_ID_DATA&gt;&lt;/VLAN_ID_DATA&gt;&lt;/P&gt;&lt;P&gt; switchport mode access&lt;/P&gt;&lt;P&gt; switchport nonegotiate&lt;/P&gt;&lt;P&gt; switchport voice vlan &lt;VLAN_ID_VOICE&gt;&lt;/VLAN_ID_VOICE&gt;&lt;/P&gt;&lt;P&gt; switchport port-security&lt;/P&gt;&lt;P&gt; switchport port-security maximum 3&lt;/P&gt;&lt;P&gt; switchport port-security aging time 2&lt;/P&gt;&lt;P&gt; switchport port-security violation restrict&lt;/P&gt;&lt;P&gt; switchport port-security aging type inactivity&lt;/P&gt;&lt;P&gt; spanning-tree portfast&lt;/P&gt;&lt;P&gt; spanning-tree bpduguard enable&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2008 17:17:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058518#M74811</guid>
      <dc:creator>luis.elvira</dc:creator>
      <dc:date>2008-11-06T17:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Port-security aging time</title>
      <link>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058519#M74812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a previous poster stated the CAM &amp;amp; port-security tables have independant timers so flooding will only be an issue if you muck around with the CAM timers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the subject of port-security timers I had a similar dilema a while ago with the default port-security aging times (3-minutes).  The customer had the same issues you are seeing - i.e. move a PC from one IP-Phone to another before the aging timer had expired and you get port-security errors (default being restrict).  When we lowered the timers we then started to have IP Phone issues (Ericsson IP Phones using H.323) where there would be a delay for dialtone.  We identified this as a 'feature' of port-security due to the IP Phone not transmitting anything within the port-security timeout period and it's MAC being removed from the port-security table.  It would recover however the 1st few packets sent from the IP Phone when there was no MAC for it in the port-security table were discarded due and this resulted in the dialtone delay.&lt;/P&gt;&lt;P&gt;Cisco SCCP is much more chatty (keepalives) so I don't think you will see the same behaviour, however you may see similar behaviour with any devices that don't 'speak' much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2008 17:18:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058519#M74812</guid>
      <dc:creator>andrew.butterworth</dc:creator>
      <dc:date>2008-11-06T17:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Port-security aging time</title>
      <link>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058520#M74813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the info.&lt;/P&gt;&lt;P&gt;My problem is that my port-security does not work with SecureDynamic addresses.&lt;/P&gt;&lt;P&gt;If I plug in a laptop to a port, it learns the mac but as soon as I unplug it, it dissapears without a trace although the aging time is set.&lt;/P&gt;&lt;P&gt;If you run  show port-security address after unplugging a node, does it still appear in the table although the aging time is still valid?&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2008 10:53:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058520#M74813</guid>
      <dc:creator>chris.king</dc:creator>
      <dc:date>2008-11-07T10:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Port-security aging time</title>
      <link>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058521#M74814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No it doesn't. Of course, when you disconnects a pc from your switch the mac dissapears, because of the phisical port goes down. The mac still appears if yuo have a cisco ip phone connected to the switch, and your pc connected to the ip phone, due to ip phones have their own internal switch. So, if you dissconect your pc of the ip phone, the switch still "sees" the mac of the pc connected to that port, in adition of the mac of the ip phone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2008 13:48:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058521#M74814</guid>
      <dc:creator>luis.elvira</dc:creator>
      <dc:date>2008-11-11T13:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Port-security aging time</title>
      <link>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058522#M74815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Luis.&lt;/P&gt;&lt;P&gt;So the conclusion is that if you connect a pc to the switch using port-security, you can unplug this pc and plug in a untrusted pc and then access the network. Unless of course you use sticky addresses or fixed addresses in the config.&lt;/P&gt;&lt;P&gt;If you have ip phones, you can use port security for the pcs behind the phones but if somebody unplugs an ip phone, they can also access this port.&lt;/P&gt;&lt;P&gt;Right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2008 14:04:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/port-security-aging-time/m-p/1058522#M74815</guid>
      <dc:creator>chris.king</dc:creator>
      <dc:date>2008-11-11T14:04:55Z</dc:date>
    </item>
  </channel>
</rss>

