Tp-Link T1700G-28TQ V2 — настройка ACL: Полное руководство по конфигурации [554/772]

Превью страниц Страница 554 / 772
Tp-Link T1700G-28TQ V2 [554/772] Switch copy running config startup config
Configuring ACL ACL Configuration
Configuration Guide
529
Switch(config-mac-acl)#rule 5 permit smac 00:34:a2:d4:34:b5 smask ff:ff:ff:ff:ff:ff
Switch(config-mac-acl)#exit
Switch(config)#show access-list 50
mac access list 50
Rule 5 permit smac 00:34:a2:d4:34:b5 smask ff:ff:ff:ff:ff:ff
Switch(config)#end
Switch#copy running-config startup-config

Standard-IP ACL
Step 1 configure
Enter global configuration mode.
Step 2 access-list create
access-list-num
Create an Standard-IP ACL.
access-list-num
Enter an ACL ID. The ID ranges from 500 to 1499.
Step 3 access-list standard
acl-id
rule
rule-id
{ deny | permit } [[ sip
source-ip
] smask
source-
ip-mask
] [[ dip
destination-ip
] dmask
destination-ip-mask
] [ tseg
time-segment
]
Add rules to the ACL.
acl-id:
The ID number of the ACL you have created.
rule-id
:
Assign an ID to the rule. It cannot be the same as the existing Standard-IP Rule IDs.
deny | permit
:
Specify the action to be taken with the packets that match the rule. Deny means
to discard; permit means to forward. By default, it is set to permit.
source-ip:
Enter the source IP address.
source-ip-mask
:
Enter the mask of the source IP address. This is required if a source IP address
is entered.
destination-ip:
Enter the destination IP address.
destination-ip-mask:
Enter the mask of the destination IP address. This is required if a
destination IP address is entered.
time-segment:
The name of the time-range. The default is No Limit.
frag:
Enable or disable matching of fragmented packets. The default is disable. When enabled,
the rule will apply to all fragmented packets and always permit to forward the last fragment of
a packet.
Step 4 end
Return to privileged EXEC mode.

Содержание

3073

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