Cisco Router Base Command

Source: Internet
Author: User
Tags config

Schema Conversion command

User mode----Privileged mode, using the command "enable"

Privileged mode----Global configuration mode, using the command "config T"

Global configuration Mode----interface mode, using the command "Interface+ interface type + receive slogan"

Global configuration mode----line control mode, using the command "Line+ interface type + receive slogan"

Note:

User mode: View initialized information.

Privileged mode: View all information, debug, save configuration information

Global Mode: Configure all information, all interfaces for the entire router or switch

Interface mode: Configuration for an interface

Wire control mode: interface configuration for router control

Configuration commands

Show running config shows all configurations

Show Versin display version number and register value

Shut down interface

No shutdown Open Interface

IP Add +ip address configuration IP Address

Secondary+ip address configures a second IP address for an interface

Show interface+ interface type + Port view interface Management

Show controllers interface see if the interface has a DCE cable

Show History View History

Show Terminal View Terminal record size

Hostname+ Host name Configure the identity of the router or switch

Config memory modify the startup configuration saved in NVRAM

Exec Timeout 0 0 Setting console session timeout is 0

Service Password-encryptin encrypt all passwords manually

Enable password + password to configure plaintext password

Ena sec + Password configuration ciphertext password

Line vty 0 4/15 into Telnet interface

Password + password configuration telnet password

Line aux 0 enters aux interface

Password + password configuration password

Line con 0 into the con interface

Password + password configuration password

bandwidth+ Digital Configuration Bandwidth

No IP address deletes configured IP addresses

Show startup config View configuration information in NVRAM

Copy Run-config atartup config saves information to NVRAM

Write saves information to NVRAM

Erase Startup-config Clear the configuration information in NVRAM

Show IP Interface Brief View the information of the exile of the interface

Banner MOTD # + info + # Configure the router or switch for the trace element information

description+ information Configuration Interface listen to the trace element information

VLAN database into VLAN DB mode

VLAN +vlan number + name Create VLAN

Switchport Access VLAN +vlan number is a VLAN-equipped interface

Interface VLAN +vlan Enter VLAN interface mode

IP add +ip address for VLAN configuration management IP Address

Vtp+service/tracsparent/client Configuration SW VTP working mode

VTP +domain+ domain name configuration sw VTP domain name

VTP +password + password configuration sw password

Switchport mode trunk Enable relaying

No VLAN +vlan Delete VLAN

Show Spamming-tree vlan +vlan view VLA fear spanning tree

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.