Skip to content

opx config vrf

Amy Buck edited this page Feb 21, 2019 · 17 revisions

COMMAND

opx-config-vrf — Creates namespace (VRF) and add or remove ports to it.

SYNOPSIS

opx-config-vrf [-h,--help]
{create | delete | add | remove}
[--name <vrf>] 
[--ports <port-names>]

OPTIONS

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

EXIT STATUS

If an invalid port is specified, the exit status shall be 1.
Otherwise, the exit status is 0.

EXAMPLE

Create VRF

$ opx-config-vrf create --name blue --port e101-001-0,e101-004-0

Remove VRF ports

$ opx-config-vrf remove --name red --port e101-001-0,e101-002-0

Delete VRF

$ opx-config-vrf delete --name red

NOTE: You must remove ports from the VRF before deleting the ports.

REPORT BUGS

To report any OPX software bugs, see Report bugs.

SEE ALSO

opx-show-vrf

Clone this wiki locally