Label Commands
E-DOC-CTC-20040907-0010 v1.0
237
label rule create
Create a rule.
SYNTAX:
where:
label rule create
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>}>
If a value is preceded by a “!”, it means "NOT".
For example "srcintfgrp=!wan" means "if srcintfgrp is different from WAN".
chain
The name of the chain in which the rule must be inserted.
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.
OPTIONAL
srcintfgrp
The interface group the packet should arrive on.
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 ToS specification which should be expected in the IP packet. The
ToS numbering specification is in accordance to the latest version of
RFC1700:
Assigned numbers
.
OPTIONAL
precedence
A number between 0 and 7.
Represents the precedence in the IP packet (is part of tos).
OPTIONAL
dscp
A number between 0 and 63.
Represents the DSCP in the IP packet (part of tos).
OPTIONAL
Summary of Contents for SpeedTouch 510v5
Page 2: ......
Page 3: ...SpeedTouchTM 516 536 546 510v5 530v5 CLI Reference Guide R5 2 7...
Page 16: ...Contents E DOC CTC 20040907 0010 v1 0 14...
Page 34: ...ADSL Commands E DOC CTC 20040907 0010 v1 0 32...
Page 60: ...Bridge Commands E DOC CTC 20040907 0010 v1 0 58...
Page 116: ...DHCP Commands E DOC CTC 20040907 0010 v1 0 114...
Page 224: ...IPQoS Commands E DOC CTC 20040907 0010 v1 0 222...
Page 266: ...NAT Commands E DOC CTC 20040907 0010 v1 0 264...
Page 272: ...Phonebook Commands E DOC CTC 20040907 0010 v1 0 270...
Page 314: ...PPTP Commands E DOC CTC 20040907 0010 v1 0 312...
Page 322: ...QoSBook Commands E DOC CTC 20040907 0010 v1 0 320...
Page 338: ...Software Commands E DOC CTC 20040907 0010 v1 0 336...
Page 346: ...Switch Commands E DOC CTC 20040907 0010 v1 0 344...
Page 383: ......