4 vacl ipv6 access-group, 5 vacl mac access-group, Vacl ipv – PLANET XGS3-24040 User Manual

Page 799: Access, Group, Vacl mac access

Advertising
background image

50-3

in | out: Filter the ingress/egress traffic.

traffic-statistic: Enable the statistic of matched packets number.

vlan WORD: The VLAN will be bound to VACL.

Command mode: Global Mode.

Default: None.

Usage Guide: Use “;” or “-” to input the VLAN or multi-VLANs, but do not exceed 128, and CLI length can

not exceed 80 characters.

Example: Configure the numeric IP ACL and enable the statistic function for Vlan 1-5, 6, 7-9.

Switch(config)#vacl ip access-group 1 in traffic-statistic vlan 1-5; 6; 7-9

50.4 vacl ipv6 access-group

Command: vacl ipv6 access-group (<500-699> | WORD) {in | out} (traffic-statistic|) vlan WORD

no ipv6 access-group {<500-699> | WORD} {in | out} vlan WORD

Function: This command configure VACL of IPv6 on the specific VLAN.

Parameter: <500-699> | WORD: Configure the numeric IP ACL (include: IPv6 standard ACL rule

<500-599>, IPv6 extended ACL rule <600-699>) or the named ACL.

in | out: Filter the ingress/egress traffic.

traffic-statistic: Enable the statistic of matched packets number.

vlan WORD: The VLAN will be bound to VACL.

Command mode: Global Mode.

Default: None.

Usage Guide: Use “;” or “-” to input the VLAN or multi-VLANs, but do not exceed 128, and CLI length can

not exceed 80 characters.

Example: Configure the numeric IPv6 ACL for Vlan 5.

Switch(config)#vacl ipv6 access-group 600 in traffic-statistic vlan 5

50.5 vacl mac access-group

Command: vacl mac access-group {<700-1199> | WORD} {in | out} [traffic-statistic] vlan WORD

no vacl mac access-group {<700-1199> | WORD} {in | out} vlan WORD

Function: This command configure VACL of MAC type on the specific VLAN.

Parameter: <700-1199> | WORD: Configure the numeric IP ACL (include: <700-799> MAC standard

access list, <1100-1199> MAC extended access list) or the named ACL.

in | out: Filter the ingress/egress traffic.

traffic-statistic: Enable the statistic of matched packets number.

vlan WORD: The VLAN will be bound to VACL.

Command mode: Global Mode.

Default: None.

Usage Guide: Use “;” or “-” to input the VLAN or multi-VLANs, but do not exceed 128, and CLI length can

not exceed 80 characters.

Example: Configure the numeric MAC ACL for Vlan 1-5.

Advertising