Collecting switch logs Highlighted

Latest reply: Sep 11, 2013 03:02:14 5322 1 1 0

This post introduces how to collect logs of four common switch series: OceanStor SNS series switches, QLogic switches, Brocade switches, and Huawei ATAE switches.

 

 Collecting logs of OceanStor SNS series switches, and QLogic switches. 

1. Using the QuickTools to collect information

1. Open the Internet Explorer, type the IP address of a switch in the address box, press Enter, and start the QuickTools.

2. Enter the user name and password to log in to the QuickTools (the user name and password are admin and password respectively.)

3. Choose Switch > Download Support File and the Download Support File dialog box is displayed.

4. Select a location for saving the file and type the file name. You are advised to name the file in the format of switch name_dump_date.tgz. Click Start to export information.

 

2. Using the CLI to collect information

1. Use the Telnet to log in to the CLI.

2. Run the create support command. It takes about one minute for this command to be executed.

3. When the command is complete, the dialog box about whether to upload the information to the FTP server over the FTP is displayed. Enter n.

4. Enter the default user name images and default password images on the FTP server to log in to the switch.

5. Run the bin command to specify the binary transfer mode and run the get dump_support.tgz command to download the file to the local computer. 


 

 

 

Collecting logs of Brocade switches

 

1. Check the IP address of the switch and choose a host located in the same network segment. Enable the FTP and prepare the directory that is used to save the switch logs on the FTP server.

2. Use SSH to log in to the switch and run the supportsave command. Type each parameter as instructed.

    1. Host IP: Type the IP address of the FTP server.

    2. User Name: Type the user name of the FTP server.

    3. Password: Type the password of the FTP server.

    4. Remote Directory: Type the prepared directory on the FTP server.

3. Press Enter and the FTP automatically downloads the supportsave information.

4. Export the information collected from the FTP server.

 

 

Collecting logs of Huawei ATAE switches 

 
 

1. Logging in to Huawei ATAE switch<0}

Method 1:

You can log in to the switch through the DB9-RJ45 serial port cable. The following are steps for logging in to the switch:

1. Connect the DB9-RJ45 serial port cable to the BMC COM port in front of the ATAE switch. Run the Windows HyperTerminal and set the parameters of the HyperTerminal as follows:
Baud rate: 115200
Data bit: 8
Stop bit: 1
Flow Control: None.

2. Log in to the root > view of the switch BMC.

3. At the root > prompt, type ss and press Enter to the ss > view.

4. At the ss > prompt, type ? and press Enter to view the information about all the built-in modules of the switch.

5. At the ss > prompt, type fc and press Enter to switch the SYS COM port in front of the switch to the FC plane.

6. Then connect the serial port cable to the SYS COM port and change the baud rate of the HyperTerminal from 115200 to 9600. As a result, the serial port is connected to the FC plane. Enter the user name (admin) and password (password) to log in as instructed. The system advises you to change the password. Press Ctrl+c to cancel and the FC switch module system is displayed.

Method 2:

You can log in to the ATAE server board and the switch serial port remotely by using the SOL on the SMM.

(NOTE: The method applies to ATAE R2 enclosures and does not apply to ATEA R0, R1, and purchased Intel enclosures.)

The following are steps for logging in to the switch and port remotely:

1. Run the telnet command to log in to the primary SMM of the enclosure with its port number 1101. Telnet+the primary SMM IP+1101, as shown in the following figure:

2. After the connection is successfully established, you need to enter the default user name root and the default password huaweiosta.

3. After logging in, select the slot of a specific broad that needs to be connected (the slot number ranging from 1 to 14). For example, select the switch broad in slot 7, and press Enter.

4. Select the FC/XTMA serial port and choose 3. Press Enter twice. Then the FC plane serial port of the switch broad in slot 7 can be connected.

5. Alternatively, you can log in to the built-in FC plane system of the switch by entering the user name (admin) and the password (password).

 
 
2. Confirming the switch board IP address

 

1. Run the ipaddrshow command to view the IP address of the FC module. The default IP address of each FC switch module is 10.77.77.77, as shown in the following figure:
2. If you need to change the IP address of the switch, run the ipaddrset command. For example, if you need to change the IP address to 192.168.2.16, you only need to type 192.168.2.16 in the red part of the following figure and press Enter.
You can change the IP address to another one onsite based on the actual conditions. For example, you can change the IP address to the address that is on the same network segment as that of the BASE network port on the server broad. However, you must ensure that the changed IP address is different from other network device IP addresses.

 

 

3. Collecting the switch broad information

 

1. Install an ATAE broad with Linux inside the enclosure and enable the FTP function, making the broad work as a server. Create a directory that is used to save the collected information, such as the creation of a /fcinfo directory. If the switch and the broad are not on the same network segment, see Confirming the switch board IP address to change the switch IP address.

2. Collect the supportsave information on the FC switch module.

Log in to the switch broad in slot 7 and slot 8 respectively. Run the supportsave command and save the logs in the /fcinfo directory. The involved parameters are described as follows:

    1. Host IP: Type the IP address of the FTP server.    

    2. User Name: Type the user name of the FTP server.

    3. Password: Type the password of the FTP server.

    4. Remote Directory: Type the /fcinfo directory that is already created on the FTP server.


 
  • x
  • convention:

user_32865
Created Sep 11, 2013 03:02:14 Helpful(0) Helpful(0)

thx for sharing
  • x
  • convention:

Comment

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login