IP Multicast Command Reference Abstract This document describes the commands and command syntax options available for the HP A Series products. This document is intended for network planners, field technical support and servicing engineers, and network administrators who work with HP A Series products.
Page 2
The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an...
Page 4
(IPv6 multicast VLAN view) ··························································································································· 71 port multicast-vlan ipv6 ········································································································································· 71 subvlan (IPv6 multicast VLAN view) ···················································································································· 72 Support and other resources ········································································································································ 73 Contacting HP ································································································································································ 73 Subscription service ·············································································································································· 73 Related information ························································································································································ 73 Documents ······························································································································································ 73 Websites ································································································································································...
Page 5
Index ················································································································································································ 76...
IGMP snooping configuration commands display igmp-snooping group Syntax display igmp-snooping group [ vlan vlan-id ] [ slot slot-number ] [ verbose ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters vlan vlan-id: Displays the IGMP snooping group information in the specified VLAN, where vlan-id is in the range of 1 to 4094.
Total 1 MAC Group(s). Router port(s):total 1 port(s). GE1/0/1 (D) ( 00:01:30 ) IP group(s):the following ip group(s) match to one mac group. IP group address:224.1.1.1 (0.0.0.0, 224.1.1.1): Attribute: Host Port Host port(s):total 1 port(s). GE1/0/2 (D) ( 00:03:23 ) MAC group(s): MAC group address:0100-5e01-0101 Host port(s):total 1 port(s).
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, which is a case-sensitive string of 1 to 256 characters. Description Use the display igmp-snooping statistics command to display the statistics information of IGMP messages learned through IGMP snooping.
Page 9
Default level 1: Monitor level Parameters mac-address: Displays the multicast MAC address entry for the specified MAC address. The MAC address can be any multicast MAC address except 0100-5Exx-xxxx and 3333-xxxx-xxxx, where x represents an arbitrary hexadecimal number from 0 to F. A multicast MAC address is a MAC address whose the least significant bit of the most significant octet is 1.
Field Description Status of the MAC address; multicast indicates a static multicast MAC STATE address entry PORT INDEX Outgoing ports of the multicast MAC address entry State of the aging timer. The aging timer for static multicast MAC AGING TIME(s) addresses has only one state: NOAGED, which indicates that this entry never expires 1 mac address or addresses...
Parameters vlan vlan-list: Specifies one or multiple VLANs. You can provide up to 10 VLAN lists. For each list, you can specify an individual VLAN in the form of vlan-id, or a VLAN range in the form of start-vlan-id to end- vlan-id, where the end VLAN ID must be greater than the start VLAN ID.
Use the undo group-policy command to remove the configured global multicast group filter. By default, no global multicast group filter is configured. Namely, a host can join any valid multicast group. If you do not specify any VLAN, the command takes effect in all VLANs. If you specify a VLAN or multiple VLANs, the command takes effect in the specified VLANs only.
[Sysname-igmp-snooping] host-aging-time 300 igmp-snooping Syntax igmp-snooping undo igmp-snooping View System view Default level 2: System level Parameters None Description Use the igmp-snooping command to enable IGMP snooping globally and enter IGMP snooping view. Use the undo igmp-snooping command to disable IGMP snooping globally. By default, IGMP snooping is disabled.
Description Use the igmp-snooping access-policy command to configure a multicast user control policy. Use the undo igmp-snooping access-policy command to remove the configuration. By default, no user control policy is configured. Namely, a user can join any valid multicast group. You can use this command repeatedly to configure multiple multicast user control policies.
[Sysname-vlan2] igmp-snooping dot1p-priority 3 igmp-snooping drop-unknown Syntax igmp-snooping drop-unknown undo igmp-snooping drop-unknown View VLAN view Default level 2: System level Parameters None Description Use the igmp-snooping drop-unknown command to enable the function of dropping unknown multicast data in the current VLAN. Use the undo igmp-snooping drop-unknown command to disable the function of dropping unknown multicast data in the current VLAN.
Description Use the igmp-snooping enable command to enable IGMP snooping in the current VLAN. Use the undo igmp-snooping enable command to disable IGMP snooping in the current VLAN. By default, IGMP snooping is disabled in a VLAN. You must enable IGMP snooping globally before you enable it in a VLAN. Related commands: igmp-snooping.
If you do not specify any VLAN when using this command in port group view, the command takes effect on all the ports in this group. If you specify a VLAN or multiple VLANs, the command takes effect only on those ports in this group that belong to the specified VLANs.
igmp-snooping group-limit Syntax igmp-snooping group-limit limit [ vlan vlan-list ] undo igmp-snooping group-limit [ vlan vlan-list ] View Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view Default level 2: System level Parameters limit: Specifies the maximum number of multicast groups that a port can join. The value ranges from 1 to 1000.
Default level 2: System level Parameters acl-number: Specifies a basic or advanced ACL number, in the range of 2000 to 3999. The source address or address range specified in the advanced ACL rule matches the multicast source addresses specified in IGMPv3 reports, rather than the source address in the IP packets. The system assumes that an IGMPv1 or IGMPv2 report or an IGMPv3 IS_EX and TO_EX report that does not carry a multicast source address carries a multicast source address of 0.0.0.0.
View VLAN view Default level 2: System level Parameters interval: Specifies an aging time for dynamic member ports in seconds. The value range is 200 to 1000. Description Use the igmp-snooping host-aging-time command to configure the aging time for dynamic member ports in the current VLAN.
Use the undo igmp-snooping host-join command to remove the simulated member hosts from the specified multicast group or source and group. By default, this function is disabled. This command works only on IGMP snooping–enabled VLANs, and the version of IGMP on the simulated host depends on the version of IGMP snooping running in the VLAN.
[Sysname-vlan2] igmp-snooping enable [Sysname-vlan2] igmp-snooping leave source-ip 10.1.1.1 igmp-snooping max-response-time Syntax igmp-snooping max-response-time interval undo igmp-snooping max-response-time View VLAN view Default level 2: System level Parameters interval: Specifies the maximum response time for IGMP general queries, in seconds. The effective range is 1 to 25.
Parameters vlan vlan-list: Specifies one or multiple VLANs. You can provide up to 10 VLAN lists. For each list, you can specify an individual VLAN in the form of vlan-id, or a VLAN range in the form of start-vlan-id to end- vlan-id, where the end VLAN ID must be greater than the start VLAN ID.
By default, IGMP snooping proxying is disabled in all VLANs. Before you configure this command in a VLAN, enable IGMP snooping in the VLAN. Related commands: igmp-snooping enable. Examples # Enable IGMP snooping and then IGMP snooping proxying in VLAN 2. <Sysname>...
igmp-snooping query-interval Syntax igmp-snooping query-interval interval undo igmp-snooping query-interval View VLAN view Default level 2: System level Parameters interval: Specifies an interval between IGMP general queries, in seconds. The effective range is 2 to 300. Description Use the igmp-snooping query-interval command to configure the interval between IGMP general queries. Use the undo igmp-snooping query-interval command to restore the default.
current-interface: Specifies the IP address of the current VLAN interface as the source address of IGMP reports that the IGMP snooping proxy sends. If no IP address has been assigned to the current VLAN interface, the default IP address 0.0.0.0 is used. Description Use the igmp-snooping report source-ip command to configure the source IP address of the IGMP reports that the IGMP snooping proxy sends.
igmp-snooping source-deny Syntax igmp-snooping source-deny undo igmp-snooping source-deny View Layer 2 Ethernet interface view, port group view Default level 2: System level Parameters None Description Use the igmp-snooping source-deny command to enable multicast source port filtering. Use the undo igmp-snooping source-deny command to disable multicast source port filtering. By default, multicast source port filtering is disabled.
By default, the source IP address of IGMP group-specific queries is 0.0.0.0. This command takes effect only if IGMP snooping is enabled in the VLAN. Related commands: igmp-snooping enable. Examples # In VLAN 2, enable IGMP snooping and specify 10.1.1.1 as the source IP address of IGMP group-specific queries.
igmp-snooping version Syntax igmp-snooping version version-number undo igmp-snooping version View VLAN view Default level 2: System level Parameters version-number: Specifies an IGMP snooping version, in the range of 2 to 3. Description Use the igmp-snooping version command to configure the IGMP snooping version. Use the undo igmp-snooping version command to restore the default.
Description Use the last-member-query-interval command to configure the interval between IGMP last-member queries globally. Use the undo last-member-query-interval command to restore the default. By default, the interval between IGMP last-member queries is 1 second. This command works only on IGMP snooping–enabled VLANs. Related commands: igmp-snooping last-member-query-interval.
Description Use the mac-address multicast command to configure a static multicast MAC address entry. Use the undo mac-address multicast command to delete a static multicast MAC address entry. By default, no static multicast MAC address entry is configured. If multicast is not specified when using the undo mac-address multicast command, all MAC address entries—including static multicast MAC address entries and unicast MAC address entries—are deleted.
[Sysname-igmp-snooping] max-response-time 5 overflow-replace (IGMP snooping view) Syntax overflow-replace [ vlan vlan-list ] undo overflow-replace [ vlan vlan-list ] View IGMP snooping view Default level 2: System level Parameters vlan vlan-list: Specifies one or multiple VLANs. You can provide up to 10 VLAN lists. For each list, you can specify an individual VLAN in the form of vlan-id, or a VLAN range in the form of start-vlan-id to end- vlan-id, where the end VLAN ID must be greater than the start VLAN ID.
Description Use the report-aggregation command to enable IGMP report suppression. Use the undo report-aggregation command to disable IGMP report suppression. By default, IGMP report suppression is enabled. This command works only on IGMP snooping–enabled VLANs. Examples # Disable IGMP report suppression. <Sysname>...
Default level 2: System level Parameters None Description Use the reset igmp-snooping statistics command to clear the statistics information of IGMP messages learned through IGMP snooping. Examples # Clear the statistics information of all kinds of IGMP messages learned through IGMP snooping. <Sysname>...
Page 38
View IGMP snooping view Default level 2: System level Parameters interface-list: Specifies one or multiple ports. You can provide up to 10 port lists. For each list, you can specify an individual port in the form of interface-type interface-number, or a port range in the form of interface-type start-interface-number to interface-type end-interface-number, where the end interface number must be greater than the start interface number.
Multicast VLAN configuration commands display multicast-vlan Syntax display multicast-vlan [ vlan-id ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters vlan-id: Specifies a multicast VLAN, in the range of 1 to 4094. If this argument is not provided, this command displays information about all multicast VLANs.
Table 4 Output description Field Description Total 2 multicast-vlan(s) Total number of multicast VLANs Multicast vlan A multicast VLAN subvlan list List of sub-VLANs of the multicast VLAN port list Port list of the multicast VLAN multicast-vlan Syntax multicast-vlan vlan-id undo multicast-vlan { all | vlan-id } View System view...
port (multicast VLAN view) Syntax port interface-list undo port { all | interface-list } View Multicast VLAN view Default level 2: System level Parameters interface-list: Specifies a port in the form of interface-type interface-number, or a port range in the form of interface-type start-interface-number to interface-type end-interface-number, where the end interface number must be greater than the start interface number.
Use the undo port multicast-vlan command to restore the default. By default, a port does not belong to any multicast VLAN. A port can belong to only one multicast VLAN. Examples # Assign GigabitEthernet 1/0/1 to multicast VLAN 100. <Sysname> system-view [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] port multicast-vlan 100 subvlan (multicast VLAN view)
MLD snooping configuration commands display mld-snooping group Syntax display mld-snooping group [ vlan vlan-id ] [ slot slot-number ] [ verbose ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters vlan vlan-id: Displays the MLD snooping group information in the specified VLAN, where vlan-id is in the range of 1 to 4094.
Vlan(id):2. Total 1 IP Group(s). Total 1 IP Source(s). Total 1 MAC Group(s). Router port(s):total 1 port(s). GE1/0/1 (D) ( 00:01:30 ) IP group(s):the following ip group(s) match to one mac group. IP group address:FF1E::101 (::, FF1E::101): Attribute: Host Port Host port(s):total 1 port(s).
Page 45
Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see the 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.
dot1p-priority (MLD snooping view) Syntax dot1p-priority priority-number undo dot1p-priority View MLD snooping view Default level 2: System level Parameters priority-number: Specifies 802.1p precedence for MLD messages, in the range of 0 to 7. A higher number indicates a higher precedence. Description Use the dot1p-priority command to configure 802.1p precedence for MLD messages globally.
Use the undo fast-leave command to disable fast-leave processing globally. By default, fast-leave processing is disabled. This command works only on MLD snooping–enabled VLANs. If you do not specify any VLAN, the command takes effect in all VLANs. If you specify a VLAN or multiple VLANs, the command takes effect in the specified VLANs only.
You can configure different IPv6 ACL rules for each port in different VLANs. For a given VLAN, a newly configured IPv6 ACL rule overrides the existing one. Related commands: mld-snooping group-policy. Examples # Apply ACL 2000 as an IPv6 multicast group filter so that hosts in VLAN 2 can join FF03::101 only. <Sysname>...
View MLD snooping view Default level 2: System level Parameters interval: Specifies the MLD last listener query interval in seconds, namely, the length of time that the device waits between sending MLD multicast-address-specific queries. The value range is 1 to 5. Description Use the last-listener-query-interval command to configure the MLD last listener query interval globally.
Examples # Set the maximum response time for MLD general queries to 5 seconds globally. <Sysname> system-view [Sysname] mld-snooping [Sysname-mld-snooping] max-response-time 5 mld-snooping Syntax mld-snooping undo mld-snooping View System view Default level 2: System level Parameters None Description Use the mld-snooping command to enable MLD snooping globally and enter MLD snooping view. Use the undo mld-snooping command to disable MLD snooping globally.
specified in MLDv2 reports, rather than the source address in the IP packets. The system assumes that an MLDv1 report or an MLDv2 IS_EX and TO_EX report that does not carry an IPv6 multicast source address carries an IPv6 multicast source address of 0::0. all: Specifies all IPv6 ACLs.
By default, the source IPv6 address of the MLD done messages that the MLD snooping proxy sends is FE80::02FF:FFFF:FE00:0001. Before you configure this command for a VLAN, enable MLD snooping for the VLAN. The source IPv6 address configured in the mld-snooping done source-ip command also applies when the simulated host sends MLD done messages.
[Sysname-vlan2] mld-snooping enable [Sysname-vlan2] mld-snooping dot1p-priority 3 mld-snooping drop-unknown Syntax mld-snooping drop-unknown undo mld-snooping drop-unknown View VLAN view Default level 2: System level Parameters None Description Use the mld-snooping drop-unknown command to enable the function of dropping unknown IPv6 multicast data in the current VLAN. Use the undo mld-snooping drop-unknown command to disable the function of dropping unknown IPv6 multicast data in the current VLAN.
Parameters None Description Use the mld-snooping enable command to enable MLD snooping in the current VLAN. Use the undo mld-snooping enable command to disable MLD snooping in the current VLAN. By default, MLD snooping is disabled for a VLAN. You must enable MLD snooping globally before you enable it in a VLAN Related commands: mld-snooping.
specify a VLAN or multiple VLANs, the command takes effect in the specified VLANs that the interface belongs to. If you do not specify any VLAN when using this command in port group view, the command takes effect on all the ports in this group. If you specify a VLAN or multiple VLANs, the command takes effect only on those ports in this group that belong to the specified VLANs.
[Sysname-vlan2] mld-snooping enable [Sysname-vlan2] mld-snooping general-query source-ip fe80:0:0:1::1 mld-snooping group-limit Syntax mld-snooping group-limit limit [ vlan vlan-list ] undo mld-snooping group-limit [ vlan vlan-list ] View Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view Default level 2: System level Parameters limit: Specifies the maximum number of IPv6 multicast groups that a port can join.
Page 57
View Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view Default level 2: System level Parameters acl6-number: Specifies a basic or advanced IPv6 ACL number, in the range of 2000 to 3999. The IPv6 source address or address range specified in the advanced IPv6 ACL rule is the IPv6 multicast source addresses specified in MLDv2 reports, rather than the source address in the IPv6 packets.
mld-snooping host-aging-time Syntax mld-snooping host-aging-time interval undo mld-snooping host-aging-time View VLAN view Default level 2: System level Parameters interval: Specifies an aging time for dynamic member ports in seconds. The effective range is 200 to 1000. Description Use the mld-snooping host-aging-time command to configure the aging time for the dynamic member ports in the current VLAN.
Parameters ipv6-group-address: Specifies the dddress of the IPv6 multicast group that the simulated host will join. The effective range is FFxy::/16—excluding FFx0::/16, FFx1::/16, FFx2::/16 and FF0y::, where x and y represent any hexadecimal number between 0 and F, inclusive. ipv6-source-address: Specifies the address of the IPv6 multicast source that the simulated host will join. vlan vlan-id: Specifies a VLAN, where vlan-id is in the range of 1 to 4094.
Parameters interval: Specifies an MLD last listener query interval in seconds, namely, the length of time that the device waits between sending MLD multicast-address-specific queries. The value range is 1 to 5. Description Use the mld-snooping last-listener-query-interval command to configure the MLD last-listener query interval in the VLAN.
Parameters None Description Use the mld-snooping querier command to enable the MLD snooping querier function. Use the undo mld-snooping querier command to disable the MLD snooping querier function. By default, the MLD snooping querier function is disabled. This command takes effect only if MLD snooping is enabled for the VLAN. It does not take effect in a sub- VLAN of an IPv6 multicast VLAN.
mld-snooping router-aging-time Syntax mld-snooping router-aging-time interval undo mld-snooping router-aging-time View VLAN view Default level 2: System level Parameters interval: Specifies an aging time for dynamic router ports, in seconds. The value range is 1 to 1000. Description Use the mld-snooping router-aging-time command to configure the aging time for the dynamic router ports in the current VLAN.
vlan-id, where the end VLAN ID must be greater than the start VLAN ID. The effective range of a VLAN ID is 1 to 4094. Description Use the mld-snooping router-port-deny command to disable a port from becoming a dynamic router port.
View Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view Default level 2: System level Parameters ipv6-group-address: Specifies the address of the IPv6 multicast group that the port will join as a static member port. The effective range is FFxy::/16—excluding FFx0::/16, FFx1::/16, FFx2::/16 and FF0y::, where x and y represent any hexadecimal number between 0 and F, inclusive.
View Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view Default level 2: System level Parameters vlan vlan-id: Specifies a VLAN, where vlan-id is in the range of 1 to 4094. Description Use the mld-snooping static-router-port command to configure the current port as a static router port. Use the undo mld-snooping static-router-port command to restore the default.
This command can take effect only if MLD snooping is enabled for the VLAN. It does not take effect in a sub-VLAN of an IPv6 multicast VLAN. Related commands: mld-snooping enable and subvlan. Examples # Enable MLD snooping in VLAN 2, and specify MLDv2 snooping. <Sysname>...
report-aggregation (MLD snooping view) Syntax report-aggregation undo report-aggregation View MLD snooping view Default level 2: System level Parameters None Description Use the report-aggregation command to enable MLD report suppression. Use the undo report-aggregation command to disable MLD report suppression. By default, MLD report suppression is enabled. This command works only on MLD snooping–enabled VLANs.
This command works only on MLD snooping–enabled VLANs. This command cannot remove the static group entries of MLD snooping groups. Examples # Remove the dynamic group entries of all MLD snooping groups. <Sysname> reset mld-snooping group all reset mld-snooping statistics Syntax reset mld-snooping statistics View...
IPv6 multicast VLAN configuration commands display multicast-vlan ipv6 Syntax display multicast-vlan ipv6 [ vlan-id ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters vlan-id: Specifies an IPv6 multicast VLAN, in the range of 1 to 4094. If this argument is not provided, this command displays information about all IPv6 multicast VLANs.
Table 7 Output description Field Description Total 2 IPv6 multicast-vlan(s) Total number of IPv6 multicast VLANs IPv6 Multicast vlan An IPv6 multicast VLAN subvlan list List of sub-VLANs of the IPv6 multicast VLAN port list Port list of the IPv6 multicast VLAN multicast-vlan ipv6 Syntax multicast-vlan ipv6 vlan-id...
[Sysname-ipv6-mvlan-100] port (IPv6 multicast VLAN view) Syntax port interface-list undo port { all | interface-list } View IPv6 multicast VLAN view Default level 2: System level Parameters interface-list: Specifies a port in the form of interface-type interface-number, or a port range in the form of interface-type start-interface-number to interface-type end-interface-number, where the end interface number must be greater than the start interface number.
Description Use the port multicast-vlan ipv6 command to assign the current port to the specified IPv6 multicast VLAN. Use the undo port multicast-vlan ipv6 command to restore the default. By default, a port does not belong to any IPv6 multicast VLAN. A port can belong to only one IPv6 multicast VLAN.
Related information Documents To find related documents, browse to the Manuals page of the HP Business Support Center website: http://www.hp.com/support/manuals For related documentation, navigate to the Networking section, and select a networking category. ...
Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. Square brackets enclose syntax choices (keywords or arguments) that are optional. Braces enclose a set of required syntax choices separated by vertical bars, from which { x | y | ...
Page 80
Network topology icons Represents a generic network device, such as a router, switch, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features.
Page 81
Index D F G H I L M O P R S igmp-snooping proxying enable,19 igmp-snooping querier,20 display igmp-snooping group,1 igmp-snooping query-interval,21 display igmp-snooping statistics,2 igmp-snooping report source-ip,21 display mac-address multicast,3 igmp-snooping router-aging-time,22 display mld-snooping group,38 igmp-snooping router-port-deny,23 display mld-snooping statistics,39 igmp-snooping source-deny,24...