Académique Documents
Professionnel Documents
Culture Documents
Intermediate Routing
SWITCHING
CONFIGURATION
1
STARTING THE SWITCH
2
`Physical startup of the Catalyst switch
Off No link
• Switch>?
Exec commands:
access-enable Create a temporary Access-List entry
clear Reset functions
connect Open a terminal connection
disable Turn off privileged commands
disconnect Disconnect an existing network connection
enable Turn on privileged commands
exit Exit from the EXEC
help Description of the interactive help system
lock Lock the terminal
login Log in as a particular user
logout Exit from the EXEC
name-connection Name an existing network connection
ping Send echo messages
rcommand Run command on remote switch
--More--
8
`Switch Command Modes
• Show running-config
• Show interface FastEthernet 0/1
• Show vlan
• Show flash ( or dir flash:)
• Show version
11
`Configuring The Catalyst Switch
• Note
– Remove any existing VLAN information by deleting the
VLAN database file vlan.dat from the flash directory
– Erase the back up configuration file startup-config
– Reload the switch
• Catalyst 2900
– Delete flash:vlan.dat
– Erase startup-config
– reload
12
`Configuring The Catalyst Switch (cont)
ALSwitch(config)#interface f0/2
ALSwitch(config-if)# switchport mode access
ALSwitch(config-if)#switchport port-security
ALSwitch(config-if)#switchport port-security maximum
{maximum_addresses}
ALSwitch(config-if)# switchport port-security mac-
address sticky
ALSwitch(config-if)#switchport port-security violation
{shutdown | restrict | protect}
19
` Verifying Switch configuration