Thursday, June 5, 2008

Setting Web-Based Interface for Configuration

Setting Web-Based Interface for Configuration: 1900 and 2900/2950 Series Switches

X900Switch(config)#ip http server

Turns on HTTP service

X900Switch(config)#ip http port 80

Sets port number for HTTP. This port should be turned off for security reasons unless it is being used


Friday, May 30, 2008

Port Security on Cisco Switches

Port Security: 1900 Series Switches

1900 Series Switch

1900Switch(config-if)#port secure

Interface will become secure

1900Switch(config-if)#port secure max-mac-count 1

Only one MAC address will be allowed in the MAC table for this interface


2900 Series Switch

2900Switch(config)#int fa0/1

2900Switch(config-if)#port security

2900Switch(config-if)#port security max-mac-count 1

Only one MAC address will be allowed for this interface

2900Switch(config-if)#port security action shutdown

Port will shut down if violation occurs


2950 Series Switch

2950Switch(config)#int fa 0/1

2950Switch(config-if)#switchport port-security

2950Switch(config-if)#switchport port-security mac-address sticky

Interface converts all MAC addresses to sticky secure addressesonly the MAC address learned first will now be accepted on this port

2950Switch(config-if)#switchport port-security maximum 1

Only one MAC address will be allowed for this interface

2950Switch(config-if)#switchport port-security violation shutdown

Port will shut down if violation occurs


Monday, May 26, 2008

Resetting Switch Configuration

Resetting Switch Configuration

1900 Series Switch

1900switch#delete vtp

Removes VLAN Trunking Protocol (VTP) information

1900switch#delete nvram

Resets switch back to factory defaults

1900switch>en


1900switch#reload

Restarts the switch


2900/2950 Series Switch

switch#delete flash:vlan.dat

Removes VLAN database from Flash memory

Delete filename [vlan.dat]?

Press Enter

Delete flash:vlan.dat? [confirm]

Reconfirm by pressing Enter

Switch#erase startup-config

Erases file from NVRAM



Switch#reload

Restarts the switch