opx config vrf - open-switch/opx-docs GitHub Wiki
opx-config-vrf — Creates namespace (VRF) and add or remove ports to it.
opx-config-vrf [-h,--help]
{create | delete | add | remove}
[--name <vrf>]
[--ports <port-names>]
| Option | Description |
|---|---|
-h,--help |
Displays help text |
create |
Creates a new VRF |
delete |
Deletes an existing VRF |
add |
Adds port(s) to the port-list of a VRF |
remove |
Removes port(s) from the port-list of a VRF |
--name <vrf> |
VRF name |
--ports <port-names> |
Ports to be part of VRF |
If an invalid port is specified, the exit status shall be 1.
Otherwise, the exit status is 0.
$ opx-config-vrf create --name blue --port e101-001-0,e101-004-0
$ opx-config-vrf remove --name red --port e101-001-0,e101-002-0
$ opx-config-vrf delete --name red
NOTE: You must remove ports from the VRF before deleting the ports.
To report any OPX software bugs, see Report bugs.