FS com S5800-8TF12S 12-Port L3 Switch User Guide
- June 12, 2024
- FS COM
Table of Contents
S5800-8TF12S 12-Port L3 Switch
User Guide
FSOS
NVGRE Command Line Reference
NVGRE Commands
1.1 nvgre
To configure NVGRE related feature, use the nvgre command in global
configuration mode.
Command Syntax
nvgre
Command Mode
Global Configuration
Default
None
Usage
None
Examples
Switch(config)# nvgre
Switch(config-nvgre)# source 10.1.1.1
Related Commands
None
1.2 source
To specify the outer source IPv4 address of the encapsulated NVGRE packets,
use the source
command in NVGRE configuration mode.
Command Syntax
source A.B.C.D
A.B.C.D Source IPv4 address of the encapsulated NVGRE packet
Command Mode
NVGRE Configuration
Default
None
Usage
None
Examples
Switch(config-nvgre)# source 10.1.1.1
Related Commands
None
1.3 vlan id mapping
To add a mapping between vlan id and NVGRE VSID(tunnel id), use the vlan id
mapping command in NVGRE configuration mode . To delete the mapping, use the
no form of this command.
Command Syntax
vlan VLAN_ID tunnel-id <1-16777215>
no vlan VLAN_ID tunnel-id
VLAN_ID | VLAN id to be mapped |
---|---|
<1-16777215> | 24-bit NVGRE VSID(tunnel id) |
Command Mode
NVGRE Configuration
Default
None
Usage
None
Examples
Switch(config)# nvgre
Switch(config-nvgre)# source 10.1.1.1
Switch(config-nvgre)# vlan 2 tunnel-id 2
Related Commands
None
1.4 vlan id peer
To add a NVGRE overlay tunnel for a VLAN, use the vlan id peer command in
NVGRE configuration mode. To delete the tunnel, use the no form of this
command.
Command Syntax
vlan VLAN_ID peer A.B.C.D
no vlan VLAN_ID peer A.B.C.D
VLAN_ID | VLAN id |
---|---|
A.B.C.D | IPv4 address of tunnel remote endpoint |
Command Mode
NVGRE Configuration
Default
None
Usage
None
Examples
Switch(config)# nvgre
Switch(config-nvgre)# source 10.1.1.1
Switch(config-nvgre)# vlan 2 tunnel-id 2
Switch(config-nvgre)# vlan 2 peer 10.1.1.2
Related Commands
1.5 nvgre enable
To enable a physical Ethernet interface to decapsulate NVGRE packets, use the
command in interface configuration mode. To disable decapsulating, enter the
disable form of this command.
Command Syntax
nvgre enable
nvgre disable
Command Mode
Interface Configuration
Default
None
Usage
None
Examples
Switch(config)# interface eth-0-1
Switch(config-if)# nvgre enable
Related Commands
None