The text of a manual · part 23 of 49
Cyclades-TS User Guide: Chapter 3 - Additional Features, pages 217 to 226
Pages 217 to 226 of 454, from Cyclades-TS User Guide
The original document is the PDF (4.3 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Cyclades TS2000 and Avocent TS2000
Page 217
Chapter 3 - Additional Features In the address or location field of your browser type the Console Access Server’s IP address. For example: http://10.0.0.0 Step 2: Log in as root and type the Web root password configured by the Web server. This will take you to the Configuration and Administration page. Step 3: Select the Serial Ports link. Click on the Serial Ports link on the Link Panel to the left of the page or in the Configuration section of the page. This will take you to the Port Selection page. Step 4: Select port(s). On the Port Selection page, choose all ports or an individual port to configure, from the dropdown menu. Click the Submit button. This will take you to the Serial Port Configuration page.
User Guide
217
Page 218
Session Sniffing Step 5: Scroll down to the Sniff Session section. You can configure the appropriate values here.
Figure 30: Sniff Session section of the Serial Port Configuration page Step 6: Click on the Submit button. Step 7: Make the changes effective. Click on the Administration > Run Configuration link, check the Serial Ports/ Ethernet/Static Routes box and click on the Activate Configuration button. Step 8: Click on the link Administration > Load/Save Configuration. Step 9: Click the Save Configuration to Flash button. The configuration was saved in flash.
Wizard Method Step 1: Bring up the wizard. At the command prompt, type the following to bring up the Sniffing custom wizard: wiz --snf
218
Cyclades-TS
Page 219
Chapter 3 - Additional Features Screen 1: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** INSTRUCTIONS for using the Wizard: You can: 1) Enter the appropriate information for your system and press ENTER. Enter '#' if you want to deactivate that parameter or 2) Press ENTER if you are satisfied with the value within the brackets [ ] and want to go on to the next parameter or 3) Press ESC if you want to exit. NOTE: For some parameters, if there is nothing within the brackets, it will continue to ask for a value. In that case, you must enter a valid value or # if you do not wish to configure the value.
Press ENTER to continue...
Screen 2: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** Current configuration: (The ones with the '#' means it's not activated.) all.admin_users : # all.sniff_mode : out all.escape_char : ^z all.multiple_sessions : no
User Guide
219
Page 220
Session Sniffing
Set to defaults? (y/n) [n] : Screen 3: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** ALL.ADMIN_USERS - This parameter determines which users can open a sniff session, which is where other users connected to the very same port can see everything that the first user is doing. The other users connected to the very same port can also cancel the first user's session (and take over). If the parameter, all.multiple_sessions, is configured as 'no', then only two users can connect to the same port simultaneously. If it is configured as 'yes', more simultaneous users can sniff the session or have read/write permissions. (Please see details in Session Sniffing in Chapter 3 of the system's manual.) all.admin_users[#] : ALL.SNIFF_MODE - This parameter determines what other users connected to the very same port can see of the session of the first connected user (main session). The second session is called a sniff session and this feature is activated whenever the protocol is set to socket_ssh or socket_server. (e.g. in -shows data written to the port, out -shows data received from the port, i/o -shows both streams.) all.sniff_mode[out] :
220
Cyclades-TS
Page 221
Chapter 3 - Additional Features Screen 4: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** ALL.ESCAPE_CHAR - This parameter determines which character must be typed to make the session enter into "menu mode." The possible values are <CRTL-a> to <CRTL-z>, and this is only valid when the port protocol is socket_server or socket_ssh. Represent the CRTL character with '^'. Default value is ^z. all.escape_char[^z] :
ALL.MULTIPLE_SESSIONS - Allows users to open multiple common and sniff sessions on the same port. The options are “yes,” “no,” “RW_session,” or “sniff_session.” Default is set to “no.” all.multiple_sessions[no] :
Screen 5: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** Current configuration: (The ones with the '#' means it's not activated.) all.admin_users : # all.sniff_mode : out all.escape_char : ^z all.multiple_sessions : no
User Guide
221
Page 222
Session Sniffing
Are these configuration(s) all correct? (y/n) [n] : If you type 'N' Type 'c' to go back and CORRECT these parameters or 'q' to QUIT : Typing 'c' repeats the application, typing 'q' exits the entire wiz application If you type 'Y' Discard previous port-specific parameters? (y/n) [n] :
Note: Answering yes to this question will discard only the parameter(s) which you are currently configuring if they were configured for a specific port in a previous session. For instance, if you are currently configuring parameter, all.x, and there was a specific port, s2.x, configured; then, answering yes to this question will discard s2.x. Type 'c' to CONTINUE to set these parameters for specific ports or 'q' to QUIT : Typing 'c' leads to Screen 6, typing 'q' leads to Screen 7.
Screen 6: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** You have 8 available ports on this system. Type 'q' to quit, a valid port number[1-8], or anything else to refresh :
222
Cyclades-TS
Page 223
Chapter 3 - Additional Features NOTE: The number of available ports depends on the system you are on. Typing in a valid port number repeats this program except this time it's configuring for the port number you have chosen. Typing 'q' leads to Screen 7.
Screen 7: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** (Note: If you are NOT connected to this unit through a console, and you have just reconfigured the IP of this unit, activating the new configurations may cause you to lose connection. In that case, please reconnect to the unit by the new IP address, and manually issue a saveconf to save your configurations to flash.) Do you want to activate your configurations now? (y/n) [y] :
Screen 8: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** Flash refers to a type of memory that can be erased and reprogrammed in units of memory known as blocks rather than one byte at a time; thus, making updating to memory easier.
User Guide
223
Page 224
Session Sniffing If you choose to save to flash, your configurations thus far will still be in the memory of the system even after you reboot it. If you don't save to flash and if you were to reboot the system, all your new configurations will be lost and you will have to reconfigure the system. Do you want to save your configurations to flash? (y/n) [n] :
CLI Method To configure certain parameters for a specific serial port: Step 1: At the command prompt, type in the appropriate command to configure desired parameters. To activate the serial port. <string> should be ttyS<serial port number> : config configure line <serial port number> tty <string> To configure admin_users: config configure line <serial port number> adminusers <string> To configure sniff_mode: config configure line <serial port number> sniffmode <string> To configure escape_char: config configure line <serial port number> escape <string> To configure multiple_sessions: config configure line <serial port number> multiplesess <string>
224
Cyclades-TS
Page 225
Chapter 3 - Additional Features Tip. You can configure all the parameters for a serial port in one line. config configure line <serial port number> tty <string> adminusers <string> sniffmode <string> escape <string> multiplesess <string> Step 2: Activate and Save. To activate your new configurations and save them to flash, type: config write
User Guide
225
Page 226
SNMP SNMP Short for Simple Network Management Protocol: a set of protocols for managing complex networks. The first versions of SNMP were developed in the early 80s. SNMP works by sending messages, called protocol data units (PDUs), to different parts of a network. SNMPcompliant devices, called agents, store data about themselves in Management Information Bases (MIBs) and return this data to the SNMP requesters. The TS uses the net-snmp package (http://www.net-snmp.org).
Important! Check the SNMP configuration before gathering information about TS by SNMP. There are different types of attacks an unauthorized user can implement to retrieve sensitive information contained in the MIB. By default, the SNMP configuration in TS cannot permit the public community to read SNMP information. The net-snmp supports snmp version 1, 2 and 3. To use SNMP version 1 or 2 (community), you need to configure the communities in the snmp config file (/etc/snmp/snmpd.conf). To use SNMP version 3 (username/password), perform the following steps: Step 1: Create a file /etc/snmp/snmpd.local.conf with the following line: createUser <username> MD5 <password> DES For example : createUser usersnmp MD5 user_snmp_passwd DES
Important! The SNMP v3 password MUST have at least 8 characters. If a password with less than 8 characters is inserted, there will be no error messages, but the SNMP user will not be created. Step 2: Edit the /etc/snmp/snmpd.conf file. If the user has permission to read only, to add the line : rouser <username> (ex.: rouser usersnmp).
226
Cyclades-TS