esi in
To match a esi entry in a esi set name or inline esi set, use the esi in command in route-policy configuration mode.
esi in {esi-set-name | inline-esi-set | parameter}
Syntax Description
esi-set-name |
Name of a esi set. The esi-set accepts H.H.H.H.H value. |
inline-esi-set |
Inline esi set. The inline esi set must be enclosed in parentheses. |
parameter |
Parameter name. The parameter name must be preceded with a “$.” |
Command Default
No default behavior or values
Command Modes
Route-policy configuration
Command History
Release |
Modification |
---|---|
Release 6.1.31 |
This command was introduced. |
Usage Guidelines
Use the esi in command as a conditional expression within an if statement to match a esi entry in a named esi set or inline esi set.
Note |
For a list of all conditional expressions available within an if statement, see the if command. |
Task ID
Task ID |
Operations |
---|---|
route-policy |
read, write |
Examples
Router(config)# route-policy policy_A
Router(config-rpl)# if esi in (abcd.aaaa.0000.dddd.ffff) then
Router(config-rpl-if)# set local-preference 200
Router(config-rpl-if)# endif
Router(config-rpl)# end-policy