Configuration Guide
548
Configuring ACL
ACL Configuration
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.
Step 5
copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to create Standard-IP ACL 600, and configure Rule 1 to
permit packets with source IP address 192.168.1.100
:
Switch#configure
Содержание T2500G-10MPS
Страница 1: ...User Guide T2500G 10MPS 1910012405 REV1 0 1 April 2018...
Страница 24: ...Using the CLI 767 Appendix Default Parameters 773...
Страница 27: ...Part 1 Accessing the Switch CHAPTERS 1 Overview 2 Web Interface Access 3 Command Line Interface Access...
Страница 129: ...Part 4 Configuring LAG CHAPTERS 1 LAG 2 LAG Configuration 3 Configuration Example 4 Appendix Default Parameters...
Страница 145: ...Part 5 Monitoring Traffic CHAPTERS 1 Traffic Monitor 2 Appendix Default Parameters...
Страница 172: ...Part 7 Configuring DDM CHAPTERS 1 Overview 2 DDM Configuration 3 Appendix Default Parameters...
Страница 190: ...Part 8 Configuring L2PT CHAPTERS 1 Overview 2 L2PT Configuration 3 Configuration Example 4 Appendix Default Parameters...
Страница 274: ...Part 13 Configuring GVRP CHAPTERS 1 Overview 2 GVRP Configuration 3 Configuration Example 4 Appendix Default Parameters...
Страница 800: ...Configuration Guide 776 Configuring SNMP RMON Appendix Default Parameters Parameter Default Setting Status Disable...
Страница 803: ...BSMI Notice Pb Cd Hg CrVI PBB PBDE PCB 1 2...