GRE Encapsulation

Tunnel Configuration

Reference

Command

tunnel <tunnelname> gre no tunnel <tunnelname>

Description

Create GRE tunnel

Parameters

Tunnelname

Mode

CONFIG

Example

pbnoscli(config)# tunnel tunnel1 gre
pbnoscli(config)# no tunnel tunnel1

Tunnel Attributes

Using this command, you can configure the attributes of the tunnel. Gateway is provisioned only when the nodes are not directly connected

Note: Updation of the tunnel is not supported. The tunnel must be deleted and re-configured for any change

Reference

Command

[no] tunnel <tunnel-name> gre

Description

Create tunnel

Parameters

tunnel-interface: Configure tunnel ports

source-ip : Source IP address destination-ip : Destination IP address

gateway : Gateway IPv4 Address

key : GRE key[ range: 0 - 4294967295] vlan-tagging : Tunnel VLAN Tagging

Mode

TUNNEL

Example

Flow based Encap Configuration

You can set the rules for the VxLAN Encap using flow. Here the tool port must be the tunnel name created using tunnel config command.

Reference

Command

flow flowname

network-ports Ethernet32/1

tool-ports tunnel70

rule 1 permit match-all counters enable rule 2 ipv6 permit match-all counters enable

Description

Add flow

Parameters

description Configure description for flow enable Enable the flow

end Exit to Exec Prompt

exit Exit from the Current Prompt from Configure network or TAP ports

no no form

rule Configure rule

to Configure network tool or analyzer ports

Mode

FLOW

Example

Last updated