OcNOS-SP : Quality of Service Guide : Quality of Service Command Reference : Quality of Service Commands : match ipv6 layer4
match ipv6 layer4
Use this command to classify the IPv6 traffic based on layer4 protocol src/dest port value.
Use the no command to remove the match configuration.
Please note the following:
The match commands which accept range have silent exit which makes removal of these match configuration easier. Only one type of layer 4 matching criteria is supported per class-map.
Any match ipv6 commands cannot be configured in the class-map where match ipv4 commands are already configured.
Command Syntax
match ipv6 layer4 (tcp|udp|any) (source-port|destination-port) WORD
no match ipv6 layer4 (((tcp|udp|any) (source-port|destination-port) WORD) |all)
Parameters
tcp
Specify TCP protocol
udp
Specify UDP protocol
any
Specify ANY protocol - TCP/UDP
source-port
Specify source TCP/UDP port
destination-port
 
Specify destination TCP/UDP port
WORD
Enter TCP/UDP port value <1-65535> or range of values separated by commas such as 1 or 1,4-5 or 50,51,52
all
Delete all layer4 port entries
Default
No default value is specified
Command Mode
Class-map mode
Applicability
This command was introduced in OcNOS version 3.0.
Examples
(config)#class-map type qos C_QOS1
(config-cmap-qos)#match ipv6 layer4 tcp source-port 1
Last modified date: 10/20/2023