Switch Command Encyclopedia

Source: Internet
Author: User
Tags switches

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]

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.