Method and device for implementing port mirroring based on network equipment

A port mirroring and network device technology, applied in the field of communication, can solve problems such as affecting network monitoring and troubleshooting of network devices, unable to realize the function of cross-switching card port mirroring, etc.

Active Publication Date: 2020-01-21
BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a method and device for implementing port mirroring based on network equipment, which is used to solve the problem in the prior art that the port mirroring function across switch cards cannot be realized in the network equipment, which affects the network monitoring of the network equipment during operation. and troubleshooting after failure

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for implementing port mirroring based on network equipment
  • Method and device for implementing port mirroring based on network equipment
  • Method and device for implementing port mirroring based on network equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050]Aiming at the problems existing in the prior art that the port mirroring function across switch cards cannot be realized in the network equipment, which affects the network monitoring of the network equipment during operation and troubleshooting after a failure occurs, the embodiment of the present invention provides a network equipment based In the port mirroring implementation method, the network device includes at least three switching cards. It should be noted that network equipment can be divided into distributed network equipment and centralized network equipment. Since at least three switch cards in the network equipment in the embodiment of the present invention are connected in cascaded form, at least three switch cards are included. The network equipment of the card is a centralized network equipment. The procedure of this method is as follows figure 1 As shown, the execution steps are as follows:

[0051] S11: Obtain the port mirroring source port and port m...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and device for implementing port mirroring based on network equipment. The method includes: acquiring the port mirroring source port and the port mirroring destination port of the network device; Whether the first switch card to which the port mirroring source port belongs is the same as the second switch card to which the port mirroring destination port of the network device belongs; if the first switch card is different from the second switch card, then according to the port and the switch card mapping table to determine the cascaded switch card between the first switch card and the second switch card; configure the ports of the first switch card, the second switch card, and the cascaded switch card Mirror source port and port mirror destination port. This solution can realize the port mirroring function across switching cards.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method and device for implementing port mirroring based on network equipment. Background technique [0002] Port mirroring, also known as Local Switched Port Analyzer (SPAN), users can use this function to copy packets from a specified port to another local port connected to a network monitoring device for network monitoring and troubleshooting. [0003] Remote port mirroring, also known as remote (Remote Local Switched Port Analyzer, SPANRSPAN), is an extension of port mirroring. Remote port mirroring breaks through the restriction that the source port and destination port must be on the same network device, making the source port and destination port It can span multiple network devices, and users can observe the data packets of the remote mirror port through the analyzer in the central computer room. [0004] At present, in order to expand the port capacity of network...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/931H04L12/935H04L49/111
CPCH04L49/208
Inventor 曹雨田
Owner BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products