Tp-Link T1600G-28PS (TL-SG2424P) [544/754] Verify the configurations

Tp-Link T1600G-28PS (TL-SG2424P) [544/754] Verify the configurations
Configuration Guide 522
Configuring ACL Configuration Example for ACL
Switch(cong)#access-list extended 1600 rule 5 permit sip 10.10.70.0 smask 255.255.255.0
protocol 17 d-port 53
5) Configure Rule 6 to deny packets with source IP 10.10.70.0.
Switch(cong)#access-list extended 1600 rule 6 deny sip 10.10.70.0 smask 255.255.255.0
6) Create Policy Market, and then apply ACL 1600 to it.
Switch(cong)#access-list policy name Market
Switch(cong)#access-list policy action Market 1600
Switch(cong-action)#exit
7) Bind Policy Market to port 1/0/1.
Switch(cong)#interface gigabitEthernet 1/0/1
Switch(cong-if)#access-list bind Market
Switch(cong-if)#end
Switch#copy running-cong startup-cong
Verify the Configurations
Verify the congurations:
Switch(cong)#show access-list 1600
Extended IP access list 1600
rule 1 permit sip 10.10.70.0 smask 255.255.255.0 dip 10.10.80.0 dmask 255.255.255.0
rule 2 permit sip 10.10.70.0 smask 255.255.255.0 protocol 6 d-port 80
rule 3 permit sip 10.10.70.0 smask 255.255.255.0 protocol 6 d-port 443
rule 4 permit sip 10.10.70.0 smask 255.255.255.0 protocol 6 d-port 53
rule 5 permit sip 10.10.70.0 smask 255.255.255.0 protocol 17 d-port 53
rule 6 deny sip 10.10.70.0 smask 255.255.255.0
Switch(cong)#show access-list bind
Index Policy Name Interface/VID Direction Type
----- ----------- ------------- -------- ----
1 Market Gi1/0/1 Ingress Port

Содержание

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

Скачать