CLI
7.6.4.6
7.6.4.7
7.6.5
190
Attaching a Policy to an interface
After you configure a rule including the packet classification, policing and rule action, you
should attach a policy to an interface and to specify port or vlan in which the policy should
be applied. If you do not specify an interface for rule, rule does not work properly.
To attach a policy to an interface, use the following command.
Command
interface-binding port ingress
{PORTS | any }
interface-binding vlan { VLANS |
any }
To detach a policy from an interface, use the following command.
Command
no interface-binding port in-
gress [PORTS]
no interface-binding vlan
Applying and Modifying Policy
After configuring a policy using the above commands, apply it to the system with the fol-
lowing command. If you do not apply the policy to the system, all specified configurations
from Policy Configuration mode will be lost.
To save and apply a policy, use the following command.
Command
apply
To modify a policy, use the following command.
Command
policy NAME modify
Displaying Rule
To show a rule profile configured by user, use the follwing command.
Command
show flow-profile
show policer-profile
show policy-profile
Mode
Attaches the policy to a specified ingress port or any
port.
PORTS: port number
Policy
Attaches the policy to a specified vlan or any vlan.
VLANS: VLAN ID (1-4094)
Mode
Removes an attached policy from ingress port.
Policy
Removes an attached policy from vlan.
Mode
policy
Applies a policy to the system.
Mode
Global
Modifies a policy, enter a policy name.
Mode
Flow
Shows a profile of flow.
Policer
Shows a profile of policer.
Policy
Shows a profile of policy.
Management Guide
TigerAccess™ EE
Description
Description
Description
Description
Description
SMC7824M/VSW