vrouter-loopback-interface-add
This command adds a loopback address to a virtual router (vRouter) service for a fabric, cluster, virtual network (VNET), or standalone switch. The maximum number of loopback interfaces is 255. Netvisor supports IPv4 and IPv6 addresses.
Syntax vrouter-loopback-interface-add
vrouter-name name-string |
Specify the name of the vRouter. |
Specify the following loopback interface arguments: |
|
index number |
Specify the interface index from 1 to 255. |
ip-address |
Specify the network IP address. |
Defaults None.
Access CLI
History Command introduced in Version 2.2.
Usage Each fabric, cluster, standalone switch, or virtual network (VNET) can provide its tenants with a virtual router (vRouter) service that forwards traffic between networks and implements Layer 3 protocols. This command adds a loopback address for an existing vRouter service.
Examples To add the loopback interface of 192.168.11.13 to vRouter, MyvService, , use the following command:
CLI network-admin@switch > vrouter-loopback-interface-add vrouter-name MyvService index 1 ip-address 192.168.11.13
vrouter-loopback-interface-remove
This command removes a loopback address to a virtual router (vRouter) service for a fabric, cluster, virtual network (VNET), or standalone switch.
Syntax vrouter-loopback-interface-add vrouter-name name-string index number
vrouter-name name-string |
Specify the name of the vRouter. |
Specify the following loopback interface arguments: |
|
index number |
Specify the interface index from 1 to 255. |
Defaults None.
Access CLI.
History Command introduced in Version 2.2.
Usage Each fabric, cluster, standalone switch, or virtual network (VNET) can provide its tenants with a virtual router (vRouter) service that forwards traffic between networks and implements Layer 3 protocols. This command removes a loopback interface from an existing Router service.
Examples To remove the loopback interface of 192.168.11.13 to vRouter, MyvService, , use the following command:
CLI network-admin@switch > vrouter-loopback-interface-remove vrouter-name MyvService index 1
vrouter-loopback-interface-show
This command displays information about a loopback address added to a virtual router (vRouter) service for a fabric, cluster, virtual network (VNET), or standalone switch.
Syntax vrouter-loopback-interface-show vrouter-name name-string index number ip-address
vrouter-name name-string |
Specify the name of the vRouter. |
Specify the following loopback interface arguments: |
|
index number |
Specify the interface index from 1 to 255. |
ip-address |
Specify the network IP address. |
Defaults None.
Access CLI.
History Command introduced in Version 2.2.
Usage Each fabric, cluster, standalone switch, or virtual network (VNET) can provide its tenants with a virtual router (vRouter) service that forwards traffic between networks and implements Layer 3 protocols. This command adds a loopback address for an existing vRouter service.
Examples To add the loopback interface of 192.168.11.13 to vRouter, MyvService, , use the following command:
CLI network-admin@switch > vrouter-loopback-interface-show
vrouter-name index ip-address
------------ ----- --------------
MyvService 1 192.168.11.13