Chapter 12
Tunneling and VPNs
RUGGEDCOM ROX II
CLI User Guide
402 Configuring a DSCP Marking for GRE Tunnel Traffic
Parameter Description
Enables or disables tunnel up and down alarms. Disabling tunnel alarms will prevent
alarms from being sent for that tunnel. GRE tunnel alarms may also be controlled for the
whole system under admin > alarm-cfg.
4. [Optional] Enable keepalive messages so as to monitor the status of the tunnel's remote endpoint. For more
information, refer to Section12.7.5, “Enabling/Disabling Keepalive Messages”.
5. [Optional] Configure the method for assigning Differentiated Services Code Point (DSCP) marks to packets
traveling through the GRE tunnel. For more information, refer to Section12.7.4, “Configuring a DSCP Marking
for GRE Tunnel Traffic”.
NOTE
An interface in the form of gre-{tunnel} (e.g. gre-t1) is added automatically to the ip menu.
6. Assign an IP address to the tunnel. For more information, refer to either Section7.1.3.2, “Adding an IPv4
Address” or Section7.1.4.2, “Adding an IPv6 Address”.
7. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section12.7.4
Configuring a DSCP Marking for GRE Tunnel Traffic
Each packet traversing a GRE tunnel can be assigned a Differentiated Services Code Point (DSCP) mark either
defined by the device or inherited by the original IP header.
To the configure how DSCP marks are assigned for a specific GRE tunnel, do the following:
1. Make sure the CLI is in Configuration mode.
2. Navigate to tunnel» gre» {tunnel}» mark-choice, where {tunnel} is the name of the GRE tunnel.
3. Configure the DSCP marking by typing:
tunnel gre name mark-choice dscpmarking dscp-type [ mark | forward ]
Where name is name of the GRE tunnel.
Options include:
• mark – Assigns the DSCP marking set by DSCP Mark to packets traversing the tunnel
• forward – Assigns the DSCP marking defined in the original IP header of each packet traversing the tunnel
4. If mark is selected, select a DSCP mark to assign by typing:
dscp-mark [ AF11 | AF12 | AF13 | AF21 | AF22 | AF23 | AF31 | AF32 | AF33 | AF41 | AF42 | AF43 | BE
| CS1 | CS2 | CS3 | CS4 | CS5 | CS6 | CS7 | EF ]
5. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section12.7.5
Enabling/Disabling Keepalive Messages
Keepalive messages enable endpoints of a GRE tunnel to determine one another's current operational status.