Port Access and Configuration Examples. Avocent Cyclades ACS 6000, ACS 6000
Реклама
Реклама
C H A P T E R
2
Port Access and Configuration
Examples
19
By default, all serial ports and the AUX/Modem port are disabled. The administrator must enable and configure the ports before anyone can use them. Configuration of ports differs based on the type of connected device, which can be either a device console, a PDU or modem.
By default, all users can access all enabled and configured ports. The administrator must decide whether to restrict user access to ports by the assignment of authorizations to user groups. A user who is in an authorized group is referred to as an authorized user.
Some port configuration tasks are provided as examples of how to use the CLI. See the Cyclades
ACS 6000 Installation/Administration/User Guide for an overview of the tasks the administrator must do to configure restricted access to ports. For more information about how to follow the Web
Manager procedures in the CLI, see Configuration Tasks Performed With the CLI on page 3.
This section describes the following tasks related to port access, configuration, power management and where the tasks are performed in the CLI.
Table 2.1: Port Access and Configuration Tasks
Task Where Performed
View information about the console server and the connected devices topology show
Authorized users access enabled and configured ports
Authorized users manage power on outlets topology connect <port> topology/<PDU_ID>/outlets
-orpower_management/management/<PDU_ID>/outlet_table
Administrators configure ports connected to the consoles of devices appliance_settings/ports
NOTE: See Chapter 3 for all Appliance Settings options.
20 Cyclades ACS 6000 Advanced Console Server Command Reference Guide
View Information About the Console Server and Connected
Devices
When a regular user or an administrator enters show at the Topology level, information about the
following appears in the format shown in Table 2.2:
• The console server
• The AUX/Modem port (if it is enabled and configured with the Dial-In Profile)
• The serial ports that user is authorized to access (if they are configured with the CAS or Power
Profile)
Table 2.2: Topology Parameters
Description Field
For Appliance
Name
Port
Type
Status
Action
For Serial Port
Name
Name assigned to the appliance (for example, ACS6048-1357908642)
N/A
N/A
N/A
N/A
Port
Type
Status
Action
For Power
Name
Either the default name [XX-XX-XX-p-n (where n=port_number)], an administratorassigned alias or an auto-discovered server name
Number of the serial port
Serial
Idle / In-Use
Connect
Port
Type
Status
Action
PDU ID (either the default name in the format XX-XX-XXPXX_n or an administratorassigned alias, such as myPDU)
Number of the serial port/position on the chain
PDU model
Number of Outlets ON | Total outlets
None
Chapter 2: Port Access and Configuration Examples 21
Table 2.2: Topology Parameters (Continued)
Field
For Outlets
Name
Port
Type
Status
Action
Description
NOTE: Enter cd <PDU_ID>/outlets and enter show to see list of outlets and the actions that can be taken (commands that can be executed) for each outlet as shown below.
Either the default XX-XX-XXPXX_n_n or an administrator-assigned name
PDU outlet number
Outlet
ON / OFF
None
To view information about the console server and connected devices:
1.
Log into the CLI and enter cd topology to change to the Topology level.
--:- units cli-> cd topology
Please wait -- this could take a while
2.
Enter show . Information about the console server and the ports the current user is authorized to access appears.
--:- topology cli-> show
ACS6048-1357908642
name: ACS6048-1357908642
port:
type:
status:
action:
1
name: 77-77-70-p-1
port: 1
type: Serial
status: Idle
action: connect
2
name: 77-77-70-p-2
port: 2
type: Serial
status: Idle
action: connect myPDU
22 Cyclades ACS 6000 Advanced Console Server Command Reference Guide
name: myPDU
port: 3/1
type: PM20i|30A
status: 3|20
action:
77-77-70-p-1/
77-77-70-p-2/
myPDU/
--:- topology cli->
Connect to a Device Console Connected to a Serial Port
The following procedure is an example of how an administrator or an authorized user can connect to a device console when the device is connected to a port that is enabled and configured with the
CAS Profile.
To connect to a device console connected to a serial port:
1.
Log into the CLI and enter cd topology to navigate to the Topology level.
--:- units cli-> cd topology
Please wait -- this could take a while
--:- topology cli->
2.
Enter connect < serial_port_name > . If authentication is configured for the port, the Password prompt appears when single sign-on is disabled.
--:- topology cli-> connect 77-77-70-p-2 password:
NOTE: The connect command above shows a connection to port 2.
3.
If prompted, enter the password for the port. The following prompt appears.
Type the hot key to suspend the connection: <CTRL>z
4.
Press Enter to continue. You are connected to the device that is connected to the port. The window shows the initial display for the device (usually a console banner and login prompt).
An example is shown below.
Ubuntu 6.06.1 LTS fremont-techpubs ttyS2 fremont-techpubs login: fred
Password:
Chapter 2: Port Access and Configuration Examples 23
Last login: Tue Oct 2 13:09:04 2007 on :0
Linux fremont-techpubs 2.6.15-28-386 #1 PREEMPT Wed Jul 18 22:50:32
UTC 2007 i68
6 GNU/Linux
#
Manage Power for a Device Connected to an Outlet on a PDU
See power_cycle, power_off and power_on on page 12 for how an administrator or any authorized
user can manage power on PDU outlets when the PDU is connected to a port that is enabled and configured with the Power Profile.
Port Configuration Examples
The following examples show how an administrator can configure a port when a device console is connected, assign the CAS profile, configure a port that is connected to a PDU and assign the
Power Profile.
To set up a console access service (CAS) port:
1.
Log onto the CLI as an administrator.
--:- units cli->
2.
Enter cd followed by the parameters shown to select the port (port 1 is used as an example).
--:- units cli-> cd appliance_settings/ports/physical_ports/ serial_ports/1
3.
Enter show to view the status and serial profile of port 1.
--:- 1 cli-> show
1
port_settings/
--:- 1 cli->
4.
Type cd then press Tab Tab to view the port_settings option.
--:- 1 cli-> cd< Tab><Tab> port_settings/
5.
Enter cd port_settings to navigate to the Port_Settings level to configure port 1.
--:- 1 cli-> cd port_settings
6.
Type set then press Tab Tab to view the set options.
--:- port_settings cli-> set< Tab><Tab> communication_settings/ port_settings/
7.
Type set port_settings then press Tab to view the options for the Port_Settings level.
--:- port_settings cli-> set port_settings/< Tab> rj45_pin-out status serial_profile
24 Cyclades ACS 6000 Advanced Console Server Command Reference Guide
8.
Enter set port_settings/serial_profile=cas then enter commit as shown to assign the CAS profile and save the settings.
--:- port_settings cli-> set port_settings/ serial_profile=cas
**:- port_settings cli-> commit
--:- port_settings cli->
9.
Enter set port_settings/status=enabled , then enter commit and show as shown to enable the configured port, save the settings and verify the configuration.
--:- port_settings cli-> set port_settings/ status=enabled
**:- port_settings cli-> commit
--:- port_settings cli-> show
To enable a power management port:
1.
Log onto the CLI as an administrator and enter cd appliance_settings/ports/physical_ports/
<port_name> to select a port with a PDU connected (port 3 is used as an example).
--:- Units cli-> cd appliance_settings/ports/physical_ports/ serial_ports/3
2.
Enter show to view the configuration of port 3.
--:- 3 cli-> show
3
port_settings/
--:-3 cli->
3.
Enter cd port_settings to configure port 3.
--:- 3 cli-> cd port_settings
4.
Type set then press Tab Tab to view the configuration options.
--:- port_settings cli-> set < Tab >< Tab > communication_settings port_settings
5.
Enter show to view the configuration of port 3.
--:-port_settings cli-> show port_settings
port: 3
status = disabled
rj45_pin-out = cyclades
serial_profile = unconfigured communication_settings
speed = 9600
parity = None
data_bits = 8
stop_bits = 1
flow_control = none
Chapter 2: Port Access and Configuration Examples 25
6.
Type set port_settings/ then press Tab to view the options for the Port_Settings parameter.
--:- port_settings cli-> set port_settings/< Tab > rj45_pin-out status serial_profile
7.
Enter set port_settings/ status=enabled serial_profile=power then enter commit to set the
Serial_Profile to Power, enable the port and commit the changes.
--:- port_settings cli-> set port_settings/ status=enabled
serial_profile=power **:- port_settings cli-> commit
8.
Enter show to verify the configuration.
--:- port_settings cli-> show
26 Cyclades ACS 6000 Advanced Console Server Command Reference Guide
Завантажити
Реклама