Label Rule Create - THOMSON 516 Reference Manual

Multi-user adsl gateways
Hide thumbs Also See for 516:
Table of Contents

Advertisement

label rule create

Create a rule.
SYNTAX:
label rule create
If a value is preceded by a "!", it means "NOT".
For example "srcintfgrp=!wan" means "if srcintfgrp is different from WAN".
where:
chain
The name of the chain in which the rule must be inserted.
index
The number of the rule before which the new rule must be added.
srcintf
The name of the interface the packet should arrive on to make this rule apply.
srcintfgrp
The interface group the packet should arrive on.
src
The source IP address (range) the packet should come from.
(Supports ip/mask notation).
dst
The destination IP address (range) the packet should be going to.
(Supports ip/mask notation).
tos
A number between 0 and 255.
Represents the ToS specification which should be expected in the IP packet. The
ToS numbering specification is in accordance to the latest version of
Assigned numbers
precedence
A number between 0 and 7.
Represents the precedence in the IP packet (is part of tos).
dscp
A number between 0 and 63.
Represents the DSCP in the IP packet (part of tos).
E-DOC-CTC-20040907-0010 v1.0
chain = <string>
[index = <number>]
[srcintf [!]= <string>]
[srcintfgrp [!]= <{wan | local | lan} or 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 | <string>}>
.
Label Commands
REQUIRED
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
RFC1700:
OPTIONAL
OPTIONAL
237

Advertisement

Table of Contents
loading

This manual is also suitable for:

Speedtouch 530v5Speedtouch 510v5536546Speedtouch 516Speedtouch 536 ... Show all

Table of Contents