portname
192
ATMOS Console Commands Reference Manual (Binary) DO-008530-PS, Draft B (26th April 2001)
12.24 portname
12.24.1Syntax
portname add <name> <number>[/<protocol>]
portname flush
portname list
portname read <file>
portname help [all|<cmd>]
12.24.2Description
Sets up a mapping between a UDP or TCP port and a symbolic name;
deletes all such mappings; lists the mappings; reads the mappings from
a file; or displays help on the “portname” command.
The symbolic names can be used as values of the attributes LPORT and
RPORT provided the protocol type (UDP or TCP) is appropriate. They
are also displayed in place of port numbers, when a suitable mapping
exists.
<protocol>
should be either
UDP
or
TCP
; it can be omitted, but
that is not very useful.
For
portname read
, the file is in the same format as //isfs/services
which is the same as the output from
portname list
.
The
portname
command is
hidden
, not shown by
ip help
.
Configuration saving saves this information.
12.24.3Example
prompt>
ip portname flush
prompt>
ip portname add someport 105/tcp
prompt>
ip portname list
someport 105/TCP
prompt>
ip portname read //isfs/services
prompt>
ip portname list
router 520/UDP
snmp 161/UDP
tftp 69/UDP
telnet 23/TCP
Summary of Contents for ATMOS Console
Page 1: ...ATMOS Console Commands Reference Manual Binary DO 008530 PS Draft B 26th April 2001...
Page 10: ...Contents x ATMOS Console Commands Reference Manual Binary DO 008530 PS Draft B 26th April 2001...
Page 44: ...tell 34 ATMOS Console Commands Reference Manual Binary DO 008530 PS Draft B 26th April 2001...
Page 62: ...version 52 ATMOS Console Commands Reference Manual Binary DO 008530 PS Draft B 26th April 2001...
Page 102: ...version 92 ATMOS Console Commands Reference Manual Binary DO 008530 PS Draft B 26th April 2001...
Page 234: ...224 ATMOS Console Commands Reference Manual Binary DO 008530 PS Draft B 26th April 2001...