Tp-Link T1500-28TC V1 [402/619] Acl binding and policy binding

Tp-Link T1500-28TC V1 [402/619] Acl binding and policy binding
Configuring ACL ACL Configurations
Configuration Guide
381
2.2.3 ACL Binding and Policy Binding
You can select ACL binding or Policy binding according to your needs. An ACL Rule and
Policy takes effect only after they are bound to a port or VLAN.

ACL Binding
You can bind the ACL to a port or a VLAN. The received packets will then be matched and
processed according to the ACL rules.
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 acl
acl-id
(Optional) Enter the interface configuration mode and bind the ACL 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 acl
acl-id
(Optional) Enter layer 3 interface configuration mode and bind the ACL to the VLAN.
vlan-id
: The VLAN to which the policy will bind.
acl-id
: The ID number of the ACL.
Step 3 show access-list bind
(Optional) View the configuration of binding.
Step 4 end
Return to privileged EXEC mode.
Step 5 copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to bind ACL 1 to port 3 and ACL 2 to VLAN 4:
Switch#configure
Switch(config)#interface fastEthernet 1/0/3
Switch(config-if)#access-list bind acl 1
Switch(config-if)#exit
Switch(config)#interface vlan 4
Switch(config-if)#access-list bind acl 2
Switch(config-if)#show access-list bind

Содержание

Похожие устройства

Скачать