Page 691 / 794 Scroll up to view Page 686 - 690
Vigor2860 Series User’s Guide
677
WAN1 udp bandwidth control set to enable
WAN1 udp bandwidth limit ratio set to 50
WAN1 Outbound TCP ACK Prioritizel set to enable
QoS WAN1 set complete; restart QoS
>
Page 692 / 794
Vigor2860 Series User’s Guide
678
Telnet Command: qos class
This command allows user to set QoS class.
qos class -c
[no] –[a|e|d] [no][-<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.
-h
Type it to display the usage of this command.
-c <no>
Specify the inde number for the class.
Available value for <no> contains 1, 2 and 3. The default
setting is class 1.
-n <name>
It means to type a name for the class.
-a
It means to add rule for specified class.
-e <no>
It means to edit specified rule.
<no>: type the index number for the rule.
-d <no>
It means to delete specified rule.
<no>: type the index number for the rule.
-m <mode>
It means to enable or disable the specified rule.
0: disable,
1: enable
-l <addr>
Set the local address.
Addr1
– It means Single address. Please specify the IP
address directly, for example, “
-l 172.16.3.9
”.
addr1:addr2
– It means Range address. Please specify
the IP addresses, for example, “
-l 172.16.3.9:
172.16.3.50
.”
addr1:subnet
– It means the subnet address with start IP
address. Please type the subnet and the IP address, for
example, “
-l 172.16.3.9:255.255.0.0”.0
Page 693 / 794
Vigor2860 Series User’s Guide
679
any –
It means Any address. Simple type “
-l
” to specify
any address for this command.
-r <addr>
Set the remote address.
addr1
– It means Single address. Please specify the IP
address directly, for example, “
-l 172.16.3.9
”.
addr1:addr2
– It means Range address. Please specify
the IP addresses, for example, “
-l 172.16.3.9:
172.16.3.50
.”
addr1:subnet
– It means the subnet address with start IP
address. Please type the subnet and the IP address, for
example, “
-l 172.16.3.9:255.255.0.0”.0
any –
It means Any address. Simple type “
-l
” to specify
any address for this command.
-p <DSCP id>
Specify the ID.
-s <Service type>
Specify the service type by typing the number. The
available types are listed as below:
1:ANY 2:DNS 3:FTP 4:GRE 5:H.323
6:HTTP 7:HTTPS 8:IKE 9:IPSEC-AH 10:IPSEC-ESP
11:IRC 12:L2TP 13:NEWS 14:NFS 15:NNTP
16:PING 17:POP3 18:PPTP 19:REAL-AUDIO 20:RTSP
21:SFTP 22:SIP 23:SMTP 24:SNMP 25:SNMP-TRAPS
26:SQL-NET 27:SSH 28:SYSLOG 29:TELNET 30:TFTP
-S <d/s>
Show the content for specified DSCP ID/Service type.
-V <1/2/3>
Show the rule in the specified class.
[…]
It means that you can type in several commands in one
line.
Example
> qos class -c 2 -n draytek -a -m 1 -l 192.168.1.50:192.168.1.80
Following setting will set in the class2
class 2 name set to draytek
Add a rule in class2
Page 694 / 794
Vigor2860 Series User’s Guide
680
Class2 the 1 rule enabled
Set local address type to Range, 192.168.1.50:192.168.1.80
Telnet Command: qos type
This command allows user to configure protocol type and port number for QoS.
qos type
[-a <service name> | -e <no> | -d <no>]
.
Syntax Description
Parameter
Description
-a <name>
It means to add rule.
-e <no>
It means to edit user defined service type. “no” means
the index number. Available numbers are 1~40.
-d <no>
It means to delete user defined service type. “no” means
the index number. Available numbers are 1~40.
-n <name>
It means the name of the service.
-t <type>
It means protocol type.
6:
tcp(default)
17:
udp
0:
tcp/udp
<1~254>: other
-p <port>
It means service port. The typing format must be
[start:end] (ex., 510:330).
-l
List user defined types. “no” means the index number.
Available numbers are 1~40.
Page 695 / 794
Vigor2860 Series User’s Guide
681
Example
> qos type -a draytek -t 6 -p 510:1330
service name set to draytek
service type set to 6:TCP
Port type set to Range
Service Port set to 510 ~ 1330
>
Telnet Command: quit
This command can exit the telnet command screen.
Telnet Command: show lan
This command displays current status of LAN IP address settings.
Example
> show lan
The LAN settings:
ip
mask
dhcp
star_ip
pool
gateway
--------------------------------------------------------------------------
----
[V]LAN1
192.168.1.1
255.255.255.0
[V]
192.168.1.10
200
192.168.1.1
[X]LAN2
192.168.2.1
255.255.255.0
[V]
192.168.2.10
100
192.168.2.1
[X]LAN3
192.168.3.1
255.255.255.0
[V]
192.168.3.10
100
192.168.3.1
[X]LAN4
192.168.4.1
255.255.255.0
[V]
192.168.4.10
100
192.168.4.1
[X]LAN5
192.168.5.1
255.255.255.0
[V]
192.168.5.10
100
192.168.5.1
[X]LAN6
192.168.6.1
255.255.255.0
[V]
192.168.6.10
100
192.168.6.1
[X]Route 192.168.0.1
255.255.255.0
[V]
0.0.0.0
0
192.168.0.1

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top