vrouter-ospf-add
This command adds Open Shortest Path First (OSPF) routing protocol to a virtual router (vRouter) service for a fabric, cluster, virtual network (VNET), or standalone switch.
Syntax vrouter-ospf-add
vrouter-name name-string |
Specify the name of the vRouter. |
Specify the following OSPF arguments: |
|
network ip-address |
Specify the network IP address. |
netmask netmask |
Specify the netmask of the IP address. |
ospf-area ospf-area-number |
Specify the OSPF area number in dotted decimal format. |
Defaults None.
Access CLI.
History
Version 1.2 |
Command introduced. |
Version 2.1 |
The parameters, stub-area and stub-type, added. |
Version 2.2.3 |
The parameters, stub-area and stub-type, moved to the command vrouter-ospf-area. |
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 OSPF for an existing Router service.
Examples To add OSPF to vRouter, MyvService, with the IP address of 192.168.11.3, netmask 32, and OSPF area 1.0.0.0, use the following command:
CLI network-admin@switch > vrouter-ospf-add vrouter-name MyvService network 192.168.11.3/32 ospf-area 1.0.0.0
vrouter-ospf-remove
This command is used to remove an OSPF configuration from a vRouter service on a fabric, cluster, virtual network (VNET), or standalone switch.
Syntax vrouter-ospf-remove
vrouter-name name-string |
Specify the name of the vRouter. |
Specify the following OSPF arguments: |
|
network ip-address |
Specify the network IP address. |
Defaults None
Access CLI
History Command introduced in nvOS Version 1.2.1.
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 OSPF for an existing Router service.
Examples To remove ospf-route from the vRouter, MyvService, use the following command:
CLI network-admin@switch > vrouter-ospf-remove vrouter-name MyvService name ospf-route
vrouter-ospf-show
This command displays information about OSPF on a virtual router (vRouter) service for a fabric, cluster, virtual network (VNET), or standalone switch.
Syntax vrouter-ospf-show
vrouter-name name-string |
Specify the name of the vRouter. |
Specify the following OSPF arguments: |
|
network ip-address |
Specify the network IP address. |
netmask netmask |
Specify the netmask of the IP address. |
ospf-area ospf-area-number |
Specify the OSPF area number in dotted decimal format. |
Defaults None.
Access CLI
History
Version 1.2 |
Command introduced. |
Version 2.1 |
The parameters, stub-area and stub-type, added. |
Version 2.2.3 |
The parameters, stub-area and stub-type, moved to the command vrouter-ospf-area. |
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 displays OSPF for an existing Router service.
Examples To display information about all OSPF instances configured on vRouters, use the following command:
CLI network-admin@switch > vrouter-ospf-show layout vertical