Page 656 / 794
                                                    Scroll up to view Page 651 - 655
                                                
                    
Vigor2860 Series User’s Guide
642
0-disable the function. 
1-enable the function. 
-s[value] 
It means to specify service offered. 
Available values include: 
FTP, HTTP, HTTPS, TELNET, SSH, None, All 
-i[value] 
It means the interface which is allowed to access. 
Available values include: 
LAN2~LAN6, DMZ, IP Routed Subnet, None, All 
Note
: LAN1 is always allowed for accessing into the 
router. 
-f 
It means to flush all of the settings. 
-d 
It means to restore the factory default settings. 
-v 
It means to view current settings. 
-h 
It means to get the usage of such command. 
Example 
> mngt lanaccess -e 1 
> mngt lanaccess -s FTP,TELNET 
> mngt lanaccess -i LAN3 
>
> mngt lanaccess -v 
Current LAN Access Control Setting: 
* Enable:Yes 
* Service: 
- FTP:Yes 
- HTTP:No 
- HTTPS:No 
- TELNET:Yes 
- SSH:No 
* Subnet: 
- LAN 2: disabled 
- LAN 3: enabled 
- LAN 4: disabled 
- LAN 5: disabled 
 
                 
                                
                    
                        Page 657 / 794
                                            
                    
Vigor2860 Series User’s Guide 
643
- LAN 6: disabled 
- DMZ: disabled 
- IP Routed Subnet: disabled 
Note: the settings do NOT apply to LAN1, LAN1 is always allowed to access 
the router 
Telnet Command: mngt echoicmp 
This command allows users to reject or accept PING packets from the Internet. 
mngt echoicmp 
[enable] 
mngt echoicmp 
[disable] 
Syntax Description 
Parameter 
Description 
enable 
It means to accept the echo ICMP packet. 
disable 
It means to drop the echo ICMP packet. 
Example 
> mngt echoicmp enable 
%% Echo ICMP packet enabled. 
Telnet Command: mngt accesslist 
This command allows you to specify that the system administrator can login from a specific 
host or network. A maximum of three IPs/subnet masks is allowed.
mngt accesslist 
list 
mngt accesslist
add [index][ip addr][mask] 
mngt accesslist
remove [index] 
mngt accesslist
flush 
Syntax Description 
Parameter 
Description 
list 
It can display current setting for your reference. 
add 
It means adding a new entry. 
index 
It means to specify the number of the entry. 
ip addr 
It means to specify an IP address. 
 
                 
                                
                    
                        Page 658 / 794
                                            
                    
Vigor2860 Series User’s Guide
644
mask 
It means to specify the subnet mask for the IP address. 
remove 
It means to delete the selected item. 
flush 
It means to remove all the settings in the access list. 
Example 
> mngt accesslist add 1 192.168.1.89 255.255.255.0 
%% Set OK. 
> mngt accesslist list 
%% Access list : 
Index IP address 
Subnet mask 
========================================== 
1 
192.168.1.89 
255.255.255.0 
Telnet Command: mngt snmp 
This command allows you to configure SNMP for management.
mngt snmp 
[-<command> <parameter> | ... ]
Syntax Description 
Parameter 
Description 
[<command> 
<parameter>|…] 
The available commands with parameters are listed 
below. 
[…]
means that you can type in several commands in 
one line.
-e <1/2> 
1: Enable the SNMP function. 
2: Disable the SNMP function. 
-g<Community name> 
It means to set the name for getting community by 
typing a proper character. (max. 23 characters) 
-s <Community name> 
It means to set community by typing a proper name. 
(max. 23 characters) 
-m <IP address> 
It means to set one host as the manager to execute 
SNMP function. Please type in IPv4 address to specify 
certain host. 
-t <Community name> 
It means to set trap community by typing a proper name. 
(max. 23 characters) 
 
                 
                                
                    
                        Page 659 / 794
                                            
                    
Vigor2860 Series User’s Guide 
645
-n <IP address> 
It means to set the IPv4 address of the host that will 
receive the trap community. 
-T <seconds> 
It means to set the trap timeout <0~999>. 
-V 
It means to list SNMP setting. 
Example 
>
mngt snmp -e 1 -g draytek -s DK -m 
192.168.1.1 -t trapcom -n 10.20.3.40 
-T 88 
SNMP Agent Turn on!!! 
Get Community set to draytek 
Set Community set to DK 
Trap Community set to trapcom 
Notification Host IP set to 10.20.3.40 
Trap Timeout set to 88 seconds 
Telnet Command: msubnet switch 
This command is used to configure multi-subnet. 
msubnet switch
[2/3/4/5/6][On/Off]
Syntax Description 
Parameter 
Description 
2/3/4/5/6 
It means LAN interface. 
2=LAN2 
3=LAN3 
4=LAN4 
5=LAN5 
6=LAN6
On/Off 
On means turning on the subnet for the specified LAN 
interface. 
Off means turning off the subnet.
Example 
> msubnet switch 2 On 
% LAN2 
Subnet On! 
 
                 
                                
                    
                        Page 660 / 794
                                            
                    
Vigor2860 Series User’s Guide
646
This setting will take effect after rebooting. 
Please use "sys reboot" command to reboot the router. 
Telnet Command: msubnet addr 
This command is used to configure IP address for the specified LAN interface.
msubnet addr
[2/3/4/5/6][IP address]
Syntax Description 
Parameter 
Description 
2/3/4/5/6 
It means LAN interface. 
2=LAN2 
3=LAN3 
4=LAN4 
5=LAN5 
6=LAN6
IP address 
Type the private IP address for the specified LAN 
interface. 
Example 
>
msubnet addr 2 192.168.5.1 
% Set LAN2 subnet IP address done !!! 
This setting will take effect after rebooting. 
Please use "sys reboot" command to reboot the router. 
Telnet Command: msubnet nmask 
This command is used to configure net mask address for the specified LAN interface. 
msubnet nmask
[2/3/4/5/6][IP address] 
Syntax Description 
Parameter 
Description 
2/3/4/5/6 
It means LAN interface. 
2=LAN2 
3=LAN3