RS-232 Port Configuration Mode Commands


RS-232 Port Configuration Mode Commands
 
 
The RS-232 Port Configuration Mode is used to manage the RS-232 ports on the SPIO cards.
 
 
default
Restores the port’s default speed and communication mode.
Product
All
Privilege
Security Administrator, Administrator
Syntax
default { preferred slot | terminal { all | databits | flowcontrol | parity | speed | stopbits }
preferred slot
Sets the port for non-revertive operation for port redundancy auto-recovery; requiring an administrative user to manually issue a port switch to command to return service to the original port.
terminal { all | databits | flowcontrol | parity | speed | stopbits }
Sets the terminal settings for the rs-232 port to their default settings.
all: Restore all settings to their default values.
databits: Restore the databits setting to its default value of 8.
flowcontrol: Restore the flowcontrol setting to its default value of none.
parity: Restore the parity setting to its default value of none.
speed: Restore the speed setting to its default value of 9600.
stopbits: Restore the stopbits setting to its default value of 1.
Usage
Restores port-level parameters to their default values.
Example
The following command restores all terminal settings to their default values:
default terminal all
 
end
Exits the port configuration mode and returns to the Exec mode.
Product
All
Privilege
Security Administrator, Administrator
Syntax
end
Usage
Change the mode back to the Exec mode.
 
exit
Exits the port configuration mode and returns to the global configuration mode.
Product
All
Privilege
Security Administrator, Administrator
Syntax
exit
Usage
Return to the global configuration mode.
 
preferred slot
Assigns revertive or non-revertive control to port redundancy auto-recovery.
Default: non-revertive operation
Product
PDSN, FA, HA, GGSN
Privilege
Security Administrator, Administrator
Syntax
preferred slot slot#
no preferred slot slot#
no
Disables revertive, or auto-recovery, operation for selected port.
slot#
Identifies the physical chassis slot where the SPIO card is installed.
Usage
This command enables or disables revertive port redundancy, wherein after a port failover, when the original port is restored to service (i.e. link up) the system will return service to that port automatically.
Disabled, which is the default setting, causes non-revertive operation; requiring an administrative user to manually issue a port switch to command to return service to the original port.
This command must be issued on a per port basis, allowing you to configure specific ports to be used on individual LCs or SPIO cards. For example, ports 1 through 4 could be configured as “preferred” on the LC in slot 17 while ports 5 through 8 are “preferred” on the LC in slot 33. In this scenario, both LCs would be in an Active operational state while still providing LC and port redundancy for the other.
Important: This command is not supported on all platforms.
Example
preferred slot 24
 
snmp trap link-status
Enables/disables the generation of an SNMP trap for link status changes.
Product
All
Privilege
Security Administrator, Administrator
Syntax
snmp trap link-status
no snmp trap link-status
no
Disables the sending of traps for link status changes.
Usage
Enable link status change traps when a monitoring facility can use the information or if there are trouble shooting activities are in progress.
Example
snmp trap link-status
no snmp trap link-status
 
terminal
Configures the console port on the SPIO.
Product
All
Privilege
Security Administrator, Administrator
Syntax
terminal { carrierdetect { off | on } | databits { 7 | 8 } | flowcontrol { hardware | none } | parity { even | none | odd } | speed { 115200 | 19200 | 38400 | 57600 | 9600 } | stopbits { 1 | 2 } }
carrierdetect { off | on }
Default:
Specifies whether or not the console port is to use carrier detect when connecting to a terminal.
databits { 7 | 8 }
Default: 8
Specifies the number of data bits used to transmit and receive characters.
flowcontrol { hardware | none }
Default: none
Specifies how the flow of data is controlled between the SPIO and a terminal.
parity { even | none | odd }
Default: none
Specifies the type of error checking used on the port.
even - Enables error checking by setting the parity bit to 1 (if needed) making the number of 1s in the data bits even.
none - Disables error checking.
odd - Enables error checking by setting the parity bit to 1 (if needed) making the number of 1s in the data bits odd.
speed { 115200 | 19200 | 38400 | 57600 | 9600 }
Default: 9600
Specifies the flow of data in bits per second between the console port and terminal.
stopbits { 1 | 2 }
Default: 1
Specifies the number of stop bits between each transmitted character.
Usage
Sets the SPIO’s console port parameters for communication with the terminal device.
Example
The following command sets the SPIO’s console port. The terminal must support these values.
terminal carrierdetect off databits 7 flowcontrol hardware parity even speed 115200 stopbits 1
 
 

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883