TOPICS
- Cisco Switches (23)
- Configuring a Router (22)
- Linux How-to's (11)
- Network Administration (10)
- Routing: RIP (Routing Informatin Protocol) (8)
- Linux Web Server (6)
- Routing: EIGRP (Enhanced Interior Gateway Routing Protocol) (5)
- Routing: Static Routing (3)
- Cisco Voice (2)
- Linux Database: MySQL (2)
- Linux FTP Server (1)
- Linux Mail Server (1)
- Microsoft Topics (1)
Thursday, June 5, 2008
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 |