Port Show Commands
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|dhcpsvrblocked|no-BPDU|LACP-PDUs|vlag-active|vlag-blocked|stp-edge-port|LACP-wait|adjacency-wait|adjacency-check|vlag-wait|multicast-router|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||defer-bringup-wait |
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|fec |
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. |
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 whether the connections on switch data ports should be displayed. |
link-detail |
Specifies the details of the link such as PHY, link, etc. |
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| |
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. |
Version |
The option host-disabled deprecated. |
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