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  [ 62 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
PostPosted: Tue Dec 07, 2010 3:08 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Wed Feb 10, 2010 2:45 am
Posts: 1639
Location: Arizona
Certs: CCNA
I took the time tonight to figure this out because it had been bugging me. I've found as long as I separate the management vlan from a ports native vlan everything works as expected. It's when both are on the same vlan that port security will still allow management access to the switch during Restrict and Protect violation modes. I used routing on a stick to facilitate and test the inter-vlan routing. I'm sure the same thing could be achieved via Layer 3 switching but I didn't test it.


Top
 Profile  
 
PostPosted: Wed Dec 08, 2010 2:57 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Nov 16, 2009 8:10 pm
Posts: 2515
Location: San Diego, CA
Certs: CCNP, BCNE, Network+, Security+
Yeah I suspected it had to do with having everything on VLAN 1.

_________________
Regards,

Steven King
San Diego Cisco User Group - http://www.sdcug.com
"The only time something is impossible is when you think it is." - Kevin Corbin, CCIE #11577


Top
 Profile  
 
PostPosted: Wed Dec 08, 2010 6:35 am 
Offline
Ultimate Member
Ultimate Member
User avatar

Joined: Wed Nov 17, 2010 5:53 pm
Posts: 597
Location: Stockholm, Sweden
Certs: CCNP, CCIP, CCNA Security
Probably one of the reason Cisco recommends never to use VLAN1.


Top
 Profile  
 
PostPosted: Thu Dec 09, 2010 4:54 am 
Offline
Member
Member

Joined: Thu Sep 02, 2010 3:18 am
Posts: 120
Location: Australia
Certs: CCNA, CCNA Voice, CCNP
Steven King wrote:
Yeah I suspected it had to do with having everything on VLAN 1.


I've tested this scenario too using 2950s, but on VLAN192 - the switch's management interface is Vlan192 and the switch interface my offending NIC was connected to was in VLAN #192. Thus, it's not solely VLAN 1.


Top
 Profile  
 
PostPosted: Thu Dec 09, 2010 10:30 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Wed Feb 10, 2010 2:45 am
Posts: 1639
Location: Arizona
Certs: CCNA
joshuamorgan wrote:
Steven King wrote:
Yeah I suspected it had to do with having everything on VLAN 1.


I've tested this scenario too using 2950s, but on VLAN192 - the switch's management interface is Vlan192 and the switch interface my offending NIC was connected to was in VLAN #192. Thus, it's not solely VLAN 1.


Yeah, as long as you separate the management vlan from a connecting switchports native access vlan all will be fine. It's when both the switchport and the management interface share the same native vlan that you effectively negate any Restrict and Protect port-security for devices physical connected to the switch.

I think it's cool, I love little unexpected results like this!


Top
 Profile  
 
PostPosted: Thu Dec 09, 2010 10:48 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Tue Aug 21, 2007 2:15 pm
Posts: 8270
Location: Frederick MD
Certs: Instanity
just keep in mind, real world results do not necessarily coincide with the correct answers on the exam.


Top
 Profile  
 
PostPosted: Thu Dec 09, 2010 11:03 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Thu Oct 14, 2010 4:39 am
Posts: 1003
Certs: CCNP (R&S, Security), ITILv3 Foundation
scottsee wrote:
Yeah, as long as you separate the management vlan from a connecting switchports native access vlan all will be fine. It's when both the switchport and the management interface share the same native vlan that you effectively negate any Restrict and Protect port-security for devices physical connected to the switch.


I've skimmed the thread so apologies if I've missed the answer to this question but does the port security restriction affect management traffic passing through the switch? I'd sort of expect it to allow traffic heading to the switch control plane but I'd be a little puzzled if allowed traffic on a management VLAN to pass through the switch.


Top
 Profile  
 
PostPosted: Thu Dec 09, 2010 11:50 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Wed Feb 10, 2010 2:45 am
Posts: 1639
Location: Arizona
Certs: CCNA
Halo wrote:
scottsee wrote:
Yeah, as long as you separate the management vlan from a connecting switchports native access vlan all will be fine. It's when both the switchport and the management interface share the same native vlan that you effectively negate any Restrict and Protect port-security for devices physical connected to the switch.


I've skimmed the thread so apologies if I've missed the answer to this question but does the port security restriction affect management traffic passing through the switch? I'd sort of expect it to allow traffic heading to the switch control plane but I'd be a little puzzled if allowed traffic on a management VLAN to pass through the switch.


No need to apologize, I hate reading 5-6 pages just to get caught up!

As I tested it, this is the case: If the offending switchport is configured as Protect or Restrict and is on the same native (access) vlan as the management interface, once connected to the switch (ssh or telnet) offending device can pass traffic through the switch as if port security was not configured. The security violations counters will increment, but no port restrictions will actually be applied. I haven't tested this thoroughly, but from what I've seen I had no problems telneting into any other devices on my network or reaching my default gateway, name server, or using ICMP on outside ip addresses.

I think that answers your question, If I'm missing the point just hit me on the head.. :P


Top
 Profile  
 
PostPosted: Thu Dec 09, 2010 3:52 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Nov 16, 2009 8:10 pm
Posts: 2515
Location: San Diego, CA
Certs: CCNP, BCNE, Network+, Security+
Scott you realize you're testing a CCNP-level topic right? Kudos sir. :D

_________________
Regards,

Steven King
San Diego Cisco User Group - http://www.sdcug.com
"The only time something is impossible is when you think it is." - Kevin Corbin, CCIE #11577


Top
 Profile  
 
PostPosted: Thu Dec 09, 2010 4:29 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Wed Feb 10, 2010 2:45 am
Posts: 1639
Location: Arizona
Certs: CCNA
Steven King wrote:
Scott you realize you're testing a CCNP-level topic right? Kudos sir. :D


Well, it didn't exactly start out that way. I was just trying to figure out why port-security wasn't functioning as expected..


Top
 Profile  
 
PostPosted: Fri Dec 10, 2010 1:37 am 
Offline
Member
Member

Joined: Thu Sep 02, 2010 3:18 am
Posts: 120
Location: Australia
Certs: CCNA, CCNA Voice, CCNP
Steven King wrote:
Scott you realize you're testing a CCNP-level topic right? Kudos sir. :D


I'm sorry but how is port-security restrict/protect/shutdown behavior CCNP-level? It's covered in ICND1?


Top
 Profile  
 
PostPosted: Fri Dec 10, 2010 2:38 am 
Offline
Ultimate Member
Ultimate Member
User avatar

Joined: Wed Nov 17, 2010 5:53 pm
Posts: 597
Location: Stockholm, Sweden
Certs: CCNP, CCIP, CCNA Security
joshuamorgan wrote:
Steven King wrote:
Scott you realize you're testing a CCNP-level topic right? Kudos sir. :D


I'm sorry but how is port-security restrict/protect/shutdown behavior CCNP-level? It's covered in ICND1?

It comes down to the level of testing done. Steven King was just commenting that Scott was taking it farther than CCNA is meant to. (perhaps the wording should be needs to)
For example Spanning Tree, I would think its covered in CCENT. Its also part of the CCIE. Does that make it a CCENT level if you need to test/troubleshoot STP in the CCIE test/lab?


Top
 Profile  
 
PostPosted: Fri Dec 10, 2010 5:11 am 
Offline
Member
Member

Joined: Thu Sep 02, 2010 3:18 am
Posts: 120
Location: Australia
Certs: CCNA, CCNA Voice, CCNP
matgar wrote:
joshuamorgan wrote:
Steven King wrote:
Scott you realize you're testing a CCNP-level topic right? Kudos sir. :D


I'm sorry but how is port-security restrict/protect/shutdown behavior CCNP-level? It's covered in ICND1?

It comes down to the level of testing done. Steven King was just commenting that Scott was taking it farther than CCNA is meant to. (perhaps the wording should be needs to)
For example Spanning Tree, I would think its covered in CCENT. Its also part of the CCIE. Does that make it a CCENT level if you need to test/troubleshoot STP in the CCIE test/lab?


You raise a good point, for some reason I've been trying to learn everything I absolutely can about a given topic. For instance, I'm currently learning spanning tree protocol at the moment and I've gone to the extent of reading the IEEE specifications so I can get a firm grasp on how it works. I guess my approach is over the top.


Top
 Profile  
 
PostPosted: Fri Dec 10, 2010 5:54 am 
Offline
Ultimate Member
Ultimate Member
User avatar

Joined: Wed Nov 17, 2010 5:53 pm
Posts: 597
Location: Stockholm, Sweden
Certs: CCNP, CCIP, CCNA Security
Well it all comes down to what your goal is.
I always prefer learning as much as I can about a subject.

But for certification purposes, lets say ccent or ccna in this case. Reading the IEE specifications, RFC's or whitepapers are outside the scope of the exam.

From a learning perspective only yourself can answer as to on what level you want to be.
Having a good grasp of something from the beginning can help you later on if you are thinking of studying more. Or if you get a job within networking.


Top
 Profile  
 
PostPosted: Fri Dec 10, 2010 6:10 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Thu Oct 14, 2010 4:39 am
Posts: 1003
Certs: CCNP (R&S, Security), ITILv3 Foundation
I'm looking forward to testing this once I start putting my routing/switching lab together in the new year.


Top
 Profile  
 
PostPosted: Fri Dec 10, 2010 6:21 am 
Offline
Member
Member

Joined: Thu Sep 02, 2010 3:18 am
Posts: 120
Location: Australia
Certs: CCNA, CCNA Voice, CCNP
matgar wrote:
Well it all comes down to what your goal is.
I always prefer learning as much as I can about a subject.

But for certification purposes, lets say ccent or ccna in this case. Reading the IEE specifications, RFC's or whitepapers are outside the scope of the exam.

From a learning perspective only yourself can answer as to on what level you want to be.
Having a good grasp of something from the beginning can help you later on if you are thinking of studying more. Or if you get a job within networking.


Yeah, I'm the same way (prefer to learn as much as I can about a subject). I currently work within networking and have found that by knowing how something works, rather than simply knowing how to configure/troubleshoot according to procedures, often works better.


Top
 Profile  
 
PostPosted: Fri Dec 10, 2010 10:57 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 18, 2010 1:40 pm
Posts: 205
Certs: A+, Network+
Halo wrote:
I'm looking forward to testing this once I start putting my routing/switching lab together in the new year.


I will be doing the same thing Halo. I just got so much stuff to do right now that I dont want to half @#$ my studies.


Top
 Profile  
 
PostPosted: Wed Dec 22, 2010 12:07 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Nov 16, 2009 8:10 pm
Posts: 2515
Location: San Diego, CA
Certs: CCNP, BCNE, Network+, Security+
Jeez, I didn't mean it as some serious comment, more like a "more power to ya" for Scott for digging in depth into the concepts.

_________________
Regards,

Steven King
San Diego Cisco User Group - http://www.sdcug.com
"The only time something is impossible is when you think it is." - Kevin Corbin, CCIE #11577


Top
 Profile  
 
PostPosted: Wed Dec 22, 2010 12:12 am 
Offline
Member
Member

Joined: Thu Sep 02, 2010 3:18 am
Posts: 120
Location: Australia
Certs: CCNA, CCNA Voice, CCNP
Steven King wrote:
Jeez, I didn't mean it as some serious comment, more like a "more power to ya" for Scott for digging in depth into the concepts.


Yes, I apologize, my post was possibly a little harsh.


Top
 Profile  
 
PostPosted: Thu Dec 23, 2010 7:06 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Nov 16, 2009 8:10 pm
Posts: 2515
Location: San Diego, CA
Certs: CCNP, BCNE, Network+, Security+
Apology accepted.

/marks Joshua off the list of people to kill and puts on some lipstick

POP QUIZ! What movie is that from!?

_________________
Regards,

Steven King
San Diego Cisco User Group - http://www.sdcug.com
"The only time something is impossible is when you think it is." - Kevin Corbin, CCIE #11577


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

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 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