display multicast-vlan forwarding-table
Use display multicast-vlan forwarding-table to display multicast VLAN forwarding entries.
Syntax
In standalone mode:
display multicast-vlan forwarding-table [ group-address [ mask { mask-length | mask } ] | source-address [ mask { mask-length | mask } ] | slot slot-number | subvlan vlan-id | vlan vlan-id ] *
In IRF mode:
display multicast-vlan forwarding-table [ group-address [ mask { mask-length | mask } ] | source-address [ mask { mask-length | mask } ] | chassis chassis-number slot slot-number | subvlan vlan-id | vlan vlan-id ] *
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
group-address: Specifies a multicast group by its IP address in the range of 224.0.0.0 to 239.255.255.255. If you do not specify a multicast group, this command displays multicast VLAN forwarding entries for all multicast groups.
mask { mask-length | mask }: Specifies a mask length or subnet mask for the multicast group address. The value range for the mask-length argument is 4 to 32 (default), and the default value for the mask argument is 255.255.255.255.
source-address: Specifies a multicast source by its IP address. If you do not specify a multicast source, this command displays multicast VLAN forwarding entries for all multicast sources.
mask { mask-length | mask }: Specifies a mask length or subnet mask for the multicast source address. The value range for the mask-length argument is 0 to 32 (default), and the default value for the mask argument is 255.255.255.255.
slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays multicast VLAN forwarding entries for the MPU. (In standalone mode.)
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 multicast VLAN forwarding entries for the global active MPU. (In IRF mode.)
subvlan vlan-id: Specifies a sub-VLAN by its VLAN ID. If you do not specify a sub-VLAN, this command displays multicast VLAN forwarding entries for all sub-VLANs.
vlan vlan-id: Specifies a multicast VLAN by its VLAN ID in the range of 1 to 4094. If you do not specify a multicast VLAN, this command displays multicast VLAN forwarding entries for all multicast VLANs.
Examples
# Display all multicast VLAN forwarding entries.
<Sysname> display multicast-vlan forwarding-table Multicast VLAN 100 Forwarding Table Total 1 entries, 1 matched 00001. (1.1.1.1, 225.0.0.1) Flags: 0x10000 Multicast VLAN: 100 List of sub-VLANs (3 in total): 1: VLAN 10 2: VLAN 20 3: VLAN 30
Table 19: Command output
Field | Description |
---|---|
Multicast VLAN 100 Forwarding Table | Forwarding entries for multicast VLAN 100. |
Total 1 entries, 1 matched | Total number of (S, G) entries, and the number of matching entries. |
00001 | Sequence number of the (S, G) entry. |
(1.1.1.1, 255.0.0.1) | (S, G) entry, where 0.0.0.0 in the S position means all multicast sources. |
Flags | Entry flag. This field displays one flag or the sum of multiple flags. In this example, the value 0x10000 means that the entry has only one flag 0x10000. The following flags are available for an entry:
|
List of sub-VLANs (3 in total) | Sub-VLAN list of the multicast VLAN, and the total number of the sub-VLANs. |