port-show

This command displays information about network data port status.

Syntax   port-show

port port-list

Specifies the switch network data port number, list of ports, or range of ports. Port numbers must be in the range of 1 to 64.

bezel-port bezel-port-string

Specifies the bezel port.

ip ip-address

Specifies the IP address of a host connected to a switch data port.

mac mac-address

Specifies the MAC address of a host connected to a switch data port.

vlan vlan-id

Specifies the VLAN identifier. This is a value between 0 and 4095.

vxlan vxlan-id

Specifies the VXLAN identifier. This is a value between 0 and 16777215.

hostname hostname

Specifies the name of a host connected to a switch data port.

status phy-up|up|disabled|hw-nat-loop|mirror-loop|mirror-to|inuse| PN-switch|
PN-fabric|PN-other|PN-cluster|PN-internal| PN-hypervisor|PN-guest|
snmp-host|host|uplink|drop-pkts|
no-pktin|no-fwd|no-flood|
STP-BPDUs|LLDP|trunk|l3-port|
remote-l3-port|vdp|dhcp|dhcpsvr|
blocked|no-BPDU|LACP-PDUs|
vlag-active|vlag-blocked|
stp-edge-port|LACP-wait|adjacency-wait|adjacency-check|vlag-wait|multicast-router| host-disabled|loop|
vxlan-loopback|vlan-up|vle|vle-wait|phy-down|down| enabled|err-disabled|err-bpdu-guard|mac-violation|    stp-bpdu-guard|stp-root-guard

Specifies the status of a switch data port.

loop-vlans vlan-list

Specifies VLANs looping on the ports.

rem-ip ip-address 

Specifies the IP address of the remote switch.

lport lport-number

Specifies the logical port number on the switch.

rport rport-number

Specifies the port number on the remote switch.

config fd|hd|10m|100m|1g|2.5g|10g|
40g|loopback|mirror-only|
autoneg| fiber|copper|qos|
jumbo|pause|asymetric-pause|
vxlan-termination|no-local-switching

Specifies the settings of a switch data port.

description description-string

Specifies the description of the port.

trunk trunk-name

Specifies the identifier of the trunk that a switch data port is a member of.

hide-connections

Specifies whether the connections on switch data ports should be displayed.

recover-time duration: #d#h#m#s

Specifies the time left for recovery from err-disable state.

err-bpduguard err-bpduguard-number

Specifies the total count of err-disables by BPDU guard.

err-maclimit err-maclimit-number

Specifies the total count of err-disables by MAC address limit.

hide-connections

Specifies if the connections are hidden.

link-detail

Specifies the details of the link such as PHY, link, etc.

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.

sort-asc

Display output in ascending order.

sort-desc

Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.

show-headers|
no-show-headers

Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.

count-output

Display the number of entries in the output. This is useful with vRouter show commands.

unscaled

Display full values in the output instead of scaled approximate values.

raw-int-values

Displays the full value instead of the scaled approximate value.

sum-by

Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.

Defaults   None

Access   CLI

History   

Version 1.2

Command introduced.

Version 2.2.2

Options for status and config changed.

Version 2.2.6

The parameters, LACP-wait|adjacency-wait|adjacency-check|
vlag-wait|multicast-router
 added.

Version 2.4

The options, host-disabled|loop|vxlan-loopback|vlan-up, added. The parameter, loop-vlans, added.

Version 2.6.2

The parameters, rem-ip, recover-time, err-bpduguard, err-maclimit, hide-connections, link-detail, added.

, rem-ip,

Usage   Use this command to display information about port status on the switch.

Examples  To display the port status for port 12, use the following command:

CLI network-admin@switch > port-show port 12 layout vertical

switch:           pubdev03

port:             45

ip:               192.168.42.10

mac:              64:0e:94:28:00:8e

hostname:         pubdev01

status:           up,PN-fabric,LLDP,trunk

lport:            45

rport:            45

config:           fd,10g

trunk:            trunk-info

 

See Also   

port-config-modify


port-config-show


port-phy-show


port-stats-clear


port-stats-show


port-vlan-add


port-vlan-remove


port-vlan-show


port-xcvr-show