Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


key (gre)


Hierarchy Level


Identify an individual traffic flow within a tunnel, as defined in RFC 2890, Key and Sequence Number Extensions to GRE. On M Series and T Series routers, you can configure the GRE interface on an Adaptive Services, Multiservices, or Tunnel PIC. On MX Series routers, configure the interface on a Multiservices DPC.


number—Value of the key.

  • Range: 0 through 4,294,967,295

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced before Junos OS Release 7.4.