The vt-policy command adds the policy based on source IP addresses to a virtual gateway.
The undo vt-policy command deletes the policy based on source IP addresses from a virtual gateway.
vt-policy { deny | permit } { ip mask | address-range start-ip end-ip }
undo vt-policy { deny | permit } { ip mask | address-range start-ip end-ip }
| Parameter | Description | Value |
|---|---|---|
| deny | Denies the matching packets to pass. | - |
| permit | Permits the matching packets to pass. | - |
| ip | Specifies the IP address. | The value is in dotted decimal notation. |
| mask | Specifies a subnet mask. | The value is in dotted decimal notation. |
| address-range start-ip end-ip | Specifies the IP address range. | The value is in dotted decimal notation. |