Tp-Link T1700G-28TQ V2 — настройка ACL и привязка политик для сетевых устройств [560/772]

Превью страниц Страница 560 / 772
Tp-Link T1700G-28TQ V2 [560/772] Acl binding and policy binding
Configuring ACL ACL Configuration
Configuration Guide
535
Policy name : RD
access-list 600 redirect-port Gi1/0/4
Switch(config)#end
Switch#copy running-config startup-config
2.2.4 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.

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
| ten-gigabitEthernet
port
| range ten-gigabitEthernet
port-list
}
access-list bind
policy-name
(Optional) Enter layer 2 interface configuration mode and bind the policy to the port.
port
: The port 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 end
Return to privileged EXEC mode.
Step 4 copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to bind Policy 1 to port 2 and Policy 2 to VLAN 2:
Switch#config
Switch(config)#interface gigabitEthernet 1/0/2
Switch(config-if)#access-list bind RD

Содержание

3073

Узнайте, как настроить ACL и привязать политики к портам и VLAN. Пошаговое руководство по конфигурации и сохранению настроек для эффективного управления сетью.