HP 6120XG ProCurve Series 6120 Blade Switches Management and Configuration Gui - Page 82
Example of Using the Alias Command with show int custom, show alias
View all HP 6120XG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 82 highlights
Using the Command Line Interface (CLI) CLI Control and Editing ProCurve(config)# show int custom 1-4 port name:4 type vlan intrusion speed enabled mdi Status and Counters - Custom Port Status Intrusion Port Name Type VLAN Alert Speed Enabled MDI-mode 1 Acco 100/1000T 1 No 1000FDx Yes Auto 2 Huma 100/1000T 1 No 1000FDx Yes Auto 3 Deve 100/1000T 1 No 1000FDx Yes Auto 4 Lab1 100/1000T 1 No 1000FDx Yes Auto ProCurve(config)# alias sic "show int custom 1-4 port name:4 type vlan intrusion speed enabled mdi" ProCurve(config)# ProCurve(config)# sic Status and Counters - Custom Port Status Intrusion Port Name Type VLAN Alert Speed Enabled MDI-mode 1 Acco 100/1000T 1 No 1000FDx Yes Auto 2 Huma 100/1000T 1 No 1000FDx Yes Auto 3 Deve 100/1000T 1 No 1000FDx Yes Auto 4 Lab1 100/1000T 1 No 1000FDx Yes Auto Figure 4-12. Example of Using the Alias Command with show int custom Note Remember to enclose the command being aliased in quotes. Command parameters for the aliased command can be added at the end of the alias command string. For example: ProCurve(config)# alias sc "show config" ProCurve(config)# sc status To change the command that is aliased, re-execute the alias name with new command options. The new options are used when the alias is executed. To display the alias commands that have been configured, enter the show alias command. 4-19