Operation Manual

Configuring ACL ACL Configurations
Configuration Guide
529
Switch(config-if)#exit
Switch(config)#interface vlan 4
Switch(config-if)#access-list bind acl 2
Switch(config-if)#show access-list bind
Index Policy Name Interface/VID Direction Type
----- ----------- ------------- -------- ----
Index ACL ID Interface/VID Direction Type
----- ----------- ------------- -------- ----
1 1 Te1/0/3 Ingress Port
2 2 4 Ingress Vlan
Switch(config-if)#end
Switch#copy running-config startup-config

Policy Binding
You can bind the Policy to a port or a VLAN, then the received packets will be matched and
operated based on the Policy.
Step 1 configure
Enter global configuration mode
Step 2 interface {fastEthernet
port |
range fastEthernet
port-list |
gigabitEthernet
port |
range
gigabitEthernet
port-list
}
access-list bind
policy-name
(Optional) Enter the interface configuration mode and bind the policy to the port.
port | port-list
: The port (ports) to which the policy will bind.
policy-name
: The name of the policy.
interface vlan
vlan-id
access-list bind
policy-name
(Optional) Enter layer 3 interface configuration mode and bind the policy to the VLAN.
vlan-id
: The VLAN to which the policy will bind.
policy-name
: The name of the policy.
Step 3 show access-list bind
(Optional) View the configuration of binding.
Step 4 end
Return to privileged EXEC mode.