CLI Commands B-7

add nat tcp vc <user_name>

private_address [ip_address]

private_port [number]

￿public_port [number]

Parameters

Description

 

 

<vc_name>

VC profile name.

 

 

private_address

IP address of the server on the LAN.

 

 

private_port

Port number associated with the service.

 

 

public_port

Public port number.

 

 

Note: Typically, the private and public port numbers are set to the same value. See “Configuring Network Address Translation’ in Chapter 6 for an example in which they differ.

add nat udp vc <vc_name>

add network service <service_name> Status

private_address [ip_address]

private_port [number]

￿public_port [number]

Parameters

Description

 

 

<vc_name>

VC profile name.

 

 

private_address

IP address of the server on the LAN.

 

 

private_port

Port number associated with the service.

 

 

public_port

Public port number.

 

 

Note: Typically, the private and public port numbers are set to the same value. See “Configuring Network Address Translation’ in Chapter 6 for an example in which they differ.

server_type [server_type] socket [socket_number] enabled [YES]

data [“string”]

￿close_active_connections [TRUE FALSE]

This configures a network listener process that provides a certain type of service. To see the available server types, use list services.

Parameters

Description

 

 

<service_name>

Name of this type of service. Limit of 32 character ASCII string.

 

 

server_type

Designates the type of server:

 

HTTP

 

SNMPD - SNMP agent

 

TFTPD - server for file transfers

 

TELNETD - TELNET server to the CLI

Page 89
Image 89
3Com 812 manual Data string Closeactiveconnections True False, Http