networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Wed Aug 03, 2011 1:43 pm 
Offline
New Member
New Member

Joined: Tue Jun 14, 2011 12:55 pm
Posts: 38
Certs: CCNA
I noticed something that I thought were a bit strange at work today. For some reason, all of the ports on the switch had the MAC address table entries as static, except the inter switch ports that had MAC addresses entered as dynamic. I checked with one of my colleagues at work, and he said that its entered as static when the device is connected directly to the switch, but dynamic when it is learned via another switch. I have had a look on the internet but nowhere seems to support this claim. My understanding was that its dynamic when the table is populated with the source MAC from a frame received on that interface, and static when you explicitly enter the entry yourself.

Could someone clarify this? I'm certain I've seen entries entered as dynamic when the device is connected directly to the switch,.

Thanks for your help!


Top
 Profile  
 
PostPosted: Wed Aug 03, 2011 1:49 pm 
Offline
Moderator
Moderator
User avatar

Joined: Mon Apr 07, 2008 10:38 am
Posts: 9390
Location: Orlando, FL
Certs: CCNP RS, CCNP DC, CCDP, CCIP
What your coworker said is bullshit.

I've always understood it the same as you, but with the switchport MACs showing as static too, although after seeing some stuff last week, I'm not convinced that this is right either.

_________________
http://blog.alwaysthenetwork.com


Top
 Profile  
 
PostPosted: Wed Aug 03, 2011 1:53 pm 
Offline
Senior Member
Senior Member

Joined: Wed Jan 26, 2011 3:38 pm
Posts: 386
Location: New Hampshire
port security with "sticky" might do this? Never used it myself, but it sounds vaguely familiar...


Top
 Profile  
 
PostPosted: Wed Aug 03, 2011 1:56 pm 
Online
Post Whore
Post Whore
User avatar

Joined: Mon Jun 15, 2009 9:48 am
Posts: 2882
Location: Lynchburg VA
Certs: CC\NP\DP\IP\NA-Security\NA-Voice
chrismarget wrote:
port security with "sticky" might do this? Never used it myself, but it sounds vaguely familiar...


sounds right
what I remember of sticky is that it goes though and associates the MAC addresses currently connected to the port and puts them into the running config

_________________
Freedom to all the people. Brave, true and strong.
Freedom to all the people. Unless I think you're wrong

dhimes.com


Top
 Profile  
 
PostPosted: Wed Aug 03, 2011 1:59 pm 
Offline
New Member
New Member

Joined: Tue Jun 14, 2011 12:55 pm
Posts: 38
Certs: CCNA
What do you mean when you say 'with the switchport MACs showing as static too'? Are you refering to the CPU entries?

Chris - on one switch I noticed that 'switchport security' had been configured, but no security settings. I could move devices around to other ports with no trouble.

Thanks for your reply. I wasnt happy about the explanation he gave; just didnt sound right.


Top
 Profile  
 
PostPosted: Wed Aug 03, 2011 2:05 pm 
Offline
Senior Member
Senior Member
User avatar

Joined: Mon May 30, 2011 1:51 pm
Posts: 387
Location: AR, USA
Certs: ccna, ccna security, ccna voice, ccnp, ccip
correct on sticky mac it will make the entry STATIC

another way is to enter a STATIC entry into the table, cool little known feature you can use this to DROP, nice way to block a MAC address:

Switch(config)#mac address-table static 0001.0002.0003 vlan 666 drop
Switch(config)#do sh mac address-table | i STATIC
All 0100.0ccc.cccc STATIC CPU
All 0100.0ccc.cccd STATIC CPU
All 0180.c200.0000 STATIC CPU
All 0180.c200.0001 STATIC CPU
All 0180.c200.0002 STATIC CPU
All 0180.c200.0003 STATIC CPU
All 0180.c200.0004 STATIC CPU
All 0180.c200.0005 STATIC CPU
All 0180.c200.0006 STATIC CPU
All 0180.c200.0007 STATIC CPU
All 0180.c200.0008 STATIC CPU
All 0180.c200.0009 STATIC CPU
All 0180.c200.000a STATIC CPU
All 0180.c200.000b STATIC CPU
All 0180.c200.000c STATIC CPU
All 0180.c200.000d STATIC CPU
All 0180.c200.000e STATIC CPU
All 0180.c200.000f STATIC CPU
All 0180.c200.0010 STATIC CPU
All ffff.ffff.ffff STATIC CPU
44 00a0.2109.5290 STATIC Gi1/0/1
119 0013.7264.2676 STATIC Gi1/0/2
119 0060.160d.416f STATIC Gi1/0/4
119 0060.160d.62e4 STATIC Gi1/0/6
666 0001.0002.0003 STATIC Drop

