Creating a command alias, Removing an alias – Brocade Multi-Service IronWare Administration Guide (Supporting R05.6.00) User Manual
Page 56

38
Multi-Service IronWare Administration Guide
53-1003028-02
Creating a command alias
2
DST “change” notice for networks using US
time zones
The new Daylight Saving Time (DST) change that went into effect on March 11, 2007 affects
networks in the US time zones. Because of this change, your network clock might not be correct. If
your network uses US time zones, and it needs to maintain the correct time, you must enable the
following command.
Brocade(config)# clock timezone us pacific
Syntax: [no] clock timezone us {pacific | eastern | central | mountain}
NOTE
This command must be configured on every device that uses the US DST.
To verify the change, use the following command.
Brocade(config)# show clock
For more information, refer to
.
Creating a command alias
Use the alias command to create an alias for a command and to save that alias within the device’s
configuration.
To create the alias “shro” for the show ip routes command, use the following command.
Brocade(config)# alias shro = show ip routes
Brocade(config)# write memory
Syntax: [no] alias [ name = command ]
The name variable is the name that you want to assign to the alias.
The command variable is the syntax for the command you want to create an alias for.
The write memory command is used to save the alias within the configuration.
Removing an alias
You can remove an alias using the no version of the alias command as shown in the following.
Brocade(config)# no alias shro
Alternately, you can use the unalias command as shown in the following.
Brocade(config)# unalias shro
Syntax: [no] unalias
If the alias you try to remove does not exist, the following error will be displayed.
Brocade(config)# unalias wrs
Error: Alias wrs does not exist, unalias failed