Changing the name of a static ip route, Deleting the name of a static ip route – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual
Page 829
![background image](/manuals/361635/829/background.png)
Multi-Service IronWare Switching Configuration Guide
799
53-1003036-02
Naming a static IP route
19
Brocade(config)# ip route 10.22.22.22 255.255.255.255 eth 1/1 name abc
OR
Brocade(config)# ip route 10.22.22.22 255.255.255.255 10.1.1.1 name abc
Syntax: [no] ip route dest-ip-addr dest-mask | dest-ip-addr/mask-bits next-hop-ip-addr| ethernet
slot/port | ve num [metric] [tag num] [distance num] [name string]
Enter the static route name for name string. The maximum length of the name is 128 bytes.
The output of the show commands displays the name of a static IP route if there is one assigned.
Show run displays the entire name of the static IP route. The show ip static route command
displays an asterisk (*) after the first twelve characters if the assigned name is thirteen characters
or more. The show ipv6 static route command displays an asterisk after the first two characters if
the assigned name is three characters or more.
When displayed in show run, a static route name with a space in the name will appear within
quotation marks (for example, “brcd route”).
Changing the name of a static IP route
To change the name of a static IP route, enter the static route as configured. Proceed to enter the
new name instead of the previous name. See the example below.
Static IP route with the original name “abc”:
Brocade(config)# ip route 10.22.22.22 255.255.255.255 10.1.1.1 name abc
Change the name of “abc” to “xyz”:
Brocade(config)# ip route 10.22.22.22 255.255.255.255 10.1.1.1 name xyz
In this example, “xyz” is the set as the new name of the static IP route.
Deleting the name of a static IP route
To delete the name of a static IP route, use the no command. See the example below.
Static IP route with the name “xyz”:
Brocade(config)# ip route 10.22.22.22 255.255.255.255 10.1.1.1 name xyz
To remove the name “xyz” from the static IP route, specify both “name” and the string, in this case
“xyz”.
Brocade(config)#no ip route 10.22.22.22 255.255.255.255 10.1.1.1 name xyz
The static route no longer has a name assigned to it.