ip route tag
Syntax
ip route< A.B.C.D / M >[A.B.C.D | INTERFACE] tag< 1 - 4294967295>没有ip route< A.B.C.D / M >[A.B.C.D | INTERFACE] tag< 1 - 4294967295>
描述
Configures tag for IPv4 static route.
The没有
form of this command deletes tag for IPv4 static route.
Command context
config
Parameters
-
tag
- Specifies and assigns tag for the route.
权威
Administrators or local user group members with execution rights for this command.
Examples
switch(config)#ip route 10.1.1.1/32 20.1.1.2 tag 10switch(config)#ip route 10.1.1.5/32 1/1/1 tag 20
switch(config)#没有ip route 10.1.1.1/32 20.1.1.2 tag 10switch(config)#没有route 10.1.1.5/32 1/1/1 tag 20