HP 6125G HP 6125G & 6125G/XG Blade Switches Network Management and Mon - Page 112
mirroring-group monitor-egress
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 112 highlights
When removing a source port from a mirroring group, make sure the traffic direction you specified in the undo mirroring-group mirroring-port command matches the actual monitored direction specified earlier in the mirroring-group mirroring-port command. Related commands: mirroring-group. 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] mirroring-group 1 mirroring-port GigabitEthernet 1/0/1 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] mirroring-group 2 mirroring-port GigabitEthernet 1/0/2 both mirroring-group monitor-egress Syntax In system view: mirroring-group group-id monitor-egress monitor-egress-port undo mirroring-group group-id monitor-egress monitor-egress-port In interface view: mirroring-group group-id monitor-egress View undo mirroring-group group-id monitor-egress System view, interface view Default level 2: System level Parameters group-id: Number of a remote source group, ranging from 1 to 4. The mirroring group specified by group-id must already exist. monitor-egress-port: Port to be configured as the egress port. It takes the form of interface-type interface-number, where interface-type specifies the port type and interface-number specifies the port number. Description Use mirroring-group monitor-egress to configure a port as the egress port of a remote source group. Use undo mirroring-group monitor-egress to remove the egress port of the mirroring group. By default, no egress port is configured for a mirroring group. You can configure an egress port only for a remote source group, not for other types of mirroring groups. Related commands: mirroring-group. 106