Vigor 3900 CLI Guide PDF
Vigor 3900 CLI Guide PDF
Vigor 3900 CLI Guide PDF
Introduction
1.1 Accessing Telnet
Click Start > Run and type Telnet 192.168.1.1 in the Open box as below. Note that the IP
address in the example is the default address of the router. If you have changed the
default,enter the current IP address of the router.
Click OK. The Telnet terminal will be open. The screen will show [login].Type a valid
administrator name and press Enter . And then show [Password], type the password for
this administrator and press Enter will appears following screen.
1.apply [config]
When you modify the configure , create,delete,edit,You have to type this command to
save the equipment of set.
2.Enable
Change to enable mode
Example:
Vigor3900> status
Vigor3900> enable
Vigor3900# configure [command]==>enable mode
3.help
CONTEXT SENSITIVE HELP
[?] Display context sensitive help. This is either a list of possible
command completions with summaries, or the full syntax of the
current command. A subsequent repeat of this key, when a
command has been resolved, will display a detailed reference.
AUTO-COMPLETION
The following keys both perform auto-completion for the current command line.
If the command prefix is not unique then the bell will ring and a subsequent
repeat of the key will display possible completions.
[enter] Auto-completes, syntax-checks then executes a command. If
there is a syntax error then offending part of the command line
will be
[space] Auto-completes, or if the command is already resolved inserts
a space.
MOVEMENT KEYS
[CTRL-A] Move to the start of the line
[CTRL-E] Move to the end of the line.
[up] Move to the previous command line held in history.
[down] Move to the next command line held in history.
[left] Move the insertion point left one character.
[right] Move the insertion point right one character.
DELETION KEYS
[CTRL-C] Delete and abort the current line
[CTRL-D] Delete the character to the right on the insertion point.
[CTRL-K] Delete all the characters to the right of the insertion point.
[CTRL-U] Delete the whole line.
[backspace] Delete the character to the left of the insertion point.
ESCAPE SEQUENCES
!! Subsitute the the last command line
!N Substitute the Nth command line (absolute as per 'history'
command)
!-N Substitute the command line entered N lines before (relative)
5.status [command]
Get the following list system related status.
Command DESCRIPTION
arp Get current ARP status
conn_num Get conntrack number
conntrack Get conntrack session
dhcp Get DHCP active session
firewall Get current firewall config and status
lan Get current lan status
lut Get current switch lookup table info
neighbor6 Get current IPv6 neighbor table
process Get current process status
route Get current route table
route6 Get current IPv6 route table
switch Get current switch status
system Get current system status
vpn Get current vpn status
wan Get current wan status
Note1:Type .. to go back to upper layer menu
Type exit to go back to main menu
Command DESCRIPTION
applications Configure applications
bandwidth Configure bandwidth management
fw Configure firewall service
nat Configure NAT
object_setting Configure firewall object setting
system Configure system management
terminal Configure terminal
user Configure user management
vpn Configure VPN
Note: type ? Will display a list of possible command completions with summaries,
2.WAN
Vigor3900 provides four functions in WAN – General Setup,Default Route, Load
Balance(include load balancer pool,rule and auto load balance for china) , Switch.
Users could use the commands below to set up the details.
2.1General Setup
Vigor3900 supports multi-WAN function. It allows users to access Internet and combine
the bandwidth of the WAN profiles to speed up the transmission through the network. Each
WAN port can connect to different ISPs, even if the ISPs use different technology to
provide telecommunication service (such as DSL, Cable modem, etc.). If any connection
problem occurred on one of the ISP connections, all the traffic will be guided and switched
to the normal communication port for proper operation.
Command DESCRIPTION
pf add <SectionName> Add profile on wan
pf delete <SectionName> Delete profile on wan
pf show Get configuration on wan
pf <profileName> Modify the selected profile
example-
Vigor3900@config-t-wan# pf add <SectionName>
Vigor3900@config-t-wan# pf delete <SectionName>
Vigor3900@config-t-wan# pf show
Vigor3900@config-t-wan# pf <SectionName>
When you selected the profile or create a new profile, could use the commands below to
set up the details.
Command DESCRIPTION
.. Go back to upper layer menu
exit Go back to config-t-wan menu
cdhost Add or remove connection detection hosts to this profile
connect DHCP/PPPoE/PPTP connect
disconnect DHCP/PPPoE/PPTP disconnect
dns Add or remove more DNS to this profile
dns6 Add or remove more ipv6 DNS to this profile
get get configuration on this profile
ipalias Add or remove IP alias to this profile
set Configure profile
Vigor3900@config-t-wan# pf <SectionName>
Vigor3900@config-t-wan-pf<SectionName>#
2.1.1 Cdhost
In Vigor3900@config-t-wan-pf<SectionName># , users could use [cdhost] command
to configure this profile's connection detection hosts of this profile. Choose the [dhcp] or
[static] item and use [add] or [remove] to set the profile.
example
Vigor3900@config-t-wan# pf <profilename>
Vigor3900@config-t-wan-pf-<profilename># Cdhost dhcp add <profilename>
Vigor3900@config-t-wan-pf-<profilename># Cdhost static remove <profilename>
example-
Vigor3900@config-t-wan# pf <profilename>
Vigor3900@config-t-wan-pf-<profilename># connect [dhcp][pppoe][pptp]
Vigor3900@config-t-wan-pf-<profilename># disconnect [dhcp][pppoe][pptp]
2.1.3 dns
In Vigor3900@config-t-wan-pf<SectionName># , use the [dns] command to configure
the DNS server to add or remove DNS server.
**[add] Add dns server
**[remove] Remove dns server
example-
Vigor3900@config-t-wan-pf-<profilename># dns add <IP address>
Vigor3900@config-t-wan-pf-<profilename># dns remove <IP address>
2.1.4 dns6
In Vigor3900@config-t-wan-pf-<SectionName># , users could use [dns6] command to
configure the ipv6 DNS profile. Choose the [dhcp6-ia_na] or [static6] item and use [add] or
[remove] to set this profile.
example-
Vigor3900@config-t-wan# pf <profilename>
Vigor3900@config-t-wan-pf-<profilename># dns dhcp6-ia_na add <IP address>
Vigor3900@config-t-wan-pf-<profilename># dns static6 remove <IP address>
2.1.5 ipalias
In Vigor3900@config-t-wan-pf-<SectionName># , users could use [ipalias] command
to configure the IP alias address. Choose the [dhcp] or [static] item and use [add] or
[remove] to set this profile.
example-add
Vigor3900@config-t-wan# pf <profilename>
Vigor3900@config-t-wan-pf-<profilename># ipalias dhcp remove <IP address>
Vigor3900@config-t-wan-pf-<profilename># ipalias static add <IP address>
Command DESCRIPTION
dhcp get DHCP configuration
dhcp6-ia_na get IPv6 dhcp(ia_na) configuration
global get global configuration
pppoe get PPPoE configuration
pptp get PPTP configuration
static get static configuration
static6 get IPv6 static configuration
example-
Vigor3900@config-t-wan-pf-<SectionName># get dhcp
Command DESCRIPTION
dhcp Profile DHCP configuration
dhcp6-ia_na Profile IPv6 dhcp(ia_na) configuration
global Profile global configuration
pppoe Profile PPPoE configuration
pptp Profile PPTP configuration
static Profile static configuration
static6 Profile IPv6 static configuration
example-
Vigor3900@config-t-wan-pf-<SectionName># set dhcp ipaddr <DHCP IP address>
Vigor3900@config-t-wan-pf-<SectionName># set dhcp mask <DHCP mask address>
Vigor3900@config-t-wan-pf-<SectionName># set dhcp cdmode <ARP/PING/HTTP>
example-
Vigor3900@config-t-wan-pf-<SectionName># set dhcp6-ia_na gateway6 <gateway
address>
example-
Vigor3900@config-t-wan-pf-<SectionName># set global status <enable/disable>
Vigor3900@config-t-wan-pf-<SectionName># set global vid <number>
example-
Vigor3900@config-t-wan-pf-<SectionName># set pptp over <dhcp/static>
Vigor3900@config-t-wan-pf-<SectionName># set pptp always_on <enable/disable>
example-
Vigor3900@config-t-wan-pf-<SectionName># set static ipaddr <static ip address>
Vigor3900@config-t-wan-pf-<SectionName># set static cdint <Unsigned integer>
example-
Vigor3900@config-t-wan-pf-<SectionName># set static6 ip6addr <static ipv6
address>
Vigor3900@config-t-wan-pf-<SectionName># set static6 dns6 <static ipv6 DNS
address>
example-
Vigor3900@config-t-wan# defaultroute get
Note: [pool lb_pool] the former pool is command, and the latter is value. The value
is wan profile/load balance pool.
Command DESCRIPTION
lbpool add <SectionName> add load balancer pool
lbpool delete <SectionName> delete load balancer pool
lbpool show get load balancer pool
lbpool <SectionName> Modify the selected profile
selected the profile, then use the [get] , [set] command to configure the load balancer
pool configuration, use the [add],[remove] command to add or remove the load balancer
loadbalance interface.
Vigor3900@config-t-wan-lb-pool-<ProfileName># get
Vigor3900@config-t-wan-lb-pool-<ProfileName># set [mode mode] [lbif lb_iface]
[primary primary_pf] [backup backup_pf]
-------------------------------------------------------------------------------------------------------------
**[add] add load balancer loadbalance interface
**[remove] remove load balancer pool loadbalance interface
example-edit
Vigor3900@config-t-wan# lbpool show
Vigor3900@config-t-wan# lbpool <SectionName>
Vigor3900@config-t-wan-lb-pool-<ProfileName># get
example-delete
Vigor3900@config-t-wan# lbpool delete <SectionName>
Command DESCRIPTION
lbrule add <profileName> add load balancer rule
lbrule delete <profileName> delete load balancer rule
lbrule show get load balancer rule
lbrule <profileName> Modify the selected profile
selected the profile, then use the [get] , [set] command to configure the load balancer
rule configuration,
example-add:
Vigor3900@config-t-wan# lbrule add <profilename>
Vigor3900@config-t-wan-lb-rule-<profilename># set <command Value>
example-edit:
Vigor3900@config-t-wan# lbrule show
Vigor3900@config-t-wan# lbrule <profilename>
Vigor3900@config-t-wan-lb-rule-<profilename># get
Note: [status status] the former status is command, and the latter is value. The
value could reference the description below.
example-delete:
Vigor3900@config-t-wan# lbrule delete <profilename>
example-
Vigor3900@config-t-wan# autolb get
Vigor3900@config-t-wan# autolb set [status status] [telecom telecom_pool] [cnc
cnc_pool]
2.4 Switch
In Vigor3900@config-t-wan# , use [switch] command to configure Switch profile ,then
type the [interface],[mirror],[vlan] command to configure the details information.
Command DESCRIPTION
interface Configure switch interface
mirror Configure mirror
vlan Configure switch vlan
Vigor3900@config-t-wan# switch
Vigor3900@config-t-wan-switch# [interface][mirror][vlan]
Vigor3900@config-t-wan# switch
Vigor3900@config-t-wan-switch# interface <intf_num>
Vigor3900@config-t-wan# switch
Vigor3900@config-t-wan-switch# mirror get
Vigor3900@config-t-wan-switch# mirror set [status status] [mirroring mirroring]
[mirrored mirrored]
Command DESCRIPTION
vlan add <profileName> Create a new vlan
vlan delete <profileName> Delete vlan configure
vlan show Get current switch vlan configuration
vlan <profileName> Modify the selected profile
selected the profile, then use the [get],[member],[untag] command to configure the vlan
information.
example-add:
Vigor3900@config-t-wan-switch# vlan add <Profilename>
Vigor3900@config-t-wan-switch-vlan-<Profilename># member add <Switch interface
number>
Vigor3900@config-t-wan-switch-vlan-<Profilename># member remove <Switch
interface number>>
Vigor3900@config-t-wan-switch-vlan-<Profilename># untag <interface>
example-edit:
Vigor3900@config-t-wan-switch# vlan show
Vigor3900@config-t-wan-switch# vlan <Profilename>
Vigor3900@config-t-wan-switch-vlan-<Profilename># get
example-delete:
Vigor3900@config-t-wan-switch# vlan delete <Profilename>
3.LAN
LAN (Local Area Network) is a group of subnets regulated and ruled by router. The design
of network structure is related to what type of public IP addresses coming from your ISP.
Vigor3900 provides many functions in LAN – Users could use the commands below
to set up the details.
example-
Vigor3900@config-t-lan# interlanRoute get
Note: [status status] the former status is command, and the latter is value.
Status Value:Inter-LAN routing status (Enable/Disable)
example-
Vigor3900@config-t-lan# interlanRoute set status enable
Command DESCRIPTION
pf add <profileName> Create a new vlan
pf delete <profileName> Delete vlan configure
pf show Get current switch vlan configuration
pf <profileName> Modify the selected profile
example-
Vigor3900@config-t-lan# pf add <SectionName>
Vigor3900@config-t-lan# pf delete <SectionName>
Vigor3900@config-t-lan# pf show
Vigor3900@config-t-lan# pf <SectionName>
When you selected the profile or create a new profile, could use the commands below to
set up the details.
Command DESCRIPTION
.. Go back to upper layer menu
exit Go back to config-t-lan menu
2nd_subnet Add or remove more 2nd_subnet to this profile
dhcp Configure DHCP server
dhcp6 Configure DHCP6 server
dhcprelay Configure DHCP relay agent
get get current config
radvd Configure radvd
set Configure profile
Vigor3900@config-t-lan# pf <SectionName>
Vigor3900@config-t-lan-pf-<SectionName>#
3.2.1 2nd_subnet
In Vigor3900@config-t-lan-pf-<SectionName># , users could use [2nd_subnet]
command to configure the 2nd_subnet profile to add or remove 2nd_subnet .
Vigor3900@config-t-lan-pf-<SectionName># dhcp
Vigor3900@config-t-lan-pf-<SectionName>-dhcp# [dns][get][set]
example-dns
Vigor3900@config-t-lan-pf-<SectionName>-dhcp# dns [add][remove] <ip address>
Vigor3900@config-t-lan-pf-<SectionName>-dhcp# dns add <ip address>
example-get
Vigor3900@config-t-lan-pf-<SectionName>-dhcp# get
example- set
Vigor3900@config-t-lan-pf-<SectionName>-dhcp# set [status status] [start start] [end
end] [dns dns] [router router] [lease lease] [rdi_pool rdi_pool] [rdi_start rdi_start] [rdi_end
rdi_end]
example-
Vigor3900@config-t-lan-pf-<SectionName># dhcp6
Vigor3900@config-t-lan-pf-lan1-<SectionName>-dhcp6# get
example-
Vigor3900@config-t-lan-pf-<SectionName># dhcprelay
Vigor3900@config-t-lan-pf-<SectionName>-dhcprelay# get
example-
Vigor3900@config-t-lan-pf-<SectionName># radvd
Vigor3900@config-t-lan-pf-<SectionName>-radvd# get
example-
Vigor3900@config-t-lan-pf-<SectionName># get
3.2.7 Configure Lan profile
In Vigor3900@config-t-lan-pf-<SectionName>#,user could use [set] to configure the
Lan profile details.
example-
Vigor3900@config-t-lan-pf-lan1# set status enable
Vigor3900@config-t-lan-pf-lan1# set mode enable
3.3 IP Routing
In Vigor3900@config-t-lan# , users could use [iprouting] command to configure IP
Routing to add or delete the profile or use “show” to get the profile list in the directory.
Enter the profile name to open it and modify the profile directly.
Command DESCRIPTION
iprouting add <SectionName> Add iprouting section
iprouting delete <SectionName> Delete iprouting section
iprouting show Show iprouting summary
iprouting <SectionName> Modify the selected section
example-add
Vigor3900@config-t-lan# iprouting add <SectionName>
Vigor3900@config-t-lan-iprouting-<SectionName># set [status status] [wan_pf
wan_profile] [lan_pf lan_profile] [ipaddr ipaddr] [mask mask]
example-edit
Vigor3900@config-t-lan# iprouting show
Vigor3900@config-t-lan# iprouting <SectionName>
Vigor3900@config-t-lan-iprouting-<SectionName># get
3.4 Route
In Vigor3900@config-t-lan# , users could use [route] command to configure Route to
add or delete the profile or use “show” to get the profile list in the directory. Enter the
profile name to open it and modify the profile directly.
Command DESCRIPTION
route add <SectionName> Add static route section
route delete <SectionName> Delete static route section
route show Show static route summary
route <SectionName> Modify the selected section
selected the profile, then use the [get] or [set] command to configure the route
information.
example-add
Vigor3900@config-t-lan# route add <SectionName>
Vigor3900@config-t-lan-route- <SectionName># set [status status] [dest dest] [mask
mask] [gateway gateway] [pf profile]
example-edit
Vigor3900@config-t-lan# route show
Vigor3900@config-t-lan# route <SectionName>
Vigor3900@config-t-lan-route- <SectionName># get
3.5 Route6
In Vigor3900@config-t-lan# , users could use [route] command to configure Route6
to add or delete the profile or use “show” to get the profile list in the directory. Enter the
profile name to open it and modify the profile directly.
Command DESCRIPTION
route add <SectionName> Add static route6 section
route delete <SectionName> Delete static route6 section
route show Show static route6 summary
route <SectionName> Modify the selected section
selected the profile, then use the [get] or [set] command to configure the route6
information.
example-add
Vigor3900@config-t-lan#route6 add <SectionName>
Vigor3900@config-t-lan-route6- <SectionName># set [status status] [dest dest]
[prefix_len prefix_len] [nexthop nexthop] [pf profile]
example-edit
Vigor3900@config-t-lan#route6 show
Vigor3900@config-t-lan#route6 <SectionName>
Vigor3900@config-t-lan-route6- <SectionName># get
3.6 Switch
In Vigor3900@config-t-lan# , use [switch] command to configure Switch of the LAN
profile ,then type the [interface],[mirror],[vlan] command to configure the details
information.
Command DESCRIPTION
interface Configure switch interface
mirror Configure mirror
vlan Configure switch vlan
Vigor3900@config-t-lan# switch
Vigor3900@config-t-lan-switch# [interface][mirror][vlan]
Vigor3900@config-t-lan#switch
Vigor3900@config-t-lan-switch# interface <intf_num>
selected the Lan switch port, then use the [get] or [set] command to configure the detail
information.
example-
Vigor3900@config-t-lan-switch# interface <Lan switch port>
Vigor3900@config-t-lan-switch-<Lan switch port># get
example-
Vigor3900@config-t-lan-switch# mirror get
3.7 Vlan
In Vigor3900@config-t-lan# , users could use [vlan] command to configure Vlan to
add or delete the profile or use “show” to get the profile list in the directory. Enter the
profile name to open it and modify the profile directly.
Command DESCRIPTION
vlan add <SectionName> Create a new vlan
vlan delete <SectionName> Delete vlan configure
vlan show Get current switch vlan configuration
vlan <SectionName> Modify the selected section
selected the profile, then use the [get],[member],[untag] command to configure the vlan
information.
**[get] get switch vlan configuration
**[member] Configure vlan member interface,then use [add] or [remove] to add or
remove
**[untag] Configure vlan untag interface
example-add:
Vigor3900@config-t-lan-switch# vlan add <SectionName>
Vigor3900@config-t-lan-switch-vlan-<SectionName># member add <Switch interface
number>
Vigor3900@config-t-lan-switch-vlan-<SectionName># member remove <Switch
interface number>>
Vigor3900@config-t-lan-switch-vlan-<SectionName># untag <interface>
example-edit:
Vigor3900@config-t-lan-switch# vlan show
Vigor3900@config-t-lan-switch# vlan <SectionName>
Vigor3900@config-t-lan-switch-vlan-<SectionName># get
Command DESCRIPTION
ipbindmac add <SectionName> Create IP Bind Mac Profile
ipbindmac delete <SectionName> Delete IP Bind Mac Profile
ipbindmacshow Show IP Bind Mac Info
ipbindmac <SectionName> Modify the selected section
Ipbindmac get Get IP Bind Mac Mode
Ipbindmac set Set IP Bind Mac Mode
selected the profile, use the [get] or [set] command to configure the IP Bind Mac
Configuration.
example-add
Vigor3900@config-t-lan# ipbindmac add <profileName>
Vigor3900@config-t-lan-ipbindmac-<profileName># set [ip ip] [macaddr macaddr]
example-edit
Vigor3900@config-t-lan#ipbindmac show
Vigor3900@config-t-lan#ipbindmac <profileName>
Vigor3900@config-t-lan-ipbindmac-<profileName>#get
example-ipbindmac mode
Vigor3900@config-t-lan# ipbindmac get
Command DESCRIPTION
port_redirect add <profileName> Create port redirect profile
port_redirect delete <profileName> Delete port redirect profile
port_redirect show Show port redirect configuration
port_redirect <profileName> Open the selected profile
selected the profile, then use the [get] or [set] command to configure the address
mapping information.
example-add:
Vigor3900# configure nat
Vigor3900@config-nat# port_redirect add <profileName>
Vigor3900@config-nat-pr-<profileName># get
example-modify:
Vigor3900@config-nat# port_redirect show
Vigor3900@config-nat# port_redirect <profileName>
Vigor3900@config-nat-pr-<profileName># get
Note: [status status] the former status is prefix, and the latter is value. The
value could reference the description below.
example-delete:
Vigor3900@config-nat# port_redirect delete <profileName>
selected the profile, then use the [get] or [set] command to configure the address
mapping information.
**[get] Show DMZ Configuration
**[set] configure DMZ
example-add:
Vigor3900@config-nat# dmz add <profileName>
Vigor3900@config-nat-dmz-<profileName># get
example-modify:
Vigor3900@config-nat# dmz show
Vigor3900@config-nat# dmz <profileName>
Vigor3900@config-nat-dmz-<profileName># get
Note: [status status] the former status is prefix, and the latter is value. The value
could reference the description below.
example-delete:
Vigor3900@config-nat# dmz delete <profileName>
4.3 Address Mapping
4.3.1 Address Mapping
In Vigor3900@config-nat# , users could use [address_mapping ] command to
configure Address Mapping to add or delete the profile or use “show” to get the profile list
in the directory. Enter the profile name to open it and modify the profile directly.
Command DESCRIPTION
address_mapping Add <profileName> Create dmz profile
address_mapping Delete <profileName> Delete dmz profile
address_mapping show Show dmz configuration
address_mapping <profileName> Modify the selected profile
selected the profile, then use the [get] or [set] command to configure the address
mapping information.
example-add:
Vigor3900@config-nat# address_mapping add <profileName>
Vigor3900@config-nat-addrmap-<profileName># get
example-modify:
Vigor3900@config-nat# address_mapping show
Vigor3900@config-nat# address_mapping <profileName>
Vigor3900@config-nat-addrmap-<profileName># get
Note: [status status] the former status is prefix, and the latter is value. The value
could reference the description below.
example-delete:
Vigor3900@config-nat# address_mapping delete <profileName>
5.Firewall
The firewall controls the allowance and denial of packets through the router.
Vigor3900 provides six functions in Firewall – Filter Setup (IP Filter, Application
Filter, URL filter), Dos Defense, MAC Block and Port Block.Use this command to
display information about Firewall. Users could use the commands below to set up
the details.
Vigor3900# configure fw
Vigor3900@config-fw# <appfilter/ ddos/......>
Command DESCRIPTION
Ipfilterset add <profileName> Create IP Filter Set profile
Ipfilterset delete <profileName> Delete IP Filter Set profile
ipfilterset show Show IP Filter Set Info
ipfilterset <profileName> Modify the selected profile
selected the profile, then use the [get].[set] or [ipfilterrule] command to configure the IP
Filter information.
example-add:
Vigor3900# configure fw
Vigor3900@config-fw# ipfilterset add <profilename>
example-modify:
Vigor3900@config-fw# ipfilterset show
Vigor3900@config-fw# ipfilterset <profilename>
Vigor3900@config-fw-ipset-<profilename># get
Vigor3900@config-fw-ipset-<profilename># set [status status] [comment comment]
Note: [status status] the former status is command, and the latter is value. The
value could reference the description below.
example-delete:
Vigor3900@config-nat# ipfilterset delete <profileName>
Command DESCRIPTION
ipfilterrule add <profileName> Create IP Filter Rule Profile Detail
ipfilterrule delete <profileName> Delete IP Filter Rule Profile Detail
ipfilterrule show Show IP Filter Rule Profile Info Detail
ipfilterrule <profileName> Modify the selected profile
selected the profile, then use the [get].[set] or [ipfilterrule] command to configure the IP
Filter Rule information.
example-add
Vigor3900@config-fw-ipset-<profilename># ipfilterrule add <profile>
Vigor3900@config-fw-ipset-<profilename>-< ipfilterrule Profilename># get
example-modify
Vigor3900@config-fw-ipset-<profilename># ipfilterrule show
Vigor3900@config-fw-ipset-<profilename># ipfilterrule <profile>
Vigor3900@config-fw-ipset-<profilename>-< ipfilterrule Profilename># get
Vigor3900@config-fw-ipset-<profilename>-< ipfilterrule Profilename># set [status
status] [profile profile] [time time_profile] [srcgrp src_group] [dstgrp dst_group] [srv
service_group] [in in_intf] [out out_intf] [frag fragment][action action] [nextgrp next_group]
[syslog syslog]
Note: [status status] the former status is command, and the latter is value. The
value could reference the description below.
example-delete:
Vigor3900@config-nat# ipfilterrule delete <profileName>
Command DESCRIPTION
appfilter Add <profileName> Create Application Filter Set profile
appfilter Delete <profileName> Delete Application Filter Set profile
appfilter show Show Application Filter Set Info
appfilter <profileName> Modify the selected profile
selected the profile, then use the [get] or [set] command to configure the Application
Filter information.
example-add:
Vigor3900# configure fw
Vigor3900@config-fw# appfilter add <profilename>
Vigor3900@config-fw-appfilter-<profilename># get
example-modify:
Vigor3900@config-fw# appfilter show
Vigor3900@config-fw# appfilter <profilename>
Vigor3900@config-fw-appfilter-<profilename># get
Note: [status status] the former status is command, and the latter is value. The
value could reference the description below.
example-delete:
Vigor3900@config-nat# appfilter delete <profileName>
Command DESCRIPTION
urlfilter add <profileName> Create URL Filter Set profile
urlfilter delete <profileName> Delete URL Filter Set profile
urlfilter show Show URL Filter Set Info
urlfilter <profileName> Modify the selected profile
selected the profile, then use the [get] or [set] command to configure the URL Filter
information.
eample-add:
Vigor3900# configure fw
Vigor3900@config-fw# urlfilter add <profilename>
Vigor3900@config-fw-urlfilter-<profilename># get
eample-modify:
Vigor3900# configure fw
Vigor3900@config-fw# urlfilter show
Vigor3900@config-fw# urlfilter <profilename>
Vigor3900@config-fw-urlfilter-<profilename># get
Note: [status status] the former status is command, and the latter is value. The
value could reference the description below.
example-delete:
Vigor3900@config-nat# urlfilter delete <profileName>
Command DESCRIPTION
switch <get/set> DDoS Defense on switch
system <get/set> DDoS Defense on system
selected the profile, then use the [get] or [set] command to configure .
example-switch:
Vigor3900@config-fw# ddos
Vigor3900@config-fw-ddos# switch get
Command DESCRIPTION
macblock add <profileName> Create MAC Block profile
macblock delete <profileName> Delete MAC Block profile
macblock show Show MAC Block profile Info
macblock <profileName> Modify the selected profile
selected the profile, then use the [get] or [set] command to configure the MAC Block
information.
example-add:
Vigor3900@config-fw# macblock add <profilename>
Vigor3900@config-fw-macblock-<profilename># get
example-edit:
Vigor3900@config-fw# macblock show
Vigor3900@config-fw# macblock <profilename>
Vigor3900@config-fw-macblock-<profilename># get
Note: [status status] the former status is command, and the latter is value. The
value could reference the description below.
example-delete:
Vigor3900@config-fw# macblock delete <profilename>
Command DESCRIPTION
portblock add <profileName> Create Port Block profile
portblock delete <profileName> Delete Port Block profile
portblock show Show Port Block profile Info
portblock <profileName> Modify the selected profile
selected the profile, then use the [get] or [set] command to configure the Port Block
information.
example-add:
Vigor3900# configure fw
Vigor3900@config-fw# portblock add <profilename>
Vigor3900@config-nat-pr-<profileName># get
example-edit:
Vigor3900@config-fw# portblock show
Vigor3900@config-fw# portblock <profilename>
Vigor3900@config-fw-<profileName># get
Vigor3900@config-fw-portblock-<profilename># set [status status] [port port]
6.1 IP Object
In Vigor3900@config-object# , users could use [ip_object] command to configure IP
Object to add or delete the profile or use “show” to get the profile list in the directory. Enter
the profile name to open it and modify the profile directly.
Command DESCRIPTION
ip_object add <profileName> Create IP Object profile
ip_object delete <profileName> Delete IP Object profile
ip_object show Show IP Object Profile Info
ip_object <profileName> Modify the selected profile
selected the profile, then use the [get] or [set] command to configure the IP Object
information.
example-add:
Vigor3900@config-object# ip_object add <profileName>
Vigor3900@config-object-ipobj-<profileName># get
example-edit:
Vigor3900@config-object# ip_object show
Vigor3900@config-object# ip_object <profileName>
Vigor3900@config-object-ipobj-<profileName># get
Note: [inf interface] the former inf is command, and the latter is value. The value
could reference the description below.
example-delete:
Vigor3900@config-object# ip_object delete <profileName>
6.2 IP Group
In Vigor3900@config-object# , users could use [ip_group] command to configure IP
Group to add or delete the profile or use “show” to get the profile list in the directory. Enter
the profile name to open it and modify the profile directly.
Command DESCRIPTION
ip_group add <profileName> Create Service Group profile
ip_group delete <profileName> Delete IP Group profile
ip_group show Show IP Group Profile Info
ip_group <profileName> Modify the selected profile
selected the profile, then use the [get], [set],[objects] command to configure the IP
Group information.
example-edit:
Vigor3900@config-object# ip_group show
Vigor3900@config-object# ip_group <profileName>
Vigor3900@config-object-ipobj-<profileName># get
Note: [inf interface] the former inf is command, and the latter is value. The value
could reference the description below.
example-delete:
Vigor3900@config-object# ip_object delete <profileName>
Command DESCRIPTION
service_object add <profileName> Create Service Object Profile
service_object delete <profileName> Delete Service Object Profile
service_object show Show Service Object Profile Info
service_object <profileName> Modify the selected profile
selected the profile, then use the [get] or [set] command to configure the Service Type
Object information.
example-edit:
Vigor3900@config-object# service_object show
Vigor3900@config-object# service_object <profileName>
Vigor3900@config-object-srvobj-<profileName># get
Note: [proto protocol] the former proto is command, and the latter is value. The
value could reference the description below.
example-delete:
Vigor3900@config-object# service_object delete <profileName>
Command DESCRIPTION
service_group add <profileName> Create Service Group Profile
service_group delete <profileName> Delete Configure objects member Profile
service_groupshow Show Service Group Profile Info
service_group <profileName> Modify the selected profile
selected the profile, then use the [get],[set],[objects] command to configure the Service
Group information.
**[get] Show Service Group configuration
**[set] configure Service Group
**[objects] Configure objects member
example-add:
Vigor3900@config-object# service_group add <profileName>
Vigor3900@config-object-ipgrp-<profileName># objects [add][remove] <member>
example-edit:
Vigor3900@config-object# service_group show
Vigor3900@config-object# service_ group <profileName>
Vigor3900@config-object-srvgrp-<profileName># get
Note: [desc description ] the former desc is command, and the latter is value.
example-delete:
Vigor3900@config-object# service_group delete <profileName>
Command DESCRIPTION
keyword_object add <profileName> Create Keyword Object profile
keyword_object delete <profileName> Delete Keyword Object profile
keyword_object show Show Keyword Object Profile Info
keyword_object <profileName> Modify the selected profile
selected the profile, then use the [get] or [member] command to configure the Keyword
Object information.
example-add:
Vigor3900@config-object# keyword_object add <profileName>
Vigor3900@config-object-kwobj-<profileName># get
Vigor3900@config-object-kwobj-<profileName># member [add][remove]<member>
example-delete:
Vigor3900@config-object# keyword_object delete <profileName>
Command DESCRIPTION
keyword_ group add <profileName> Create Keyword Group Profile
keyword_ group delete <profileName> Delete Keyword Group Profile
keyword_ group show Show Keyword Group Profile Info
keyword_ group <profileName> Modify the selected profile
selected the profile, then use the [get] or [set] command to configure the Keyword
Group information.
example-add:
Vigor3900@config-object# keyword_ group add <profileName>
Vigor3900@config-object-kwgrp-<profileName># objects [add][remove]<member>
example-edit:
Vigor3900@config-object# keyword_ group show
Vigor3900@config-object# keyword_ group <profileName>
Vigor3900@config-object-kwgrp-<profileName># get
Vigor3900@config-object-kwgrp-<profileName># set [desc description]
**[desc] Description
Note: [desc description ] the former desc is command, and the latter is value.
example-delete:
Vigor3900@config-object# keyword_ group delete <profileName>
Command DESCRIPTION
fext_object add <profileName> Create File Extension Object Profile
fext_object delete <profileName> Delete File Extension Object Profile
fext_object show Show File Extension Object Profile Info
fext_object <profileName> Modify the selected profile
Modify the selected profile then use below command to setting the File Extension Object
detail information.
Command DESCRIPTION
activex Configure ActiveX file extension
(.alx/.apb/.axs/.ocx/.olb/.ole/.tlb/.viv/.vrm)
audio Configure Audio file extension
(.asf/.avi/.mov/.mpe/.mpeg/.mpg/.mp4/.qt/.rm/.wmv/.3gp/.3gpp/.3gpp2/.3g2)
compression Configure COMPRESSION file extension
(.ace/.arj/.bzip2/.bz2/.cab/.gz/.gzip/.rar/.sit/.zip)
execution Configure EXECUTION file extension
(.bas/.bat/.com/.exe/.inf/.pif/.reg/.scr)
image Configure Image file extension
(.bmp/.dib/.gif/.jpeg/.jpg/.jpg2/.jp2/.pct/.pcx/.pic/.pict/.png/.tif/.tiff)
java Configure JAVA file extension
(.class/.jad/.jar/.jav/.java/.jcm/.js/.jse/.jsp/.jtk)
video Configure Video file extension
(.asf/.avi/.mov/.mpe/.mpeg/.mpg/.mp4/.qt/.rm/.wmv/.3gp/.3gpp/.3gpp2/.3g2)
example-delete:
Vigor3900@config-object# fext_object delete <profileName>
6.8 IM Object
In Vigor3900@config-nat# , users could use [ im_object] command to configure IM
Object to add or delete the profile or use “show” to get the profile list in the directory. Enter
the profile name to open it and modify the profile directly.
Command DESCRIPTION
im_object add <profileName> Create IM Object profile
im_object delete <profileName> Delete IM Object profile
im_object show Show IM Object Profile Info
im_object <profileName> Modify the selected profile
selected the profile, then use the [get] or [member] command to configure the IM Object
information.
example-add:
Vigor3900@config-object# im_object add <profileName>
Vigor3900@config-object-im-<profileName># get
example-delete:
Vigor3900@config-object# im_object delete <profileName>
Command DESCRIPTION
p2p_object add <profileName> Create P2P Object profile
p2p_object delete <profileName> Delete P2P Object profile
p2p_object show Show P2P Object Profile Info
p2p_object <profileName> Modify the selected profile
selected the profile, then use the [get] or [member] command to configure the P2P
Object information.
example-add:
Vigor3900@config-object# p2p_object add <profileName>
Vigor3900@config-object-p2p-<profileName># member [add][remove]< P2P Type>
Vigor3900@config-object-p2p-<profileName># get
example-delete:
Vigor3900@config-object# p2p_object delete <profileName>
Command DESCRIPTION
proto_object add <profileName> Create Protocol Object profile
proto_object delete <profileName> Delete Protocol Object profile
proto_object show Show Protocol Object Profile Info
proto_object <profileName> Modify the selected profile
selected the profile, then use the [get] or [set] command to configure the Protocol
Object information.
example-add:
Vigor3900@config-object# proto_object add <profileName>
Vigor3900@config-object-proto-<profileName># member [add][remove] < Protocol
Type>
Vigor3900@config-object-proto-<profileName># get
example-delete:
Vigor3900@config-object# proto_object delete <profileName>
Command DESCRIPTION
web_category add <profileName> Create Web Category Object Profile
web_category delete <profileName> Delete Web Category Object Profile
web_category show Show Web Category Object Profile Info
web_category <profileName> Modify the selected profile
6.11.2 business
Vigor3900@config-object-webcate-<profile>#business [add][remove] <category_type>
6.11.3 chat
Vigor3900@config-object-webcate-<profile># chat [add][remove] <category_type>
6.11.5 computer
Vigor3900@config-object-webcate-<profile># computer [add][remove]
<category_type>
**[add] Add Web Category computer type
**[remove] remove Web Category computer type
<category_type>: Anonymizers/Forums-And-Newsgroups/Computers-And-Technology/
Down-sites/Streamiing-Media-And-Downloads/Phishing-And-Fraud/
Search-engines-And-Portals/Social-Networking/Spam-sites/Malware/
Botnets/Hacking/Illegal-Softwares/Information-Security/Peer-to-Peer
6.11.6 leisure
Vigor3900@config-object-webcate-<profile># leisure [add][remove] <category_type>
6.11.7 other
Vigor3900@config-object-webcate-<profile># other [add][remove] <category_type>
Command DESCRIPTION
time_object add <profileName> Create Time Object Profile
time_object delete <profileName> Delete Time Object Profile
time_object show Show Time Object Profile Info
time_object <profileName> Modify the selected profile
selected the profile, then use the [get],[set],[weekdays] command to configure the Time
Object information.
example-add:
Vigor3900@config-object# time_object add <profileName>
Vigor3900@config-object-timeobj-<profileName># weekdays add < Weekdays Type>
example-edit:
Vigor3900@config-object# time_object show
Vigor3900@config-object# time_object <profileName>
Vigor3900@config-object-timeobj-<profileName># get
example-delete:
Vigor3900@config-object# time_object delete <profileName>
Command DESCRIPTION
time_group add <profileName> Create Time Group Profile
time_group delete <profileName> Delete Time Group Profile
time_group show Show Time Group Profile Info
time_group <profileName> Modify the selected profile
selected the profile, then use the [get],[set],[objects] command to configure the Time
Group information.
example-add:
Vigor3900@config-object# time_group add <profileName>
Vigor3900@config-object-kwgrp-<profileName># objects [add][remove] <member>
example-edit:
Vigor3900@config-object# keyword_ group show
Vigor3900@config-object# keyword_ group <profileName>
Vigor3900@config-object-kwgrp-<profileName># get
example-delete:
Vigor3900@config-object# keyword_ group delete <profileName>
7.User Management
User Management can manage all the accounts (user profiles) to connect to Internet via
different protocols.
Command DESCRIPTION
users add <userName> Add application users
users delete <userName> Delete users
users show Get configuration of application users
users <userName> Modify the selected profile
selected the profile, then use the [get] or [set] command to configure the User Profile
information.
example-add:
Vigor3900@config-user# users add <profileName>
Vigor3900@config-usr-<profileName># set <command>
example-edit:
Vigor3900@config-usr# users show
Vigor3900@config-usr# users <profileName>
Vigor3900@config-usr-<profileName># get
example-delete:
Vigor3900@config-usr# users delete <profileName>
8.Application
Vigor3900 provides seven functions in Application– DDNS, RADIUS,
UpnP....,.Users could use the commands below to set up the details.
Command DESCRIPTION
ddns Configure dynamic DNS service
exit Go back to main menu
ha Configure High Availability
rip Configure RIP
samba Configure Samba service
upnp Configure UPnP
vs Configure virtual system
wol Wake on LAN
8.1Dynamic DNS
In Vigor3900@config-app# , users could use [ddns] command to configure Dynamic
Dns.User could use “show” to get the profile list in the directory, or selected the profile,
then use the [get] or [set] command to configure the Dynamic Dns details information.
example-show:
Vigor3900@config-app-ddns# show
example-get:
Vigor3900@config-app-ddns# get <profile name>
example-set:
Vigor3900@config-app-ddns# set [status status] [if if-name] [provider provider] [stype
server_type] [domain domain-name] [login login-name] [pw password] [wildcard wildcard]
[backup_mx backup-mx] [mx mail-extender] <ProfileName>
Vigor3900@config-app# upnp
Vigor3900@config-app-upnp# [get][set]
example-get:
Vigor3900@config-app-upnp# get
Vigor3900@config-app-upnp# set [status status] [download download] [upload upload]
[external external] [internal internal] [max_session max_session]
Command DESCRIPTION
vs add <sectionName> Add virtual system section
vs delete <sectionName> Delete virtual system section
vs show Show virtual system summary
vs <sectionName> Modify the selected profile
selected the profile, then use the [get] or [set] command to configure the Virtual System
information.
example-add:
Vigor3900@config-app# vs
Vigor3900@config-app-vs# vs add <sectionName>
Vigor3900@config-app-vs-<SectionName># set <command>
example-edit:
Vigor3900@config-app# vs
Vigor3900@config-app-vs# vs <SectionName>
Vigor3900@config-app-vs-<SectionName># get
example-delete:
Vigor3900@config-app-vs# vs delete <SectionName>
8.3.2 Tunnel
In Vigor3900@config-app-vs-<Section># , users could use [tunnel] command to
configure vs-tunnel section to add or delete the profile or use “show” to get the profile list in
the directory. Enter the profile name to open it and modify the profile directly.
Command DESCRIPTION
tunnel add <sectionName> Add vs-tunnel section
tunnel delete <sectionName> Delete vs-tunnel section
tunnel show Show vs-tunnel summary
tunnel <sectionName> Modify the selected section
selected the section, then use the [get],[set],[subnet] command to configure the vs-tunnel
information.
example-add
Vigor3900@config-app# vs
Vigor3900@config-app-vs# vs <SectionName>
Vigor3900@config-app-vs-<SectionName># tunnel add <SectionName>
Vigor3900@config-app-vs-<SectionName># get
example-edit
Vigor3900@config-app-vs-<SectionName># tunnel show <SectionName>
Vigor3900@config-app-vs-<SectionName># tunnel <SectionName>
Vigor3900@config-app-vs-<SectionName>-tunnel-<SectionName># get
Vigor3900@config-app-vs-<SectionName>-tunnel-<SectionName># set [desc
description] [subnet subnet]
Add more subnet or Remove the select subnet , use the [add],[remove] command to
configurat
example-delete:
Vigor3900@config-app-vs-<SectionName># tunnel delete <SectionName>
example-
Vigor3900@config-app-vs-<SectionName>-tunnel-<SectionName># ipsecpolicy
Vigor3900@config-app-vs-<SectionName>-tunnel-<SectionName>-ipsecpolicy#
[initiate][disconnect]
Vigor3900@config-app-vs-<SectionName>-tunnel-<SectionName>-ipsecpolicy# get
Vigor3900@config-app-vs-<SectionName>-tunnel-<SectionName>-ipsecpolicy# set
[status status] [auth auth] [leftpem leftpem] [psk psk] [secret_type secret_type][localhost
localhost] [localsubnet localsubnet] [localnext localnext] [remotehost remotehost]
[remotesubnet remotesubnet] [more_remotesubnet more_remotesubnet] [aggrmode
aggrmode] [localid localid] [remoteid remoteid][phase1keylifetimephase1keylifetime]
[phase2keylifetime phase2keylifetime] [pfs pfs] [dpd dpd][dpddelay dpddelay] [dpdtimeout
dpdtimeout] [dhcpoveripsec dhcpoveripsec] [l2tpoveripsec l2tpoveripsec] [gre gre]
[localgreip localgreip] [remotegreip remotegreip] [autogrekey autogrekey] [grekeyin
grekeyin] [grekeyout grekeyout] [ikephase1proposal ikephase1proposal]
[ikephase1authproposal ikephase1authproposal] [ikephase2proposal ikephase2proposal]
[ikephase2authproposal ikephase2authproposal] [acceptall acceptall]
example
Vigor3900@config-app# ha get
Vigor3900@config-app# ha set [status status] [lan lan] [vip vip] [vhid vhid] [role role] [pip
pip]
Command Value DESCRIPTION
status status status (Enable/Disable)
lan lan LAN profile
vip vip virtual IP
vhid vhid Virtual Host ID
role role Role (Master/Backup)
pip pip Peer IP
Note: [status status] the former status is command, and the latter is value. The
value could reference the description below.
Vigor3900@config-app# rip
Vigor3900@config-app-rip# <command>
example-
Vigor3900@config-app# rip
Vigor3900@config-app-rip# show
Vigor3900@config-app-rip# get
Vigor3900@config-app# sipalg
Vigor3900@config-app-sipalg# [get][set <command]
example-
Vigor3900@config-app# sipalg
Vigor3900@config-app-sipalg# get
example-
Vigor3900@config-app# wol [host]
**[host] MAC address or IP address in the IP_Bind_MAC list [ ]
9.VPN
VPN(A Virtual Private Network) is the extension of a private network that encompasses
links across shared or public networks like the Internet. In short, by VPN
technology, user can send data between two computers across a shared or public
network in a manner that emulates the properties of a point-to-point private link.
Vigor3900 provides three functions in VPN – LAN-to-LAN, remote dial-in and VPN
trunk.Users could use the commands below to set up the details.
Command DESCRIPTION
lan2lan Configure LAN-to-LAN VPN tunnel
remotedialin Configure remote dial-in VPN tunnel
trunk Configure VPN trunk tunnel
example-
Vigor3900@config-vpn-remotedialin# pptpserver
Vigor3900@config-vpn-remotedialin-pptpserver# get
example-
Vigor3900@config-vpn-remotedialin# l2tpserver
Vigor3900@config-vpn-remotedialin-l2tpserver# get
example-
Vigor3900@config-vpn-remotedialin# ipsecremotedialin
Vigor3900@config-vpn-remotedialin-ipsecremotedialin# get
Command DESCRIPTION
ipsecpolicy add <profileName> Add IPSec section
ipsecpolicy delete <profileName> Delete IPSec policy section
ipsecpolicy show Show IPSec configuration
Ipsecpolicy <profileName> Modify the selected profile
selected the profile, could choose the IPSec policy is initate or not, then use the [get] or
[set] command to configure the IP Sec Policy details information.
example-add:
Vigor3900@config-vpn-l2l# ipsecpolicy add <sectionName>
Vigor3900@config-vpn-l2l-<sectionName># connect
Vigor3900@config-vpn-l2l-<sectionName># get
example-edit:
Vigor3900@config-vpn-l2l# ipsecpolicy show
Vigor3900@config-vpn-l2l# ipsecpolicy <sectionName>
Vigor3900@config-vpn-l2l-<sectionName># get
Vigor3900@config-vpn-l2l-<sectionName># set [status status] [auth auth] [leftpem
leftpem] [psk psk] [secret_type secret_type] [localhost localhost] [localsubnet localsubnet]
[localnext localnext] [remotehost remotehost] [remotesubnet remotesubnet]
[more_remotesubnetmore_remotesubnet] [aggrmode aggrmode] [localid localid] [remoteid
remoteid] [phase1keylifetime phase1keylifetime] [phase2keylifetime phase2keylifetime][pfs
pfs] [dpd dpd][dpddelay dpddelay] [dpdtimeout dpdtimeout] [dhcpoveripsec dhcpoveripsec]
[l2tpoveripsec l2tpoveripsec] [gre gre] [localgreip localgreip] [remotegreip remotegreip]
[autogrekey autogrekey] [grekeyin grekeyin] [grekeyout grekeyout] [ikephase1proposal
ikephase1proposal] [ikephase1authproposal ikephase1authproposal] [ikephase2proposal
ikephase2proposal] [ikephase2authproposal ikephase2authproposal] [acceptall acceptall]
example-edit:
Vigor3900@config-vpn-l2l# ipsecpolicy delete<sectionName>
Command DESCRIPTION
pptpdialout add <profileName> Add PPTP dial-out tunnel
pptpdialout delete <profileName> Delete PPTP dial-out tunnel
pptpdialout show Show PPTP dial-out tunnel configuration
pptpdialout <profileName> Modify the selected tunnel
selected the profile, could choose the IPSec policy is initate or not, then use the [get] or
[set] command to configure the IP Sec Policy details information.
example-add:
Vigor3900@config-vpn-l2l# pptpdialout add <sectionName>
Vigor3900@config-vpn-l2l-pptpdialout-<sectionName># connect
example-edit:
Vigor3900@config-vpn-l2l# pptpdialout show
Vigor3900@config-vpn-l2l# pptpdialout <sectionName>
Vigor3900@config-vpn-l2l-pptpdialout-<sectionName># get
example-delete:
Vigor3900@config-vpn-l2l# pptpdialout delete <profileName>
Command DESCRIPTION
pptpdial in add <profileName> Add PPTP dial-in tunnel
pptpdial in delete <profileName> Delete PPTP dial- in tunnel
pptpdial in show Show PPTP dial- in tunnel configuration
pptpdial in <profileName> Modify the selected tunnel
selected the profile, then use the [get] or [set] command to configure the PPTP dail-in
details information, could also use the [disconnect] command to terminate the tunnel.
**[get] Get configuration on pptp dial-in tunnel
**[set] Set configuration on pptp dial-in tunnel
**[disconnect] terminate LAN-to-LAN policy
example-add:
Vigor3900@config-vpn-l2l# pptpdial in add <sectionName>
Vigor3900@config-vpn-l2l-pptpdialin-<sectionName># set [status status] [username
username] [localsubnet localsubnet] [remotesubnet remotesubnet]
example-edit:
Vigor3900@config-vpn-l2l# pptpdial in show
Vigor3900@config-vpn-l2l# pptpdial in <sectionName>
Vigor3900@config-vpn-l2l-pptpdialin-<sectionName># get
Command DESCRIPTION
status admin status (Enable/Disable)
username username
localsubnet local subnet
remotesubnet remote subnet
Note: [status status] the former status is command, and the latter is value. The
value could reference the description below.
example-delete:
Vigor3900@config-vpn-l2l# pptpdial in delete <sectionName>
selected the profile, then use the [get] or [set] command to configure the load balancer
rule information.
example-add:
Vigor3900@config-vpn-trunk# ipseclbrule add <sectionName>
Vigor3900@config-vpn-ipsec-trunk-lb-rule-<sectionName># set [status status] [proto
protocol] [sip src_ip] [smask src_mask] [dip dest_ip] [dmask dest_mask] [dport dest_port]
[dport_end dest_port_end] [pool lb_pool]
example-edit:
Vigor3900@config-vpn-trunk# ipseclbrule show
Vigor3900@config-vpn-trunk# ipseclbrule <sectionName>
Vigor3900@config-vpn-ipsec-trunk-lb-rule-<sectionName># get
Command DESCRIPTION
status status status (Enable/Disable)
proto protocol protocol(ALL/TCP/UDP/TCP/UDP/ICM
P/FTP /TFTP/HTTP/SMTP/POP3)
sip src_ip source IP address
smask src_mask source mask
dip dest_ip destination IP address
dmask dest_mask destination mask
dport dest_port destination port
dport_end dest_port_end destination port end
pool lb_pool load balance pool
Note: [status status] the former status is command, and the latter is value. The
value could reference the description below.
example-delete:
Vigor3900@config-vpn-trunk# ipseclbrule delete <sectionName>
Command DESCRIPTION
ipseclbpool add <sectionName> Add load balancer pool
ipseclbpool delete <sectionName> Delete load balancer pool
ipseclbpool show Show load balancer pool
ipseclbpool <sectionName> Modify the selected pool
selected the profile, then use the [get] or [set] command to configure the Load Balance
Pool information or use the [add] or [remove] command to set the load balancer
loadbalance interface.
example-add:
Vigor3900@config-vpn-trunk# ipseclbpool add <sectionName>
Vigor3900@config-vpn-trunk-ipsec-lb-pool-<sectionName># set [lbif lb_iface]
Vigor3900@config-vpn-trunk-ipsec-lb-pool-<sectionName># add <lb_iface>
example-edit:
Vigor3900@config-vpn-trunk# ipseclbpool show
Vigor3900@config-vpn-trunk# ipseclbpool <sectionName>
Vigor3900@config-vpn-trunk-ipsec-lb-pool-<sectionName># get
example-delete:
Vigor3900@config-vpn-trunk# ipseclbpool delete <sectionName>
10. Bandwidth Manager
Vigor3900 provides three functions in Bandwidth Manager – bandwidth limit ,
Quality of Service andsessions limit .Users could use the commands below to set
up the details.
Command DESCRIPTION
bandwidth_limit Configure bandwidth limit profile
qos Configure Wan QoS Service
sesslimit Configure sessions limit profile
10.1 QoS
In Vigor3900@config-bandwidth# , users could use [qos] command to configure
Quality of Service , then use [incoming-class][incoming-filter][outgoing-class]
[outgoing-filter] command to set the details.Refer to the following chapters for
descriptions of commonly used commands.
Command DESCRIPTION
incoming-class Config QoS incoming class
incoming-filter Config QoS incoming filter
outgoing-class Config QoS outgoing class
outgoing-filter Config QoS outgoing filter
Vigor3900@config-bandwidth# qos
Vigor3900@config-bw-qos# [incoming-class][incoming-filter][outgoing-class][outgoing-
filter]
Command DESCRIPTION
class_ratectrl Configure incoming rate control for filter
ttl_ratectrl Configure Qos incoming total rate control
Vigor3900@config-bw-qos# incoming-class
Vigor3900@config-bw-qos-in-class# [class_ratectrl][ttl_ratectrl]
selected the profile, then use the [get] or [set] command to configure the details
information.
example-class_ratectrl
Vigor3900@config-bw-qos-in-class# class_ratectrl <SectionName>
Vigor3900@config-bw-qos-in-class-ratectrl-<SectionName># [get][set]
Vigor3900@config-bw-qos-in-class-ratectrl-<SectionName># get
Note: [mode enable] the former mode is command, and the latter is value.
If you don't know the class ratectrl what filter have, you can use [show] to get incoming
rate control for filter.
example-ttl_ratectrl
Vigor3900@config-bw-qos-in-class# ttl_ratectrl [get][set <command>]
Note: [mode enable] the former mode is command, and the latter is value.
10.1.2 Incoming Filter
In Vigor3900@config-bw-qos#, users could use [incoming-filter] command to configure
Incoming Filter ,then use [ftrule] to Configure incoming filter rule.
Vigor3900@config-bw-qos# incoming-filter
Vigor3900@config-bw-qos-in-filter# ftrule <SectionName>
selected the profile, then use the [get] or [set] command to configure the details
information.
Vigor3900@config-bw-qos-in-filter-<SectionName># [get][set]
example:
Vigor3900@config-bw-qos# incoming-filter
Vigor3900@config-bw-qos-in-filter# ftrule <SectionName>
Vigor3900@config-bw-qos-in-filter-<SectionName># get
If you don't know the current incoming filter rule configuration , you can use [show] to
get this information.
Command DESCRIPTION
outgoing_ratectrl Configure outgoing class rate control
outgoing_ttlratectrl Configure outgoing total rate control
queue Configure outgoing low queue weight
Vigor3900@config-bw-qos# outcoming-class
Vigor3900@config-bw-qos-out-class# [outgoing_ratectrl][outgoing_ttlratectrl][queue]
selected the profile, then use the [get] or [set] command to configure the details
information.
example- outgoing_ratectrl
Vigor3900@config-bw-qos# outcoming-class
Vigor3900@config-bw-qos-out-class# outgoing_ratectrl <SectionName>
Vigor3900@config-bw-qos-out-class-<SectionName># [get][set]
Vigor3900@config-bw-qos-out-class-<SectionName># get
Note: [mode enable] the former mode is command, and the latter is value.
If you don't know the class ratectrl what filter have, you can use [show] to get incoming
rate control for filter.
example-ttl_ratectrl
Vigor3900@config-bw-qos# outcoming-class
Vigor3900@config-bw-qos-in-class# ttl_ratectrl [get][set <command>]
Note: [mode enable] the former mode is command, and the latter is value.
Command DESCRIPTION
outgoing_filter add <profileName> Add new packet marking profile
outgoing_filter delete <profileName> Delete packet marking profile
outgoing_filter show Show current packet marking configuration
outgoing_filter <profileName> Modify the selected profile
selected the profile, then use the [get] or [set] command to configure the packet marking
information.
**[get] Show packet marking rule
**[set] configure packet marking rule
example-add
Vigor3900@config-bw-qos# outcoming-filter
Vigor3900@config-bw-qos-out-filter# outgoing_filter add <SectionName>
Vigor3900@config-bw-qos-out-filter-<SectionName># set [status status] [srcip
soruceip] [destip destip] [servicetype servicetype] [queue queue]
example-edit
Vigor3900@config-bw-qos# outcoming-filter
Vigor3900@config-bw-qos-out-filter# outgoing_filter <SectionName>
Vigor3900@config-bw-qos-out-filter-<SectionName># get
Note: [status status] the former status is command, and the latter is value. The
value could reference the description below.
example-delete:
Vigor3900@config-bw-qos-out-filter# outgoing_filter delete <SectionName>
10.2 Session Limit
In Vigor3900@config-bandwidth# , users could use [sesslimit] command to configure
sessions limit to add or delete the profile or use “show” to get the profile list in the
directory. Enter the profile name to open it and modify the profile directly.
Command DESCRIPTION
sessions limit add <sectionName> Add sessions limit profile
sessions limit delete <sectionName> Delete sessions limit profile
sessions limit show Show sessions limit profile configuration
sessions limit <sectionName> Modify the selected profile configuration
selected the profile, then use the [get] or [set] command to configure the address
mapping information.
example-add:
Vigor3900@config-bandwidth# sesslimit add <sectionName>
Vigor3900@config-bw-sesslimit-<profile># set [status status] [srcip srcip] [session
session]
example-edit:
Vigor3900@config-bandwidth# sesslimit show
Vigor3900@config-bandwidth# sesslimit <sectionName>
Vigor3900@config-bw-sesslimit-<profile># get
example-delete:
Vigor3900@config-bandwidth# sesslimit delete <sectionName>
Command DESCRIPTION
bandwidth_limit add <sectionName> Add a bandiwdth limit profile
bandwidth_limit delete <sectionName> Delete a bandiwdth limit profile
bandwidth_limit show Show specific bandiwdth limit profile
bandwidth_limit <sectionName> Modify the selected profile configuration
selected the profile, then use the [get] or [set] command to configure the bandwidth limit
information.
example-add:
Vigor3900@config-bandwidth# bandwidth_limit add <sectionName>
Vigor3900@config-bw-limit-<profile># set [start_ip start_ip] [end_ip end_ip] [tx tx] [rx
rx]
example-edit:
Vigor3900@config-bandwidth# bandwidth_limit show
Vigor3900@config-bandwidth# bandwidth_limit <sectionName>
Vigor3900@config-bw-limit-<profile># get
Note: [start_ip start_ip] the former start_ip is command, and the latter is value.
The value could reference the description below.
example-delete:
Vigor3900@config-bandwidth# bandwidth_limit delete <sectionName>
11. System Management
For the system setup, there are several items that you have to know the way of
configuration,Vigor3900 provides many functions in system management .Users
could use the commands below to set up the details.
Command DESCRIPTION
acc_ctrl Configure Access control
admin_passwd Configure Administrator Password
cmm Connect to Fast Forward Conntrack module monitor
config Configuration Backup and Restore
firmware manage firmware
mailalert Configure Mail Alert
ntpclient Configure NTP client
reboot system reboot
snmpagent Configure SNMP agent
syslogd Configure Syslogd Server
example- backup
example- default_set
example- local
Command DESCRIPTION
backup Create configuration backup in local storage
delete Delete configuration backups in local storage
download Download configuration backup from local storage to
TFTP server
list List configuration backups in local storage
restore Restore backup configuration from local storage
upload Upload configuration backup file from TFTP server to
local storage
example- restore
11.3 Syslog
In Vigor3900@config-sys# , use the [syslogd] command to configure syslog and type
the [get] or [set] command to configure the the details information.
example-
Vigor3900@config-sys# syslogd get
example-
Vigor3900@config-sys# mailalert get
example-
Vigor3900@config-sys# ntpclient get
Vigor3900@config-sys# ntpclient set [status status] [server server] [port port] [interval
interval] [zone zone] [daylight daylight]
example-
Vigor3900@config-sys# acc_ctrl get
example-
Vigor3900@config-sys# snmpagent get
Vigor3900@config-sys# cmm
cmm>