home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

interfaces erspan erspan<tunnel-number> ip tos <value>

Specifies the value to write into the Type of Service (ToS) byte of the IP header of an ERSPAN tunnel packet.

set interfaces erspan erspantunnel-number ip tos value
delete interfaces erspan erspantunnel-number ip tos [ value ]
show interfaces erspan erspantunnel-number ip tos

The default value is inherit.

erspantunnel-number
The identifier of a tunnel interface with an integer for the tunnel-number variable.
value
Specifies the ToS value to write into the IP header of a tunnel packet. For the value, enter one of the following:

number—The ToS value to write into the header of the tunnel packet (the carrier packet). Enter a value from 0x00 to 0xFF. The 0x00 value means a tunnel packet copies the ToS value from the packet being encapsulated (the passenger packet).

default—The Default Class (00000) for best-effort traffic.

afnumber—The Assured Forwarding Class for assurance of delivery as defined in RFC 2597. Depending on the forwarding class and the drop precedence, the class can be one of the following values: af11 through af13, af21 through af23, af31 through af33, or af41 through af43.

csnumber—Class Selector for network devices that use the Precedence field in the IPv4 header. The number ranges from 1 to 7 and indicates the precedence, for example cs1.

ef—Expedited Forwarding, per-hop behavior.

inherit—Inherit from original IP header.

va—Voice Admit, Capacity-Admitted Traffic.

Configuration mode


interfaces {
    erspan erspantunnel-number {
        ip {
            tos value
        }
    }
}

Use this command to specify the value to write into the 8-bit ToS byte of the IP header for a packet that traverses a tunnel interface. The ToS byte of the IP header of a packet specifies the forwarding behavior to be applied to the packet.

Use the set form of this command to specify the ToS value in the IP header.

Use the delete form of this command to reset the ToS value to its default of inherit.

Use the show form of this command to display the ToS value.