Download Operation Manual CLI
Transcript
Rules
Operation Manual CLI
Command
Mode
Function
match vlan { VLAN I any } [ MASK ]
Rule
Matches a VLAN.
VLAN: enter a VLAN number.
any: revoke the VLAN classifier
MASK: VLAN mask.
match inner-vlan { VLAN I any } [ MASK ]
Rule
Matches an inner VLAN.
VLAN: enter a VLAN number.
any: revoke the VLAN classifier
MASK: VLAN mask.
match dscp { DSCP I any }
Rule
Matches a DSCP value.
DSCP: enter a DSCP value (0 to 63)
any: revoke the DSCP classifier.
match cos { <0-7> I any }
Rule
Matches the IEEE 802.1p priority.
0 - 7: enter a .1priority value.
any: revoke the 1priority classifier.
match inner-cos { <0-7> | any }
Rule
Classifies a rule, matches the inner tag IEEE 801 .1p priority.
0 - 7: enter a .1priority value.
any: revoke the 1priority classifier
match tos { <0-255> I any }
Rule
Matches a rule.
0 - 255: enter TOS value.
any: revoke the TOS classifier.
match ip-prec { <0-7> I any }
Rule
Matches a rule (IP TOS precedence).
0 - 7: enter IP TOS precedence value.
any: revoke the IP TOS classifier
match mac { XX:XX:XX:XX:XX:XX I { XX:XX:XX:XX:XX:XX/M I
any} { XX:XX:XX:XX:XX:XX I { XX:XX:XX:XX:XX:XX/M I any }
Rule
Matches layer2 address.
source/destination MAC address,
source/destination MAC address with mask
any: revoke the destination MAC address classifier.
match ethtype { TYPE-NUM I arp I ip I ppp-disc I ppp-sess I any } Rule
Matches the Ethernet type.
TYPE-NUM: Ethernet type field (hex, e.g., 0800 for IPv4)
arp: address resolution protocol
ip: IP protocol
ppp-disc: PPPoE discovery
ppp-sess: PPPoE session
any: revoke the Ethernet classifier.
match flow { upstream I downstream I bidirectional I default I any } Rule
Matches the packet flow direction.
upstream: only upstream packets
downstream: only downstream packets
bidirectional: upstream and downstream packets
default: set all IU slots to default (=upstream)
any: revoke packet flow direction classifier.
match ip { A.B.C.D I A.B.C.D/M I any } { A.B.C.D I A.B.C.D/M I
any }
Rule
Matches the IP protocol.
source/destination IP address,
source/destination IP address with mask
any: revoke the destination IP protocol classifier .
match ip { A.B.C.D I A.B.C.D/M I any } { A.B.C.D I A.B.C.D/M I
any } icmp
Rule
Matches the IP protocol.
source/destination IP address,
source/destination IP address with mask
any source/destination IP address
any: revoke the destination IP protocol classifier.
match ip { A.B.C.D I A.B.C.D/M I any } { A.B.C.D I A.B.C.D/M I
any } icmp <0-255>
Rule
Configures the IP protocol.
source/destination IP address,
source/destination IP address with mask
any source/destination IP address
0 - 255: ICMP message type number
any: revoke the destination Ip address classifier.
242
Id:0900d80580204604