set l3-interface tunnel source

Run the command set l3-interface tunnel source to configure the GRE tunnel source IPv4 address or source interface.

Run the command delete l3-interface tunnel source to delete this configuration.


Command Syntax

set l3-interface tunnel <tunnel-name> source <tunnel-source>

delete l3-interface tunnel <tunnel-name> source <tunnel-source>


Parameter

Parameter

Description

tunnel <tunnel-name>

Specifies the name of the GRE tunnel in alpha-numeric format with no spaces.

source <tunnel-source>

Specifies the GRE tunnel source IPv4 address or source interface.

PicOS supports to configure a loopback interface, an L3 VLAN interface, a routed interface or a sub-interface to a GRE tunnel. If multiple IP addresses are configured on the source interface, the smallest IP address will be the source IP address of this GRE tunnel.


Example

  •  Configure the GRE tunnel source IPv4 address as 2.2.2.2 for tunnel tnl4.
admin@XorPlus# set l3-interface tunnel tnl4 source 2.2.2.2
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.