39
PIM snooping configuration commands
display pim-snooping neighbor
Syntax
display pim-snooping neighbor [ vlan vlan-id ] [ slot slot-number ] [ | { begin | exclude | include }
regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
vlan vlan-id: Displays the PIM snooping neighbor information of the specified VLAN. The vlan-id
argument is in the range of 1 to 4094. If no VLAN is specified, this command displays the PIM snooping
neighbor information of all VLANs.
slot slot-number: Displays the PIM snooping neighbor information of the specified IRF member switch.
The slot-number argument specifies the ID of an IRF member switch. The value range for the argument
depends on the number of member switches and their member IDs in the IRF fabric. If no IRF fabric exists,
the slot-number argument is the current device number.
|: 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 neighbor to display PIM snooping neighbor information.
Examples
# Display information about PIM snooping neighbors in VLAN 2.
<Sysname> display pim-snooping neighbor vlan 2
Total number of neighbors: 2
VLAN ID: 2
Total number of neighbors: 2
Neighbor Port Expires Option Flags
10.1.1.2 Eth1/0/1 02:02:23 LAN Prune Delay(T)
20.1.1.2 Eth1/0/2 03:00:05 LAN Prune Delay