VXLAN Commands
protocol nve Enables NVE functionality and displays NVE commands. | ||
Syntax Description | N/A | |
Default | no protocol nve | |
Configuration Mode | config | |
History | 3.6.3004 | |
Example | switch (config) # protocol nve | |
Related Commands | ||
Notes |
interface nve <nve-id> Creates VXLAN tunnel. | ||
Syntax Description | nve-id | NVE ID |
Default | N/A | |
Configuration Mode | config | |
History | 3.6.3004 | |
Example | switch (config) # interface nve 1 | |
Related Commands | protocol nve | |
Notes |
nve bridge <vni-id> [name <bridge-name>] Creates an NVE bridge with a given VNI. | ||
Syntax Description | vni-id | VXLAN network identifier |
bridge-name | Name of NVE bridge | |
Default | bridge-name: bridge-<vni-id> | |
Configuration Mode | config interface nve | |
History | 3.6.3212 | |
Example | switch (config interface nve 1) # nve bridge 25 | |
Related Commands | protocol nve | |
Notes | Number of bridges limited to 500 |
nve controller bgp Enables the NVE controller mode to BGP. | ||
Syntax Description | N/A | |
Default | Disabled | |
Configuration Mode | config interface nve | |
History | 3.8.1000 | |
Example | switch (config interface nve 1) # nve controller mode | |
Related Commands | protocol nve | |
Notes | If controller BGP is enabled, shutdown command is not supported. |
nve fdb flood bridge <vni-id> address <ip-address> Adds an IP address of a remote VTEP to be used for BUM traffic.
| ||
Syntax Description | vni-id | VXLAN network identifier |
ip-address | IP address | |
Default | N/A | |
Configuration Mode | config interface nve | |
History | 3.6.3212 | |
Example | switch (config interface nve 1) # nve fdb flood bridge 7777 address 1.2.3.6 | |
Related Commands | protocol nve | |
Notes | The number of IP addresses is limited to 750 |
nve fdb flood load-balance Configures service-node replication. | ||
Syntax Description | N/A | |
Default | service-node replication | |
Configuration Mode | config interface nve | |
History | 3.6.8008 | |
Example | switch (config interface nve 1) # nve fdb flood load-balance | |
Related Commands | protocol nve | |
Notes |
nve fdb learning remote Enables remote (controller-less) FDB learning. | ||
Syntax Description | N/A | |
Default | Disabled (controller-based learning) | |
Configuration Mode | config interface nve | |
History | 3.6.8008 | |
Example | switch (config interface nve 1) # nve fdb learning remote | |
Related Commands | protocol nve | |
Notes |
nve mode only [force] Sets physical interface to NVE mode. | ||
Syntax Description | force | Forces configuration while interface is admin up |
Default | no nve mode only | |
Configuration Mode | config interface ethernet | |
History | 3.6.3004 | |
Example | switch (config interface ethernet 1/1) # nve mode only | |
Related Commands | protocol nve | |
Notes |
nve neigh-suppression Enables neighbor suppression for all VLAN-VNI mappings. | ||
Syntax Description | N/A | |
Default | no nve mode only | |
Configuration Mode | config interface nve | |
History | 3.8.1000 | |
3.9.1000 | Added support for IPv6 neighbor suppression | |
Example | switch (config interface nve 1) # nve neigh-suppression | |
Related Commands | protocol nve | |
Notes |
|
nve vlan <vlan-id> bridge <vni-id> Maps a VLAN to a specific bridge on the interface (controller-less configuration). | ||
Syntax Description | vni-id | VXLAN network identifier |
Default | N/A | |
Configuration Mode | config interface ethernet | |
History | 3.6.6102 | |
Example | switch (config interface ethernet 1/1) # nve vlan 10 bridge 7777 | |
Related Commands | protocol nve | |
Notes |
|
nve vlan <vlan_id> neigh-suppression Configures neigh-suppression for a specific VLAN mapping. | ||
Syntax Description | vlan_id | VXLAN network identifier |
Default | N/A | |
Configuration Mode | config interface nve | |
History | 3.8.1000 | |
Example | switch (config interface nve 1) # nve vlan 5 neigh-suppression | |
Related Commands | protocol nve nve neigh-suppression | |
Notes |
|
nve vni <vni_value> vlan <vlan_id> [counter <encap/decap/both>] Creates new VNI-to-VLAN manual mapping. | ||
Syntax Description | vni_value | Possible values: 1-16777214 |
vlan_id | VLAN ID | |
encap | Enable counters for encapsulated packets per VLAN | |
decap | Enable counters for decapsulated packets per VLAN | |
Default | N/A | |
Configuration Mode | config interface nve | |
History | 3.8.1000 | |
3.9.1000 | Updated example and added counters per VLAN | |
Example | switch (config interface nve 1) # nve vni 5000 vlan 5 | |
Related Commands | protocol nve | |
Notes |
|
interface nve <nve> nve vni auto-vlan-map [base <base-number>] Performs automatic mapping of all existing VLANs that are not manually mapped to VNI to a calculated VNI (Calculated VNI=base-number + VLAN). | ||
Syntax Description | base-number | Range: 1-16773120 |
Default | Disabled | |
Configuration Mode | interface nve <nve> | |
History | 3.8.2200 | |
Example | (config interface nve 1) # nve vni auto-vlan-map | |
Related Commands | nve vni vlan | |
Notes |
|
interface nve <nve> disable nve vni any vlan <vlan/vlan-range> Excludes a VLAN from the auto-vlan-map operation. | ||
Syntax Description | N/A | |
Default | Disabled | |
Configuration Mode | interface nve <nve> | |
History | 3.8.2200 | |
Example | (config interface nve 1) # disable nve vni any vlan 5 (config interface nve 1) # no nve vni any vlan 5 | |
Related Commands | interface nve auto-vlan-map | |
Notes | User can set/unset exclude VLANs while auto-vlan-map is enabled or disabled. |
vxlan mlag-tunnel-ip <mlag_ipv4_address> Configures the MLAG tunnel IP. | ||
Syntax Description | mlag_ipv4_address | Valid MLAG IPv4 address |
Default | N/A | |
Configuration Mode | config interface nve | |
History | 3.8.1000 | |
Example | switch (config interface nve 1) # vxlan mlag-tunnel-ip 1.2.3.4 | |
Related Commands | protocol nve | |
Notes | BGP controller mode must be set prior to running this command |
vxlan source interface loopback <loopback-id> Binds VXLAN tunnel to a loopback interface. | ||
Syntax Description | loopback-id | Loopback interface ID |
Default | N/A | |
Configuration Mode | config interface nve | |
History | 3.6.3004 | |
Example | switch (config interface nve 1) # vxlan source interface loopback 14 | |
Related Commands | protocol nve | |
Notes |
|
shutdown Disables VXLAN tunnel. | ||
Syntax Description | N/A | |
Default | N/A | |
Configuration Mode | config interface nve | |
History | 3.6.6102 | |
Example | switch (config interface nve 1) # shutdown | |
Related Commands | protocol nve | |
Notes |
clear mac-address-table nve [remote] Clears locally-learned NVE MAC addresses. | ||
Syntax Description | remote | Clears remotely-learned NVE MAC addresses |
Default | N/A | |
Configuration Mode | config interface nve | |
History | 3.6.8008 | |
Example | switch (config interface nve 1) # clear mac-address-table nve | |
Related Commands | protocol nve | |
Notes |
clear nve counters Clears NVE counters. | ||
Syntax Description | N/A | |
Default | N/A | |
Configuration Mode | config interface nve | |
History | 3.6.3004 | |
Example | switch (config interface nve 1) # clear nve counters | |
Related Commands | protocol nve | |
Notes | The command “clear counters all” also clears NVE counters |
show interfaces nve [<nve-id>] Displays information about NVE interfaces. | ||
Syntax Description | nve-id | NVE ID |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.6.3004 | |
3.8.1000 | Updated example | |
3.8.2200 | Updated example and added auto-vlan-map status. | |
3.9.0300 | Updated example | |
Example |
Counters | |
Related Commands | ||
Notes |
show interfaces nve [<nve-id>] detail Displays all the VNI-VLAN mappings for this NVE interface. | ||
Syntax Description | nve-id | NVE ID |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.8.1000 | |
3.8.2200 | Added “Mapping type” to show whether VLAN to VNI mapping was done manually or by auto-vlan-map | |
3.9.0300 | Updated example | |
Example | switch (config)# show interfaces nve 1 detail Admin state : enabled
| |
Related Commands | ||
Notes |
show interfaces nve <nve-id> counters Displays NVE counters. | ||
Syntax Description | nve-id | NVE ID |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.6.3004 | |
3.9.0500 | Updated example | |
Example | switch (config) # show interface nve 1 counters encapsulated (Tx) NVE packets :0 | |
Related Commands | ||
Notes |
show interfaces nve <nve_id>counters vlan <vlan_value> Displays NVE counters per VLAN. | ||
Syntax Description | nve-id | NVE ID |
vlan_value | VLAN value | |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.9.1000 | |
Example | switch (config) # show interfaces nve 1 counters vlan 5 Encapsulated (Tx) NVE packets: 1 switch (config) # | |
Related Commands | nve vni vlan | |
Notes |
.show interfaces nve <nve-id> flood [vni <vni-id>] Displays remote VTEP endpoints configured for BUM (broadcast, unknown unicast, multicast) flooding. | ||
Syntax Description | nve-id | NVE ID |
vni | Displays NVE flooding on specific VNI | |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.6.3004 | |
Example | ||
| ||
Example (BGP controller mode) | ||
switch (config) # show interfaces nve 1 flood ------------------------------------------------------ | ||
Related Commands | ||
Notes |
show interfaces nve <nve-id> mac-address-table [vni <vni-id>] Displays MAC address table of NVE interface. | ||
Syntax Description | nve-id | NVE ID |
vni | Displays NVE flooding on specific VNI | |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.6.3004 | |
Example | ||
| ||
Related Commands | ||
Notes |
show interfaces nve <nve-id> mac-address-table local learned unicast [vni <vni-id>] Displays only the locally-learned unicast MAC addresses. | ||
Syntax Description | nve-id | NVE ID |
vni | Displays NVE flooding on specific VNI | |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.6.3004 | |
Example | ||
| ||
Related Commands | ||
Notes |
show interfaces nve <nve-id> mac-address-table remote configured multicast [vni <vni-id>] Displays only remotely-configured BUM addresses. | ||
Syntax Description | nve-id | NVE ID |
vni | Displays NVE flooding on specific VNI | |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.6.3004 | |
Example | ||
| ||
Related Commands | ||
Notes |
show interfaces nve <nve-id> peers [vni <vni-id>] Displays all remote VTEPs. | ||
Syntax Description | nve-id | NVE ID |
vni | Displays NVE flooding on specific VNI | |
Default | N/A | |
Configuration Mode | Any command mode | |
History | 3.6.3004 | |
3.8.2200 | Added output of the command while running NVE BGP controller mode | |
Example | ||
switch (config) # show interfaces nve 1 peers -------------------------------------------------------- When running in NVE BGP controller mode: switch (config) # show interfaces nve 1 peers | ||
Related Commands | ||
Notes |
ovs ovsdb server Runs OVSDB-server process and unhides OVS commands. | ||
Syntax Description | N/A | |
Default | N/A | |
Configuration Mode | config | |
History | 3.6.3004 | |
Example | switch (config) # ovs ovsdb server | |
Related Commands | ||
Notes | OVSDB server runs when “protocol openflow” or “protocol nve” are enabled, even when not enabled using this command |
ovs ovsdb manager remote {tcp | ssl} ip-address <ip-address> port <tcp-port> Configures OVSDB to actively connect to a remote manager at a given IP address and TCP port, using either TCP or SSL. | ||
Syntax Description | SSL | Connect with TCP protocol |
TCP | Connect with SSL protocol | |
ip-address | IP address of remote manager | |
Default | N/A | |
Configuration Mode | config | |
History | 3.6.3004 | |
Example | switch (config) # ovs ovsdb manager remote tcp ip-address 10.10.10.10 port 20 | |
Related Commands | ovs ovsdb server | |
Notes |
ovs ovsdb server listen {tcp | ssl} port <tcp-port> local ip-address <ip-address> Configures OVSDB to listen at a given port of an interface with a given (local) IP address. | ||
Syntax Description | SSL | Connect with TCP protocol |
TCP | Connect with SSL protocol | |
ip-address | IP address of a given port | |
Default | N/A | |
Configuration Mode | config | |
History | 3.6.3004 | |
Example | switch (config) # ovs ovsdb server listen tcp port 20 local ip-address 20.20.20.20 | |
Related Commands | ovs ovsdb server | |
Notes |
ovs {ovsdb | vswitchd | vtep} logging level {dbg | emer | err | info | off | warn} Configures OVS logging levels for OVS related processes. | ||
Syntax Description | ovsdb | vswitchd | vtep | OVS-related processes |
dbg | emer | err | info | off | warn | Logging level severity | |
Default | N/A | |
Configuration Mode | config | |
History | 3.8.1100 | |
Example | switch (config) # ovs ovsdb logging level err | |
Related Commands | ||
Notes |
show ovs Displays OVS information. | ||
Syntax Description | N/A | |
Default | N/A | |
Configuration Mode | config | |
History | 3.8.1100 | |
Example |
| |
Related Commands | ||
Notes |