HP 6125G HP 6125G & 6125G/XG Blade Switches Network Management and Mon - Page 113
mirroring-group monitor-port
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 113 highlights
Examples # Create remote source group 1, and configure port GigabitEthernet 1/0/1 as its egress port in system view. system-view [Sysname] mirroring-group 1 remote-source [Sysname] mirroring-group 1 monitor-egress GigabitEthernet 1/0/1 # Create remote source group 2, and configure port GigabitEthernet 1/0/2 as its egress port in interface view. system-view [Sysname] mirroring-group 2 remote-source [Sysname] interface GigabitEthernet 1/0/2 [Sysname-GigabitEthernet1/0/2] mirroring-group 2 monitor-egress mirroring-group monitor-port Syntax mirroring-group group-id monitor-port monitor-port-id View undo mirroring-group group-id monitor-port monitor-port-id System view Default level 2: System level Parameters group-id: Number of a local or remote destination group, ranging from 1 to 4. The mirroring group specified by group-id must already exist. monitor-port-id: Port to be assigned to the specified mirroring group as the monitor port. The argument 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-port to assign a port to a local or remote destination group as the monitor port. Use undo mirroring-group monitor-port to remove the monitor port from the local or remote destination group. By default, no monitor port is configured for a mirroring group. You cannot configure a monitor port for a remote source group. You cannot assign a source port in an existing mirroring group to another mirroring group as the monitor port. Related commands: mirroring-group. Examples # Create local mirroring group 1, and configure port GigabitEthernet 1/0/1 as its monitor port. system-view [Sysname] mirroring-group 1 local 107