58.Switch Port Commands
Configure the following settings for each port of this Switching Hub.
Port speed, flow control
Auto-negotiation option
Whether the MAC address learning is enabled or disabled
MDI/MDI-X settings
Combo port media settings
config ports [<portlist> | all] {medium_type [fiber | copper]} {speed [auto {capability_advertised
{10_half | 10_full | 100_half | 100_full | 1000_full}} | 10_half | 10_full | 100_half |
100_full | 1000_full {[master | slave]}] | auto_negotiation [restart_an |
remote_fault_advertised [disable | offline | link_fault | auto_negotiation_error]] |
flow_control [enable | disable] | learning [enable | disable] | state [enable | disable] | mdix
[auto | normal | cross] | [description <desc 1-32> | clear_description]}(1)
show ports {<portlist>} {[description | err_disabled | auto_negotiation | details | media_type]}
58.1. config ports
Description
This command is used to change Switching Hub port settings.
Format
config ports [<portlist> | all] {medium_type [fiber | copper]} {speed [auto
{capability_advertised {10_half | 10_full | 100_half | 100_full | 1000_full}} | 10_half |
10_full | 100_half | 100_full | 1000_full {[master | slave]}] | auto_negotiation [restart_an
| remote_fault_advertised [disable | offline | link_fault | auto_negotiation_error]] |
flow_control [enable | disable] | learning [enable | disable] | state [enable | disable] | mdix
[auto | normal | cross] | [description <desc 1-32> | clear_description]}(1)
Parameters
<portlist>Specify a range of ports to be configured.
all
Specify to set all ports in the system.
medium_type
(Optional) Specify the medium type when configuring ports that are combo ports.
fiber
Specify the fiber port.
copper
Specify the copper port.
58. Switch Port Commands
563