Page 716 / 794
Scroll up to view Page 711 - 715
Vigor2860 Series User’s Guide
702
wan1/wan2
It means to specify WAN interface for the port
redirection.
del [idx]
It means to remove the selected port redirection setting.
disable [idx]
It means to inactivate the selected port redirection
setting.
enable [idx]
It means to activate the selected port redirection setting.
flush
It means to clear all the port mapping settings.
table
It means to display Port Redirection Configuration Table.
Example
> srv nat portmap add 1 game tcp 80
192.168.1.11 100 wan1
> srv nat portmap table
NAT Port Redirection Configuration Table:
Index
Service Name
Protocol
Public Port
Private IP
Private
Port ifno
1
game
6
80
192.168.1.11
100
-1
2
0
0
0
-2
3
0
0
0
-2
4
0
0
0
-2
5
0
0
0
-2
6
0
0
0
-2
7
0
0
0
-2
8
0
0
0
-2
9
0
0
0
-2
10
0
0
0
-2
11
0
0
0
-2
12
0
0
0
-2
13
0
0
0
-2
14
0
0
0
-2
15
0
0
0
-2
16
0
0
0
-2
17
0
0
0
-2
18
0
0
0
-2
19
0
0
0
-2
Page 717 / 794
Vigor2860 Series User’s Guide
703
20
0
0
0
-2
Protocol: 0 = Disable, 6 = TCP, 17 = UDP
Telnet Command: srv nat status
This command allows users to view NAT Port Redirection Running Table.
Example
> srv nat status
NAT Port Redirection Running Table:
Index
Protocol
Public Port
Private IP
Private Port
1
6
80
192.168.1.11
100
2
0
0
0.0.0.0
0
3
0
0
0.0.0.0
0
4
0
0
0.0.0.0
0
5
0
0
0.0.0.0
0
6
0
0
0.0.0.0
0
7
0
0
0.0.0.0
0
8
0
0
0.0.0.0
0
9
0
0
0.0.0.0
0
10
0
0
0.0.0.0
0
11
0
0
0.0.0.0
0
12
0
0
0.0.0.0
0
13
0
0
0.0.0.0
0
14
0
0
0.0.0.0
0
15
0
0
0.0.0.0
0
16
0
0
0.0.0.0
0
17
0
0
0.0.0.0
0
18
0
0
0.0.0.0
0
19
0
0
0.0.0.0
0
20
0
0
0.0.0.0
0
--- MORE ---
['q': Quit, 'Enter': New Lines, 'Space Bar': Next Page]
---
Telnet Command: srv nat showall
This command allows users to view a summary of NAT port redirection setting, open port and
DMZ settings.
Page 718 / 794
Vigor2860 Series User’s Guide
704
Example
>
srv nat showall ?
Index
Proto
WAN IP:Port
Private IP:Port
Act
**************************************************************************
***
R01
TCP
0.0.0.0:80
192.168.1.11:100
Y
O01
TCP
0.0.0.0:23~83
192.168.1.100:23~83
Y
D01
All
0.0.0.0
192.168.1.96
Y
R:Port Redirection, O:Open Ports, D:DMZ
Telnet Command: switch -i
This command is used to obtain the TX (transmitted) or RX (received) data for each connected
switch.
switch -i
[switch idx_no] [option]
Syntax Description
Parameter
Description
switch idx_no
It means the index number of the switch profile.
option
The available commands with parameters are listed
below.
cmd
acc
traffic [on/off/status/tx/rx]
cmd
It means to send command to the client.
acc
It means to set the client authentication account and
password.
traffic
[on/off/status/tx/rx]
It means to turn on/off or display the data transmission
from the client.
Example
>
switch -i 1 traffic on
External Device NO. 1 traffic statistic function is enable
Telnet Command: switch on
This command is used to turn on the auto discovery for external devices.
Page 719 / 794
Vigor2860 Series User’s Guide
705
Example
>
switch on
Enable Extrnal Device auto discovery!
Telnet Command: switch off
This command is used to turn off the auto discovery for external devices.
Example
>
switch off
Disable External Device auto discovery!
Telnet Command: switch list
This command is used to display the connection status of the switch.
Example
> switch list?
No.
Mac
IP
status
Dur Time
Model_Name
------------------------------------------------------------------
---------
[1]
00-50-7f-cd-07-48
192.168.1.3
On-Line
00:01:01
Vigor2920 Series
Telnet Command: switch clear
This command is used to reset the switch table and reboot the router.
switch clear
[idx]
Syntax Description
Parameter
Description
idx
It means the index number of each item shown on the
table.
The range is from 1 to 8.
-f
It means to clear all of the data.
Example
> switch clear 1
Switch Data clear successful
> switch clear -f
Switch Data clear successful
Page 720 / 794
Vigor2860 Series User’s Guide
706
Telnet Command: switch query
This command is used to enable or disable the switch query.
Example
> switch query on
Extern Device status query is Enable
> switch query off
Extern Device status query is Disable
Telnet Command: sys admin
This command is used for RD engineer to access into test mode of Vigor router.
Telnet Command: sys adminuser
This command is used to create user account and specify LDAP server. The server will
authenticate the local user who wants to access into the web user interface of Vigor router.
sys adminuser
[option]
sys adminuser edit
[index] username password
Syntax Description
Parameter
Description
option
Available options includes:
Local [0-1]
LDAP [0-1]
edit [INDEX]
delete [INDEX]
view [INDEX]
Local [0-1]
0 – Disable the local user.
1 – Enable the local user.
LDAP [0-1]
0 – Disable the LDAP.
1 – Enable the LDAP.
edit [INDEX] username
password
Edit an existed user account or create a new local user
account.
[INDEX] – 1 ~8. There are eight profiles to be added /
edited.
Username – Type a new name for local user.
Password – Type a password for local user.