Fast log output probe commands -- display system internal customlog host

Use display system internal customlog host to display kernel information about logs sent to a log host.

Syntax

Centralized devices:

display system internal customlog host index { cmccPortA | cmccPortF | cmccPortW | cmccSessionA | cmccSessionW | portA | portW | sessionA | sessionW | sessionbasedA | sessionbasedW | userbasedA | userbasedF | userbasedW }

Distributed devices in standalone mode:Centralized IRF devices:

display system internal customlog host index { cmccPortA | cmccPortF | cmccPortW | cmccSessionA | cmccSessionW | portA | portW | sessionA | sessionW | sessionbasedA | sessionbasedW | userbasedA | userbasedF | userbasedW } [ slot slot-number [ cpu cpu-number ] ]

Distributed devices in IRF mode:

display system internal customlog host index { cmccPortA | cmccPortF | cmccPortW | cmccSessionA | cmccSessionW | portA | portW | sessionA | sessionW | sessionbasedA | sessionbasedW | userbasedA | userbasedF | userbasedW } [ chassis chassis-number slot slot-number [ cpu cpu-number ] ]

Views

Probe view

Predefined user roles

network-admin

mdc-admin

Parameters

index: Specifies a log host by its index in the range of 0 to 3.

cmccPortA: Specifies the port creation logs for China Mobile.

cmccPortF: Specifies the port resource insufficiency logs for China Mobile.

cmccPortW: Specifies the port deletion logs for China Mobile.

cmccSessionA: Specifies the session creation logs for China Mobile.

cmccSessionW: Specifies the session deletion logs for China Mobile.

PortA: Specifies the port creation logs for China Unicom.

PortW: Specifies the port deletion logs for China Unicom.

SessionA: Specifies the session creation logs for China Unicom.

SessionW: Specifies the session deletion logs for China Unicom.

sessionbasedA: Specifies the session creation logs for China Telecom.

sessionbasedW: Specifies the session deletion logs for China Telecom.

userbasedA: Specifies the port creation logs for China Telecom.

userbasedF: Specifies the port resource insufficiency logs for China Telecom.

userbasedW: Specifies the port deletion logs for China Telecom.

slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays information for the active MPU. (Distributed devices in standalone mode.)

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command displays information for the master device. (Centralized IRF devices.) (IRF 3 incapable.)

slot slot-number: Specifies an IRF member device by its member ID or specifies a PEX by its virtual slot number. If you do not specify a member device or PEX, this command displays information for the master device. (Centralized IRF devices.) (IRF 3 capable.)

