Set the host name/system name on the IOS-based switch:
Switch (config) # hostname
Set the host name/system name on the CLI-based switch:
Switch (enable) set system name-string
2. Set the logon password on the IOS-based switch:
Switch (config) # enable password level 1 password
Set the logon password on the CLI-based switch:
Switch (enable) set password
Switch (enable) set enalbepass
3. Set remote access on the IOS-based switch:
Switch (config) # interface vlan 1
Switch (config-if) # ip address ip-address netmask
Switch (config-if) # ip default-gateway ip-address
Set 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 an IOS-based switch:
Switch (config-if) # cdp enable
Switch (config-if) # no cdp enable
To view CDP announcement information for Cisco adjacent devices:
Switch # show cdp interface [type modle/port]
Switch # show cdp neighbors [type module/port] [detail]
Enable and browse CDP information on a CLI-based switch:
Switch (enable) set cdp {enable | disable} module/port
To view CDP announcement information for Cisco adjacent devices:
Switch (enable) show cdp neighbors [module/port] [vlan | duplex | capabilities | detail]
5. Description of the port of the IOS-based switch:
Switch (config-if) # des cription-string
Description of the port of the CLI-based switch:
Switch (enable) set port name module/number des cription-string
6. Set the port speed on the IOS-based switch:
Switch (config-if) # speed {10 | 100 | auto}
Set the port speed on the 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 the Ethernet link mode on the IOS-based switch:
Switch (config-if) # duplex {auto | full | half}
Set the Ethernet link mode on a CLI-based switch:
Switch (enable) set port duplex module/number {full | half}
8. Configure the static VLAN on the IOS-based switch:
Switch # vlan database
Switch (vlan) # vlan-num name vlan