OcNOS-SP : Layer 3 Guide : Border Gateway Protocol Command Reference : BGP Flowspec Commands : match port
match port
Use this command to match TCP/UDP port number(s).
Command Syntax
match port [PORT_NUMBER|PORT_RANGE][,...,[PORT_NUMBER|PORT_RANGE]]
no match port
Parameters
PORT_NUMBER
A port number in 1-65535
PORT_NUMBER_RANGE
 
A range in a form of range: MIN_VALUE-MAX_VALUE. e.g. 10-100
Command Mode
Class-map mode.
Applicability
This command was introduced in OcNOS version 6.3.0.
Examples
(config)#class-map type traffic match-all test1
(config-cmap-tr)#match port 1000-2000
 
 
 
 
Last modified date: 10/16/2023