Dell PowerSwitch S4128F-ON OS10 Enterprise Edition User Guide Release 10.4.1.0 - Page 47
Filter show commands, Alias command
View all Dell PowerSwitch S4128F-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 47 highlights
Saving system configuration Proceed to reboot the system? [confirm yes/no]:yes To configure the OS10 image loaded at the next system boot, enter the boot system command in EXEC mode. boot system {active | standby} • Enter active to load the primary OS10 image stored in the A partition. • Enter standby to load the secondary OS10 image stored in the B partition. Set next boot image OS10# boot system standby OS10# show boot Current system image information: Type Boot Type Active Standby Next-Boot Node-id 1 Flash Boot [A] 10.2.9999E [B] 10.2.9999E [B] standby Filter show commands You can filter show command output to view specific information, or start the command output at the first instance of a regular expression or phrase. display-xml except find grep no-more save Displays in XML format. Shows only text that does not match a pattern Searches for the first occurrence of a pattern and display all the subsequent configurations Shows only text that matches a pattern Does not paginate output Saves the output to a file Display all output OS10# show running-configuration | no-more Alias command The alias command allows you to create shortcuts for commonly used or long commands, and execute long commands along with their parameters. The alias supports the following modes: • Persistent mode - The alias is persistent and can be used in other sessions as well. The aliases created in the Configuration mode are persistent. • Non-persistent mode - The alias can be used only within the current session. Once the session is closed, the alias is removed from the system. The aliases created in Exec mode are non-persistent. NOTE: You cannot use existing keywords, parameters, and short form of keywords as alias names, nor can you create a shortcut for the alias command. The alias name is case-sensitive and can have a maximum of 20 characters. • Create an alias in EXEC or CONFIGURATION mode - EXEC mode for non-persistent and CONFIGURATION mode for persistent aliases. The alias value is the actual command where you can use $n to enter the input parameters. You can substitute $n with either Getting Started 47