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

Configuration Guide - Network Management and Monitoring

CloudEngine 12800 and 12800E V200R005C10

This document describes the configurations of Network Management and Monitoring, including SNMP, RMON, LLDP, NQA, Service Diagnosis, Mirroring, Packet Capture, sFlow, and NETCONF.
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).
Example for Configuring Export of TCP Flow Analysis Results

Example for Configuring Export of TCP Flow Analysis Results

Networking Requirements

As shown in Figure 18-6, packets of a TCP flow are sent and received along the same round-trip path between a client with the IP address 10.1.1.1 and a server with the IP address 10.1.2.1. SwitchA on the path is configured with intelligent traffic analysis for TCP flows, analyzes the flow, and exports obtained flow analysis results to FabricInsight.

Figure 18-6 Networking of intelligent traffic analysis for TCP flows

Procedure

  1. Enable the enhanced mode of a card .

    <HUAWEI> system-view
    [~HUAWEI] assign forward enp netstream enable slot 1
    Info: The configuration will take effect after the board is reset.  
    [*HUAWEI] commit
    [~HUAWEI] quit
    <HUAWEI> reboot
    Warning: The system will reboot. Continue? [Y/N]: y

  2. Configure an advanced ACL rule.

    # Configure an advanced ACL rule to match the TCP flow between the client with IP address 10.1.1.1 and the server with the IP address 10.1.2.1.

    <HUAWEI> system-view
    [~HUAWEI] sysname SwitchA
    [*HUAWEI] commit
    [~SwitchA] acl number 3055
    [*SwitchA-acl4-advance-3055] rule 4 permit tcp source 10.1.1.0 0.0.0.255 destination 10.1.2.0 0.0.0.255
    [*SwitchA-acl4-advance-3055] quit
    [*SwitchA] commit

  3. Enable intelligent traffic analysis for TCP flows.

    # Enable intelligent traffic analysis for TCP flows on SwitchA.

    [~SwitchA] traffic-analysis tcp acl 3055 inbound
    [*SwitchA] commit

  4. Verify the configuration of intelligent traffic analysis for TCP flows.

    # Display detailed information about the flow analysis results after intelligent traffic analysis for TCP flows is enabled.

    [~SwitchA] display traffic-analysis cache slot 1
    NOTE:  S2C: server to client  C2S: client to server                                                                                 
    Traffic analysis cache information:                                                                                                  
    -------------------------------------------------------------------------------                                                     
    ClientIP            ClientPort          C2S Interface       C2S Vni                                                                 
    ServerIP            ServerPort          S2C Interface       S2C Vni                                                                 
    C2S RTT             C2S Packets         C2S PacketLossUp    C2S PacketLoss                                                          
    S2C RTT             S2C Packets         S2C PacketLossUp    S2C PacketLoss                                                          
    FlowStatus          Time                                                                                                            
    -------------------------------------------------------------------------------                                                     
    10.1.1.1            0                   10GE1/0/1           --                                                                      
    10.1.2.1            24                  --                  --                                                                      
    0                   70375016            0                   1                                                                       
    0                   0                   0                   0                                                                       
    ESTABLISH           2018-10-11 15:50:29                                                                                             
                                                                                                                                        
    10.1.1.1            1024                10GE1/0/1           16000000                                                                
    10.1.2.1            7788                --                  --                                                                      
    0                   8325042             0                   0                                                                       
    0                   0                   0                   0                                                                       
    ESTABLISH           2018-10-11 15:53:40                                                                                             
    -------------------------------------------------------------------------------                                                     

  5. Configure TCP flow aging in intelligent traffic analysis.

    # Set the inactive aging time to 100 seconds and enable FIN- and RST-based aging for TCP packets.

    [~SwitchA] traffic-analysis tcp timeout inactive 100
    [*SwitchA] traffic-analysis tcp timeout ip tcp-session
    [*SwitchA] commit

  6. Configure export of TCP flow analysis results.

    # Set the source IP address to 10.1.3.1, destination IP address to 10.1.3.2, and destination port number to 6000 for intelligent traffic analysis of TCP flows.

    [~SwitchA] traffic-analysis tcp export source ip 10.1.3.1
    [*SwitchA] traffic-analysis tcp export host ip 10.1.3.2 6000
    [*SwitchA] commit

  7. View the export configuration of TCP flow analysis results.

    # Display output information about the TCP flow analysis results of intelligent traffic analysis after export of TCP flow analysis results is configured.

    [~SwitchA] display traffic-analysis export
    2018-10-11 16:00:03.186                                                                                                             
    --------------------------------------------------------------------------------                                                    
    Source IP       : 10.1.3.1                                                                                                          
    Source Port     : 40000                                                                                                             
    Source Mac      : 0016-2455-4151                                                                                                    
    Destination IP  : 10.1.3.2                                                                                                          
    Destination VPN : vpn1                                                                                                              
    Destination Port: 6000                                                                                                              
    Interface       : 10GE1/0/1                                                                                                         
    Destination Mac : 0022-0121-0002                                                                                                    
    --------------------------------------------------------------------------------   

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100075344

Views: 23091

Downloads: 23

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