You can access Cisco IOS on a switch locally through the console or remotely through a protected management connection. Use the console for initial setup and recovery, then configure SSH for normal remote administration.
Console Access
- Connect the correct console cable or supported USB console connection.
- Open a terminal program.
- Select the correct serial or USB interface.
- Use the platform’s documented settings; 9600 bits per second is common for serial console access.
- Press Enter to display the prompt.
Basic Identification
Switch> enable
Switch# configure terminal
Switch(config)# hostname SW1
Choose a hostname that matches the organization’s naming standard.
Management Address
A Layer 2 switch can use a switched virtual interface for management. The VLAN must exist, and its Layer 2 path must be active. Use the correct address and prefix for your lab or production network.
SW1(config)# interface vlan 10
SW1(config-if)# ip address 192.0.2.10 255.255.255.0
SW1(config-if)# no shutdown
Use SSH Instead of Telnet
Telnet sends credentials and traffic without encryption. Configure SSH with a domain name, suitable key generation, local or centralized authentication, and VTY settings that allow SSH only.
Security Checklist
- Use unique administrator identities.
- Protect privileged access.
- Restrict management networks with ACLs.
- Disable unused services and interfaces.
- Configure time, logging, and backups.
- Verify changes before saving.
Useful Verification
show ip interface briefshow running-configshow usersshow ssh
CCNA Practice
Use our CCNA questions and answers and the CCNA 200-301 Premium PDF with the latest available questions and answers.
CiscoForAll provides independent study and practice material. Always use official Cisco documentation as a primary preparation source.