VN/UN764:G LgvUvtgco" N4" Ocpcigf" Uykvej" ENK" Iwkfg
189
Gzcorng"
Create a combined ACL whose ID is 320, and add Rule 10 for it. In the rule, the
source IP address is 192.168.0.100, the source IP address mask is
255.255.255.0, the time-range for the rule to take effect is tSeg1, and the
packets match this rule will be forwarded by the switch:
VN/UN764:G*eqphki+%ceeguu/nkuv"etgcvg"320"
VN/UN764:G*eqphki+%cee guu/nkuv" eqodkpgf" 320 twng" 10 permit ukr
192.168.0.100 uocum 255.255.255.0 vugi tSeg1
twng"
Fguetkrvkqp"
The twng command is used to configure MAC ACL rule. To delete the
corresponding rule, please use pq"twng command.
U{pvcz"
twng rule-id {deny | permit} [ [uoce source-mac] uocum source-mac-mask ]
[ [foce destination-mac] focum destination-mac-mask ] [xkf vlan-id] [v{rg
ethernet-type] [rtk user-pri] [vugi time-segment]
pq"twng rule-id"
Rctcogvgt"
rule-id —— The rule ID.
deny —— The operation to discard packets.
permit ——The operation to forward packets. By default, it is “permit”.
source-mac —— The source MAC address contained in the rule.
source-mac-mask —— The source MAC address mask. It is required if you
typed the source MAC address.
destination-mac —— The destination MAC address contained in the rule.
destination-mac-mask —— The destination MAC address mask. It is required
if you typed the destination MAC address.
vlan-id —— The VLAN ID contained in the rule, ranging from 1 to 4094.
ethernet-type —— EtherType contained in the rule, in the format of 4-hex
number.
user-pri —— The user priority contained in the rule, ranging from 0 to 7. By
default, it is not limited.