The ioport command displays state and configuration information on an I/O port.
set ioport slot/port clear-stats [–descr=text] show ioport show ioport * show ioport slot/port [–detail] show ioport slot/port alarms [–detail] show ioport slot/port stats [–detail] show ioport slot/port vhbas [–detail] show ioport slot/port vnics [–detail] show ioport slot/*
where:
* is a wildcard.
slot /port are the physical slot and port numbers.
This hardware command has subcommands that determine its functionality. This table describes the subcommands and provides their syntax.
|
|
This example shows how to view I/O port information, with and without the –detail option.
[OFOS] show ioport name type state descr v-resources ----------------------------------------------------------------------------- 2/1 gwEthernet10GbPort up/down 0 2/2 gwEthernet10GbPort up/down 0 2/3 gwEthernet10GbPort up/down 0 2/4 gwEthernet10GbPort up/down 0 4/1 gwEthernet40GbPort up/indeterminate 0 4/2 gwEthernet40GbPort up/down 0 embedded/3 gwEthernet10GbPort up/down 0 embedded/8 gwEthernet40GbPort up/down 0 8 records displayed
[OFOS] show ioport 2/3 -detail ------------------------------------ name 2/3 type gwEthernet10GbPort state up/down descr mode trunk lag access-vlan 1 guid 10e096c95d0102 ------------------------------------ 1 record displayed