Specifications

CLI Management Guide
TigerAccess™ EE
190 SMC7824M/VSW
7.6.4.6 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 Mode Description
interface-binding port ingress
{PORTS | any }
Attaches the policy to a specified ingress port or any
port.
PORTS: port number
interface-binding vlan { VLANS |
any }
Policy
Attaches the policy to a specified vlan or any vlan.
VLANS: VLAN ID (1-4094)
To detach a policy from an interface, use the following command.
Command Mode Description
no interface-binding port in-
gress [PORTS]
Removes an attached policy from ingress port.
no interface-binding vlan
Policy
Removes an attached policy from vlan.
7.6.4.7 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 Mode Description
apply policy Applies a policy to the system.
To modify a policy, use the following command.
Command Mode Description
policy NAME modify Global Modifies a policy, enter a policy name.
7.6.5 Displaying Rule
To show a rule profile configured by user, use the follwing command.
Command Mode Description
show flow-profile Flow Shows a profile of flow.
show policer-profile Policer Shows a profile of policer.
show policy-profile Policy Shows a profile of policy.