Configuring a tos value, Configuring gre session enforce check – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual
Page 747
![background image](/manuals/361635/747/background.png)
Multi-Service IronWare Switching Configuration Guide
717
53-1003036-02
GRE IP tunnel
19
Configuring a TOS value
This is an optional parameter that allows you to set the TOS value for the outer IP header of the
GRE tunnel packets.
To configure the TOS value, enter the following command.
Brocade(config)# interface tunnel 1
Brocade(config-tnif-1)tunnel tos 100
Syntax: [no] tunnel tos tos-value
The tos-value variable specifies a TOS value for the outer IP header.
The Brocade NetIron XMR and Brocade MLX series possible values are 0 - 255. The default value is
0.
The Brocade NetIron CES and Brocade NetIron CER devices possible values are 0 - 63. The default
value is 0.
Configuring GRE session enforce check
The gre-session-enforce-check command lets you enable the GRE session enforce check. When a
GRE packet arrives and this feature is enabled, the system tries to match the GRE packet source
and destination address pair with the tunnel configured destination and source pair. If the pairs do
not match, hardware drops the packet.
NOTE
The Brocade NetIron CES and Brocade NetIron CER devices currently do not support the
ip-tunnel-policy and the accounting-enable commands.
To configure the GRE session enforce check, go to the IP tunnel policy context, and then enter the
gre-session-enforce-check command.
Brocade(config)#ip-tunnel-policy
Brocade(config-ip-tunnel-policy)#gre-session-enforce-check
Syntax: [no] gre-session-enforce-check
To disable the GRE session enforce check, use the no form of this command. This command is
disabled by default. You might have to write the configuration to memory and reload the system
whenever the configuration of this command is changed because a one-time creation of a
source-ingress CAM partition is necessary. The system prompts you if the memory write and reload
are required.
The first-time execution of certain commands necessitates the creation of a source-ingress CAM
partition, after which you write to memory and reload. These commands are
gre-session-enforce-check, ipv6-session-enforce-check, and accounting-enable. After this CAM
partition is created, it is not necessary to follow either of the other two commands with a memory
write and reload.