port#

Description#

Reserve and switch port. If the port is not yet reserved, reserve the port. This command changes the working port and will stay in the same context.

Synopsis#

port <PORT>
[--reset/--no-reset]
[--force/--no-force]

Arguments#

<PORT> (text)

Specifies the port on the specified device host.

Specify a port using the format slot/port, e.g. 0/0

Options#

--reset/--no-reset

Removes the port configurations, default to --no-reset.

--force/--no-force

Breaks port locks established by another user, aka. force reservation, default to --force.

Examples#

xoa-utils[123456] > port 0/0
Port      Sync      Owner
*2/0      IN_SYNC   You

[ ACTUAL CONFIG ]
    Link recovery         : off
    Serdes count          : 1

    Auto-negotiation      : off (allow loopback: yes)
    Link training         : on (interactive) (preset0: standard tap values) (timeout: disabled)
        Initial Mod.      : {'0': 'NRZ'}


[ SHADOW CONFIG ]
    Auto-negotiation      : off (allow loopback: no)
    Link training         : on (interactive) (preset0: standard tap values)
        Initial Mod.      : {'0': 'NRZ'}