Cisco command configuration Tip 3: alias command

Source: Internet
Author: User

You have used quick dialing settings on your mobile phone.

Does a Cisco device Support Command shortcut key definition?

The answer is yes.

 

Suzhouxiaoniu(Config) # Alias exec XX show IP inter BRIXX is the custom shortcut key name, which can be a number

 

Suzhouxiaoniu # Xx Finalize the name directly
Interface IP-address OK? Method Status Protocol
Fastethernet1/0 unassigned Yes unset up down
Fastethernet1/1 unassigned Yes unset up
Fastethernet1/2 unassigned Yes unset up
Fastethernet1/3 unassigned Yes unset up
Fastethernet1/4 unassigned Yes unset up down
Fastethernet1/5 unassigned Yes unset up down
Fastethernet1/6 unassigned Yes unset up down
.... (Output omitted)

 

 

Of course, the shortcut keys for defining these simple commands are a bit redundant, but for some of the following commands, it is necessary to define them in advance.

 

Suzhouxiaoniu(Config) # Alias exec 1 show processes CPU | include ^ CPU | IP Input

Suzhouxiaoniu(Config) # Alias exec 2 show tech-support | redirect TFTP: // 1.1.1.1/show-tech.txt


This article is from the "Cisco technical exchange" blog. For more information, contact the author!

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.