34
2.
Enter VLAN view.
vlan vlan-id
N/A
3.
Enable host tracking for the
VLAN.
igmp-snooping host-tracking
By default, host tracking is
disabled for a VLAN.
Displaying and maintaining IGMP snooping
Execute
display
commands in any view and
reset
commands in user view.
Task
Command
Display IGMP snooping status.
display
igmp-snooping
[
global
|
vlan
vlan-id
|
vsi
vsi-name
]
Display information about dynamic IGMP
snooping group entries.
display igmp-snooping
group
[
group-address
|
source-address
] * [
vlan
vlan-id
|
vsi
vsi-name
] [
verbose
] [
slot
slot-number
]
Display host tracking information.
display igmp-snooping host-tracking
vlan
vlan-id
group
group-address
[
source
source-address
]
[
slot
slot-number
]
Display dynamic router port information.
display igmp-snooping
router-port
[
vlan
vlan-id
|
vsi
vsi-name
] [
verbose
] [
slot
slot-number
]
Display information about static IGMP
snooping group entries.
display igmp-snooping
static
-
group
[
group-address
|
source-address
] * [
vlan
vlan-id
] [
verbose
]
[
slot
slot-number
]
Display static router port information.
display igmp-snooping
static-router-port
[
vlan
vlan-id
]
[
verbose
] [
slot
slot-number
]
Display statistics for the IGMP messages
and PIMv2 hello messages learned by
IGMP snooping.
display igmp-snooping statistics
Display Layer 2 multicast fast forwarding
entries.
display l2-multicast fast-forwarding cache
[
vlan vlan-id
]
[
source-address
|
group-address
] * [
slot
slot-number
]
Display information about Layer 2 IP
multicast groups.
display l2-multicast ip
[
group
group-address
|
source
source-address
] * [
vlan
vlan-id
|
vsi
vsi-name
]
[
slot
slot-number
]
Display Layer 2 IP multicast group
entries.
display l2-multicast ip forwarding
[
group
group-address
|
source source-address
] *
[
vlan
vlan-id
|
vsi
vsi-name
] [
slot
slot-number
]
Display information about Layer 2 MAC
multicast groups.
display l2-multicast mac
[
mac-address
] [
vlan
vlan-id
|
vsi
vsi-name
] [
slot
slot-number
]
Display Layer 2 MAC multicast group
entries.
display l2-multicast mac forwarding
[
mac-address
]
[
vlan
vlan-id
|
vsi
vsi-name
] [
slot
slot-number
]
Display static multicast MAC address
entries.
display mac-address
[
mac-address
[
vlan
vlan-id
] |
[
multicast
] [
vlan
vlan-id
] [
count
] ]
Clear information about dynamic IGMP
snooping group entries.
reset igmp-snooping group
{
group-address
[
source-address
] |
all
} [
vlan
vlan-id
|
vsi
vsi-name
]
Clear Layer 2 multicast fast forwarding
entries.
reset l2-multicast fast-forwarding cache
[
vlan
vlan-id
]
{ {
source-address
|
group-address
} * |
all
} [
slot
slot-number
]
Clear dynamic router port information.
reset igmp-snooping router-port
{
all
|
vlan
vlan-id
|
vsi
vsi-name
}
Clear statistics for IGMP messages and
PIMv2 hello messages learned through
reset igmp-snooping statistics