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]

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.