Switch#sh run int g1/0/6 | i mac-address
switchport port-security mac-address sticky
switchport port-security mac-address sticky 0060.160d.62e4

_________________
"With sufficient thrust, pigs fly just fine..." - RFC 1925


Top
 Profile  
 
PostPosted: Thu Apr 19, 2012 6:07 am 
Offline
New Member
New Member

Joined: Thu Apr 19, 2012 5:51 am
Posts: 1
Certs: ccna
All the ports on the switch has the mac address table entries as static and inter switch ports as dynamic , this is strange but is true atleast for catalyst 3560 & 2960 as it has happened in my case . I havent made any entry as static though it is showing as static in mac address table.


Top
 Profile  
 
PostPosted: Thu Apr 19, 2012 6:19 am 
Offline
Ultimate Member
Ultimate Member
User avatar

Joined: Thu Jan 13, 2011 5:10 pm
Posts: 984
Location: Leeds, UK
Certs: CCIE R&S #38338, CCNP, CCIP
Are you using port security on the switches showing as static entries?

_________________
---
David
CCIE R&S #38338, CCIP, CCNP

http://networkbroadcast.co.uk - My Blog
http://twitter.com/davidrothera


Top
 Profile  
 
PostPosted: Tue May 08, 2012 8:14 am 
Offline
New Member
New Member

Joined: Tue May 08, 2012 8:11 am
Posts: 3
I have the same issue like yours too.
It will list as static whereby i have not configured any static mac on my router.
As far as i understand, once the frame enters, it will list out the source mac and this will be populated in the CAM table as dynamic but instead, this will be on static and funny thing is no static mac has been configured.

Any idea peeps ? i have input port security inside my configs


Top
 Profile  
 
PostPosted: Tue May 08, 2012 2:23 pm 
Offline
Ultimate Member
Ultimate Member
User avatar

Joined: Thu Jan 13, 2011 5:10 pm
Posts: 984
Location: Leeds, UK
Certs: CCIE R&S #38338, CCNP, CCIP
virgilio wrote:
I have the same issue like yours too.
It will list as static whereby i have not configured any static mac on my router.
As far as i understand, once the frame enters, it will list out the source mac and this will be populated in the CAM table as dynamic but instead, this will be on static and funny thing is no static mac has been configured.

Any idea peeps ? i have input port security inside my configs


Do you have anything like 'switchport port-security mac-address sticky' in your config anywhere?

_________________
---
David
CCIE R&S #38338, CCIP, CCNP

http://networkbroadcast.co.uk - My Blog
http://twitter.com/davidrothera


Top
 Profile  
 
PostPosted: Tue May 08, 2012 4:41 pm 
Offline
Member
Member

Joined: Tue Apr 29, 2008 7:22 pm
Posts: 184
What version of IOS are you using? You might have a buggy dev version or something. IOS just doesnt make static MAC's unless you instruct it to in various ways.

Why not post a sanitized config here for us to look at. I am not expert but I really know my way around a switch.

_________________
Awesomesauce!!!!


Top
 Profile  
 
PostPosted: Tue May 08, 2012 9:23 pm 
Offline
New Member
New Member

Joined: Tue May 08, 2012 8:11 am
Posts: 3
xxxx#sh mac-address-table int fastEthernet 1/10

Legend: * - primary entry

age - seconds since last seen

n/a - not available



vlan mac address type learn age ports

------+----------------+--------+-----+----------+--------------------------

Module 3:

* 2110 0026.cb7c.9950 static Yes - Fa1/10

Module 4:

* 2110 0026.cb7c.9950 static Yes - Fa1/10

Active Supervisor:

* 2110 0026.cb7c.9950 static Yes - Fa1/10

Standby Supervisor:

* 2110 0026.cb7c.9950 static Yes - Fa1/10



xxxx#sh run | i mac-address

mac-address-table synchronize

mac-address-table aging-time 480

mac-address-table static 0018.6300.1cd1 vlan 2802 interface FastEthernet8/2

mac-address-table static 0018.6300.1cd1 vlan 2928 interface FastEthernet9/28

xxxx#

xxxx#sh int fa1/10

FastEthernet1/10 is up, line protocol is up (connected)

Hardware is C7600 100Mb 802.3, address is 588d.09e0.cf89 (bia 588d.09e0.cf89)


xxxx#sh run int fa1/10

Building configuration...



