08-IP Multicast Command Reference

HomeSupportSwitchesH3C S12500 Switch SeriesReference GuidesCommand ReferencesH3C S12500 Command References-Release1828P04-6W18208-IP Multicast Command Reference
11-IPv6 PIM Snooping Commands
Title Size Download
11-IPv6 PIM Snooping Commands 81.84 KB

IPv6 PIM snooping configuration commands

display pim-snooping ipv6 neighbor

Syntax

In standalone mode:

display pim-snooping ipv6 neighbor [ vlan vlan-id ] [ slot slot-number ] [ | { begin | exclude | include } regular-expression ]

In IRF mode:

display pim-snooping ipv6 neighbor [ vlan vlan-id ] [ chassis chassis-number slot slot-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

vlan vlan-id: Specifies a VLAN. The value range for the vlan-id argument is 1 to 4094. If no VLAN is specified, this command displays the IPv6 PIM snooping neighbor information in all VLANs.

slot slot-number: Displays the IPv6 PIM snooping neighbor information of the card specified by its slot number. If no slot is specified, the command displays the IPv6 PIM snooping neighbor information of all cards. (In standalone mode.)

chassis chassis-number slot slot-number: Displays the IPv6 PIM snooping neighbor information on a card in an IRF member device. The chassis-number argument represents the ID of the IRF member device, and the slot-number argument represents the number of the slot that holds the card. If this option is not specified, the command displays the IPv6 PIM snooping neighbor information of all cards in the IRF member devices. To obtain the chassis number and slot number, you can use the display device command. (In IRF mode.)

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display pim-snooping ipv6 neighbor to display IPv6 PIM snooping neighbor information.

Examples

# Display IPv6 PIM snooping neighbor information about VLAN 2.

<Sysname> display pim-snooping ipv6 neighbor vlan 2

  Total number of neighbors: 2

 

  VLAN ID: 2

    Total number of neighbors: 2

    Neighbor        Port                          Expires   Option Flags

    FE80::6401:101  GE3/0/1                       02:02:23  LAN Prune Delay(T)

    FE80::C801:101  GE3/0/2                       03:00:05  LAN Prune Delay

Table 1 Command output

Field

Description

Total number of neighbors

Total number of IPv6 PIM snooping neighbors.

Neighbor

IP address of the IPv6 PIM snooping neighbor.

Port

Name of the port that connects to the IPv6 PIM snooping neighbor.

Expires

Remaining time before the IPv6 PIM snooping neighbor expires. If the IPv6 PIM snooping neighbor never expires, this field displays never.

Option Flags

Possible values:

·     LAN Prune DelayThe IPv6 PIM hello messages received from the neighbor carry the LAN_Prune_Delay option.

·     LAN Prune Delay(T)The IPv6 PIM hello messages received from the neighbor carry the LAN_Prune_Delay option, and the join suppression function has been disabled.

 

display pim-snooping ipv6 routing-table

Syntax

In standalone mode:

display pim-snooping ipv6 routing-table [ vlan vlan-id ] [ slot slot-number ] [ | { begin | exclude | include } regular-expression ]

In IRF mode:

display pim-snooping ipv6 routing-table [ vlan vlan-id ] [ chassis chassis-number slot slot-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

vlan vlan-id: Specifies a VLAN. The value range for the vlan-id argument is 1 to 4094. If no VLAN is specified, this command displays the IPv6 PIM snooping routing entries in all VLANs.

slot slot-number: Displays the IPv6 PIM snooping routing entries of the card specified by its slot number. If no slot is specified, the command displays information about the IPv6 PIM snooping routing entries on the MPU. (In standalone mode.)

chassis chassis-number slot slot-number: Displays the IPv6 PIM snooping routing entries on a card in an IRF member device. The chassis-number argument represents the ID of the IRF member device, and the slot-number argument represents the number of the slot that holds the card. If this option is not specified, this command displays the IPv6 PIM snooping routing entries on all active MPUs in the IRF member devices. To obtain the chassis number and slot number, you can use the display device command. (In IRF mode.)

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display pim-snooping ipv6 routing-table to display the IPv6 PIM snooping routing table.

In standalone mode:

¡     To display the Upstream port field of an upstream interface that is not on the MPU, you must specify the slot slot-number option for the interface.

¡     To display the Expires and FSM fields of a non-aggregate interface that is not on the MPU, you must specify the slot slot-number option for the interface. There is no such restriction to aggregate interfaces.

·     In IRF mode:

¡     To display the Upstream port field of an upstream interface that is not on the MPU, you must specify the chassis chassis-number slot slot-number option for the interface.

¡     To display the Expires and FSM fields of a non-aggregate interface that is not on the MPU, you must specify the chassis chassis-number slot slot-number option for the interface. There is no such restriction to aggregate interfaces.

Examples

# Display the IPv6 PIM snooping routing entries of VLAN 2.

<Sysname> display pim-snooping ipv6 routing-table vlan 2

  Total 1 entry(ies)

  FSM Flag: NI-no info, J-join, PP-prune pending

 

  VLAN ID: 2

    Total 1 entry(ies)

    (2000::1, FF1E::1)

      Upstream neighbor: FE80::101

        Upstream port: GE3/0/1

        Total number of downstream ports: 2

          1: GE3/0/3

          2: GE3/0/4

      Upstream neighbor: FE80::102

        Upstream port: GE3/0/2

        Total number of downstream ports: 1

          1: GE 3/0/5

Table 2 Command output

Field

Description

Total 1 entry(ies)

Total number of (S, G) entries and (*, G) entries in the IPv6 PIM snooping routing table.

FSM Flag: NI-no info, J-join, PP-prune pending

State machine flag of the downstream port:

·     NI—Initial state.

·     J—Join.

·     PP—Prune pending.

(2000::1, FF1E::1)

(S, G) entry.

Upstream neighbor

Upstream neighbor of the (S, G) or (*, G) entry.

Upstream port

Upstream port of the (S, G) entry or (*, G) entry).

Total number of downstream ports

Total number of downstream ports contained in the upstream neighbor of the (S, G) or (*, G) entry.

FSM

State machine of the downstream port.

 

display pim-snooping ipv6 statistics

Syntax

display pim-snooping ipv6 statistics [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display pim-snooping ipv6 statistics to display statistics for IPv6 PIM messages learned by IPv6 PIM snooping.

Examples

# Display statistics for IPv6 PIM messages learned by IPv6 PIM snooping.

<Sysname> display pim-snooping ipv6 statistics

 Received IPv6 PIM IPv6 hello: 100

 Received IPv6 PIM IPv6 join/prune: 100

 Received IPv6 PIM IPv6 error: 0

 Received IPv6 PIM IPv6 messages in total: 200

Table 3 Command output

Field

Description

Received IPv6 PIM IPv6 hello

Number of received IPv6 PIM hello messages.

Received IPv6 PIM IPv6 join/prune

Number of received IPv6 PIM join/prune messages.

Received IPv6 PIM IPv6 error

Number of received IPv6 PIM messages with errors.

Received IPv6 PIM IPv6 messages in total

Total number of received IPv6 PIM messages.

 

pim-snooping ipv6 enable

Syntax

pim-snooping ipv6 enable

undo pim-snooping ipv6 enable

View

VLAN view

Default level

2: System level

Parameters

None

Description

Use pim-snooping ipv6 enable to enable IPv6 PIM snooping in a VLAN.

Use undo pim-snooping ipv6 enable to disable IPv6 PIM snooping in a VLAN.

By default, IPv6 PIM snooping is disabled.

Before you enable IPv6 PIM snooping in a VLAN, be sure to enable MLD snooping globally and specially in the VLAN.

IPv6 PIM snooping does not take effect in a sub-VLAN of a multicast VLAN.

Related commands: mld-snooping enable.

Examples

# Enable MLD snooping globally, and enable MLD snooping and IPv6 PIM snooping in VLAN 2.

<Sysname> system-view

[Sysname] mld-snooping

[Sysname-mld-snooping] quit

[Sysname] vlan 2

[Sysname-vlan2] mld-snooping enable

[Sysname-vlan2] pim-snooping ipv6 enable

reset pim-snooping ipv6 statistics

Syntax

reset pim-snooping ipv6 statistics

View

User view

Default level

2: System level

Parameters

None

Description

Use reset pim-snooping ipv6 statistics to clear statistics for IPv6 PIM messages learned by IPv6 PIM snooping.

Examples

# Clear statistics for IPv6 PIM messages learned by IPv6 PIM snooping.

<Sysname> reset pim-snooping ipv6 statistics

 

  • 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
新华三官网