Command line interface for router configuration

Source: Internet
Author: User

Command line Interface, CLI, is a DOS command line-based software system pattern that is case-insensitive. This mode is available for routers, switches, and firewalls. The CLI can abbreviate commands and parameters.


The following are some common configuration commands for routers.

User Mode-Privileged mode

1. When the first boot succeeds, the Cisco router will have a user-mode prompt router>. If you want to enter privileged mode, type the Enable command (the first time you start the router without a password). At this point the router's command prompt changes to router#. To return the previous configuration mode from the current configuration mode, hold down CTRL + Z shortcut key, then save the current operation directly to the privileged mode.

eg.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/E1/wKioL1UVXyrzPGPmAAAk--RHpVY333.jpg "style=" float: none; "title=" QQ picture 20150327213659.png "alt=" Wkiol1uvxyrzpgpmaaak--rhpvy333.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/E7/wKiom1UVXfPBdwynAAEii0jWmiw579.jpg "style=" float: none; "title=" QQ picture 20150327214020.png "alt=" Wkiom1uvxfpbdwynaaeii0jwmiw579.jpg "/>


2. User mode generally only allows the user to display the router's system information and can not change any router settings, to use all the commands, you must enter the privileged mode or global mode.

eg.650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/5B/E7/wKiom1UVX3vxkL9YAABqo7VMGAc700.jpg "title=" QQ picture 20150327214713.png "alt=" Wkiom1uvx3vxkl9yaabqo7vmgac700.jpg "/>


3.Router interface

Routers support two types of interfaces: physical interfaces and logical interfaces.

The physical interface means that the interface has a corresponding, physically existing hardware interface on the router, such as an Ethernet interface, a synchronous serial interface, an asynchronous serial interface, and an ISDN interface.

The logical interface means that the interface does not have a corresponding, physically existing hardware interface on the router.


eg. enter the Ethernet interface:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/E8/wKiom1UVc5aDb3nSAAAzolgcyLI520.jpg "title=" 01.png "alt=" Wkiom1uvc5adb3nsaaazolgcyli520.jpg "/>

Enter the serial interface:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/E2/wKioL1UVdPuDsvYzAAAikPG6Fo8558.jpg "title=" 02.png "alt=" Wkiol1uvdpudsvyzaaaikpg6fo8558.jpg "/>


Command line interface for router configuration

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.