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

Превью страниц Страница 561 / 772
Tp-Link T1700G-28TQ V2 Руководство пользователя онлайн [561/772] 394694
Configuration Guide 536
Configuring ACL ACL Configuration
Switch(config-if)#exit
Switch(config)#interface vlan 2
Switch(config-if)#access-list bind 2
Switch(config-if)#exit
Switch(config)#show access-list bind
Index Policy Name Interface/VID Direction Type
----- ----------- ------------- -------- ----
1 1 Gi1/0/2 Ingress Port
2 2 2 Ingress Vlan
Index ACL ID Interface/VID Direction Type
----- ----------- ------------- -------- ----
Switch(config)#end
Switch#copy running-config startup-config

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
| gigabitEthernet
port
| ten-gigabitEthernet
port
}
access-list bind
acl
acl-id
(Optional) Enter layer 2 interface configuration mode and bind the ACL to the
port
: The port to which the ACL will bind.
acl-id
: The ID number of the ACL.
interface vlan
vlan-id
access-list bind acl
acl-id
(Optional) Enter layer 3 interface configuration mode and bind the policy to the VLAN.
vlan-id
: The VLAN to which the policy will bind.
acl-id
: The ID number of the ACL.
Step 3 end
Return to privileged EXEC mode.

Содержание

3073

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