ix
Chapter 7: Port Configuration
Port Configuration Summary .......................................................................................................................... 7-1
Port String Syntax Used in the CLI .......................................................................................................... 7-1
Reviewing Port Status .................................................................................................................................... 7-2
Purpose .................................................................................................................................................... 7-2
Commands ............................................................................................................................................... 7-2
show port............................................................................................................................................7-3
show port status .................................................................................................................................7-3
show port counters .............................................................................................................................7-4
clear port counters..............................................................................................................................7-6
show port cablestatus.........................................................................................................................7-6
Disabling / Enabling and Naming Ports .......................................................................................................... 7-7
Purpose .................................................................................................................................................... 7-7
Commands ............................................................................................................................................... 7-7
set port disable ...................................................................................................................................7-8
set port enable....................................................................................................................................7-8
show port alias....................................................................................................................................7-9
set port alias .......................................................................................................................................7-9
Setting Speed and Duplex Mode .................................................................................................................. 7-11
Purpose .................................................................................................................................................. 7-11
Commands ............................................................................................................................................. 7-11
show port speed ...............................................................................................................................7-11
set port speed...................................................................................................................................7-12
show port duplex ..............................................................................................................................7-12
set port duplex..................................................................................................................................7-13
Enabling / Disabling Jumbo Frame Support ................................................................................................. 7-14
Purpose .................................................................................................................................................. 7-14
Commands ............................................................................................................................................. 7-14
show port jumbo ...............................................................................................................................7-14
set port jumbo...................................................................................................................................7-15
clear port jumbo................................................................................................................................7-15
Setting Auto-Negotiation and Advertised Ability ........................................................................................... 7-16
Purpose .................................................................................................................................................. 7-16
Commands ............................................................................................................................................. 7-16
show port negotiation .......................................................................................................................7-16
set port negotiation...........................................................................................................................7-17
show port advertise ..........................................................................................................................7-17
set port advertise..............................................................................................................................7-18
clear port advertise...........................................................................................................................7-19
show port mdix .................................................................................................................................7-20
set port mdix.....................................................................................................................................7-20
Setting Flow Control ..................................................................................................................................... 7-22
Purpose .................................................................................................................................................. 7-22
Commands ............................................................................................................................................. 7-22
show flowcontrol...............................................................................................................................7-22
set flowcontrol...................................................................................................................................7-22
Setting Port Link Traps and Link Flap Detection .......................................................................................... 7-24
Purpose .................................................................................................................................................. 7-24
Commands ............................................................................................................................................. 7-24
show port trap.................................................................................................................
..................7-24
set port trap ......................................................................................................................................7-25
show linkflap.....................................................................................................................................7-25
set linkflap globalstate ......................................................................................................................7-28
set linkflap portstate..........................................................................................................................7-28
set linkflap interval............................................................................................................................7-29