Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

switch port configuration 1

Status
Not open for further replies.

kevint21

Programmer
Apr 25, 2001
52
GB
What is a good default setup for Cisco Switches in a Corporate LAN? At the moment i use the following lines below but i would like to add in some more commands to reduce broadcast traffic or anything else not needed. Anything to enhance network performance.


switchport mode access
switchport port-security
switchport port-security mac-address-sticky
duplex auto
speed auto
 
Well, if you use STP: spanning-tree portfast on your access ports, which will reduce the time it takes for the link to come fully up when booting up a pc. Other than that, if you're not segmenting with VLANs, I can't think of anything off the top of my head. I imagine if you have a Cisco switch and a small LAN, you're not going to find that the switch is your bottleneck. Though, I would watch out for the use of auto/auto on access ports. Sometimes NICs do not negotiate correctly, or they cause errors when negotiating, and it takes some trial and error to get the right setting, but NIC settings must match the switchport, i.e. a NIC hardcoded to 100/Full and a switchport set to auto/auto is not a 'match' even if that is the desirable setting. Both should be set to either auto or hardcoded.
 
Hi,

You might want to look into using the switchport host command on any interfaces that will have an end-user workstation connected to it.

The command is basically a small script that configures three functions in one; the interface will be configured as an access port, Port Aggregation negotiation will be turned off, and the port will have spanning-tree portfast turned on.

This will substantially decrease the time it takes for the interface to reach up/up status.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top