Configuration Guide - Network Management and Monitoring
S9300 and S9300X V200R019C10
This document describes the configurations of Network Management and Monitoring, including SNMP, RMON, RMON2, LLDP, Performance Management, iPCA, NQA, Service Diagnosis, Mirroring, Packet Capture, Traffic Distribution, NetStream, sFlow, TWAMP Light, NETCONF, eMDI, and Intelligent Video O&M.
Example for Configuring Packet Capture
Networking Requirements
In Figure 9-1, a switch connects to the Internet through GE1/0/1.
The user wants to capture the packets received by GE1/0/1 and the packets to be sent to the CPU, and display the captured packets on an operation terminal.
Configuration Roadmap
The configuration
roadmap is as follows:
- Capture the service packets received by GE1/0/1, and display captured packets on an operation terminal.
- Capture the packets sent to the CPU and display captured packets on an operation terminal.
Procedure
- Capture the service packets received by GE1/0/1, and display captured packets
on an operation terminal.
<Quidway> system-view [Quidway] sysname Switch [Switch] capture-packet interface gigabitethernet 1/0/1 destination terminal packet-num 3 packet-len 64 [Switch] Packet: 1 ------------------------------------------------------- 01 00 5e 00 00 fc 00 1b 21 c4 82 0f 81 00 0f ff 08 00 45 00 00 32 65 cb 00 00 01 11 80 48 c0 a8 32 03 e0 00 00 fc ce 94 14 eb 00 1e 4b 3f 24 6f 00 00 00 01 00 00 00 00 00 00 04 77 70 61 64 00 00 01 00 01 ------------------------------------------------------- Packet: 2 ------------------------------------------------------- 33 33 00 01 00 03 00 1b 21 c4 82 0f 81 00 0f ff 86 dd 60 00 00 00 00 1e 11 01 fe 80 00 00 00 00 00 00 d5 b2 02 74 37 0b 4c 6e ff 02 00 00 00 00 00 00 00 00 00 00 00 01 00 03 e3 11 14 eb 00 1e d2 74 03 3d 00 00 00 01 00 00 00 00 00 00 04 77 70 61 64 00 00 01 00 01 ------------------------------------------------------- Packet: 3 ------------------------------------------------------- 01 00 5e 00 00 fc 00 1b 21 c4 82 0f 81 00 0f ff 08 00 45 00 00 32 62 2e 00 00 01 11 83 e5 c0 a8 32 03 e0 00 00 fc d4 df 14 eb 00 1e dc 49 8d 19 00 00 00 01 00 00 00 00 00 00 04 77 70 61 64 00 00 01 00 01 ------------------------------------------------------- ------------------packet getting report----------------------- file: NULL packets getting: interface GigabitEthernet1/0/1 acl: - vlan: - cvlan: - car: 64kbps timeout: 60s packets: 3 (expected) 3 (actual) length: 64 (expected) -------------------------------------------------------
- Capture the packets sent to the CPU and display captured
packets on an operation terminal.
[Switch] capture-packet cpu destination terminal packet-num 3 packet-len 64 [Switch] Packet: 1 ------------------------------------------------------- 01 80 c2 00 00 0e 02 00 00 00 00 00 81 00 00 0c 88 cc 02 07 04 02 00 00 00 00 00 04 16 05 47 69 67 61 62 69 74 45 74 68 65 72 6e 65 74 30 2f 30 2f 31 30 06 02 00 78 08 15 47 69 67 61 62 69 74 45 74 68 65 72 6e 65 74 30 2f 30 2f 31 30 0a 09 31 30 38 2d 53 31 37 32 30 0c a1 53 31 37 32 30 2d 32 30 47 46 52 2d 34 54 50 2d 41 43 0d 0a 48 75 61 77 65 69 20 56 65 72 73 61 74 69 6c 65 20 ------------------------------------------------------- Packet: 2 ------------------------------------------------------- 01 80 c2 00 00 0e 02 35 20 36 ad cc 81 00 0f ff 88 cc 02 07 04 02 35 20 36 ad cc 04 0f 05 45 74 68 65 72 6e 65 74 30 2f 30 2f 31 30 06 02 00 78 08 0e 45 74 68 65 72 6e 65 74 30 2f 30 2f 31 30 0a 0b 31 30 37 2d 53 32 33 35 30 45 49 0c a3 53 32 33 35 30 2d 32 30 54 50 2d 50 57 52 2d 45 49 2d 41 43 0d 0a 48 75 61 77 65 69 20 56 65 72 73 61 74 69 6c 65 20 52 6f 75 74 69 6e 67 20 50 6c ------------------------------------------------------- Packet: 3 ------------------------------------------------------- 01 80 c2 00 00 0a 00 e0 fc 09 bc f9 81 00 00 01 88 a7 00 03 00 00 01 b4 fb 8e 00 01 00 0e 00 00 00 00 02 00 00 00 00 00 00 07 00 19 31 30 39 2d 53 31 37 32 30 20 56 32 30 30 52 30 30 36 43 31 30 00 0f 00 15 53 31 37 32 30 20 56 32 30 30 52 30 30 36 43 31 30 00 12 00 1d 56 65 72 73 69 6f 6e 20 35 2e 31 36 30 20 56 32 30 30 52 30 30 36 43 31 30 00 11 00 1d 56 65 72 73 69 6f 6e 20 35 ------------------------------------------------------- ------------------packet getting report----------------------- file: NULL packets getting: cpu acl: - vlan: - cvlan: - car: -- timeout: 60s packets: 3 (expected) 3 (actual) length: 64 (expected) -------------------------------------------------------
Document ID:EDOC1100126831
Views:281024
Downloads:122
Average rating:0.0Points