portcfg command

This command configures and displays the settings for the advanced management-module serial port.

Table 1. portcfg command
Function What it does Command Valid targets
Display management-module serial port configuration Displays the current configuration of the management-module serial port. Possible return values are:
  • -b baud_rate
  • -p parity
  • -s stop_bits
portcfg -com1
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Set management-module serial port baud rate Checks syntax and sets the baud (communications) rate of the management-module serial port. portcfg -com1 -b baud_rate

where baud_rate is 2400, 4800, 9600, 19200, 38400, or 57600.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Set management-module serial port parity Checks syntax and sets the parity of the management-module serial port. portcfg -com1 -p parity
where parity is
  • none
  • odd
  • even
  • mark
  • space
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Set management-module serial port stop bits Checks syntax and sets the number of stop bits for the management-module serial port. portcfg -com1 -s stop_bits

where stop_bits is 1 or 2.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Example:

To display the configuration for the management-module serial port, while management module 1 is set as the persistent command environment, at the system:mm[1]> prompt, type
                  portcfg -com1
               
To set the baud rate for the management-module serial port to 9600, while management module 1 is set as the persistent command environment, at the system:mm[1]> prompt, type
                  portcfg -com1 -b 9600
               

The following example shows the information that is returned from these two commands:

               system:mm[1]> portcfg -com1
-b 2400
-p none
-s 1
system:mm[1]> portcfg -com1 -b 9600
These configuration changes will become active after the next reset of the MM.
system:mm[1]>