Policy Based Routing
Left running head:
Chapter name (automatic)
538
Beta
Beta
OmniAccess 700 CLI Command Reference Guide
Alcatel-Lucent
IP
-
POLICY
<
IP
-
POLICY
NAME
>
ip-policy
<
ip-policy name
>
D
ESCRIPTION
Enter this command in the Interface Configuration mode. This command is used
to attach an IP policy to an interface.
Note:
An interface can have only one IP policy applied on it at any time.
‘Transparent-forwarding’ command, if in effect, shall be cleaned up before this
command takes effect.
P
ARAMETERS
E
XAMPLE
The following example binds the IP policy ‘pbr1’ to interface GigabitEthernet3/1.
ALU(config)# interface GigabitEthernet3/1
ALU(config-if GigabitEthernet3/1)# ip-policy pbr1
NO
IP
-
POLICY
no ip-policy
<name>
[
force
]
This command is used to delete an IP policy. If the policy is attached to any of the
interfaces, it cannot be deleted.
The "
force
" keyword will automatically detach the specified policy from respective
interfaces, and deletes the IP policy. This command when used also deletes all
the rules configured under this policy.
NO
IP
-
POLICY
<
IP
-
POLICY
NAME
>
no
ip-policy <ip-policy name>
This command detaches an IP policy attached to an interface.
NO
RULE
no rule
<
1-65535
>
This command is issued in the PBR Configuration mode. The command deletes a
rule corresponding to the rule number.
Parameter
Description
ip-policy name
Name of the IP policy.