HP 6125G HP 6125G & 6125G/XG Blade Switches Network Management and Mon - Page 115
mirroring-port, to remove the current port from the mirroring group.
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 115 highlights
[Sysname] mirroring-group 2 remote-probe vlan 20 mirroring-port Syntax [ mirroring-group group-id ] mirroring-port { inbound | outbound | both } View undo [ mirroring-group group-id ] mirroring-port { inbound | outbound | both } Interface view Default level 2: System level Parameters mirroring-group group-id: Specifies a local or remote source group by its number, which ranges from 1 to 4 and defaults to 1. The mirroring group specified by group-id must already exist. both: Mirrors both inbound and outbound packets on the current port. inbound: Mirrors only inbound packets on the current port. outbound: Mirrors only outbound packets on the current port. Description Use mirroring-port to assign the current port to a local or remote source group as a source port. Use undo mirroring-port to remove the current port from the mirroring group. By default, a port does not serve as a source port for any mirroring group. You cannot configure source ports for a remote destination group. When removing a source port from a mirroring group, make sure the traffic direction you specified in the undo mirroring-group command matches the actual monitored direction of the port specified earlier in the mirroring-port command. Examples # Create local mirroring group 1, configure GigabitEthernet 1/0/1 as a source port of the mirroring group, and specify that the mirroring group monitor the bidirectional traffic of the port. system-view [Sysname] mirroring-group 1 local [Sysname] interface GigabitEthernet 1/0/1 [Sysname-GigabitEthernet1/0/1] mirroring-group 1 mirroring-port both # Create remote source group 2, configure GigabitEthernet 1/0/2 as a source port of the mirroring group, and specify that the mirroring group monitor the bidirectional traffic of the port. system-view [Sysname] mirroring-group 2 remote-source [Sysname] interface GigabitEthernet 1/0/2 [Sysname-GigabitEthernet1/0/2] mirroring-group 2 mirroring-port both 109