R211x-HP Flexfabric 11900 Network Management and Monitoring Command Reference

229
chassis chassis-number slot slot-number-list: Specifies a slot number list of cards that holds the source
CPUs on the specified IRF member device. The chassis-number argument specifies the ID of the IRF
member device. The slot-number-list argument specifies a list containing multiple numbers of slots that
hold the cards, in the format of slot-number-list = { slot-number [ to slot-number ] }&<1-8>. &<1-8>
indicates that you can specify up to eight slot numbers or number ranges. When you to to specify a slot
number range, the end slot number must be equal to or greater than the start slot number. (In IRF mode.)
both: Mirrors both received and sent packets on the specified CPUs.
inbound: Mirrors only received packets on the specified CPUs.
outbound: Mirrors only sent packets on the specified CPUs.
Usage guidelines
You can configure source CPUs only for a local mirroring group or remote source group but not for a
remote destination group.
Examples
# Create local mirroring group 1, configure the CPU of the card in slot 1 as a source CPU of the mirroring
group, and configure the mirroring group to monitor the bidirectional traffic of the CPU.
<Sysname> system-view
[Sysname] mirroring-group 1 local
[Sysname] mirroring-group 1 mirroring-cpu slot 1 both
# Create remote source group 2, configure the CPU of the card in slot 2 as a source CPU of the mirroring
group, and configure the mirroring group to monitor the bidirectional traffic of the CPU.
<Sysname> system-view
[Sysname] mirroring-group 2 remote-source
[Sysname] mirroring-group 2 mirroring-cpu slot 2 both
Related commands
mirroring-group
mirroring-group mirroring-port (interface view)
Use mirroring-group mirroring-port to configure a source port for a mirroring group.
Use undo mirroring-group mirroring-port to remove a source port from the mirroring group.
Syntax
mirroring-group group-id mirroring-port { both | inbound | outbound }
undo mirroring-group group-id mirroring-port
Default
No source port is configured for any mirroring group.
Views
Interface view
Predefined user roles
network-admin
mdc-admin