4.2.3. port

4.2.3.1. 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.

4.2.3.2. Synopsis

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

4.2.3.3. Arguments

<PORT> (text)

Specifies the port on the specified device host.

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

4.2.3.4. 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.

4.2.3.5. 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'}