ip route tag

Syntax

ip route <A.B.C.D/M> [A.B.C.D | INTERFACE] tag <1-4294967295>

no ip route <A.B.C.D/M> [A.B.C.D | INTERFACE] tag <1-4294967295>

Description

Configures tag for IPv4 static route.

The no form of this command deletes tag for IPv4 static route.

Command context

config

Parameters

tag
Specifies and assigns tag for the route.

Authority

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 10
switch(config)# ip route 10.1.1.5/32 1/1/1 tag 20
switch(config)# no ip route 10.1.1.1/32 20.1.1.2 tag 10
switch(config)# no route 10.1.1.5/32 1/1/1 tag 20