> # Port Information

> The port information is optional. To compare the source and destination ports, use the eq (equal) option, the gt (greater than) option, the lt (less than) option, or the range (range of ports) option. You can specify the port information in one of two ways:

> - Specify the number of the port. Port numbers range from 0 to 65535. Table 35-1 displays the port numbers recognized by the Cisco NX-OS software for associated TCP and UDP ports.
> - Specify the name of a TCP or UDP port as follows:
> - TCP port names can only be used when filtering TCP.
> - UDP port names can only be used when filtering UDP.

> Table 35-1 TCP and UDP Port Numbers
> Protocol | Port | Number
> --- | --- | ---
> UDP | dns | 53
> tftp | 69
> ntp | 123
> radius accounting | 1646 or 1813
> radius authentication | 1645 or 1812
> snmp | 161
> snmp-trap | 162
> syslog | 514
> TCP1 | ftp | 20
> ftp-data | 21
> ssh | 22
> telnet | 23
> smtp | 25
> tasacs-ds | 65
> www | 80
> sftp | 115
> http | 143
> wbem-http | 5988
> wbem-https | 5989

> 1If the TCP connection is already established, use the established option to find matches. A match occurs if the TCP datagram has the ACK, FIN, PSH, RST, or URG control bit set.

> Copyright 2010-2015, Cisco Systems, Inc. All rights reserved.