1. Set host name/system name on iOS based switch:
Switch (config) # hostname hostname
To set the hostname/system name on a CLI-based switch:
Switch (enable) set system name name-string
2. Set the login password on the iOS based switch:
Switch (config) # Enable password Level 1 password
To set the logon password on a CLI-based switch:
Switch (enable) Set password
Switch (enable) Set Enalbepass
3. Set up remote access on iOS-based switches:
Switch (config) # interface VLAN 1
Switch (config-if) # IP address ip-address netmask
Switch (config-if) # IP Default-gateway ip-address
To set up remote access on a CLI-based switch:
Switch (enable) set interface sc0 ip-address netmask broadcast-address
Switch (enable) set interface Sc0 VLAN
Switch (enable) Set IP route default gateway
4. Enable and browse CDP information on iOS-based switches:
Switch (CONFIG-IF) # CDP Enable
Switch (CONFIG-IF) # no CDP enable
To view CDP notification information for Cisco neighboring devices:
switch# Show CDP interface [type Modle/port]
switch# Show CDP neighbors [type module/port] [detail]
To enable and browse CDP information on a CLI-based switch:
Switch (enable) set CDP {enable|disable} module/port
To view CDP notification information for Cisco neighboring devices:
Switch (enable) show CDP Neighbors[module/port] [Vlan|duplex|capabilities|detail]
5. Port description for iOS based switches:
Switch (config-if) # description description-string
Port description of the CLI-based switch:
Switch (enable) set port name Module/number description-string
6. Set the port speed on the iOS based switch:
Switch (config-if) # Speed{10|100|auto}
To set the port speed on a CLI-based switch:
Switch (enable) set port speed Moudle/number {10|100|auto}
Switch (enable) set port speed Moudle/number {4|16|auto}
7. Set up the Ethernet link mode on the iOS based switch:
Switch (config-if) # Duplex {Auto|full|half}
To set the link mode for Ethernet on a CLI-based switch:
Switch (enable) set port duplex module/number {Full|half}
8. Configure a static VLAN on an iOS-based switch:
switch# VLAN Database
Switch (VLAN) # VLAN Vlan-num name VLA
Switch (VLAN) # exit
switch# Configure Teriminal
Switch (config) # interface interface Module/number
Switch (config-if) # switchport mode access
Switch (config-if) # switchport access VLAN Vlan-num
Switch (config-if) # End
To configure a static VLAN on a CLI-based switch:
Switch (enable) set VLAN Vlan-num [name name]
Switch (enable) Set VLAN Vlan-num mod-num/port-list