H3C S5500-EI Series Manual
H3C S5500-EI Series Manual

H3C S5500-EI Series Manual

Hide thumbs Also See for S5500-EI Series:

Advertisement

Quick Links

Operation Manual - Port Mirroring
H3C S5500-EI Series Ethernet Switches
Chapter 1 Port Mirroring Configuration ...................................................................................... 1-1
1.1 Introduction to Port Mirroring ............................................................................................. 1-1
1.1.1 Classification of Port Mirroring ................................................................................ 1-1
1.1.2 Implementing Port Mirroring.................................................................................... 1-2
1.1.3 Other Functions Supported by Port Mirroring ......................................................... 1-3
1.2 Configuring Local Port Mirroring ........................................................................................ 1-3
1.3 Configuring Remote Port Mirroring .................................................................................... 1-4
1.3.1 Configuring a Remote Source Mirroring Group ...................................................... 1-4
1.3.2 Configuring a Remote Destination Port Mirroring Group ........................................ 1-5
1.4 Displaying and Maintaining Port Mirroring......................................................................... 1-7
1.5 Port Mirroring Configuration Examples.............................................................................. 1-7
1.5.1 Local Port Mirroring Configuration Example ........................................................... 1-7
1.5.2 Remote Port Mirroring Configuration Example ....................................................... 1-8

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading

Summary of Contents for H3C S5500-EI Series

  • Page 1: Table Of Contents

    Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Table of Contents Table of Contents Chapter 1 Port Mirroring Configuration ..................1-1 1.1 Introduction to Port Mirroring ..................... 1-1 1.1.1 Classification of Port Mirroring ................1-1 1.1.2 Implementing Port Mirroring..................1-2 1.1.3 Other Functions Supported by Port Mirroring ............
  • Page 2: Chapter 1 Port Mirroring Configuration

    Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration Chapter 1 Port Mirroring Configuration When configuring port mirroring, go to these sections for information you are interested Introduction to Port Mirroring Configuring Local Port Mirroring...
  • Page 3: Implementing Port Mirroring

    Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration 1.1.2 Implementing Port Mirroring Port mirroring is implemented through port mirroring groups, which fall into these three categories: local port mirroring group, remote source port mirroring group, and remote destination port mirroring group.
  • Page 4: Other Functions Supported By Port Mirroring

    Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration Destination device Destination device contains destination mirroring port, and remote destination port mirroring groups are created on destination devices. Upon receiving a mirrored packet, the destination device checks to see if the VLAN ID of the received packet is the same as that of the remote mirroring VLAN of the remote destination port mirroring group.
  • Page 5: Configuring Remote Port Mirroring

    Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration Note: A local mirroring group is effective only when it has both source ports and the destination port configured. It is not recommended to enable STP, RSTP or MSTP on the destination port;...
  • Page 6: Configuring A Remote Destination Port Mirroring Group

    Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration To do… Use the command… Remarks Configure the remote mirroring-group group-id port mirroring VLAN for Required remote-probe vlan the mirroring group rprobe-vlan-id Note: All ports in a remote mirroring group belong to the same device. A remote source mirroring group can have only one outbound mirroring port.
  • Page 7 Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration To do… Use the command… Remarks In system mirroring-group group-id Use either view approach. monitor-port monitor-port-id You can add a Add a port interface interface-type...
  • Page 8: Displaying And Maintaining Port Mirroring

    Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration 1.4 Displaying and Maintaining Port Mirroring To do… Use the command… Remarks display mirroring-group Display the configuration { group-id | all | local | Available in any view...
  • Page 9: Remote Port Mirroring Configuration Example

    Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration III. Configuration procedure Configure Switch C. # Create a local port mirroring group. <SwitchC> system-view [SwitchC] mirroring-group 1 local # Add port GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to the port mirroring group as source ports.
  • Page 10 Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration On Switch A, create a remote source mirroring group; create VLAN 2 and configure it as the remote port mirroring VLAN; add port GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to the port mirroring group as two source ports.
  • Page 11 Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration # Configure port GigabitEthernet 1/0/3 as a trunk port and configure the port to permit the packets of VLAN 2. [SwitchA] interface GigabitEthernet 1/0/3 [SwitchA-GigabitEthernet1/0/3] port link-type trunk [SwitchA-GigabitEthernet1/0/3] port trunk permit vlan 2 Configure Switch B (the intermediate device).
  • Page 12 Operation Manual – Port Mirroring H3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration After finishing the configuration, you can monitor all the packets sent by Department 1 and Department 2 on the Data monitoring device. 1-11...

Table of Contents