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!