
Brief Introduction to ACL
209
You can use the following command to define the numbered Layer-2 ACL.
Perform the following configuration in corresponding view.
Table 227
Define Layer-2 ACL
Activating ACL
The defined ACL can be active after being activated globally on the Switch. This
function is used to activate the ACL filtering or classify the data transmitted by the
hardware of the Switch.
You can use the following command to activate the defined ACL.
Perform the following configuration in Ethernet Port View.
Table 228
Activate ACL
Displaying and
Debugging ACL
After the above configuration, execute
display
command in all views to display
the running of the ACL configuration, and to verify the effect of the configuration.
Execute
reset
command in User View to clear the statistics of the ACL module.
Table 229
Display and Debug ACL
The matched information of
display acl
command specifies the rules treated by
the software.
For syntax description, refer to the Command Reference Manual.
Operation
Command
Enter Layer-2 ACL view (from
System View)
acl number
acl_number
[ match-order {
config | auto }
Add a sub-item to the ACL
(from Layer-2 ACL View)
rule [
rule_id
] { permit | deny } [ [
type
protocol_type type_mask
| lsap
lsap_type type_mask
] |
format_type
|
cos
cos
| source {
source_vlan_id
|
source_mac_addr source_mac_wildcard
}* |
dest {
dest_mac_addr dest_mac_wildcard
} | time-range
name
]*
Delete a sub-item from the ACL
(from Layer-2 ACL View)
undo rule
rule_id
Delete one ACL or all the ACL
(from System View)
undo acl { number
acl_number
| all }
Operation
Command
Activate an ACL
packet-filter inbound ip-group
acl_number
[ rule
rule
[ link-group
acl_number
rule
rule
] ] |
link-group
acl_number
[ rule
rule
] }
Deactivate an ACL
undo packet-filter ip-group
acl_number
[ rule
rule
[
link-group
acl_number
[ rule
rule
] }
Operation
Command
Display the status of the time range
display time-range { all |
name
}
Display the detail information about the
ACL
display acl { all |
acl_number
}
Display the information about the ACL
running state
display packet-filter { interface {
interface_name
|
interface_type
interface_num
} | unitid
unit_id
}
Clear ACL counters
reset acl counter { all |
acl_number
}
Содержание SuperStack 4
Страница 6: ...18 ABOUT THIS GUIDE ...
Страница 13: ...Logging in to the Switch 25 Figure 3 Setting up a New Connection Figure 4 Configuring the Port for Connection ...
Страница 34: ...46 CHAPTER 1 GETTING STARTED ...
Страница 62: ...74 CHAPTER 3 VLAN OPERATION ...
Страница 69: ...PoE Configuration 81 ...
Страница 70: ...82 CHAPTER 4 POWER OVER ETHERNET POE CONFIGURATION ...
Страница 98: ...110 CHAPTER 5 NETWORK PROTOCOL OPERATION ...
Страница 220: ...232 CHAPTER 8 ACL CONFIGURATION ...
Страница 408: ...420 CHAPTER B RADIUS SERVER AND RADIUS CLIENT SETUP ...
Страница 432: ...444 APPENDIX D 3COM XRN ...