Configuration Guide
554
Configuring ACL
ACL Configuration
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.
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 ACL to the VLAN.
Note
: Packet Content ACLs cannot be bound to any VLANs.
vlan-id
: The VLAN to which the ACL will bind.
acl-id
: The ID number of the ACL.
Step 3
end
Return to privileged EXEC mode.
Содержание 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...