cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
657
Views
5
Helpful
3
Replies

catalyst set port mode and IOS switchport mode access

c-hand
Level 1
Level 1

I have always used the set port host command to set trunking off on switch ports on my catalyst switches. Should I be doing the same on my stackable 2950 and 3500 EI swithes also by using the switchport mode access parameter. I believe this would prevent accidental trunk connectivity which in turn cuts down on topology changes and potential spanning tree loops. Is there a macro that can be used on the 2950 and 3500 EI series switch/IOS to do this for a series of ports?

3 Replies 3

a.awan
Level 4
Level 4

You should standardize on your host port configuration throughout your network and it should not matter whether the hosts are connected to a CatOS or an IOS enabled switch. In simple words do explicitly use commands like switchport mode access, spanning-tree bpduguard enable, spanning-tree portfast, etc. on your host ports in IOS based switches also. Depending on the IOS version you are using you might or might not have some Cisco default macros available. The show parser macro command will list all the configured macros. In case you do not have them on your switch you can always use the information in the following link to create your own macros:

http://www.cisco.com/en/US/products/hw/switches/ps628/products_configuration_guide_chapter09186a0080212a88.html#wp1160421

Thank You! Great to know I was heading in the right direction.

Glad to be of any help.