chassis chassis-number slot slot-number: The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify a card, this command displays information for the global active MPU. (Distributed devices in IRF mode.) (IRF 3 incapable.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device or specifies a PEX. The chassis-number argument represents the member ID of the IRF member device or the virtual chassis number of the PEX. The slot-number argument represents the slot number of the card or PEX. If you do not specify a card or PEX, this command displays information for the global active MPU. (Distributed devices in IRF mode.) (IRF 3 capable.)

cpu cpu-number: Specifies a CPU by its number. This option is available only if multiple CPUs are available on the specified slot. Support for this option depends on the device model.

Fast log output probe commands -- display system internal customlog mbuf dump

Use display system internal customlog mbuf dump to display the contents of custom log packets.

Syntax

Centralized devices:

display system internal customlog mbuf dump count number

Distributed devices in standalone mode:Centralized IRF devices:

display system internal customlog mbuf dump count number [ slot slot-number [ cpu cpu-number ] ]

Distributed devices in IRF mode:

display system internal customlog mbuf dump count number [ chassis chassis-number slot slot-number [ cpu cpu-number ] ]

Views

Probe view

Predefined user roles

network-admin

mdc-admin

Parameters

number: Specifies the number of customlog packets to be displayed. The value range for the number argument is 1 to 100.

slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays the contents for the active MPU. (Distributed devices in standalone mode.)

slot slot-number: Specifies an IRF member ID. If you do not specify a card, this command displays the contents for the master device. (Centralized IRF devices.) (IRF 3 incapable.)

slot slot-number: Specifies an IRF member device by its member ID or specifies a PEX by its virtual slot number. If you do not specify a member device or PEX, this command displays the contents for the master device. (Centralized IRF devices.) (IRF 3 capable.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify a card, this command displays the contents for the global active MPU. (Distributed devices in IRF mode.) (IRF 3 incapable.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device or specifies a PEX. The chassis-number argument represents the member ID of the IRF member device or the virtual chassis number of the PEX. The slot-number argument represents the slot number of the card or PEX. If you do not specify a card or PEX, this command displays the contents for the global active MPU. (Distributed devices in IRF mode.) (IRF 3 capable.)

cpu cpu-number: Specifies a CPU by its number. This option is available only if multiple CPUs are available on the specified slot. Support for this option depends on the device model.

Fast log output probe commands -- display system internal customlog mbuf usage

Use display system internal customlog mbuf usage to display the memory buffer information about the CPUs on a log host.

Syntax

Centralized devices:

display system internal customlog mbuf usage index { cmccPortA | cmccPortF | cmccPortW | cmccSessionA | cmccSessionW | portA | portW | sessionA | sessionW | sessionbasedA | sessionbasedW | userbasedA | userbasedF | userbasedW }

Distributed devices in standalone mode:Centralized IRF devices:

display system internal customlog mbuf usage index { cmccPortA | cmccPortF | cmccPortW | cmccSessionA | cmccSessionW | portA | portW | sessionA | sessionW | sessionbasedA | sessionbasedW | userbasedA | userbasedF | userbasedW } [ slot slot-number [ cpu cpu-number ] ]

Distributed devices in IRF mode:

display system internal customlog mbuf usage index { cmccPortA | cmccPortF | cmccPortW | cmccSessionA | cmccSessionW | portA | portW | sessionA | sessionW | sessionbasedA | sessionbasedW | userbasedA | userbasedF | userbasedW } [ chassis chassis-number slot slot-number [ cpu cpu-number ] ]

Views

Probe view

Predefined user roles

network-admin

mdc-admin

Parameters

index: Specifies a log host by its index in the range of 0 to 3.

cmccPortA: Specifies the port creation logs for China Mobile.

cmccPortF: Specifies the port resource insufficiency logs for China Mobile.

cmccPortW: Specifies the port deletion logs for China Mobile.

cmccSessionA: Specifies the session creation logs for China Mobile.

cmccSessionW: Specifies the session deletion logs for China Mobile.

PortA: Specifies the port creation logs for China Unicom.

PortW: Specifies the port deletion logs for China Unicom.

SessionA: Specifies the session creation logs for China Unicom.

SessionW: Specifies the session deletion logs for China Unicom.

sessionbasedA: Specifies the session creation logs for China Telecom.

sessionbasedW: Specifies the session deletion logs for China Telecom.

userbasedA: Specifies the port creation logs for China Telecom.

userbasedF: Specifies the port resource insufficiency logs for China Telecom.

userbasedW: Specifies the port deletion logs for China Telecom.

slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays information for the active MPU. (Distributed devices in standalone mode.)

slot slot-number: Specifies an IRF member ID. If you do not specify a card, this command displays information for the master device. (Centralized IRF devices.) (IRF 3 incapable.)

slot slot-number: Specifies an IRF member device by its member ID or specifies a PEX by its virtual slot number. If you do not specify a member device or PEX, this command displays information for the master device. (Centralized IRF devices.) (IRF 3 capable.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify a card, this command displays information for the global active MPU. (Distributed devices in IRF mode.) (IRF 3 incapable.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device or specifies a PEX. The chassis-number argument represents the member ID of the IRF member device or the virtual chassis number of the PEX. The slot-number argument represents the slot number of the card or PEX. If you do not specify a card or PEX, this command displays information for the global active MPU. (Distributed devices in IRF mode.) (IRF 3 capable.)

cpu cpu-number: Specifies a CPU by its number. This option is available only if multiple CPUs are available on the specified slot. Support for this option depends on the device model.

Fast log output probe commands -- display system internal customlog test

Use display system internal customlog test to test the custom log module and display the test results.

Syntax

Centralized devices:

display system internal customlog test count number { cmccPortA | cmccPortF | cmccPortW | cmccSessionA | cmccSessionW | portA | portW | sessionA | sessionW | sessionbasedA | sessionbasedW | userbasedA | userbasedF | userbasedW }

Distributed devices in standalone mode:Centralized IRF devices:

display system internal customlog test count number { cmccPortA | cmccPortF | cmccPortW | cmccSessionA | cmccSessionW | portA | portW | sessionA | sessionW | sessionbasedA | sessionbasedW | userbasedA | userbasedF | userbasedW } [ slot slot-number [ cpu cpu-number ] ]

Distributed devices in IRF mode:

display system internal customlog test count number { cmccPortA | cmccPortF | cmccPortW | cmccSessionA | cmccSessionW | portA | portW | sessionA | sessionW | sessionbasedA | sessionbasedW | userbasedA | userbasedF | userbasedW } [ chassis chassis-number slot slot-number [ cpu cpu-number ] ]

Views

Probe view

Predefined user roles

network-admin

mdc-admin

Parameters

number: Specifies the number of test packets to be sent. The value range for the number argument is 1 to 100.

cmccPortA: Specifies the port creation logs for China Mobile.

cmccPortF: Specifies the port resource insufficiency logs for China Mobile.

cmccPortW: Specifies the port deletion logs for China Mobile.

cmccSessionA: Specifies the session creation logs for China Mobile.

cmccSessionW: Specifies the session deletion logs for China Mobile.

PortA: Specifies the port creation logs for China Unicom.

PortW: Specifies the port deletion logs for China Unicom.

SessionA: Specifies the session creation logs for China Unicom.

SessionW: Specifies the session deletion logs for China Unicom.

sessionbasedA: Specifies the session creation logs for China Telecom.

sessionbasedW: Specifies the session deletion logs for China Telecom.

userbasedA: Specifies the port creation logs for China Telecom.

userbasedF: Specifies the port resource insufficiency logs for China Telecom.

userbasedW: Specifies the port deletion logs for China Telecom.

slot slot-number: Specifies a card by its slot number. If you do not specify a card, the test is performed on the active MPU. (Distributed devices in standalone mode.)

slot slot-number: Specifies an IRF member ID. If you do not specify a card, the test is performed on the master device. (Centralized IRF devices.) (IRF 3 incapable.)

slot slot-number: Specifies an IRF member device by its member ID or specifies a PEX by its virtual slot number. If you do not specify a member device or PEX, the test is performed on the master device. (Centralized IRF devices.) (IRF 3 capable.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify a card, the test is performed on the global active MPU. (Distributed devices in IRF mode.) (IRF 3 incapable.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device or specifies a PEX. The chassis-number argument represents the member ID of the IRF member device or the virtual chassis number of the PEX. The slot-number argument represents the slot number of the card or PEX. If you do not specify a card or PEX, the test is performed on the global active MPU. (Distributed devices in IRF mode.) (IRF 3 capable.)

cpu cpu-number: Specifies a CPU by its number. This option is available only if multiple CPUs are available on the specified slot. Support for this option depends on the device model.