Current configuration : 546 bytes

!

interface FastEthernet1/10

description xxxxx

switchport

switchport access vlan 2110

switchport mode access

switchport nonegotiate

switchport port-security

switchport port-security maximum 15

switchport port-security aging time 5

switchport port-security violation restrict

switchport port-security aging type inactivity

bandwidth 3000

load-interval 30

duplex full

mls qos trust dscp

storm-control broadcast level 10.00

no cdp enable

service-policy input 3M_ingress

end


Top
 Profile  
 
PostPosted: Wed May 09, 2012 7:50 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Tue Aug 21, 2007 2:15 pm
Posts: 8279
Location: Frederick MD
Certs: Instanity
that explains it.

_________________
"If you're good at anticipating the human mind. It leaves nothing to chance."
-Jigsaw


Top
 Profile  
 
PostPosted: Wed May 09, 2012 10:14 pm 
Offline
New Member
New Member

Joined: Tue May 08, 2012 8:11 am
Posts: 3
Hi ristau5741, can you explain and advice your remark below ?


Top
 Profile  
 
PostPosted: Thu May 10, 2012 12:35 am 
Online
Post Whore
Post Whore
User avatar

Joined: Thu Dec 30, 2010 2:05 pm
Posts: 1129
Location: Stockholm, SE
Certs: CCNP, CCNP SP, CCDA, CCNA DC, CCNA W, HP MASE
virgilio wrote:
Hi ristau5741, can you explain and advice your remark below ?

port-security.

Sent from my LT26i using Tapatalk 2

_________________
som om sinnet hade svartnat för evigt.


Top
 Profile  
 
PostPosted: Tue May 22, 2012 3:59 pm 
Offline
New Member
New Member

Joined: Mon May 21, 2012 3:46 pm
Posts: 3
Certs: CCNP
Static Mac address has no relation with any of ports. Cisco assigns these Mac addresses to cpu. This helps the different application which runs under switch. for every application has specific Mac address.


In my whole carrier no 1 ask this question to me. I appreciate the 1 who asked this q. and also I hope it solve ur conclusion also....

SAM.


Top
 Profile  
 
PostPosted: Tue May 22, 2012 4:09 pm 
Offline
Ultimate Member
Ultimate Member
User avatar

Joined: Thu Jan 13, 2011 5:10 pm
Posts: 984
Location: Leeds, UK
Certs: CCIE R&S #38338, CCNP, CCIP
shahzad537 wrote:
Static Mac address has no relation with any of ports. Cisco assigns these Mac addresses to cpu. This helps the different application which runs under switch. for every application has specific Mac address.


In my whole carrier no 1 ask this question to me. I appreciate the 1 who asked this q. and also I hope it solve ur conclusion also....

SAM.


I think the OP was referring to the STATIC entries not the CPU entries...

_________________
---
David
CCIE R&S #38338, CCIP, CCNP

http://networkbroadcast.co.uk - My Blog
http://twitter.com/davidrothera


Top
 Profile  
 
PostPosted: Wed May 23, 2012 1:00 pm 
Offline
New Member
New Member

Joined: Mon May 21, 2012 3:46 pm
Posts: 3
Certs: CCNP
davidrothera wrote:
shahzad537 wrote:
Static Mac address has no relation with any of ports. Cisco assigns these Mac addresses to cpu. This helps the different application which runs under switch. for every application has specific Mac address.


In my whole carrier no 1 ask this question to me. I appreciate the 1 who asked this q. and also I hope it solve ur conclusion also....

SAM.


I think the OP was referring to the STATIC entries not the CPU entries...



BTW, OP Stands for ?????


Top
 Profile  
 
PostPosted: Wed May 23, 2012 2:18 pm 
Offline
Ultimate Member
Ultimate Member
User avatar

Joined: Thu Jan 13, 2011 5:10 pm
Posts: 984
Location: Leeds, UK
Certs: CCIE R&S #38338, CCNP, CCIP
Opening Poster

_________________
---
David
CCIE R&S #38338, CCIP, CCNP

http://networkbroadcast.co.uk - My Blog
http://twitter.com/davidrothera


Top
 Profile  
 
PostPosted: Wed May 23, 2012 2:38 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Tue Aug 21, 2007 2:15 pm
Posts: 8279
Location: Frederick MD
Certs: Instanity
davidrothera wrote:
Opening Poster


I always thought it was "original poster"

_________________
"If you're good at anticipating the human mind. It leaves nothing to chance."
-Jigsaw


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot], SofaKing, spivy66, that1guy15, tzmueller and 40 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group