set l3-interface tunnel disable


The set l3-interface tunnel disable command can be used to enable or disable a GRE tunnel interface.


Command Syntax

set l3-interface tunnel <tunnel-interface-name> disable <true | false>


Parameters

Parameter

Description

tunnel <tunnel-interface-name>

Specifies the name of the GRE tunnel interface. The value is a string.

disable <true | false>

Enables or disables the GRE tunnel interface. The value could be true or false.

  • true: Disable the GRE tunnel interface.
  • false: Enable the GRE tunnel interface.

When a GRE tunnel interface is created, it is enabled by default.


Example

  • Disable GRE tunnel interface tl2.
admin@Xorplus# set l3-interface tunnel tl2 disable true
admin@Xorplus# commit


Copyright © 2024 Pica8 Inc. All Rights Reserved.