No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

AR Router Troubleshooting Guide

This Product Documentation provides guidance for maintaining AR Enterprise Router, covering common information collection and fault diagnostic commands, typical fault troubleshooting guide, and troubleshooting.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Packet headers obtaining

Packet headers obtaining

The device copies packet headers from the mirrored port to an observing port. The obtained packet headers help you locate faults.

The device cannot analyze packet headers except that a computer with the packet headers obtaining software installed or a tester is connected to the observing port or server. The commonly used packet headers obtaining software is WireShark, and most testers have the packet headers obtaining function.

NOTE:

The packet headers obtained for troubleshooting may contain secure communication information. Therefore, Huawei does not obtain packet headers for you. You must obtain packet headers legally and with permission. Ensure that your customers' privacy is protected when collecting communication information.

Two packet headers obtaining methods are available: mirroring packet headers to an observing port and to a remote observing server. The two methods can capture incoming, outgoing, and bidirectional packets.

The obtained packet headers can capture incoming, outgoing, and bidirectional packets.

Mirroring Packet Headers to an Observing Port

Packet headers are copied from the mirrored port to an observing port. As shown in Figure 8-1, the incoming packets on GE0/0/0 are captured to Eth5/0/0, and the observing device directly connected to Eth5/0/0 analyzes the packet headers.

Figure 8-1  Mirroring packet headers to an observing port

The procedure is as follows:

  1. Set Eth5/0/0 on Router as an observing port.

    <Router> system-view
    [Router] observe-port interface observe-port interface ethernet 5/0/0
    
  2. Set GE0/0/0 on Router as a mirrored port and set the mirroring direction to inbound.

    [Router] interface gigabitethernet 0/0/0
    [Router-GigabitEthernet0/0/0] mirror to observe-port inbound
    [Router-GigabitEthernet0/0/0] quit
    [Router] quit
    
NOTE:
  • The routers allow LAN ports and WAN ports to be configured as observing ports since V200R003.
  • In versions earlier than V200R003:

    Only the LAN ports (Layer 2 interfaces) can be set as observing ports. On the AR1200, AR1200-S series, the 8FE electrical ports on the front panel can be set as observing ports. On the Ethernet LAN cards (8FE1GE and 24GE), all ports can be set as observing ports.

    For example, if you have bought the AR2220, AR2220-S without Ethernet LAN cards, packets cannot be captured to the observing port because the three fixed ports on AR2220, AR2220-S without Ethernet LAN cards, packets cannot be captured to the observing port because the three fixed ports on are WAN ports. You must mirror packets to a remote observing server.

Mirroring Packet Headers to a Remote Observing Server

When using this method, ensure that a reachable route exists between the mirrored device and observing server. The mirrored packet headers are encapsulated by GRE, and forwarded using routes. This method does not have requirement on interfaces.

As shown in Figure 8-2, the incoming packets on GE0/0/0 are captured to a remote observing server, and the observing server analyzes the packet headers. The IP address of mirrored port GE0/0/0 is 192.168.1.1/24. The IP address and mask of the remote observing server is 192.168.2.1 and 24. A reachable route exists between the mirrored port and observing server.

Figure 8-2  Mirroring packet headers to a remote observing server

The procedure is as follows:

  1. Configure the computer as a remote observing server of RouterA.

    <RouterA> system-view
    [RouterA] observe-server destination-ip 192.168.2.1 source-ip 192.168.1.1
    
    NOTE:

    destination-ip is the IP address of the remote observing server; source-ip is the IP address of the mirrored port. Ensure a reachable route between the observing server and mirrored port. After the mirrored port is specified in the next step, the encapsulated packet headers can be sent to the remote observing server. The source-ip parameter can be set to any value; however, the IP address of mirrored port is recommended.

  2. Set GE0/0/0 on RouterA as a mirrored port and set the mirroring direction to inbound.

    [RouterA] interface gigabitethernet 0/0/0
    [RouterA-GigabitEthernet0/0/0] mirror to observe-server inbound
    [RouterA-GigabitEthernet0/0/0] quit
    [RouterA] quit
    
Translation
Download
Updated: 2019-05-10

Document ID: EDOC1000079719

Views: 456579

Downloads: 4321

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next