Modify a port configuration


Change the characteristics of one or more Ethernet ports.

Access mode

config

Syntax

port ifName IfName

Arguments

Field Name Description
phyMode enumeration The port's physical mode.

Valid values:
  • normal : The port passes traffic as a normal physical port.
  • loopback : The port operates as if a loopback cable were attached.
phySpeed enumeration The port-speed setting. If set to auto, the system negotiates with the remote client to achieve the best common speed and duplex settings (based on the advertised speed and duplex settings).

Valid values:
  • 10M : Port operates at 10 Mbps.
  • 100M : Port operates at 100 Mbps (Fast Ethernet).
  • 1000M : Port operates at 1000 Mbps (gigabit Ethernet).
  • auto : System negotiates best speed with the client.
phyDuplex enumeration The acceptable duplex methods for the port.

Valid values:
  • halfDuplex : The port operates at half duplex for asynchronous transmission.
  • fullDuplex : The port operates at full duplex for simultaneous transmission.
jumboFrames enumeration The setting for the port's acceptance of jumbo frames. Jumbo frames extend the traditional 1500-byte Ethernet frame size to 9018 bytes for 100M and Gigabit Ethernet.

Valid values: enabled, disabled
advSpeed enumeration The speed(s) that the port advertises to any remote devices if physpeed is set to auto.

Valid values:
  • 10M : The port advertises 10 Mbps capabilities.
  • 100M : The port advertises 100 Mbps capabilities.
  • 1000M : The port advertises 1000 Mbps capabilities.
  • both : The port advertises both 10 and 100 Mbps capabilities.
advDuplex enumeration The duplex setting(s) that the port advertises to the remote device if physpeed is set to auto.

Valid values:
  • halfDuplex : The port advertises half duplex capabilities.
  • fullDuplex : The port advertises full duplex capabilities.
  • both : The port advertises both half and full duplex capabilities.
defVlan text Sets the default VLAN. Any packet arriving on the port that does not have a VLAN ID in its extended MAC header is assigned to this VLAN. This can be set to either the name of a VLAN or 'discard' to drop untagged packets. If the port is a member of a LAG, this setting is overridden by the LAG's default VLAN setting.