tunnel-create
This command is used to create a tunnel on the switch.
Syntax tunnel-create
name name-string |
Specify the name of the tunnel. |
scope local|cluster |
Specify the scope for the tunnel. Local, and cluster scopes are supported. |
local-ip ip-address |
Specify the local IP address. |
remote-ip ip-address |
Specify the IP address of the remote switch. |
vnet vnet-name |
Specify the vNET name. |
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 IP address of the next hop. |
next-hop-mac mac-address |
Specify the next hop MAC address. |
bfd|no-bfd |
Specify BFD for the tunnel. |
flood-nh-ip ip-address |
Flood next hop IP. |
flood-nh-mac mac-address |
Flood next hop MAc address. |
mac-learning|no-mac-learning |
Specify if you want to enable or disable MAC address learning. |
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. |
Version 6.0.0 |
The option mac-learning|no-mac-learning 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