Справочник Пользователя для Alcatel-Lucent speedtouch 500

Скачать
Страница из 422
248
Label Commands
label rule create
Create a rule.
SYNTAX:
label rule create
chain = <string>
[index = <number>]
[srcintf [!]= <string>]
[srcintfgrp [!]= <{wan|local|lan} or number>]
[srcbridgeport [!]= <number>]
[src [!]= <ip-range>]
[dst [!]= <ip-address>]
[tos [!]= <number{0-255}>]
[precedence [!]= <number{0-7}>]
[dscp [!]= <number{0-63}>]
[prot [!]= <{<supported IP protocol name>|<number>}>]
[srcport [!]= <{<supported TCP/UDP port name>|<number>}>]
[srcportend = <{<supported TCP/UDP port name>|<number>}>]
[dstport [!]= <{<supported TCP/UDP port name>|<number>}>]
[dstportend = <{<supported TCP/UDP port name>|<number>}>]
[clink = <string>]
[log = <{no|yes}>]
label = <{None|link|<labels}>
chain
The name of the chain to insert the rule in.
REQUIRED
index
The number of the rule before which the new rule must be added.
OPTIONAL
srcintf
The name of the interface the packet should arrive on to make this 
rule apply.
(NOT applicable if used in a chain assigned to the output hook)
OPTIONAL
srcintfgrp
The interface group the packet should arrive on.
OPTIONAL
srcbridgeport
A number between 0 and 6.
Represents the bridge port the virtual packet should arrive on.
Use :bridge iflist for a list of available bridge ports.
OPTIONAL
src
The source IP address (range) the packet should come from. 
(Supports ip/mask notation).
OPTIONAL
dst
The destination IP address (range) the packet should be going to. 
(Supports ip/mask notation).
OPTIONAL
tos
A number between 0 and 255.
Represents the Type Of Service specification which should be 
expected in the IP packet. The Type of Service numbering 
specification is in accordance to the latest version of RFC1700: 
Assigned numbers.
OPTIONAL