Huawei S5700 switch configuration SecureCRT

I am prepared to monitor the flow of a device from the switch, so to configure a port of the switch as a mirror port for downloading designated another port traffic.

The first step: Huawei 5700 Switch

Briefly network interface part for connecting all except the last four subordinate network device, the last four fiber ports and four ports are used to connect the right upper-layer network device, but can not be shared, not tried simultaneously connection happen. I'm here with Huawei switches control console interface, a console cable.

Step two: Console port login device

  1. With cosole cable connects the computer to the console port of switch
  2. Open a terminal policy software SecureCRT, new connections, configuration parameters:
    • Transfer rate: 9600
    • Data bits: 8
    • Parity: none
    • Stop bits: 1
    • Flow control: None
  3. After the connection terminals is shown below:
    • Login authentication
      Username:admin
      Password:
      Warning: The default password poses security risks.
      The password needs to be changed. Change now? [Y/N]: y
      Please enter old password:
      Please enter new password:
      Please confirm new password:
      The password has been changed successfully
      <HUAWEI>
      Now enter a user name and password, the initial user name admin, password [email protected]

The operation of the switch: Step

  • Enter sys, enter global configuration mode

  

 

  • Enter the display interface brief, view the status of the current port open, down the port closed, up the port open

  

 

  •  Port as a management port 9, the Run observe-port 1 interface GigabitEthernet 0/0/9
  • Then execute display observe-port, view the configuration management interface

  

 

  •  Execution GigabitEthernet 0/0/1, entering port 1

  

 

  •  Then performing port-mirroring to observer-port both 1, port 1 to port mirroring

  

 

  •  Performing display port-mirroring port configured to view mirror (mirror configured here two ports 1 and 4)

  

 

 In this case again from the computer console wireshark open line connected to capture the traffic, you can capture the specified port traffic.

In fact, this is already two years ago to do something that he was not down, write out now relying on the memories of the last several figures or by the school brother, Xie Xie Xuedi, ha ha ha!

After writing blog must develop good habits

Guess you like

Origin www.cnblogs.com/masonmei/p/11615621.html