HP FlexFabric 11900 Switch Series IP Multicast Command Reference Part number: 5998-4078 Software version: Release 2105 and later Document version: 6W100-20130515
Legal and notice information © Copyright 2013 Hewlett-Packard Development Company, L.P. No part of this documentation may be reproduced or transmitted in any form or by any means without prior written consent of Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Contents IGMP snooping commands ········································································································································· 1 display igmp-snooping············································································································································· 1 display igmp-snooping group ································································································································· 2 display igmp-sn
reset multicast forwarding-table ··························································································································· 42 reset multicast routing-table ·································································································································· 42 IGMP commands ························································································································································ 44 display igmp grou
spt-switch-threshold (PIM view) ····························································································································· 89 state-refresh-interval (PIM view) ···························································································································· 89 state-refresh-rate-limit (PIM view) ·························································································································· 90 state-refresh-ttl (PIM view
MLD commands ······················································································································································· 135 display mld group ··············································································································································· 135 display mld interface ··········································································································································· 136 mld enable
state-refresh-rate-limit (IPv6 PIM view) ··············································································································· 182 static-rp (IPv6 PIM view) ······································································································································ 182 timer hello (IPv6 PIM view) ································································································································· 184 timer join-prune (IPv6 PIM v
IGMP snooping commands display igmp-snooping Use display igmp-snooping to display IGMP snooping status. Syntax display igmp-snooping [ global | vlan vlan-id ] Views Any view Predefined user roles network-admin network-operator Parameters global: Displays the global IGMP snooping status. vlan vlan-id: Specifies a VLAN. The value range for the vlan-id argument is 1 to 4094.
Host-aging-time: 260s Router-aging-time: 260s Max-response-time: 10s Last-member-query-interval: 1s Table 1 Command output Field Description IGMP snooping status: IGMP snooping • Enabled. • Disabled. Status of dropping unknown multicast data: Drop-unknown • Enabled. • Disabled. Version IGMP snooping version. Host-aging-time Aging timer for the dynamic member port. Router-aging-time Aging timer for the dynamic router port. Max-response-time Maximum response time for IGMP general queries.
source-address: Specifies a multicast source by its IP address. If no multicast source is specified, this command displays information about the dynamic IGMP snooping forwarding entries for all multicast sources. 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 information about the dynamic IGMP snooping forwarding entries for all VLANs. verbose: Displays detailed information.
display igmp-snooping router-port [ vlan vlan-id ] [ chassis chassis-number slot slot-number ] Views Any view Predefined user roles network-admin network-operator Parameters vlan vlan-id: Specifies a VLAN. The value range for the vlan-id argument is 1 to 4094. slot slot-number: Specifies a card by its slot number. If no card is specified, this command displays information about the dynamic router ports on the MPU. (In standalone mode.
display igmp-snooping static-group [ group-address | source-address ] * [ vlan vlan-id ] [ verbose ] [ chassis chassis-number slot slot-number ] 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.1.0 to 239.255.255.255. If no multicast group is specified, this command displays information about the static IGMP snooping forwarding entries for all multicast groups.
Field Description Host ports (1 in total) Total number of member ports and the port list. display igmp-snooping static-router-port Use display igmp-snooping static-router-port to display information about static router ports.
display igmp-snooping statistics Use display igmp-snooping statistics to display statistics for the IGMP messages learned by IGMP snooping. Syntax display igmp-snooping statistics Views Any view Predefined user roles network-admin network-operator Examples # Display statistics for the IGMP messages learned by IGMP snooping.
display l2-multicast forwarding-table Use display l2-multicast forwarding-table to display information about Layer 2 multicast forwarding entries.
XGE1/0/2 XGE1/0/3 Table 7 Command output Field Description Total 1 entries Total number of Layer 2 multicast forwarding entries. VLAN 2: Total 1 entries Total number of Layer 2 multicast forwarding entries in VLAN 2. (0.0.0.0, 224.1.1.1) (S, G) entry, where "0.0.0.0" represents any multicast source. Host slots (1 in total) Total number of cards where the member ports reside and the slot IDs of the cards. Host ports (3 in total) Total number of member ports and the port list.
display l2-multicast mac-forwarding-table vlan 2 Total 1 MAC entries. VLAN 2: Total 1 MAC entries. MAC group address: 0100-5e01-0101 Host slots (1 in total): 1 Host ports (3 in total): XGE1/0/1 XGE1/0/2 XGE1/0/3 Table 8 Command output Field Description Total 1 MAC entries Total number of MAC address multicast entries. VLAN 2: Total 1 MAC entries Total number of MAC address multicast entries in VLAN 2. MAC group address Address of the MAC multicast group.
fast-leave (IGMP-snooping view) Use fast-leave to enable IGMP snooping fast-leave processing globally. Use undo fast-leave to disable IGMP snooping fast-leave processing globally. Syntax fast-leave [ vlan vlan-list ] undo fast-leave [ vlan vlan-list ] Default IGMP snooping fast-leave processing is disabled. Views IGMP-snooping view Predefined user roles network-admin Parameters vlan vlan-list: Specifies a space-separated list of up to ten VLAN items.
Default No global multicast group filter is configured. A host can join any valid multicast group. Views IGMP-snooping view Predefined user roles network-admin Parameters acl-number: Specifies an IPv4 basic or advanced ACL by its number, in the range of 2000 to 3999. A host can join only the multicast groups that match the permit statement in the specified ACL. The source addresses in the basic ACL rule are the multicast group addresses specified in IGMP reports.
Syntax host-aging-time interval undo host-aging-time Default The default setting is 260 seconds. Views IGMP-snooping view Predefined user roles network-admin Parameters interval: Sets an aging timer (in seconds) for dynamic member ports, in the range of 200 to 1000. Usage guidelines The global configuration is effective on all VLANs, but has a lower priority than the configuration made in a specific VLAN. Examples # Set the aging timer for dynamic member ports to 300 seconds globally.
[Sysname-igmp-snooping] Related commands igmp-snooping enable igmp-snooping drop-unknown Use igmp-snooping drop-unknown to enable dropping unknown multicast data for a VLAN. Use undo igmp-snooping drop-unknown to disable dropping unknown multicast data for a VLAN. Syntax igmp-snooping drop-unknown undo igmp-snooping drop-unknown Default The function of dropping unknown multicast data in a VLAN is disabled. Unknown multicast data is flooded in the VLAN.
Default IGMP snooping is disabled in a VLAN. Views VLAN view Predefined user roles network-admin Usage guidelines You must enable IGMP snooping globally before you enable IGMP snooping for a VLAN. Examples # Enable IGMP snooping globally and for VLAN 2.
The configuration made in proper interface view is only effective on the current port and takes preference over the global configuration. Examples # Enable IGMP snooping fast-leave processing on Ten-GigabitEthernet 1/0/1 in VLAN 2.
igmp-snooping group-policy Use igmp-snooping group-policy to configure a multicast group filter on a port to control the multicast groups that the hosts on the port can join. Use undo igmp-snooping group-policy to remove the multicast group filter on a port. Syntax igmp-snooping group-policy acl-number [ vlan vlan-list ] undo igmp-snooping group-policy [ vlan vlan-list ] Default No multicast group filter is configured on a port. Namely, the hosts attached to the port can join any valid multicast group.
Related commands group-policy (IGMP-snooping view) igmp-snooping host-aging-time Use igmp-snooping host-aging-time to set the aging timer for the dynamic member ports in a VLAN. Use undo igmp-snooping host-aging-time to restore the default. Syntax igmp-snooping host-aging-time interval undo igmp-snooping host-aging-time Default The default setting is 260 seconds.
Syntax igmp-snooping last-member-query-interval interval undo igmp-snooping last-member-query-interval Default The default setting is 1 second. Views VLAN view Predefined user roles network-admin Parameters interval: Sets the IGMP last-member query interval, in the range of 1 to 5. Usage guidelines The IGMP last-member query interval determines the interval for sending IGMP group-specific queries and the maximum response time for IGMP group-specific queries in a VLAN.
Views VLAN view Predefined user roles network-admin Parameters interval: Sets the maximum response time (in seconds) for IGMP general queries, in the range of 1 to 25. Usage guidelines You must enable IGMP snooping for a VLAN before you configure this command for the VLAN. The configuration made in VLAN view is only effective on the current VLAN and takes preference over the global configuration.
Usage guidelines This command is effective for the multicast groups that a port joins dynamically. If you configure the port as a static member port for a multicast group, this command is not effective for the multicast group. The configuration made in proper interface view is only effective on the current port and takes preference over the global configuration. Examples # Enable the multicast group replacement function on Ten-GigabitEthernet 1/0/1 in VLAN 2.
[Sysname-vlan2] igmp-snooping router-aging-time 100 Related commands • igmp-snooping enable • router-aging-time (IGMP-snooping view) igmp-snooping static-group Use igmp-snooping static-group to configure a port as a static member port of the specified multicast group or the specified multicast source and group. Use undo igmp-snooping static-group to restore the default.
igmp-snooping static-router-port Use igmp-snooping static-router-port to configure a port as a static router port. Use undo igmp-snooping static-router-port to restore the default. Syntax igmp-snooping static-router-port vlan vlan-id undo igmp-snooping static-router-port { all | vlan vlan-id } Default A port is not a static router port. Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view Predefined user roles network-admin Parameters all: Specifies all VLANs.
Examples # Enable IGMP snooping for VLAN 2 and specify IGMPv3 snooping for the VLAN. system-view [Sysname] igmp-snooping [Sysname-igmp-snooping] quit [Sysname] vlan 2 [Sysname-vlan2] igmp-snooping enable [Sysname-vlan2] igmp-snooping version 3 Related commands igmp-snooping enable last-member-query-interval (IGMP-snooping view) Use last-member-query-interval to set the IGMP last-member query interval globally. Use undo last-member-query-interval to restore the default.
max-response-time (IGMP-snooping view) Use max-response-time to set the global maximum response time for IGMP general queries. Use undo max-response-time to restore the default. Syntax max-response-time interval undo max-response-time Default The default setting is 10 seconds. Views IGMP-snooping view Predefined user roles network-admin Parameters interval: Sets the maximum response time (in seconds) for IGMP general queries, in the range of 1 to 25.
Parameters vlan vlan-list: Specifies a space-separated list of up to ten VLAN items. Each item specifies a VLAN by its ID or a range of VLANs in the form of start-vlan-id to end-vlan-id. The VLAN ID is in the range of 1 to 4094. If this option is not specified, this command takes effect for all VLANs. Usage guidelines This command is effective for the multicast groups that a port joins dynamically.
reset igmp-snooping router-port Use reset igmp-snooping router-port to remove dynamic router ports. Syntax reset igmp-snooping router-port { all | vlan vlan-id ] Views User view Predefined user roles network-admin Parameters all: Specifies all VLANs. vlan vlan-id: Specifies a VLAN. The value range for the vlan-id argument is 1 to 4094. Examples # Remove all dynamic router ports.
undo router-aging-time Default The default setting is 260 seconds. Views IGMP-snooping view Predefined user roles network-admin Parameters interval: Specifies an aging timer (in seconds) for dynamic router ports, in the range of 1 to 1000. Usage guidelines The global configuration is effective on all VLANs, but has a lower priority than the configuration made in a specific VLAN. Examples # Set the global aging timer for dynamic router ports to 100 seconds.
Multicast routing and forwarding commands The term "interface" in the multicast routing and forwarding features collectively refers to Layer 3 interfaces, including VLAN interfaces and Layer 3 Ethernet interfaces. You can set an Ethernet port as a Layer 3 interface by using the port link-mode route command (see Layer 2—LAN Switching Configuration Guide). delete ip rpf-route-static Use delete ip rpf-route-static to delete all static multicast routes.
Parameters mac-address: Specifies a multicast MAC address. The MAC address can be any legal multicast MAC address except 0100-5Exx-xxxx and 3333-xxxx-xxxx, where "x" represents any hexadecimal number from 0 to F. vlan vlan-id: Displays multicast MAC address entries for the specified VLAN, where the vlan-id argument is in the range of 1 to 4094. If no VLAN is specified, this command displays the static multicast MAC address entries for all VLANs. multicast: Displays static multicast MAC address entries.
Syntax display multicast boundary [ group-address [ mask-length | mask ] ] [ interface interface-type interface-number ] Views Any view Predefined user roles network-admin network-operator Parameters group-address: Specifies a multicast group address, in the range of 224.0.0.0 to 239.255.255.255. If this argument is not specified, this command displays the multicast boundary information of all multicast groups. mask-length: Specifies the address mask length, in the range of 4 to 32. The default is 32.
display multicast forwarding-table [ source-address [ mask { mask-length | mask } ] | group-address [ mask { mask-length | mask } ] | chassis chassis-number slot slot-number | incoming-interface interface-type interface-number | outgoing-interface { exclude | include | match } interface-type interface-number | statistics ] * Views Any view Predefined user roles network-admin network-operator Parameters source-address: Specifies a multicast source address.
Incoming interface: Vlan-interface1 List of 1 outgoing interface: 1: Vlan-interface2 Matched 19648 packets(20512512 bytes), Wrong If 0 packet Forwarded 19648 packets(20512512 bytes) Table 11 Command output Field Description Total 1 entry, 1 matched Total number of (S, G) entries in the multicast forwarding table, total number of matching (S, G) entries in the multicast forwarding table. 00001 Sequence number of the (S, G) entry. (172.168.0.2,227.0.0.1) (S, G) entry of the multicast forwarding table.
display multicast routing-table Use display multicast routing-table to display multicast routing table information.
2: Vlan-interface3 Table 13 Command output Field Description Total 1 entry Total number of (S, G) entries in the multicast routing table. 00001 Sequence number of the (S, G) entry. (172.168.0.2, 227.0.0.1) (S, G) entry of the multicast forwarding table. Uptime Length of time for which the (S, G) entry has been up. Upstream Interface Upstream interface of the (S, G) entry that multicast packets should arrive at.
Table 14 Command output Field Description Destinations Number of the multicast destination addresses. Routes Number of routes. Destination/Mask Destination address and mask length. Pre Route preference. RPF Neighbor IP address of the RPF neighbor to the reachable destination. Interface Outgoing interface to the reachable destination. display multicast rpf-info Use display multicast rpf-info to display the RPF information of a multicast source.
Field Description Type of the referenced route: Referenced route type • • • • • igp—IGP unicast route. egp—EGP unicast route. unicast (direct)—Directly connected unicast route. unicast—Other unicast routes, such as static unicast route. multicast static—Static multicast route. Route selection rule Rule for RPF route selection, based on the route preference of the routing protocol or based on the longest prefix match to the destination address.
Usage guidelines In the same multicast source address range, you can configure up to 16 RPF neighbors. When you configure an RPF neighbor, you can specify the type and number of the interface only for the point-to-point interface. You can also specify the IP address for the interface that is not a point-to-point one, such as a Layer 3 Ethernet interface, Loopback interface, or VLAN interface.
Predefined user roles network-admin Parameters mac-address: Specifies a static multicast MAC address, in the format H-H-H. The multicast MAC address that can be manually configured in the multicast MAC address entry must be unused. (The least significant bit of the most significant octet is 1.) interface interface-list: Specifies a list of interfaces. You can specify up to four single interfaces, interface ranges, or combinations of both for the list.
Predefined user roles network-admin Parameters group-address: Specifies a multicast group address, in the range of 224.0.0.0 to 239.255.255.255. mask-length: Specifies the address mask length, in the range of 4 to 32. mask: Specifies the address mask. all: Specifies all forwarding boundaries configured on the interface. Usage guidelines A multicast forwarding boundary sets the boundary condition for the multicast groups in the specified address range.
Examples # Enable load splitting of multicast traffic on a per-source basis. system-view [Sysname] multicast load-splitting source multicast longest-match Use multicast longest-match to configure the device to select the RPF route based on the longest prefix match principle. Use undo multicast longest-match to restore the default. Syntax multicast longest-match undo multicast longest-match Default The device selects the route with the highest priority as the RPF route.
Examples # Enable IP multicast routing. system-view [Sysname] multicast routing-enable reset multicast forwarding-table Use reset multicast forwarding-table to clear the multicast forwarding entries.
Views User view Predefined user roles network-admin Parameters source-address: Specifies a multicast source address. group-address: Specifies a multicast group address, in the range of 224.0.0.0 to 239.255.255.255. mask-length: Specifies the address mask length. The default value is 32. For a multicast group address, the value range for this argument is 4 to 32. For a multicast source address, the value range for this argument is 0 to 32. mask: Specifies the address mask. The default is 255.255.255.255.
IGMP commands The term "interface" in the IGMP features collectively refers to Layer 3 interfaces, including VLAN interfaces and Layer 3 Ethernet interfaces. You can set an Ethernet port as a Layer 3 interface by using the port link-mode route command (see Layer 2—LAN Switching Configuration Guide). display igmp group Use display igmp group to display IGMP group information.
Expires: Off Last reporter: 10.10.1.10 Last-member-query-counter: 0 Last-member-query-timer-expiry: Off Group mode: Include Version1-host-present-timer-expiry: Off Version2-host-present-timer-expiry: Off Source list (sources in total: 1): Source: 10.1.1.1 Uptime: 00:00:03 Expires: 00:04:16 Last-member-query-counter: 0 Last-member-query-timer-expiry: Off Table 16 Command output Field Description IGMP groups reported in total Total number of reported IGMP groups. Group Multicast group address.
Related commands reset igmp group display igmp interface Use display igmp interface to display IGMP information on an interface. Syntax display igmp interface [ interface-type interface-number ] [ verbose ] Views Any view Predefined user roles network-admin network-operator Parameters interface-type interface-number: Specifies an interface by its type and number. If no interface is specified, this command displays IGMP information on all IGMP-enabled interfaces.
Table 17 Command output Field Description Vlan-interface1(10.10.1.20) Interface (IP address). Query interval for IGMP IGMP general query interval, in seconds. Other querier present time for IGMP Other querier present interval, in seconds. Maximum query response time for IGMP Maximum response delay for IGMP general queries, in seconds. Last member query interval IGMP last-member query interval, in seconds. Startup query interval IGMP startup query interval, in seconds.
undo igmp enable Default IGMP is disabled on all interfaces. Views Interface view Predefined user roles network-admin Usage guidelines You must enable IP multicast routing before executing this command. You must enable IGMP on an interface to make the IGMP configurations on this interface take effect. Examples # Enable IP multicast routing, and enable IGMP on VLAN-interface 100.
system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] igmp fast-leave igmp group-policy Use igmp group-policy to configure a multicast group filter for an interface to control the multicast groups that the hosts on the interface can join. Use undo igmp group-policy to remove the multicast group filter.
igmp static-group Use igmp static-group to configure an interface as a static member of the specified multicast group or the specified multicast source and group. Use undo igmp static-group to restore the default. Syntax igmp static-group group-address [ source source-address ] undo igmp static-group { all | group-address [ source source-address ] } Default An interface is not a static member of any multicast group or multicast source and group.
Parameters version-number: Specifies an IGMP version, in the range of 1 to 3. Examples # Specify IGMPv1 for VLAN-interface 100. system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] igmp version 1 reset igmp group Use reset igmp group to remove dynamic IGMP group entries.
Related commands display igmp group 52
PIM commands The term "interface" in the PIM features collectively refers to Layer 3 interfaces, including VLAN interfaces and Layer 3 Ethernet interfaces. You can set an Ethernet port as a Layer 3 interface by using the port link-mode route command (see Layer 2—LAN Switching Configuration Guide). bsm-fragment enable (PIM view) Use bsm-fragment enable to enable bootstrap message (BSM) semantic fragmentation. Use undo bsm-fragment enable to disable BSM semantic fragmentation.
Default BSR address range is not defined, and bootstrap messages from any multicast sources are regarded valid. Views PIM view Predefined user roles network-admin Parameters acl-number: Specifies an IPv4 basic ACL by its number, in the range of 2000 to 2999. Usage guidelines In an ACL, the source field specifies the source address range for the legal BSR. If you specify a VPN instance in the ACL, the ACL does not take effect. The other optional parameters except time-range are ignored.
Parameters ip-address: Specifies the IP address of a C-BSR. scope group-address: Specifies a multicast group address to which the C-BSR in an admin-scoped zone is designated, in the range of 239.0.0.0 to 239.255.255.255. If this option is not specified, the configured C-BSR provides services for the global-scoped zone. mask-length: Specifies the address mask length in the range of 8 to 32. mask: Specifies the address mask. hash-length hash-length: Specifies a hash mask length, in the range of 0 to 32.
group-policy acl-number: Specifies an IPv4 basic ACL in the range of 2000 to 2999 to filter IPv4 multicast groups. The C-RP is designated only to IPv4 multicast groups that match a permit statement in the ACL. If the group-policy acl-number option is not specified, if the specified ACL does not exist, or if the specified ACL does not have any valid permit statement, the C-RP is designated to all IPv4 multicast groups 224.0.0.0/4. Only groups that match a permit statement in the ACL are advertised.
Predefined user roles network-admin Parameters acl-number: Specifies an IPv4 advanced ACL, in the range of 3000 to 3999. Usage guidelines This command guards against C-RP spoofing. In an ACL, the source field specifies the legal C-RP address range, and the destination field specifies the multicast group range to which the C–RP is designated. If you specify a VPN instance in the ACL, the ACL does not take effect. The other optional parameters except time-range are ignored.
State: Accept Preferred Bootstrap timer: 00:01:44 Elected BSR address: 12.12.12.1 Priority: 64 Hash mask length: 30 Uptime: 00:21:56 Scope: 239.4.0.0/16 State: Accept Any Scope-zone expiry timer: 00:21:12 Scope: 239.1.0.0/16 State: Elected Bootstrap timer: 00:00:26 Elected BSR address: 17.1.11.1 Priority: 64 Hash mask length: 30 Uptime: 02:53:37 Candidate BSR address: 17.1.11.1 Priority: 64 Hash mask length: 30 Scope: 239.2.2.0/24 State: Candidate Bootstrap timer: 00:01:56 Elected BSR address: 61.2.37.
Field Description Uptime Length of time the BSR has been up. display pim claimed-route Use display pim claimed-route to display information about all routes that PIM uses. Syntax display pim claimed-route [ source-address ] Views Any view Predefined user roles network-admin network-operator Parameters source-address: Specifies a multicast source by its IP address. If no multicast source is specified, this command displays information about all routes that PIM uses.
Table 19 Command output Field Description Route entry. Route types in parentheses include: • • • • • Route/mask igp—IGP unicast route. egp—EGP unicast route. unicast (direct)—Direct unicast route. unicast—Other unicast route, such as static unicast route. multicast static—Static multicast route. RPF interface Name of the RPF interface. RPF neighbor IP address of the RPF neighbor. Config NextHop Address of the configured next hop.
Group/MaskLen: 225.1.0.0/16 C-RP Address Priority HoldTime Uptime Expires 3.3.3.3 192 150 12w:5d 00:02:05 # Display information about the locally configured C-RPs. display pim c-rp local Candidate RP: 12.12.12.9(Loop1) Priority: 192 HoldTime: 150 Advertisement interval: 60 Next advertisement scheduled at: 00:00:48 Table 20 Command output Field Description Group/MaskLen Multicast group to which the C-RP is designated. HoldTime C-RP lifetime.
display pim interface Interface NbrCnt HelloInt DR-Pri DR-Address Vlan1 1 30 1 10.1.1.2 Vlan2 0 30 1 172.168.0.2 Vlan3 1 30 1 20.1.1.2 (local) Table 21 Command output Field Description NbrCnt Number of PIM neighbors. HelloInt Interval for sending hello messages. DR-Pri Priority for DR election. # Display detailed PIM information on Vlan-interface 1. display pim interface vlan-interface 1 verbose Interface: Vlan-interface1, 10.1.1.
Field Description PIM neighbor count Total number of PIM neighbors. PIM hello interval Interval between two hello messages. PIM LAN delay (negotiated) Negotiated delay for sending prune messages. PIM LAN delay (configured) Configured delay for sending prune messages. PIM override interval (negotiated) Negotiated interval between two override messages. PIM override interval (configured) Configured interval between two override messages.
interface interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command displays information about PIM neighbors on all interfaces. verbose: Displays detailed PIM neighbor information. If you do not specify this keyword, this command displays brief PIM neighbor information. Examples # Display brief information about all PIM neighbors.
Field Description Neighbor tracking Neighbor tracking status: enabled/disabled. display pim routing-table Use display pim routing-table to display PIM routing table information.
incoming-interface interface-type interface-number: Specifies an incoming interface. If you do not specify an incoming interface, this command displays PIM routing entries that contain any incoming interfaces. mode mode-type: Specifies a PIM mode. If you do not specify a PIM mode, this command displays PIM routing entries in all PIM modes. The available PIM modes include: • dm: Specifies PIM-DM. • sm: Specifies PIM-SM.
Field Description Flag of the (S, G) entry or (*, G) entry: • ACT—The entry has been used for routing data. • DEL—The entry will be removed. • EXPRUNE—Some outgoing interfaces are pruned by other multicast routing protocols. • EXT—The entry contains outgoing interfaces provided by other multicast routing protocols. Flag • LOC—The entry is on a router directly connected to the same subnet with the multicast source. • NIIF—The entry contains unknown incoming interfaces.
Parameters group-address: Specifies a multicast group by its IP address, in the range of 224.0.1.0 to 239.255.255.255. If no multicast group is specified, this command displays information about all RPs for multicast groups. Examples # Display information about the RP for the multicast group 224.0.1.1. display pim rp-info 224.0.1.1 BSR RP address is: 2.2.2.2 Priority: 192 HoldTime: 150 Uptime: 03:01:10 Expires: 00:02:30 Static RP address is: 3.3.3.
Field Description Uptime Length of time the RP has been up. Expires Remaining time of the RP lifetime. Preferred Whether the static RP is preferred. Configured ACL/ACL ACL defining the multicast groups to which the static RP is designated. Mode PIM mode to which the static RP is designated. RP mapping for this group IP address of the RP that provides services for the multicast group. hello-option dr-priority (PIM view) Use hello-option dr-priority to set the global priority for DR election.
hello-option holdtime (PIM view) Use hello-option holdtime to set the global PIM neighbor lifetime. Use undo hello-option holdtime to restore the default. Syntax hello-option holdtime time undo hello-option holdtime Default The global PIM neighbor lifetime is 105 seconds. Views PIM view Predefined user roles network-admin Parameters time: Sets the PIM neighbor lifetime (in seconds), in the range of 1 to 65535. A value of 65535 means that the PIM neighbors are always reachable.
Views PIM view Predefined user roles network-admin Parameters delay: Sets the prune delay (in milliseconds), in the range of 1 to 32767. Usage guidelines You can set the prune delay in PIM view or interface view. The configurations made in PIM view are effective on all interfaces, and the configurations made in interface view are effective on only the current interface. If you set the prune delay in both PIM view and interface view, the configuration in interface view always takes precedence.
Examples # Enable the neighbor tracking function globally. system-view [Sysname] pim [Sysname-pim] hello-option neighbor-tracking Related commands pim hello-option neighbor-tracking hello-option override-interval (PIM view) Use hello-option override-interval to set the global override interval. Use undo hello-option override-interval to restore the default.
holdtime join-prune (PIM view) Use holdtime join-prune to set the global joined/pruned state holdtime timer. Use undo holdtime join-prune to restore the default. Syntax holdtime join-prune time undo holdtime join-prune Default The global joined/pruned state holdtime timer is 210 seconds. Views PIM view Predefined user roles network-admin Parameters time: Sets the joined/pruned state holdtime timer (in seconds), in the range of 1 to 65535.
Predefined user roles network-admin Parameters size: Sets the maximum size (in bytes) of each join/prune message, in the range of 100 to 8100. Examples # Set the maximum size of each join/prune message to 1500 bytes. system-view [Sysname] pim [Sysname-pim] jp-pkt-size 1500 pim Use pim to enter PIM view. Use undo pim to remove all configurations in PIM view. Syntax pim undo pim Views System view Predefined user roles network-admin Examples # Enable IP multicast routing and enter PIM view.
Views Interface view Predefined user roles network-admin Usage guidelines This feature does not take effect unless you enable PIM-DM or PIM-SM on an interface before you configure this feature. Examples # Enable IP multicast routing, enable PIM-DM on VLAN-interface 100, and enable PIM to work with BFD on the interface.
• multicast boundary pim dm Use pim dm to enable PIM-DM. Use undo pim dm to disable PIM-DM. Syntax pim dm undo pim dm Default PIM-DM is disabled. Views Interface view Predefined user roles network-admin Usage guidelines This command takes effect only after you enable IP multicast routing on the device. Examples # Enable IP multicast routing, and enable PIM-DM on VLAN-interface 100.
Parameters priority: Sets the priority for DR election, in the range of 0 to 4294967295. A larger value indicates a higher priority. Usage guidelines You can set the priority for DR election in PIM view or interface view. The configurations made in PIM view are effective on all interfaces, and the configurations made in interface view are effective on only the current interface.
[Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] pim hello-option holdtime 120 Related commands hello-option holdtime (PIM view) pim hello-option lan-delay Use pim hello-option lan-delay to set the prune delay on an interface. Use undo pim hello-option lan-delay to restore the default. Syntax pim hello-option lan-delay delay undo pim hello-option lan-delay Default The prune delay is 500 milliseconds.
Use pim hello-option neighbor-tracking disable to disable the neighbor tracking function on an interface when the neighbor tracking function is enabled globally. Use undo pim hello-option neighbor-tracking to restore the neighbor tracking function on an interface to be consistent with the global setting.
undo pim hello-option override-interval Default The override interval is 2500 milliseconds. Views Interface view Predefined user roles network-admin Parameters interval: Sets the override interval (in milliseconds), in the range of 1 to 65535. Usage guidelines You can set the override interval in PIM view or interface view. The configurations made in PIM view are effective on all interfaces, and the configurations made in interface view are effective on only the current interface.
Parameters time: Sets the joined/pruned state holdtime timer (in seconds), in the range of 1 to 65535. Usage guidelines You can set the joined/pruned state holdtime timer in PIM view or interface view. The configurations made in PIM view are effective on all interfaces, and the configurations made in interface view are effective on only the current interface. If you set the joined/pruned state holdtime timer in both PIM view and interface view, the configuration in interface view always takes precedence.
[Sysname] acl number 2000 [Sysname-acl-basic-2000] rule permit source 10.1.1.0 0.0.0.255 [Sysname-acl-basic-2000] quit [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] pim neighbor-policy 2000 pim require-genid Use pim require-genid to enable dropping hello messages without the generation ID options. Use undo pim require-genid to restore the default. Syntax pim require-genid undo pim require-genid Default Hello messages without the generation ID options are accepted.
Usage guidelines This command takes effect only after you enable IP multicast routing on the device. Examples # Enable IP multicast routing, and enable PIM-SM on VLAN-interface 100. system-view [Sysname] multicast routing-enable [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] pim sm Related commands multicast routing-enable pim state-refresh-capable Use pim state-refresh-capable to enable the state refresh feature on the interface.
undo pim timer graft-retry Default The graft retry timer is 3 seconds. Views Interface view Predefined user roles network-admin Parameters interval: Specifies a graft retry timer (in seconds), in the range of 1 to 65535. Examples # Set the graft retry timer to 80 seconds on VLAN-interface 100.
[Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] pim timer hello 40 Related commands timer hello (PIM view) pim timer join-prune Use pim timer join-prune to set interval for sending the join/prune messages on an interface. Use undo pim timer join-prune to restore the default. Syntax pim timer join-prune interval undo pim timer join-prune Default The interval for sending the join/prune messages is 60 seconds.
undo pim triggered-hello-delay Default The maximum delay for sending a hello message is 5 seconds. Views Interface view Predefined user roles network-admin Parameters delay: Sets the maximum delay (in seconds) for sending a hello message, in the range of 1 to 60. Examples # Set the maximum delay for sending a hello message to 3 seconds on VLAN-interface 100.
[Sysname] acl number 3000 [Sysname-acl-adv-3000] rule permit ip source 10.10.0.0 0.0.255.255 destination 225.1.0.0 0.0.255.255 [Sysname-acl-adv-3000] quit [Sysname] pim [Sysname-pim] register-policy 3000 register-whole-checksum (PIM view) Use register-whole-checksum to configure the device to calculate the checksum based on an entire register message. Use undo register-whole-checksum to restore the default.
Parameters time: Sets the multicast source lifetime (in seconds), in the range of 0 to 31536000. A value of 0 means that multicast sources are never aged out. Examples # Set the multicast source lifetime to 200 seconds. system-view [Sysname] pim [Sysname-pim] source-lifetime 200 source-policy (PIM view) Use source-policy to configure a multicast data filter. Use undo source-policy to remove the configured multicast data filter.
spt-switch-threshold (PIM view) Use spt-switch-threshold to configure the criteria for triggering a switchover to SPT. Use undo spt-switch-threshold to restore the default. Syntax spt-switch-threshold { immediacy | infinity } [ group-policy acl-number ] undo spt-switch-threshold [ immediacy | infinity ] [ group-policy acl-number ] Default The device immediately triggers a switchover to SPT after receiving the first multicast packet.
undo state-refresh-interval Default The interval for sending state refresh messages is 60 seconds. Views PIM view Predefined user roles network-admin Parameters interval: Specifies the interval (in seconds) for sending state refresh messages, in the range of 1 to 255. Examples # Set the interval for sending state refresh messages to 70 seconds.
system-view [Sysname] pim [Sysname-pim] state-refresh-rate-limit 45 Related commands • pim state-refresh-capable • state-refresh-interval (PIM view) • state-refresh-ttl (PIM view) state-refresh-ttl (PIM view) Use state-refresh-ttl to set the TTL value of state refresh messages. Use undo state-refresh-ttl to restore the default. Syntax state-refresh-ttl ttl-value undo state-refresh-ttl Default The TTL value of state refresh messages is 255.
undo static-rp rp-address Default No static RP is configured. Views PIM view Predefined user roles network-admin Parameters rp-address: Specifies the IP address of the static RP. This address must be a real, valid unicast IP address, rather than an address on the 127.0.0.0/8 subnet. For a static RP in BIDIR-PIM, you can specify a virtual IP address. acl-number: Specifies an IPv4 basic ACL, in the range of 2000 to 2999 to filter IPv4 multicast groups.
timer hello (PIM view) Use timer hello to set the global interval for sending hello messages. Use undo timer hello to restore the default. Syntax timer hello interval undo timer hello Default The global interval for sending hello messages is 30 seconds. Views PIM view Predefined user roles network-admin Parameters interval: Sets the interval (in seconds) for sending hello messages, in the range of 0 to 18000. A value of 0 means that no hello messages are sent.
Views PIM view Predefined user roles network-admin Parameters interval: Sets the interval (in seconds) for sending join/prune messages, in the range of 0 to 18000. A value of 0 means that no join or prune messages are sent. Usage guidelines You can set the interval for sending join/prune messages in PIM view or interface view. The configurations made in PIM view are effective on all interfaces, and the configurations made in interface view are effective on only the current interface.
MLD snooping commands display ipv6 l2-multicast forwarding-table Use display ipv6 l2-multicast forwarding-table to display information about Layer 2 IPv6 multicast forwarding entries.
display ipv6 l2-multicast forwarding-table vlan 2 Total 1 entries. VLAN 2: Total 1 entries. (::, FF1E::101) Host slots (1 in total): 1 Host ports (3 in total): XGE1/0/1 XGE1/0/2 XGE1/0/3 Table 26 Command output Field Description Total 1 entries Total number of Layer 2 IPv6 multicast forwarding entries. VLAN 2: Total 1 entries Total number of Layer 2 IPv6 multicast forwarding entries in VLAN 2. (::, FF1E::101) (S, G) entry, where "::" represents any IPv6 multicast source.
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 information about the IPv6 MAC address multicast forwarding entries for all VLANs. slot slot-number: Specifies a card by the number of the slot where the card is inserted. If no card is specified, this command displays information about the IPv6 MAC address multicast forwarding entries on MPU. (In standalone mode.
network-operator Parameters global: Displays the global MLD snooping status. vlan vlan-id: Specifies a VLAN. The value range for the vlan-id argument is 1 to 4094. Usage guidelines If no argument is specified, this command displays the global MLD snooping status and the MLD snooping status in all VLANs. Examples # Display the global MLD snooping status and the MLD snooping status in all VLANs.
Field Description Host-aging-time Aging timer for the dynamic member port. Router-aging-time Aging timer for the dynamic router port. Max-response-time Maximum time for responding to MLD general queries. Last-listener-query-interval Interval for sending MLD multicast-address-specific queries. display mld-snooping group Use display mld-snooping group to display information about dynamic MLD snooping forwarding entries.
command displays information about the dynamic MLD snooping forwarding entries on all MPUs in the IRF fabric. (In IRF mode.) Examples # Display information about the dynamic MLD snooping forwarding entries in VLAN 2. display mld-snooping group vlan 2 Total 1 entries. VLAN 2: Total 1 entries. (::,FF1E::101) Host slots (1 in total): 1 Host ports (1 in total): XGE1/0/2 Table 29 Command output Field Description Total 1 entries Total number of dynamic MLD snooping forwarding entries.
slot slot-number: Specifies a card by the number of the slot where the card is inserted. If no card is specified, this command displays information about the dynamic router ports on MPU. (In standalone mode.) chassis chassis-number slot slot-number: Specifies a card on a member device. The chassis-number argument represents the member ID of a device in the IRF fabric, and the slot-number argument represents the number of the slot where the card is inserted.
network-operator Parameters ipv6-group-address: Specifies an IPv6 multicast group by its IPv6 address. The value of this argument is in the range of FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, and FF0y::), where "x" and "y" represent any hexadecimal number in the range of 0 to F. If no IPv6 multicast group is specified, this command displays information about the static MLD snooping forwarding entries for all IPv6 multicast groups.
display mld-snooping static-router-port Use display mld-snooping static-router-port to display information about static router ports. Syntax In standalone mode: display mld-snooping static-router-port [ vlan vlan-id ] [ slot slot-number ] In IRF mode: display mld-snooping static-router-port [ vlan vlan-id ] [ chassis chassis-number slot slot-number ] Views Any view Predefined user roles network-admin network-operator Parameters vlan vlan-id: Specifies a VLAN.
Syntax display mld-snooping statistics Views Any view Predefined user roles network-admin network-operator Examples # Display statistics for the MLD messages learned by MLD snooping.
undo entry-limit Default The default setting is 4294967295. Views MLD-snooping view Predefined user roles network-admin Parameters limit: Specifies the global maximum number of MLD snooping forwarding entries, in the range of 0 to 4294967295. Examples # Set the global maximum number of MLD snooping forwarding entries to 512.
Examples # Enable MLD snooping fast-leave processing for VLAN 2. system-view [Sysname] mld-snooping [Sysname-mld-snooping] fast-leave vlan 2 Related commands mld-snooping fast-leave group-policy (MLD-snooping view) Use group-policy to configure a global IPv6 multicast group filter to control the IPv6 multicast groups that a host can join. Use undo group-policy to remove the configured global IPv6 multicast group filter.
This configuration is effective on the IPv6 multicast groups that the port dynamically joins. If you configure the port as a static member port for an IPv6 multicast group, this configuration is not effective on the IPv6 multicast group. The global configuration is effective on all ports, but has a lower priority than the configuration made on a specific port. Examples # Apply ACL 2000 as an IPv6 multicast group filter for VLAN 2 so that the hosts in this VLAN can join only the multicast group FF03::101.
Related commands mld-snooping host-aging-time last-listener-query-interval (MLD-snooping view) Use last-listener-query-interval to set the MLD last-listener query interval globally. Use undo last-listener-query-interval to restore the default. Syntax last-listener-query-interval interval undo last-listener-query-interval Default The default setting is 1 second.
Views MLD-snooping view Predefined user roles network-admin Parameters interval: Sets the maximum response delay (in seconds) for MLD general queries, in the range of 1 to 25. Usage guidelines The global configuration is effective on all VLANs, but has a lower priority than the configuration made in a specific VLAN. Examples # Set the global maximum response delay for MLD general queries to 5 seconds.
mld-snooping drop-unknown Use mld-snooping drop-unknown to enable dropping unknown IPv6 multicast data for a VLAN. Use undo mld-snooping drop-unknown to disable dropping unknown IPv6 multicast data for a VLAN. Syntax mld-snooping drop-unknown undo mld-snooping drop-unknown Default The function of dropping unknown IPv6 multicast data in a VLAN is disabled. That is, unknown IPv6 multicast data is flooded in the VLAN.
Predefined user roles network-admin Usage guidelines You must enable MLD snooping globally before you enable MLD snooping for a VLAN. Examples # Enable MLD snooping globally and for VLAN 2. system-view [Sysname] mld-snooping [Sysname-mld-snooping] quit [Sysname] vlan 2 [Sysname-vlan2] mld-snooping enable Related commands mld-snooping mld-snooping fast-leave Use mld-snooping fast-leave to enable MLD snooping fast-leave processing on a port.
[Sysname-Ten-GigabitEthernet1/0/1] mld-snooping fast-leave vlan 2 Related commands fast-leave (MLD-snooping view) mld-snooping group-limit Use mld-snooping group-limit to set the maximum number of IPv6 multicast groups that a port can join. Use undo mld-snooping group-limit to restore the default. Syntax mld-snooping group-limit limit [ vlan vlan-list ] undo mld-snooping group-limit [ vlan vlan-list ] Default The default setting is 4294967295.
undo mld-snooping group-policy [ vlan vlan-list ] Default No IPv6 multicast group filter is configured on a port. Namely, the hosts attached to the port can join any valid IPv6 multicast group. Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view Predefined user roles network-admin Parameters acl6-number: Specifies a basic or advanced IPv6 ACL by its number, in the range of 2000 to 3999.
Use undo mld-snooping host-aging-time to restore the default. Syntax mld-snooping host-aging-time interval undo mld-snooping host-aging-time Default The default setting is 260 seconds. Views VLAN view Predefined user roles network-admin Parameters interval: Sets an aging timer (in seconds) for the dynamic member ports in a VLAN, in the range of 200 to 1000. Usage guidelines You must enable MLD snooping for a VLAN before you configure this command for the VLAN.
Views VLAN view Predefined user roles network-admin Parameters interval: Sets the MLD last-listener query interval (in seconds), in the range of 1 to 5. Usage guidelines The MLD last-listener query interval determines the interval for sending MLD multicast-address-specific queries and the maximum response delay for MLD multicast-address-specific queries in a VLAN. You must enable MLD snooping for a VLAN before you configure this command for the VLAN.
Usage guidelines You must enable MLD snooping for a VLAN before you configure this command for the VLAN. The configuration made in VLAN view is only effective on the current VLAN and takes preference over the global configuration. Examples # Enable MLD snooping for VLAN 2 and set the maximum response delay for MLD general queries to 5 seconds.
Examples # Enable the IPv6 multicast group replacement function on Ten-GigabitEthernet 1/0/1 in VLAN 2. system-view [Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] mld-snooping overflow-replace vlan 2 Related commands overflow-replace (MLD-snooping view) mld-snooping router-aging-time Use mld-snooping router-aging-time to set the aging timer for the dynamic router ports in a VLAN. Use undo mld-snooping router-aging-time to restore the default.
mld-snooping static-group Use mld-snooping static-group to configure a port as a static member port of the specified IPv6 multicast group or the specified IPv6 multicast source and group. Use undo mld-snooping static-group to restore the default.
mld-snooping static-router-port Use mld-snooping static-router-port to configure a port as a static router port. Use undo mld-snooping static-router-port to restore the default. Syntax mld-snooping static-router-port vlan vlan-id undo mld-snooping static-router-port { all | vlan vlan-id } Default A port is not a static router port. Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view Predefined user roles network-admin Parameters all: Specifies all VLANs.
Examples # Enable MLD snooping for VLAN 2 and specify MLDv2 snooping for the VLAN. system-view [Sysname] mld-snooping [Sysname-mld-snooping] quit [Sysname] vlan 2 [Sysname-vlan2] mld-snooping enable [Sysname-vlan2] mld-snooping version 2 Related commands mld-snooping enable overflow-replace (MLD-snooping view) Use overflow-replace to enable the IPv6 multicast group replacement function globally. Use undo overflow-replace to disable the IPv6 multicast group replacement function globally.
reset mld-snooping group Use reset mld-snooping group to remove the dynamic MLD snooping forwarding entries for the specified IPv6 multicast groups. Syntax reset mld-snooping group { ipv6-group-address [ ipv6-source-address ] | all } [ vlan vlan-id ] Views User view Predefined user roles network-admin Parameters ipv6-group-address: Specifies an IPv6 multicast group by its IPv6 address.
Related commands display mld-snooping router-port reset mld-snooping statistics Use reset mld-snooping statistics to clear statistics for the MLD messages learned by MLD snooping. Syntax reset mld-snooping statistics Views User view Predefined user roles network-admin Examples # Clear statistics for all MLD messages learned by MLD snooping.
[Sysname-mld-snooping] router-aging-time 100 Related commands mld-snooping router-aging-time 123
IPv6 multicast routing and forwarding commands The term "interface" in the IPv6 multicast routing and forwarding features collectively refers to Layer 3 interfaces, including VLAN interfaces and Layer 3 Ethernet interfaces. You can set an Ethernet port as a Layer 3 interface by using the port link-mode route command (see Layer 2—LAN Switching Configuration Guide). display ipv6 multicast boundary Use display ipv6 multicast boundary to display IPv6 multicast boundary information.
Boundary 3 Interface Vlan-interface1 Table 34 Command output Field Description Boundary IPv6 multicast group or IPv6 admin-scope zone that corresponds to the IPv6 multicast boundary. Interface Boundary interface that corresponds to the IPv6 multicast boundary. Related commands ipv6 multicast boundary display ipv6 multicast forwarding-table Use display ipv6 multicast forwarding-table to display information about the IPv6 multicast forwarding table.
exclude: Specifies the IPv6 forwarding entries that do not include the specified interface in the outgoing interface list. include: Specifies the IPv6 forwarding entries that include the specified interface in the outgoing interface list. match: Specifies the IPv6 forwarding entries that include only the specified interface in the outgoing interface list. slot slot-number: Specifies a card by its slot number. If no card is specified, this command displays the IPv6 multicast forwarding entries on the MPU.
Field Description Forwarded 19648 packets (20512512 bytes) (S, G) forwarded IPv6 multicast packets (bytes). Table 36 Major value of the flag field Value Meaning 0x0 Proper forwarding entry. 0x1 The (S, G) entry is in inactive status. 0x2 Null forwarding entry. 0x4 The (S, G) entry failed to update. 0x8 Some outgoing interface failed to update the (S, G) entry. 0x20 A register outgoing interface is available. 0x40 The (S, G) entry is to be deleted.
interface-type interface-number: Specifies an interface by its type and number. outgoing-interface: Displays the IPv6 routing entries that include the specified outgoing interface. exclude: Displays the IPv6 routing entries that do not include the specified interface in the outgoing interface list. include: Displays the IPv6 routing entries that include the specified interface in the outgoing interface list.
Predefined user roles network-admin network-operator Parameters ipv6-source-address: Specifies an IPv6 multicast source address. ipv6-group-address: Specifies an IPv6 multicast group address, in the range of FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, and FF0y::), where "x" and "y" represent any hexadecimal number from 0 to F. Examples # Display all RPF information of the multicast source with an IPv6 address 2001::101.
Syntax ipv6 multicast boundary { ipv6-group-address prefix-length | scope { scope-id | admin-local | global | organization-local | site-local } } undo ipv6 multicast boundary { ipv6-group-address prefix-length| all | scope { scope-id | admin-local | global | organization-local | site-local } } Default No IPv6 multicast forwarding boundary is configured.
system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] ipv6 multicast boundary scope 4 Related commands display ipv6 multicast boundary ipv6 multicast load-splitting Use ipv6 multicast load-splitting to enable load splitting of IPv6 multicast traffic. Use undo ipv6 multicast load-splitting to restore the default. Syntax ipv6 multicast load-splitting { source | source-group } undo ipv6 multicast load-splitting Default Load splitting of IPv6 multicast traffic is disabled.
Predefined user roles network-admin Examples # Configure RPF route selection based on the longest prefix match principle. system-view [Sysname] ipv6 multicast longest-match ipv6 multicast routing-enable Use ipv6 multicast routing-enable to enable IPv6 multicast routing. Use undo ipv6 multicast routing-enable to disable IPv6 multicast routing. Syntax ipv6 multicast routing-enable undo ipv6 multicast routing-enable Default IPv6 multicast routing is disabled.
ipv6-group-address: Specifies an IPv6 multicast group address, in the range of FFxy::/16, where "x" and "y" represent any hexadecimal number from 0 to F. prefix-length: Specifies the address prefix length. The default value is 128. For an IPv6 multicast group address, the value range for this argument is 8 to 128. For an IPv6 multicast source address, the value range for this argument is 0 to 128. incoming-interface: Specifies the IPv6 multicast forwarding entries, where the incoming interface is specified.
Usage guidelines When a routing entry is deleted from the IPv6 multicast routing table, the corresponding forwarding entry is also deleted from the IPv6 multicast forwarding table. Examples # Clear the routing entry for the IPv6 multicast group FF03::101 from the IPv6 multicast routing table.
MLD commands The term "interface" in the MLD features collectively refers to Layer 3 interfaces, including VLAN interfaces and Layer 3 Ethernet interfaces. You can set an Ethernet port as a Layer 3 interface by using the port link-mode route command (see Layer 2—LAN Switching Configuration Guide). display mld group Use display mld group to display MLD group information.
Uptime: 00:00:09 Expires: 00:04:11 Last-listener-query-counter: 0 Last-listener-query-timer-expiry: Off Table 39 Command output Field Description MLD groups reported in total Total number of reported MLD groups. Group IPv6 multicast group address. Source IPv6 multicast source address. This field is displayed only when the device is running MLDv2. Uptime Length of time since the IPv6 multicast group/multicast source was joined.
Predefined user roles network-admin network-operator Parameters interface-type interface-number: Specifies an interface by its type and number. If no interface is specified, this command displays MLD information on all MLD-enabled interfaces. verbose: Displays detailed MLD information. Examples # Display detailed MLD information on Vlan-interface 1. display mld interface vlan-interface 1 verbose Vlan-interface1(FE80::200:AFF:FE01:101): MLD is enabled.
Field Description Querier for MLD IPv6 link-local address of the MLD querier. MLD activity statistics: • Join(s)—Total number of IPv6 multicast groups that the interface has joined. MLD activity: 1 join(s), 0 done(s) • Done(s)—Total number of IPv6 multicast groups that the interface has left. IPv6 multicast routing on this interface Whether IPv6 multicast routing and forwarding is enabled. Robustness Robustness variable of the MLD querier.
Usage guidelines You must enable IPv6 multicast routing before executing this command. You must enable MLD on an interface to make MLD configurations on that interface take effect. Examples # Enable IPv6 multicast routing, and enable MLD for VLAN-interface 100.
Syntax mld group-policy acl6-number [ version-number ] undo mld group-policy Default No IPv6 multicast group filter is configured on an interface, and a host can join any IPv6 multicast group. Views Interface view Predefined user roles network-admin Parameters acl6-number: Specifies an IPv6 basic or advanced ACL by its number, in the range of 2000 to 3999. A host can join only the IPv6 multicast groups that match the permit statement in the ACL.
Default An interface is not a static member of any IPv6 multicast group or IPv6 multicast source and group. Views Interface view Predefined user roles network-admin Parameters ipv6-group-address: Specifies an IPv6 multicast group by its IPv6 address, in the range of FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, and FF0y::), where "x" and "y" represent any hexadecimal number in the range of 0 to F. ipv6-source-address: Specifies an IPv6 multicast source.
reset mld group Use reset mld group to remove dynamic MLD group entries. Syntax reset mld group { all | interface interface-type interface-number { all | ipv6-group-address [ prefix-length ] [ ipv6-source-address [ prefix-length ] ] } } Views User view Predefined user roles network-admin Parameters all: The first all specifies all interfaces, and the second all specifies all MLD groups. interface-type interface-number: Specifies an interface by its type and number.
IPv6 PIM commands The term "interface" in the IPv6 PIM features collectively refers to Layer 3 interfaces, including VLAN interfaces and Layer 3 Ethernet interfaces. You can set an Ethernet port as a Layer 3 interface by using the port link-mode route command (see Layer 2—LAN Switching Configuration Guide). bsm-fragment enable (IPv6 PIM view) Use bsm-fragment enable to enable bootstrap message (BSM) semantic fragmentation. Use undo bsm-fragment enable to disable BSM semantic fragmentation.
Default BSR address range is not defined, and bootstrap messages from any IPv6 multicast sources are regarded as valid. Views IPv6 PIM view Predefined user roles network-admin Parameters acl6-number: Specifies an IPv6 basic ACL by its number, in the range of 2000 to 2999. Usage guidelines In an ACL, the source field specifies the source IPv6 address range for the legal BSR. If you specify a VPN instance in the ACL, the ACL does not take effect.
Parameters ipv6-address: Specifies the IPv6 address of a C-BSR. scope scope-id: Specifies the ID of an IPv6 admin-scoped zone, in the range of 3 to 15. If this option is not specified, the configured C-BSR provides services for the global-scoped zone. hash-length hash-length: Specifies a hash mask length, in the range of 0 to 128. The default setting is 126. priority priority: Specifies a priority for the C-BSR, in the range of 0 to 255. The default setting is 64. A larger value indicates a higher priority.
the ACL. If the group-policy acl-number option is not specified, if the specified ACL does not exist, or if the specified ACL does not have any valid permit statement, the C-RP is designated to all IPv6 multicast groups FF00::/8. scope scope-id: Specifies the ID of an IPv6 admin-scoped zone, in the range of 3 to 15. holdtime hold-time: Specifies a lifetime (in seconds) for the C-RP, in the range of 1 to 65535. The default value is 150 seconds.
Views IPv6 PIM view Predefined user roles network-admin Parameters acl6-number: Specifies an IPv6 advanced ACL, in the range of 3000 to 3999. Usage guidelines This command guards against C-RP spoofing. In an ACL, the source field specifies the legal C-RP IPv6 address range, and the destination field specifies the IPv6 multicast group range to which the C-RP is designated. If you specify a VPN instance in the ACL, the ACL does not take effect. The other optional parameters except time-range are ignored.
display ipv6 pim bsr-info Scope: non-scoped State: Accept Preferred Bootstrap timer: 00:01:44 Elected BSR address: 12:12::1 Priority: 64 Hash mask length: 126 Uptime: 00:21:56 Scope: 5 State: Accept Any Scope-zone expiry timer: 00:21:12 Scope: 6 State: Elected Bootstrap timer: 00:00:26 Elected BSR address: 17:11::1 Priority: 64 Hash mask length: 126 Uptime: 02:53:37 Candidate BSR address: 17:11::1 Priority: 64 Hash mask length: 126 Scope: 7 State: Candidate Bootstrap timer: 00:01:56 Elected BSR
Field Description Candidate BSR address Address of the candidate BSR. Priority BSR priority. Uptime Length of time the BSR has been up. display ipv6 pim claimed-route Use display ipv6 pim claimed-route to display information about all routes that IPv6 PIM uses. Syntax display ipv6 pim claimed-route [ipv6-source-address ] Views Any view Predefined user roles network-admin network-operator Parameters ipv6-source-address: Specifies an IPv6 multicast source by its IPv6 address.
Table 42 Command output Field Description Route entry. Route types in parentheses include: • • • • Route/mask igp—IGP unicast route. egp—EGP unicast route. unicast (direct)—Directly connected unicast route. unicast—Other unicast route, such as static unicast route. RPF interface Name of the RPF interface. RPF neighbor IPv6 address of the RPF neighbor. Total number of (S,G) or (*,G) dependent on this route entry Total number (S, G) or (*, G) entries dependent on the RPF route and their details.
HoldTime: 150 Advertisement interval: 60 Next advertisement scheduled at: 00:00:46 Table 43 Command output Field Description Group/MaskLen IPv6 multicast group to which the C-RP is designated. HoldTime C-RP lifetime. Uptime Length of time the C-RP has been up, where "w" means weeks, "d" means days, and "h" means hours. Expires Remaining time of the C-RP/IPv6 multicast group lifetime. Candidate RP IPv6 address of the locally configured C-RP.
Table 44 Command output Field Description Interface Name of the interface. NbrCnt Number of IPv6 PIM neighbors. HelloInt Interval for sending hello messages. DR-Pri Priority for DR election. DR-Address IPv6 address (link-local address) of the DR. # Display detailed IPv6 PIM information on Vlan-interface 1.
Field Description PIM hello interval Interval between two hello messages. PIM LAN delay (negotiated) Negotiated delay for sending prune messages. PIM LAN delay (configured) Configured delay for sending prune messages. PIM override interval (negotiated) Negotiated interval between two override messages. PIM override interval (configured) Configured interval between two override messages. PIM neighbor tracking (negotiated) Negotiated neighbor tracking status: enabled or disabled.
interface interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command displays information about IPv6 PIM neighbors on all interfaces. verbose: Displays detailed IPv6 PIM neighbor information. If you do not specify this keyword, this command displays brief IPv6 PIM neighbor information. Examples # Display brief information about all IPv6 PIM neighbors.
Field Description Interval for refreshing state. State refresh interval This field is displayed only when the IPv6 PIM neighbor is operating in IPv6 PIM-DM mode and the state refresh feature is enabled. Neighbor tracking Neighbor tracking status: enabled/disabled. Secondary address(es) Secondary IPv6 address (non-link-local address) of the IPv6 PIM neighbor. display ipv6 pim routing-table Use display ipv6 pim routing-table to display IPv6 PIM routing table information.
• rpt: Specifies IPv6 PIM routing entries on the RPT branches where (S, G) prunes have been sent to the RP. • spt: Specifies IPv6 PIM routing entries on the SPT. • swt: Specifies IPv6 PIM routing entries in the process of RPT-to-SPT switchover. • wc: Specifies IPv6 PIM routing entries with wildcards. fsm: Displays detailed information about the finite state machine. incoming-interface interface-type interface-number: Specifies an incoming interface.
Abbreviations for FSM states: NI - no info, J - joined, NJ - not joined, P - pruned, NP - not pruned, PP - prune pending, W - winner, L - loser, F - forwarding, AP - ack pending, DR - designated router, NDR - non-designated router, RCV - downstream receivers (2001::2, FFE3::101) RP: FE80::A01:100:1 Protocol: pim-sm, Flag: SPT LOC ACT UpTime: 02:54:43 Upstream interface: Vlan-interface1 Upstream neighbor: NULL RPF prime neighbor: NULL Join/Prune FSM: [SPT: J] [RPT: NP] Downstream interface(s) information: To
Field Description Flag of the (S, G) entry or (*, G) entry: • ACT—The entry has been used for routing data. • DEL—The entry will be removed. • EXPRUNE—Some outgoing interfaces are pruned by other IPv6 multicast routing protocols. • EXT—The entry contains outgoing interfaces provided by other multicast routing protocols. Flag • LOC—The entry is on a router directly connected to the same subnet with the IPv6 multicast source. • NIIF—The entry contains unknown incoming interfaces.
Parameters ipv6-group-address: Specifies an IPv6 multicast group by its address, in the range of FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, and FF0y::), where x and y represent any hexadecimal number from 0 to F, inclusive. If no IPv6 multicast group is specified, this command displays information about all RPs for IPv6 multicast groups. Examples # Display information about the RP for the IPv6 multicast group FF0E::101.
Field Description Uptime Length of time the RP has been up. Expires Remaining time of the RP lifetime. Preferred Whether the static RP is preferred. Configured ACL/ACL ACL defining the IPv6 multicast groups to which the static RP is designated. Mode IPv6 PIM mode to which the static RP is designated. RP mapping for this group IPv6 address of the RP to which the IPv6 multicast group is designated.
hello-option holdtime (IPv6 PIM view) Use hello-option holdtime to set the global IPv6 PIM neighbor lifetime. Use undo hello-option holdtime to restore the default. Syntax hello-option holdtime time undo hello-option holdtime Default The global IPv6 PIM neighbor lifetime is 105 seconds. Views IPv6 PIM view Predefined user roles network-admin Parameters time: Sets the IPv6 PIM neighbor lifetime (in seconds), in the range of 1 to 65535.
Views IPv6 PIM view Predefined user roles network-admin Parameters delay: Sets the prune delay (in milliseconds), in the range of 1 to 32767. Usage guidelines You can set the prune delay in IPv6 PIM view or interface view. The configurations made in IPv6 PIM view are effective on all interfaces, and the configurations made in interface view are effective on only the current interface.
effective on only the current interface. If you enable the neighbor tracking function in both IPv6 PIM view and interface view, the configuration in interface view always takes precedence. Examples # Enable the neighbor tracking function globally.
holdtime join-prune (IPv6 PIM view) Use holdtime join-prune to set the global joined/pruned state holdtime timer. Use undo holdtime join-prune to restore the default. Syntax holdtime join-prune time undo holdtime join-prune Default The global joined/pruned state holdtime timer is 210 seconds. Views IPv6 PIM view Predefined user roles network-admin Parameters time: Sets the joined/pruned state holdtime timer (in seconds), in the range of 1 to 65535.
Predefined user roles network-admin Examples # Enable IPv6 multicast routing and enter IPv6 PIM view. system-view [Sysname] ipv6 multicast routing-enable [Sysname] ipv6 pim [Sysname-pim6] ipv6 pim bfd enable Use ipv6 pim bfd enable to enable IPv6 PIM to work with BFD. Use undo ipv6 pim bfd enable to disable this feature. Syntax ipv6 pim bfd enable undo ipv6 pim bfd enable Default This feature is disabled.
Use ipv6 pim bsr-boundary to remove the configured IPv6 PIM domain border. Syntax ipv6 pim bsr-boundary undo ipv6 pim bsr-boundary Default No PIM domain border is configured. Views Interface view Predefined user roles network-admin Examples # Configure VLAN-interface 100 as a PIM domain border.
[Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] ipv6 pim dm Related commands ipv6 multicast routing-enable ipv6 pim hello-option dr-priority Use ipv6 pim hello-option dr-priority to set the priority for DR election for an interface. Use undo ipv6 pim hello-option dr-priority to restore the default. Syntax ipv6 pim hello-option dr-priority priority undo ipv6 pim hello-option dr-priority Default The priority for DR election is 1.
undo ipv6 pim hello-option holdtime Default The IPv6 PIM neighbor lifetime is 105 seconds. Views Interface view Predefined user roles network-admin Parameters time: Sets the IPv6 PIM neighbor lifetime (in seconds), in the range of 1 to 65535. A value of 65535 means that the IPv6 PIM neighbor is always reachable. Usage guidelines You can set the IPv6 PIM neighbor lifetime in IPv6 PIM view or interface view.
Usage guidelines You can set the prune delay in IPv6 PIM view or interface view. The configurations made in IPv6 PIM view are effective on all interfaces, and the configurations made in interface view are effective on only the current interface. If you set the prune delay in both IPv6 PIM view and interface view, the configuration in interface view always takes precedence. Examples # Set the prune delay to 200 milliseconds on VLAN-interface 100.
system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] ipv6 pim hello-option neighbor-tracking # Disable the neighbor tracking function on VLAN-interface 100 when the neighbor tracking function is enabled globally.
Related commands • hello-option lan-delay (IPv6 PIM view) • hello-option override-interval (IPv6 PIM view) • ipv6 pim hello-option lan-delay ipv6 pim holdtime join-prune Use ipv6 pim holdtime join-prune to set the joined/pruned state holdtime timer on an interface. Use undo ipv6 pim holdtime join-prune to restore the default. Syntax ipv6 pim holdtime join-prune time undo ipv6 pim holdtime join-prune Default The joined/pruned state holdtime timer is 210 seconds.
undo ipv6 pim neighbor-policy Default No source address range for hello messages is configured. All the received hello messages are considered legal. Views Interface view Predefined user roles network-admin Parameters acl6-number: Specifies an IPv6 basic ACL number, in the range of 2000 to 2999. Usage guidelines Use an IPv6 basic ACL to filter hello messages based on the IPv6 source addresses. If you specify a VPN instance in the ACL, the ACL does not take effect.
system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] ipv6 pim require-genid ipv6 pim sm Use ipv6 pim sm to enable IPv6 PIM-SM. Use undo ipv6 pim sm to disable IPv6 PIM-SM. Syntax ipv6 pim sm undo ipv6 pim sm Default IPv6 PIM-SM is disabled. Views Interface view Predefined user roles network-admin Usage guidelines This command takes effect only after you enable IPv6 multicast routing on the device.
Predefined user roles network-admin Examples # Disable state refresh on VLAN-interface 100. system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] undo ipv6 pim state-refresh-capable Related commands • state-refresh-hoplimit (IPv6 PIM view) • state-refresh-interval (IPv6 PIM view) • state-refresh-rate-limit (IPv6 PIM view) ipv6 pim timer graft-retry Use ipv6 pim timer graft-retry to set the graft retry timer.
undo ipv6 pim timer hello Default The hello interval is 30 seconds. Views Interface view Predefined user roles network-admin Parameters interval: Sets the interval (in seconds) for sending hello messages, in the range of 0 to 18000. A value of 0 means that no hello messages are sent. Usage guidelines You can set the interval for sending hello messages in IPv6 PIM view or interface view.
Usage guidelines You can set the interval for sending the join/prune messages in IPv6 PIM view or interface view. The configurations made in IPv6 PIM view are effective on all interfaces, and the configurations made in interface view are effective on only the current interface. If you set the interval in both IPv6 PIM view and interface view, the configuration in interface view always takes precedence. Examples # Set the interval for sending the join/prune messages to 80 seconds on VLAN-interface 100.
undo jp-pkt-size Default The maximum size of a join/prune message is 8100 bytes. Views IPv6 PIM view Predefined user roles network-admin Parameters size: Sets the maximum size (in bytes) of each join/prune message, in the range of 100 to 64000. Examples # Set the maximum size of each join/prune message to 1500 bytes. system-view [Sysname] ipv6 pim [Sysname-pim6] jp-pkt-size 1500 register-policy (IPv6 PIM view) Use register-policy to configure an IPv6 ACL rule to filter register messages.
system-view [Sysname] acl ipv6 number 3000 [Sysname-acl6-adv-3000] rule permit ipv6 source 3:1:: 64 destination ff0e:13:: 64 [Sysname-acl6-adv-3000] quit [Sysname] ipv6 pim [Sysname-pim6] register-policy 3000 register-whole-checksum (IPv6 PIM view) Use register-whole-checksum to configure the device to calculate the checksum based on an entire register message. Use undo register-whole-checksum to restore the default.
Parameters time: Sets the IPv6 multicast source lifetime (in seconds), in the range of 0 to 31536000. A value of 0 means that IPv6 multicast sources are never aged out. Examples # Set the IPv6 multicast source lifetime to 200 seconds. system-view [Sysname] ipv6 pim [Sysname-pim6] source-lifetime 200 source-policy (IPv6 PIM view) Use source-policy to configure an IPv6 multicast data filter. Use undo source-policy to remove the configured IPv6 multicast data filter.
[Sysname-pim6] source-policy 2000 [Sysname-pim6] quit spt-switch-threshold (IPv6 PIM view) Use spt-switch-threshold to configure the criteria for triggering a switchover to SPT. Use undo spt-switch-threshold to restore the default. Syntax spt-switch-threshold { immediacy | infinity } [ group-policy acl6-number ] undo spt-switch-threshold [ immediacy | infinity ] [ group-policy acl6-number ] Default The device immediately triggers a switchover to SPT after receiving the first IPv6 multicast packet.
Syntax state-refresh-hoplimit hoplimit-value undo state-refresh-hoplimit Default The hop limit for state refresh messages is 255. Views IPv6 PIM view Predefined user roles network-admin Parameters hoplimit-value: Specifies a hop limit for state refresh messages, in the range of 1 to 255. Examples # Set the hop limit for state refresh messages to 45.
Examples # Set the interval for sending state refresh messages to 70 seconds. system-view [Sysname] ipv6 pim [Sysname-pim6] state-refresh-interval 70 Related commands • ipv6 pim state-refresh-capable • state-refresh-hoplimit (IPv6 PIM view) • state-refresh-rate-limit (IPv6 PIM view) state-refresh-rate-limit (IPv6 PIM view) Use state-refresh-rate-limit to configure the time that the device waits before receiving a new state refresh message.
Use undo static-rp to remove a static RP. Syntax static-rp ipv6-rp-address [ acl6-number | preferred ] * undo static-rp ipv6-rp-address Default No static RP is configured. Views IPv6 PIM view Predefined user roles network-admin Parameters ipv6-rp-address: Specifies the IPv6 address of the static RP. This address must be a valid IPv6 global unicast address. acl6-number: Specifies an IPv6 basic ACL in the range of 2000 to 2999 to filter IPv6 multicast groups.
[Sysname-pim6] static-rp 2001::2 2001 preferred Related commands display ipv6 pim rp-info timer hello (IPv6 PIM view) Use timer hello to set the global interval for sending hello messages. Use undo timer hello to restore the default. Syntax timer hello interval undo timer hello Default The global interval for sending hello messages is 30 seconds.
undo timer join-prune Default The global interval for sending the join/prune messages is 60 seconds. Views IPv6 PIM view Predefined user roles network-admin Parameters interval: Sets the global interval (in seconds) for sending the join/prune messages, in the range of 0 to 18000. A value of 0 means that no join or prune messages are sent. Usage guidelines You can set the interval for sending the join/prune messages in IPv6 PIM view or interface view.
Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.
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. { x | y | ... } Braces enclose a set of required syntax choices separated by vertical bars, from which you select one.
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. Represents an access controller, a unified wired-WLAN module, or the switching engine on a unified wired-WLAN switch. Represents an access point.
Index BCDEFGHIJLMOPRSTW display l2-multicast forwarding-table,8 B display l2-multicast mac-forwarding-table,9 bsm-fragment enable (IPv6 PIM view),143 display mac-address multicast,29 bsm-fragment enable (PIM view),53 display mld group,135 bsr-policy (IPv6 PIM view),143 display mld interface,136 bsr-policy (PIM view),53 display mld-snooping,97 C display mld-snooping group,99 c-bsr (IPv6 PIM view),144 display mld-snooping router-port,100 c-bsr (PIM view),54 display mld-snooping static-group,10
hello-option dr-priority (PIM view),69 ipv6 pim hello-option holdtime,167 hello-option holdtime (IPv6 PIM view),161 ipv6 pim hello-option lan-delay,168 hello-option holdtime (PIM view),70 ipv6 pim hello-option neighbor-tracking,169 hello-option lan-delay (IPv6 PIM view),161 ipv6 pim hello-option override-interval,170 hello-option lan-delay (PIM view),70 ipv6 pim holdtime join-prune,171 hello-option neighbor-tracking (IPv6 PIM view),162 ipv6 pim neighbor-policy,171 hello-option neighbor-tracking
multicast boundary,39 reset igmp-snooping statistics,27 multicast load-splitting,40 reset ipv6 multicast forwarding-table,132 multicast longest-match,41 reset ipv6 multicast routing-table,133 multicast routing-enable,41 reset mld group,142 O reset mld-snooping group,121 reset mld-snooping router-port,121 overflow-replace (IGMP-snooping view),25 reset mld-snooping statistics,122 overflow-replace (MLD-snooping view),120 reset multicast forwarding-table,42 P reset multicast routing-table,42 pim