This command
configures the parameters/action for the type of Service (ToS) parameter in the
IP tunnel transport protocol header.
Privilege
Security
Administrator, Administrator
Mode
Exec > Global
Configuration > Context Configuration > Tunnel Interface Configuration
> GRE Tunnel Interface Configuration
configure > context
context_name
> interface
interface_name
tunnel > tunnel-mode
gre
Entering the above
command sequence results in the following prompt:
[context_name]host_name(config-if-tunnel-gre)#
Syntax
tos { value [ af11 | af12 | af13 | af21 | af22 | af23 | af31 | af32 | af33 | af41 | af42 | af43 | be | ef | lower-bits tos_value ] | copy }
default tos
default
Sets the IP TOS to
lower bits value of 0.
value [ tos_value
]
Specifies the IP QoS
DSCP per-hop behavior to be marked on the outer header of signaling packets
originating from the Access Gateway. This is a standards-based feature (RFC
2597). The following forwarding types are supported:
-
af11 : Assured Forwarding 11 per-hop
behavior
-
af12 : Assured Forwarding 12 per-hop
behavior
-
af13 : Assured Forwarding 13 per-hop
behavior
-
af21 : Assured Forwarding 21 per-hop
behavior
-
af22 : Assured Forwarding 22 per-hop
behavior
-
af23 : Assured Forwarding 23 per-hop
behavior
-
af31 : Assured Forwarding 31 per-hop
behavior
-
af32 : Assured Forwarding 32 per-hop
behavior
-
af33 : Assured Forwarding 33 per-hop
behavior
-
af41 : Assured Forwarding 41 per-hop
behavior
-
af42 : Assured Forwarding 42 per-hop
behavior
-
af43 : Assured Forwarding 43 per-hop
behavior
-
be : Best Effort forwarding per-hop
behavior
-
ef : Expedited Forwarding per-hop
behavior typically dedicated to low-loss, low-latency traffic.
Default:
af11
The assured
forwarding behavior groups are listed in the table below.
|
Class 1
|
Class 2
|
Class 3
|
Class 4
|
Low Drop
|
AF11
|
AF21
|
AF31
|
AF41
|
Medium Drop
|
AF12
|
AF22
|
AF32
|
AF42
|
High Drop
|
AF13
|
AF23
|
AF33
|
AF43
|
Traffic marked with
a higher class is given priority during congestion periods. If congestion
occurs to traffic with the same class, the packets with the higher AF value are
dropped first.
lower-bits
tos_value
Sets the
least-significant 6 bits in the ToS byte with the specified numeric value.
tos_value is an integer from 0 to 255.
Default: 0
copy
Instructs the
system to copy the ToS value from the passenger IPv4 packet or Traffic class
value from the passenger IPv6 packet to the ToS value of the IPv4 tunnel
transport protocol header.
Usage Guidelines
Use this command
either to set the ToS parameter in the IPv4 tunnel transport protocol header to
the specified value or instructs to copy the ToS value from the passenger IPv4
packet or Traffic class value from the passenger IPv6 packet to the ToS value
of the IPv4 tunnel transport protocol header. If one of the enumerated values
is set, the DSCP bits which are the six most-significant bits in the ToS byte
are marked. If the integer value is set, it will be written into the six
least-significant bits of the ToS byte.
Example
The following
command instructs the system to copy the ToS value from the passenger IPv4
packet or Traffic class value from the passenger IPv6 packet to the ToS value
of the IPv4 tunnel transport protocol header:
tos copy