19-Telemetry Command Reference

HomeSupportSwitchesS12500R SeriesReference GuidesCommand ReferencesH3C S12500R Switch Router Series Command References(R52xx)-6W10219-Telemetry Command Reference
02-Flow group commands
Title Size Download
02-Flow group commands 58.18 KB

Flow group commands

display telemetry flow-group

Use display telemetry flow-group to display the configuration and application status of flow groups.

Syntax

display telemetry flow-group [ system-defined [ ip | vxlan ] ] [ slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

system-defined: Specifies a system-defined flow group.

·     ip: Specifies the system-defined IP flow group.

·     vxlan: Specifies the system-defined VXLAN flow group.

slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays the configuration and application status on the active MPU.

Examples

# Display the configuration and application status of the system-defined VXLAN flow group.

<Sysname> display telemetry flow-group system-defined ip slot 1

Flow group named system-defined-ip (System-defined)

  Mode    : Common-MOD(Inactive), Group-MOD(Inactive)

  Template:

    destination-ip

    destination-port

    protocol

    source-ip

    source-port

Aging time: 100 minutes

Table 1 Command output

Field

Description

Flow group named system-defined-ip (System-defined)

Name of the flow group. Values for the application status include:

·     Successful—The flow group is applied successfully.

·     Failed—The flow group fails to be applied for some reasons other than incomplete flow group configuration.

·     Inactive—The flow group has not been administratively applied.

·     Incomplete—The flow group fails to be applied because its configuration is incomplete.

System-defined indicates a system-defined flow group.

Mode

The mode specified when a flow group is applied:

·     Common-MOD

·     Group-MOD

Values for the application status include:

·     Successful—The flow group is applied successfully.

·     Failed—The flow group fails to be applied for some reasons other than incomplete flow group configuration.

·     Inactive—The flow group has not been administratively applied.

·     Incomplete—The flow group fails to be applied because its configuration is incomplete.

telemetry apply flow-group

Use telemetry apply flow-group to apply a flow group.

Use undo telemetry apply flow-group to remove the application of a flow group.

Syntax

telemetry apply flow-group system-defined { ip | vxlan } [ mode group-mod ]

undo telemetry apply flow-group system-defined { ip | vxlan } [ mode group-mod ]

Default

No flow group is applied.

Views

System view

Predefined user roles

network-admin

Parameters

system-defined: Specifies a system-defined flow group.

·     ip: Specifies the system-defined IP flow group.

·     vxlan: Specifies the system-defined VXLAN flow group.

mode group-mod: Specifies the group MOD mode when a system-defined flow group is applied. If you do not specify this parameter, the common MOD mode applies. For more information about the two modes, see "Configuring MOD."

The device has two system-defined flow groups: one IP flow group named system-defined-ip and one VXLAN flow group named system-defined-vxlan. The two flow groups are not configurable.

The IP flow group generates flow entries based on the 5-tuple.

The VXLAN flow group generates flow entries based on the VXLAN  ID and the inner 5-tuple.

The two flow groups take effect on all traffic.

Examples

# Apply the system-defined IP flow group.

<Sysname> system-view

[Sysname] telemetry apply flow-group system-defined ip

# Apply the system-defined IP flow group with the group MOD mode.

<Sysname> system-view

[Sysname] telemetry apply flow-group system-defined ip mode group-mod

telemetry flow-group aging-time

Use telemetry flow-group aging-time to set the aging time for flow entries.

Use undo telemetry flow-group aging-time to restore the default.

Syntax

telemetry flow-group aging-time aging-time

undo telemetry flow-group aging-time

Default

The aging time for flow entries is 15 minutes.

Views

System view

Predefined user roles

network-admin

Parameters

aging-time: Specifies the aging time for flow entries in minutes. The value range for this argument is 1 to 100.

Examples

# Set the aging time for flow entries to 20 minutes.

<Sysname> system-view

[Sysname] telemetry flow-group aging-time 20

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网