Black Box Version 1.0 user manual Delpatin command, Setpat command

Models: Version 1.0

1 95
Download 95 pages 8.96 Kb
Page 69
Image 69

Command format: addpatin <pppoapppoewanip> <port>/<udptcp> <serverip>

Parameter:

 

Wanip:

Real IP address

Port

The server port number, to which the

 

access is allowed

Udptcp

Packet transmission protocols

Serverip

The local server address

8.3.8.2 Delpatin command

The delpatin command deletes the addpatin command.

>pat> delpatin all

>pat>

Command format: delpatin <all><number>

Parameter:

 

 

 

all:

Deletes all

the connections.

Number:

The

virtual

connection number, displayed by

 

the

show command.

8.3.8.3 Setpat command

The setpat command enables and disables real IP address translation in LANs. The access list function will be added later.

>pat> setpat pppoa enable

>pat>

Command format: setpat <pppoapppoewanip> <e>nable<d>isable

Parameter:

 

 

Wanip:

Real IP address.

 

<e>nable<d>isable

Enables/disables

the PAT function.

8.3.8.4 Show command

The show command displays the PAT configuration.

> pat> show

PAT enabled interface:

Interface

IP address

IPoA

210.62.2.195

PPPoA

???.???.???.???

PAT incoming table

Version: 1.0

Page. 69 of 95

Page 69
Image 69
Black Box Version 1.0 user manual Delpatin command, Setpat command