tunnel-create
This command is used to create a tunnel on the switch.
Syntax tunnel-create
scope local|cluster |
Specify the scope for the tunnel. Local and cluster scopes are supported. |
name name-string |
Specify the name of the tunnel. |
local-ip ip-address |
Specify the local IP address. |
remote-ip ip-address |
Specify the remote IP address. |
vnet vnet-name |
Specify the name of the VNET. |
vrouter-name vrouter-name |
Specify the name of the vRouter service. |
peer-vrouter-name vrouter- name |
Specify the name of the vRouter service on the cluster peer. |
next-hop ip-address |
Specify the next hop IP address. |
next-hop mac-address |
Specify the next hop MAC address. |
bfd|no-bfd |
Specify BFD for the tunnel. |
Defaults None.
Access CLI
History
Version 1.2 |
Command introduced. |
Version 2.1 |
The parameters, type and remote-switch, deprecated. |
Version 2.2.3 |
The parameter router-if replaced name-string with vrouter-hw-if name option. |
Version 2.4 |
The option, cluster, added to scope. The parameters, vrouter-name and peer-vrouter-name, added. |
Version 2.5 |
The parameter, vnet, added. |
Version 3.0.0 |
The parameter, vrouter-if, deprecated. The parameter, bfd, added. |
Usage Tunnels are used to encapsulate unsupported protocols on a network. Use this command to create tunnels on a fabric.
Examples To create a tunnel with a local scope called tunnel1010 with local IP address, 192.168.13.11 and remote IP address of 209.134.65.27, use the following command:
CLI network-admin@switch > tunnel-create scope local name tunnel010 local-ip 192.168.13.11 remote-ip 209.134.65.27
tunnel-delete
This command is used to delete an existing tunnel from the configuration.
Syntax tunnel-delete name name-string
name name-string |
Specify the name of the tunnel to delete from the configuration. |
Defaults None.
Access CLI
History Command introduced in nvOS Version 1.2.1.
Usage Tunnels are used to encapsulate unsupported protocols on a network. Use this command to delete an existing tunnel on a fabric.
Examples To delete the tunnel ip-23, use the following command:
CLI network-admin@switch > tunnel-delete name ip-23
tunnel-modify
This command is used to modify an existing tunnel on the switch.
Syntax tunnel-modify
scope local|cluster |
Specify the scope for the tunnel. Local and cluster scopes are supported. |
name name-string |
Specify the name of the tunnel. |
local-ip ip-address |
Specify the local IP address. |
remote-ip ip-address |
Specify the remote IP address. |
vnet vnet-name |
Specify the name of the VNET. |
vrouter-name vrouter-name |
Specify the name of the vRouter service. |
peer-vrouter-name vrouter- name |
Specify the name of the vRouter service on the cluster peer. |
next-hop ip-address |
Specify the next hop IP address. |
next-hop mac-address |
Specify the next hop MAC address. |
bfd|no-bfd |
Specify BFD for the tunnel. |
Defaults None.
Access CLI
History
Version 1.2 |
Command introduced. |
Version 2.1 |
The parameters, type and remote-switch, deprecated. |
Version 2.2.3 |
The parameter router-if replaced name-string with vrouter-hw-if name option. |
Version 3.0.0 |
The parameter, vrouter-if, deprecated. The parameter, bfd, added. |
Usage Tunnels are used to encapsulate unsupported protocols on a network. Use this command to modify tunnels on a fabric.
Examples To modify the local IP address to 172.26.21.15, use the following command:
CLI network-admin@switch > tunnel-modify scope local name tunnel010 local-ip 172.26.21.15
tunnel-show
This command is used to display the list of tunnels on the switch.
Syntax tunnel-show
id |
Displays the ID assigned to the tunnel. |
scope local |
Displays the scope for the tunnel. Only local scopes are supported. |
name name-string |
Displays the name of the tunnel. |
type ip-in-ip|vxlan|nvgre |
Displays the type of tunnel. |
vnet vnet-name |
Displays the name of the VNET. |
vrouter-name vrouter-name |
Displays the name of the vRouter service. |
peer-vrouter-name vrouter- name |
Displays the name of the vRouter service on the cluster peer. |
local-ip ip-address |
Displays the local IP address. |
remote-ip ip-address |
Displays the remote IP address. |
router-ifvrouter-hw-if name |
Displays the router interface. |
tunnel-if-name tunnel-if-name-string |
Displays the router interface VNIC name. |
next-hop ip-address |
Displays the next hop IP address. |
next-hop mac-address |
Displays the next hop MAC address. |
next-hop-vlan vlan-id |
Displays the next hop VLAN ID. |
remote-switch fabric-node-name |
Displays the remote switch for the tunnel. |
vrid vrid-number |
Displays the vRouter hardware ID. |
tunnelID tunnelID-number |
Displays the tunnel ID. |
interface-mac |
Displays the MAC address of the tunnel interface. |
interface-vnet vnet name |
Displays the VNET name. |
bd bridge-domain name |
Displays the bridge domain name. |
interface-vlan vlan-id |
Displays the interface VLAN. |
active yes|no |
Displays the status of the tunnel. |
state init|ok|error |
Displays the state of the tunnel. |
bfd|no-bfd |
Displays if BFD is configured. |
bfd-state unknown|admin-down|down|init|up|no-session| |
Displays the state of the BFD session.D |
peer-bfd-state unknown|admin-down|down|init|up|no-session|not-replicator-vtep |
Displays the peer BFD session state. |
error error-string |
Displays tunnel errors. |
route-info route-info-string |
Displays route information. |
ecmp-group ecmp-group-number |
Displays ECMP group information. |
using-vxlan-loopback yes|no |
Displays using VXLAN loopback. |
ports port-list |
Displays the port list. |
nh-egress-id |
Displays the nexthop port egress ID. |
auto-tunnel auto|static |
Displays if the tunnel is automatic or static. |
ecmp-nexthops|no-ecmp-nexthops |
Filter single or multiple route entries per nexthops. |
Defaults None.
Access CLI
History
Version 1.2 |
Command introduced. |
Version 2.2.2 |
The parameter, type, added. |
Version 2.2.3 |
The parameter router-if replaced name-string with vrouter-hw-if name option. |
Version 2.3.1 |
The parameter, active, added. |
Version 2.4 |
The option, cluster, added to scope. The parameters, vrouter-name and peer-vrouter-name, state, error, route-info, and ecmp-group added. |
Version 2.5 |
The parameter, vnet, added. |
Version 3.0.0 |
The parameter, vrouter-if, deprecated. The parameter, bfd, added. |
Usage Tunnels are used to encapsulate unsupported protocols on a network. Use this command to display a list of tunnels on a fabric.
Examples To display a list of all tunnels on a switch, use the following command:
CLI network-admin@switch > tunnel-show