Skip to main content

Cornelis Technical Documentation

Name

port — Displays and configures port information and settings. This is a Hardware command that can be viewed by all roles, but modified only by the admin role.

Syntax

port [show]

port show <PORT_NAME>

port show config

port enable <PORT_NAME>

port disable <PORT_NAME>

port bounce <PORT_NAME>

port config [show]

port config modify <setting> <PORT_NAME> <value> [<value>...]

Options

No option

Displays all port information.

show

Displays the port information for each port with a connected cable.

config

Displays the configuration status for the specified port.

config

Configures port settings.

show

Displays the configuration status for all ports.

modify

Modifies port configuration.

NOTE: Bounce the port after applying changes.

Settings include:

speed

Modifies the speed of the specified port. Values:

  • 25G

  • 100G

NOTE: The CN5000 Switch automatically detects the link speed capabilities of the link partner and chooses the highest capable speed. Forcing a specific speed using this setting is not supported.

width

Modifies the width of the specified port. Values:

  • 1X

  • 2X

  • 3X

  • 4X

subdivision

Modifies the subdivision of the specified port. Values:

  • 2X

  • 4X

width_downgrade

Modifies the width downgrade of the specified port. Values:

  • 1X

  • 2X

  • 3X

  • 4X

enable

Enables the specified port.

disable

Disables the specified port.

bounce

Bounces the specified port.

<PORT_NAME>

Specifies the name of the port.

Supports the following wildcards:

  • *: Match everything

  • ?: Match any single character

  • [seq]: Match any character in sequence (for example, [1-4] to include ports ending in 1, 2, 3, and 4)

  • [!seq]: Match any character not in sequence (for example, [!3] to exclude ports ending in 3)

Examples

port show
port show config
port show 1A
port config modify speed 1A 100G
port config modify speed 1A 25G 100G
port config modify width 1A 4X
port config modify width 1A 1X 2X 3X 4X
port config modify subdivision 2A 4X
port config modify width_downgrade 2A 1X
port enable 2A
port disable 3B
port bounce 24B

Using wildcards:

port config modify speed * 100G 25G (modified all ports)
port show 33 (33A and 33B)
port show 1[0-9]B (10B through 19B)
port show [1-3][!6]A (10A through 39A, excluding ports ending in 6)
port bounce 1?A (any valid character)