HP MSR2000/3000/4000 Router Series IP Multicast Command Reference (V7) Part number: 5998-4014 Software version: CMW710-R0007P02 Document version: 6PW100-20130927
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
load-splitting (MRIB view) ····································································································································· 44 longest-match (MRIB view) ···································································································································· 45 mac-address multicast ··········································································································································· 45 multicast boundary ··
pim timer hello ······················································································································································· 93 pim timer join-prune ·············································································································································· 93 pim triggered-hello-delay ······································································································································ 94 register-p
hello-option lan-delay (IPv6 PIM view) ·············································································································· 147 hello-option neighbor-tracking (IPv6 PIM view) ································································································ 148 hello-option override-interval (IPv6 PIM view) ·································································································· 149 holdtime join-prune (IPv6 PIM view) ························
IGMP snooping commands The IGMP snooping commands are available only on the MSR series routers with Ethernet Layer 2 switching interface modules. For information about the Ethernet Layer 2 switching interface modules, see HP MSR Router Series Interface Module Guide. The term "switch" in this document refers to the MSR series routers with Ethernet Layer 2 switching interface modules. display igmp-snooping Use display igmp-snooping to display IGMP snooping status.
Router-aging-time: 260s Max-response-time: 10s Last-member-query-interval: 2s IGMP snooping information: VLAN 10 IGMP snooping: Enabled Drop-unknown: Enabled Version: 3 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.
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 dynamic IGMP snooping forwarding entries for all multicast groups. 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.
Syntax MSR2000/MSR3000: display igmp-snooping router-port [ vlan vlan-id ] MSR4000: display igmp-snooping router-port [ vlan vlan-id ] [ 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. (MSR4000.
display igmp-snooping static-group [ group-address | source-address ] * [ vlan vlan-id ] [ verbose ] MSR4000: display igmp-snooping static-group [ group-address | source-address ] * [ vlan vlan-id ] [ verbose ] [ 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.
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 ip Use display l2-multicast ip to display information about Layer 2 IP multicast groups. Syntax MSR2000/MSR3000: display l2-multicast ip [ group group-address | source source-address ] * [ vlan vlan-id ] MSR4000: display l2-multicast ip [ group group-address | source source-address ] * [ vlan vlan-id ] [ slot slot-number ] Views Any view Predefined user roles network-admin network-operator Parameters group group-address: Specifies a multicast group by its IP address.
Field Description (0.0.0.0, 224.1.1.1) (S, G) entry. If the multicast source is not specified, the field in the S position displays 0.0.0.0. Entry attribute: Attribute • • • • • • dynamic—The entry is created by a dynamic protocol. static—The entry is created by a static protocol. pim—The entry is created by PIM. kernel—The entry is obtained from the kernel. success—Processing succeeds. fail—Processing fails.
source source-address: Specifies a multicast source by its IP address. If no multicast source is specified, this command displays information about Layer 2 IP multicast group entries for all multicast sources. vlan vlan-id: Specifies a VLAN by its ID in the range of 1 to 4094. If no VLAN is specified, this command displays information about Layer 2 IP multicast group entries for all VLANs. slot slot-number: Specifies a card by its slot number.
network-operator Parameters mac-address: Specifies a MAC multicast group by its MAC address. The MAC address value is 0100-5Exx-xxxx, where "x" is in the range of 0 to F. If no MAC multicast group is specified, this commands displays information about all Layer 2 MAC multicast groups. vlan vlan-id: Specifies a VLAN by its ID in the range of 1 to 4094. If no VLAN is specified, this command displays information about Layer 2 MAC multicast groups for all VLANs.
Views Any view Predefined user roles network-admin network-operator Parameters mac-address: Specifies a MAC multicast group by its MAC address. The MAC address value is 0100-5Exx-xxxx, where "x" is in the range of 0 to F. If no MAC multicast group is specified, this commands displays information about Layer 2 MAC multicast group entries for all MAC multicast groups. vlan vlan-id: Specifies a VLAN by its ID in the range of 1 to 4094.
Syntax enable vlan vlan-list undo enable vlan vlan-list Default A VLAN is disabled with IGMP snooping. Views IGMP-snooping view Predefined user roles network-admin 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. Examples # Enable IGMP snooping globally, and enable IGMP snooping for VLAN 2 through VLAN 10.
Examples # Set the global maximum number of IGMP snooping forwarding entries to 512. system-view [Sysname] igmp-snooping [Sysname-igmp-snooping] entry-limit 512 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.
Use undo group-policy to remove the configured global multicast group filter. Syntax group-policy acl-number [ vlan vlan-list ] undo group-policy [ vlan vlan-list ] 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.
host-aging-time (IGMP-snooping view) Use host-aging-time to set the aging timer for dynamic member ports globally. Use undo host-aging-time to restore the default. 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 for dynamic member ports, in the range of 200 to 1000 seconds.
Predefined user roles network-admin Examples # Enable IGMP snooping globally and enter IGMP-snooping view. system-view [Sysname] igmp-snooping [Sysname-igmp-snooping] Related commands • enable (IGMP-snooping view) • igmp-snooping enable igmp-snooping enable Use igmp-snooping enable to enable IGMP snooping for a VLAN. Use undo igmp-snooping enable to disable IGMP snooping for a VLAN. Syntax igmp-snooping enable undo igmp-snooping enable Default IGMP snooping is disabled in a VLAN.
Use undo igmp-snooping fast-leave to disable IGMP snooping fast-leave processing on a port. Syntax igmp-snooping fast-leave [ vlan vlan-list ] undo igmp-snooping fast-leave [ vlan vlan-list ] Default IGMP snooping fast-leave processing is disabled on a port. Views Layer 2 Ethernet interface view Predefined user roles network-admin Parameters vlan vlan-list: Specifies a space-separated list of up to ten VLAN items.
Predefined user roles network-admin Parameters limit: Sets the maximum number of multicast groups that a port can join, in the range of 0 to 4294967295. 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.
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 If the specified ACL does not exist or the ACL rule is null, all multicast groups are filtered out. You can configure different ACL rules on a port in different VLANs.
The configuration made in VLAN view takes effect only on the current VLAN and takes preference over the global configuration. Examples # Enable IGMP snooping for VLAN 2 and set the aging timer for the dynamic member ports in the VLAN to 300 seconds.
[Sysname] vlan 2 [Sysname-vlan2] igmp-snooping enable [Sysname-vlan2] igmp-snooping last-listener-query-interval 3 Related commands • igmp-snooping enable • last-member-query-interval (IGMP-snooping view) igmp-snooping max-response-time Use igmp-snooping max-response-time to set the maximum response time for IGMP general queries in the VLAN. Use undo igmp-snooping max-response-time to restore the default.
igmp-snooping overflow-replace Use igmp-snooping overflow-replace to enable the multicast group replacement function on a port. Use undo igmp-snooping overflow-replace to disable the multicast group replacement function on a port. Syntax igmp-snooping overflow-replace [ vlan vlan-list ] undo igmp-snooping overflow-replace [ vlan vlan-list ] Default The multicast group replacement function is disabled.
Views VLAN view Predefined user roles network-admin Parameters interval: Sets an aging timer for the dynamic router ports in a VLAN, in the range of 1 to 1000 seconds. Usage guidelines You must enable IGMP snooping for a VLAN before you execute this command for the VLAN. The configuration made in VLAN view takes effect only on the current VLAN and takes preference over the global configuration.
source-address: Specifies a multicast source by its IP address. all: Specifies all VLANs. vlan vlan-id: Specifies a VLAN. The value range for the vlan-id argument is 1 to 4094. Usage guidelines The source-ip source-address option is meaningful only for IGMPv3 snooping. If IGMPv2 snooping is running, the source-ip source-address option does not take effect, although you can include source-ip source-address in the command.
igmp-snooping version Use igmp-snooping version to specify the IGMP snooping version. Use undo igmp-snooping version to restore the default. Syntax igmp-snooping version version-number undo igmp-snooping version Default The default setting is IGMPv2 snooping. Views VLAN view Predefined user roles network-admin Parameters version-number: Specifies an IGMP snooping version, 2 or 3. Usage guidelines You must enable IGMP snooping for a VLAN before you execute this command for the VLAN.
Predefined user roles network-admin Parameters interval: Sets the IGMP last-member query interval in the range of 1 to 5 seconds. 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. The global configuration takes effect on all VLANs, but has a lower priority than the configuration made in a specific VLAN. Examples # Set the IGMP last-member query interval to 3 seconds.
Related commands igmp-snooping max-response-time overflow-replace (IGMP-snooping view) Use overflow-replace to enable the multicast group replacement function globally. Use undo overflow-replace to disable the multicast group replacement function globally. Syntax overflow-replace [ vlan vlan-list ] undo overflow-replace [ vlan vlan-list ] Default The multicast group replacement function is disabled globally.
Views User view Predefined user roles network-admin Parameters group-address: Specifies a multicast group by its IP address in the range of 224.0.1.0 to 239.255.255.255. source-address: Specifies a multicast source by its IP address. If no multicast source is specified, this command removes the dynamic IGMP snooping forwarding entries for all multicast sources. all: Specifies all multicast groups. vlan vlan-id: Specifies a VLAN. The value range for the vlan-id argument is 1 to 4094.
Syntax reset igmp-snooping statistics Views User view Predefined user roles network-admin Examples # Clear the statistics for all IGMP messages learned by IGMP snooping. reset igmp-snooping statistics Related commands display igmp-snooping statistics router-aging-time (IGMP-snooping view) Use router-aging-time to set the global aging timer for dynamic router ports. Use undo router-aging-time to restore the default.
version (IGMP-snooping view) Use version to specify the IGMP snooping version for specified VLANs. Use undo version to restore the default. Syntax version version-number vlan vlan-list undo version vlan vlan-list Default The default setting is IGMPv2 snooping. Views IGMP-snooping view Predefined user roles network-admin Parameters version-number: Specifies an IGMP snooping version, 2 or 3. vlan vlan-list: Specifies a space-separated list of up to ten VLAN items.
Multicast routing and forwarding commands delete ip rpf-route-static Use delete ip rpf-route-static to delete all static multicast routes. Syntax delete ip rpf-route-static [ vpn-instance vpn-instance-name ] Views System view Predefined user roles network-admin Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If this option is not specified, the command deletes all static multicast routes on the public network.
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 a hexadecimal number from 0 to F. 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 the static multicast MAC address entries for all VLANs. multicast: Specifies static multicast MAC address entries.
Syntax display mrib [ vpn-instance vpn-instance-name ] interface [ interface-type interface-number ] Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If this option is not specified, the command displays information about the interfaces maintained by the MRIB on the public network.
Field Description Protocol Protocol running on the interface: PIM-DM, PIM-SM, PIM-BIDIR, IGMP, and MD. Whether PIM is enabled: PIM protocol state • Enabled. • Disabled. Address list Interface address list. Local address Local IP address. Remote address Remote end IP address. This field is displayed when the interface is vlink type. Reference Address reference count. Status of the interface address: State • NORMAL. • DEL.
Boundary Interface 224.1.1.0/24 Eth1/1 239.2.2.0/24 Pos5/0 Table 13 Command output Field Description Boundary Multicast group that corresponds to the multicast boundary. Interface Boundary interface that corresponds to the multicast boundary. Related commands multicast boundary display multicast forwarding event Use display multicast forwarding event to display statistics for multicast forwarding events.
WrongIF rate limit: 1 packets/10s Total timer of register suppress timeout: 0 Table 14 Command output Field Description Total entry active event sent Number of times that the entry-active event has been sent. Total entry inactive event sent Number of times that the entry-inactive event has been sent. Total NoCache event sent Number of times that the NoCache event has been sent. Total NoCache event dropped Number of times that the NoCache event has been dropped.
Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If this option is not specified, the command displays information about the multicast forwarding table on the public network. 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.
Field Description (172.168.0.2,227.0.0.1) (S, G) entry of the multicast forwarding table. Flags Current state of the (S, G) entry. Different bits represent different states of (S, G) entries. For major values of this field, see Table 16. Uptime Length of time for which the (S, G) entry has been up. Timeout in Length of time in which the (S, G) entry will expire. Incoming interface Incoming interface of the (S, G) entry. List of 1 outgoing interface: Outgoing interface list.
Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If this option is not specified, the command displays information about the multicast routing table on the public network. 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.
Field Description (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. List of 2 downstream interfaces List of downstream interfaces that need to forward multicast packets.
Table 18 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 RPF information for multicast sources.
Field Description Type of the referenced route: Referenced route type Route selection rule • • • • • 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. 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.
interface-type interface-number: Specifies an interface by its type and number. The interface connects the RPF neighbor. preference: Specifies a route preference in the range of 1 to 255. The default value is 1. 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.
Parameters source: Specifies load splitting on a per-source basis. source-group: Specifies load splitting both on a per-source basis and on a per-group basis. Examples # Enable load splitting of multicast traffic on a per-source basis on the public network. system-view [Sysname] multicast routing [Sysname-mrib] load-splitting source longest-match (MRIB view) Use longest-match to configure the device to select the RPF route based on the longest prefix match principle.
mac-address multicast mac-address interface interface-list vlan vlan-id undo mac-address [ multicast ] [ [ mac-address [ interface interface-list ] ] vlan vlan-id ] In Layer 2 Ethernet interface view: mac-address multicast mac-address vlan vlan-id undo mac-address [ multicast ] mac-address vlan vlan-id Default No static multicast MAC address entry is configured.
multicast boundary Use multicast boundary to configure a multicast forwarding boundary. Use undo multicast boundary to remove a multicast forwarding boundary. Syntax multicast boundary group-address { mask-length | mask } undo multicast boundary { group-address { mask-length | mask } | all } Default No multicast forwarding boundary is configured. Views Interface view Predefined user roles network-admin Parameters group-address: Specifies a multicast group address in the range of 224.0.0.0 to 239.255.
Syntax multicast routing [ vpn-instance vpn-instance-name ] undo multicast routing [ vpn-instance vpn-instance-name ] Default IP multicast routing is disabled. Views System view Predefined user roles network-admin Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If this option is not specified, this command enables IP multicast routing on the public network.
Examples # Clear statistics for the multicast forwarding events on the public network. reset multicast forwarding event Usage guidelines display multicast forwarding event reset multicast forwarding-table Use reset multicast forwarding-table to clear the multicast forwarding entries.
reset multicast routing-table Use reset multicast routing-table to clear the multicast routing entries.
IGMP commands display igmp group Use display igmp group to display IGMP group information. Syntax display igmp [ vpn-instance vpn-instance-name ] group [ group-address | interface interface-type interface-number ] [ static | verbose ] Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.
Group: 225.1.1.1 Uptime: 00:00:34 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 20 Command output Field Description IGMP groups reported in total Total number of reported IGMP groups.
Related commands reset igmp group display igmp interface Use display igmp interface to display IGMP information on an interface. Syntax display igmp [ vpn-instance vpn-instance-name ] interface [ interface-type interface-number ] [ verbose ] Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.
Table 21 Command output Field Description Ethernet1/1(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.
Syntax igmp enable 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 on the public network or VPN instance. 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 Ethernet 1/1 on the public network.
Parameters acl-number: Specifies an IPv4 basic ACL by its number in the range of 2000 to 2999. The fast-leave processing function takes effect only on the multicast groups that match the permit statement in the specified ACL. If no ACL is specified, this command takes effect on all multicast groups. Examples # Enable fast-leave processing on Ethernet 1/1.
[Sysname-acl-basic-2005] rule permit source 225.1.1.1 0 [Sysname-acl-basic-2005] quit [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] igmp group-policy 2005 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.
Use undo igmp version to restore the default. Syntax igmp version version-number undo igmp version Default The default IGMP version is version 2. Views Interface view Predefined user roles network-admin Parameters version-number: Specifies an IGMP version in the range of 1 to 3. Examples # Specify IGMPv1 for Ethernet 1/1. system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] igmp version 1 reset igmp group Use reset igmp group to remove dynamic IGMP group entries.
mask-length: Specifies the address mask length. The default 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. Usage guidelines This command cannot remove static IGMP group entries. Execution of this command might interrupt the multicast information transmission. Examples # Remove the dynamic group entries for all IGMP groups on all interfaces on the public network.
PIM commands 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. Syntax bsm-fragment enable undo bsm-fragment enable Default BSM semantic fragmentation is enabled. Views PIM view Predefined user roles network-admin Usage guidelines Disable the BSM semantic fragmentation function if any device that does not support this function exists in the PIM-SM domain.
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 the time-range keyword and the fragment keyword are ignored. Examples # On the public network, configure the legal BSR address range to 10.1.1.
mask: Specifies the address mask. hash-length hash-length: Specifies a hash mask length in the range of 0 to 32. The default setting is 30. priority priority: Specifies a priority for the C-BSR, in the range of 0 to 255. The default setting is 64. A larger value represents a higher priority. Usage guidelines The IP address of a C-BSR must be the IP address of a local PIM enabled interface on the C-BSR. Otherwise, the configuration does not take effect.
priority priority: Specifies a priority for the C-RP, in the range of 0 to 255. The default setting is 192. A larger value represents a lower priority. Usage guidelines The IP address of a C-RP must be the IP address of a local PIM enabled interface on the C-RP. Otherwise, the configuration does not take effect. In an ACL, the source field specifies the multicast group range to which the C-RP is designated, and the other fields are ignored.
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 the time-range keyword and the fragment keyword are ignored. The crp-policy command filters the multicast group ranges advertised by C-RPs based on the group prefixes. For example, if the multicast group range that a C-RP advertises is 224.
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.1 Priority: 64 Hash mask length: 30 Uptime: 02:53:32 Candidate BSR address: 17.1.12.
display pim claimed-route Use display pim claimed-route to display information about all routes that PIM uses. Syntax display pim [ vpn-instance vpn-instance-name ] claimed-route [ source-address ] Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.
Table 23 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. mbgp—MBGP 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.
1.1.1.1 (local) 192 150 03:01:36 00:02:29 2.2.2.2 192 150 1d:13h 00:02:02 Group/MaskLen: 226.1.1.0/24 [B] Expires: 00:00:33 Group/MaskLen: 225.1.0.0/16 [B] 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.
Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If this option is not specified, the command displays PIM information on the public network. interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command displays PIM information on all interfaces. verbose: Displays detailed PIM information.
Number of routers on network not using DR priority: 0 Number of routers on network not using LAN delay: 0 Number of routers on network not using neighbor tracking: 2 Table 26 Command output Field Description PIM mode PIM mode: dense or sparse. PIM DR IP address of the DR. PIM DR Priority (configured) Configured priority for DR election. PIM neighbor count Total number of PIM neighbors. PIM hello interval Interval between two hello messages.
Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If this option is not specified, the command displays information about all PIM neighbors on the public network. neighbor-address: Specifies a PIM neighbor by its IP address. If you do not specify a PIM neighbor, this command displays information about all PIM neighbors.
Field Description Expires/Expiry time Time remaining of the PIM neighbor lifetime. If the PIM neighbor is always up and reachable, this field displays never. DR-Priority/DR Priority Priority of the PIM neighbor. Generation ID Generation ID of the PIM neighbor. (A random value that represents a status change of the PIM neighbor.) Holdtime Lifetime of the PIM neighbor. If the PIM neighbor is always up and reachable, this field displays forever. LAN delay Delay for sending prune messages.
• 2msdp: Specifies PIM routing entries to be contained in the next SA message to notify an MSDP peer. • act: Specifies PIM routing entries that have been used for routing data. • del: Specifies PIM routing entries to be deleted. • exprune: Specifies PIM routing entries containing outgoing interfaces pruned by other multicast routing protocols. • ext: Specifies PIM routing entries containing outgoing interfaces provided by other multicast routing protocols.
(172.168.0.12, 227.0.0.1) RP: 2.2.2.2 Protocol: pim-sm, Flag: SPT LOC ACT UpTime: 02:54:43 Upstream interface: Ethernet1/1 Upstream neighbor: NULL RPF prime neighbor: NULL Downstream interface(s) information: Total number of downstreams: 1 1: Vlan-interface2 Protocol: pim-sm, UpTime: 02:54:43, Expires: 00:02:47 Table 28 Command output Field Description Total 0 (*, G) entry; 1 (S, G) entry Total number of (S, G) entries and (*, G) entries in the PIM routing table. (172.168.0.2, 227.0.0.
Field Description Information about the downstream interfaces: Downstream interface(s) information • • • • • Total number of downstream interfaces. Names of the downstream interfaces. Protocol type on the downstream interfaces. Uptime of the downstream interfaces. Expiration time of the downstream interfaces. display pim rp-info Use display pim rp-info to display RP information in the PIM-SM domain.
Scope: non-scoped Group/MaskLen: 224.0.0.0/4 RP address Priority HoldTime Uptime Expires 1.1.1.1 (local) 192 150 03:01:36 00:02:29 2.2.2.2 192 150 1d:13h 00:02:02 Group/MaskLen: 225.1.0.0/16 RP address Priority HoldTime Uptime Expires 3.3.3.3 192 150 12w:5d 00:02:05 Static RP information: RP address ACL Mode Preferred 3.3.3.1 2000 pim-sm No 3.3.3.2 2001 pim-sm Yes 3.3.3.3 2002 pim-sm No pim-sm No pim-sm Yes 3.3.3.4 3.3.3.
Examples # Display statistics for PIM packets. display pim statistics Received PIM packets: 3295 Sent PIM packets : 5975 Valid Invalid Succeeded Failed Hello : 3128 0 4333 0 Reg : 14 0 0 0 Reg-stop : 0 0 0 0 JP : 151 0 561 0 BSM : 0 0 1081 0 Assert : 0 0 0 0 Graft : 0 0 0 0 Graft-ACK: 0 0 0 0 C-RP : 0 0 0 0 SRM : 0 0 0 0 Table 30 Command output Field Description Received PIM packets Total number of received PIM packets.
Syntax hello-option dr-priority priority undo hello-option dr-priority Default The global priority for DR election is 1. Views PIM view Predefined user roles network-admin Parameters priority: Sets the priority for DR election, in the range of 0 to 4294967295. A larger value represents a higher priority. Usage guidelines You can set the priority for DR election in PIM view or interface view.
Parameters time: Sets the PIM neighbor lifetime in the range of 1 to 65535 seconds. If the value for this argument is 65535, PIM neighbors are always reachable. Usage guidelines You can set the PIM neighbor lifetime in PIM view or interface view. The configurations made in PIM view take effect on all interfaces, and the configurations made in interface view take effect only on the current interface.
[Sysname-pim] hello-option lan-delay 200 Related commands • hello-option override-interval (PIM view) • pim hello-option lan-delay • pim hello-option override-interval hello-option neighbor-tracking (PIM view) Use hello-option neighbor-tracking to enable the neighbor tracking function globally, and disable the join message suppression function. Use undo hello-option neighbor-tracking to restore the default.
Default The global override interval is 2500 milliseconds. Views PIM view Predefined user roles network-admin Parameters interval: Sets the override interval in the range of 1 to 65535 milliseconds. Usage guidelines You can set the override interval in PIM view or interface view. The configurations made in PIM view take effect on all interfaces, and the configurations made in interface view take effect only on the current interface.
Usage guidelines You can set the joined/pruned state holdtime timer in PIM view or interface view. The configurations made in PIM view take effect on all interfaces and the configurations made in interface view take effect only on 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. Examples # Set the global joined/pruned state holdtime timer to 280 seconds on the public network.
undo pim [ vpn-instance vpn-instance-name ] Views System view Predefined user roles network-admin Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If this option is not specified, you enter public network PIM view. Examples # Enable IP multicast routing on the public network and enter public network PIM view.
Examples # On the public network, enable IP multicast routing, enable PIM-DM on interface Ethernet 1/1, and enable PIM to work with BFD on the interface. system-view [Sysname] multicast routing [Sysname-mrib] quit [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] pim dm [Sysname-Ethernet1/1] pim bfd enable Related commands • pim dm • pim sm pim bsr-boundary Use pim bsr-boundary to configure a PIM-SM domain border, namely, a bootstrap message boundary.
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 in the public network or the VPN instance. Examples # On the public network, enable IP multicast routing and enable PIM-DM on Ethernet 1/1.
current interface. If you set the priority for DR election in both PIM view and interface view, the configuration in interface view always takes precedence. Examples # Set the priority for DR election to 3 on Ethernet 1/1. system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] pim hello-option dr-priority 3 Related commands hello-option dr-priority (PIM view) pim hello-option holdtime Use pim hello-option holdtime to set the PIM neighbor lifetime on an interface.
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. Views Interface view Predefined user roles network-admin Parameters delay: Sets the prune delay in the range of 1 to 32767 milliseconds. Usage guidelines You can set the prune delay in PIM view or interface view.
pim hello-option neighbor-tracking disable undo pim hello-option neighbor-tracking Default The neighbor tracking function is disabled and the join message suppression function is enabled. Views Interface view Predefined user roles network-admin Usage guidelines You can enable the neighbor tracking function in PIM view or interface view. The configurations made in PIM view take effect on all interfaces, and the configurations made in interface view take effect only on the current interface.
Predefined user roles network-admin Parameters interval: Sets the override interval in the range of 1 to 65535 milliseconds. Usage guidelines You can set the override interval in PIM view or interface view. The configurations made in PIM view take effect on all interfaces, and the configurations made in interface view take effect only on the current interface. If you set the override interval in both PIM view and interface view, the configuration in interface view always takes precedence.
Examples # Set the joined/pruned state holdtime timer to 280 seconds on Ethernet 1/1. system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] pim holdtime join-prune 280 Related commands holdtime join-prune (PIM view) pim neighbor-policy Use pim neighbor-policy to configure a legal source address range for hello messages to guard against hello message spoofing. Use undo pim neighbor-policy to restore the default.
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. Views Interface view Predefined user roles network-admin Examples # Enable Ethernet 1/1 to drop hello messages without the generation ID options. system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] pim require-genid pim sm Use pim sm to enable PIM-SM. Use undo pim sm to disable PIM-SM.
Related commands multicast routing pim state-refresh-capable Use pim state-refresh-capable to enable the state refresh feature on the interface. Use undo pim state-refresh-capable to disable the state refresh feature. Syntax pim state-refresh-capable undo pim state-refresh-capable Default The state refresh feature is enabled. Views Interface view Predefined user roles network-admin Examples # Disable state refresh on Ethernet 1/1.
Parameters interval: Specifies a graft retry timer in the range of 1 to 65535 seconds. Examples # Set the graft retry timer to 80 seconds on Ethernet 1/1. system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] pim timer graft-retry 80 pim timer hello Use pim timer hello to set the interval for sending hello messages on an interface. Use undo pim timer hello 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. Views Interface view Predefined user roles network-admin Parameters interval: Sets an interval for sending the join/prune messages, in the range of 0 to 18000 seconds. If the value for this argument is 0, no join or prune messages are sent. Usage guidelines You can set the interval for sending the join/prune messages in PIM view or interface view.
Parameters delay: Sets the maximum delay for sending a hello message, in the range of 1 to 60 seconds. Examples # Set the maximum delay for sending a hello message to 3 seconds on Ethernet 1/1. system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] pim triggered-hello-delay 3 register-policy (PIM view) Use register-policy to configure an ACL rule to filter register messages. Use undo register-policy to remove the configured register filtering rule.
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. Syntax register-whole-checksum undo register-whole-checksum Default The device calculates the checksum based on the header of a register message.
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. Syntax source-policy acl-number undo source-policy Default No multicast data filter is configured. Views PIM 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.
Syntax spt-switch-threshold { traffic-rate | immediacy | infinity } [ group-policy acl-number ] undo spt-switch-threshold [ traffic-rate | immediacy | infinity ] [ group-policy acl-number ] Default The device immediately triggers a switchover to SPT after receiving the first multicast packet. Views PIM view Predefined user roles network-admin Parameters traffic-rate: Specifies a traffic rate threshold for triggering a switchover to SPT, in the range of 1 to 4194304 kbps.
ssm-policy (PIM view) Use ssm-policy to configure the SSM group range. Use undo ssm-policy to restore the default. Syntax ssm-policy acl-number undo ssm-policy Default The SSM group range is 232.0.0.0/8. Views PIM view Predefined user roles network-admin Parameters acl-number: Specifies a basic ACL by its number in the range of 2000 to 2999. Usage guidelines The source field in an ACL specifies the SSM group range. If you specify a VPN instance in the ACL, the ACL does not take effect.
Views PIM view Predefined user roles network-admin Parameters interval: Specifies the interval for sending state refresh messages, in the range of 1 to 255 seconds. Examples # Set the interval for sending state refresh messages to 70 seconds on the public network.
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.
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. acl-number: Specifies an IPv4 basic ACL by its number in the range of 2000 to 2999 to filter IPv4 multicast groups. The static RP is designated only to IPv4 multicast groups that pass the ACL filtering.
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 for sending hello messages, in the range of 0 to 18000 seconds. If the value for this argument is 0, no hello messages are sent. Usage guidelines You can set the interval for sending hello messages in PIM view or interface view.
Parameters interval: Sets the interval for sending join/prune messages, in the range of 0 to 18000 seconds. If the value for this argument is 0, 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 take effect on all interfaces, and the configurations made in interface view take effect only on the current interface.
IPv6 multicast routing and forwarding commands display ipv6 mrib interface Use display ipv6 mrib interface to display information about the interfaces maintained by the IPv6 MRIB, including IPv6 PIM interfaces, MLD interfaces, register interfaces, InLoopBack0 interfaces, and null0 interfaces.
Table 31 Command output Field Description Interface Interface name. Index Index number of the interface. Current status of the interface: Current state • Up. • Down. MTU MTU value. Interface type: Type Protocol • • • • • • BROADCAST—Broadcast link interface. P2P—P2P interface. LOOP—Loopback interface. REGISTER—Register interface. NBMA—NBMA interface. MTUNNEL—Multicast tunnel interface. Protocol running on the interface: PIM-DM, PIM-SM, PIM-BIDIR, and MLD.
group: Displays the IPv6 multicast boundary information for the specified group. ipv6-group-address: Specifies an IPv6 multicast group address in the range of FFxy::/16, where "x" and "y" represent any hexadecimal numbers from 0 through F. If this argument is not specified, this command displays the IPv6 multicast boundary information of all IPv6 multicast groups. prefix-length: Specifies the address prefix length in the range of 8 to 128. The default is 128.
Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If this option is not specified, the command displays statistics for the IPv6 multicast forwarding events on the public network. slot slot-number: Specifies a card by its slot number. If no card is specified, this command displays statistics for the IPv6 multicast forwarding events on the MPU. (MSR4000.
display ipv6 multicast forwarding-table Use display ipv6 multicast forwarding-table to display information about the IPv6 multicast forwarding table.
statistics: Displays statistics for the IPv6 multicast forwarding table. Examples # Display information about the IPv6 multicast forwarding table on the public network. display ipv6 multicast forwarding-table Total 1 entry, 1 matched 00001.
Value Meaning 0x40 The (S, G) entry is to be deleted. 0x80 The (S, G) entry is in registration suppression state. 0x100 The (S, G) entry is being deleted. 0x200 The (S, G) entry is in smoothing state. Related commands reset ipv6 multicast forwarding-table display ipv6 multicast routing-table Use display ipv6 multicast routing-table to display the IPv6 multicast routing table.
Usage guidelines IPv6 multicast routing tables are the basis of IPv6 multicast forwarding. You can display the establishment state of an (S, G) entry by examining the IPv6 multicast routing table. Examples # Display information about the IPv6 multicast routing table on the public network. display ipv6 multicast routing-table Total 1 entry 00001.
Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If this option is not specified, the command displays RPF information for IPv6 multicast sources on the public network. ipv6-source-address: Specifies an IPv6 multicast source address.
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.
# Configure Ethernet 1/1 to be the forwarding boundary of the IPv6 multicast groups in the admin-local scope. system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] ipv6 multicast boundary scope 4 Related commands display ipv6 multicast boundary ipv6 multicast routing Use ipv6 multicast routing to enable IPv6 multicast routing and enter IPv6 MRIB view. Use undo ipv6 multicast routing to disable IPv6 multicast routing.
load-splitting (IPv6 MRIB view) Use load-splitting to enable load splitting of IPv6 multicast traffic. Use multicast load-splitting to restore the default. Syntax load-splitting { source | source-group } undo load-splitting Default Load splitting of IPv6 multicast traffic is disabled. Views IPv6 MRIB view Predefined user roles network-admin Parameters source: Specifies IPv6 multicast load splitting on a per-source basis.
[Sysname] ipv6 multicast routing [Sysname-mrib6] longest-match reset ipv6 multicast forwarding event Use reset ipv6 multicast forwarding event to clear statistics for IPv6 multicast forwarding events. Syntax reset ipv6 multicast [ vpn-instance vpn-instance-name ] forwarding event Views User view Predefined user roles network-admin Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.
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. interface-type interface-number: Specifies an interface by its type and number.
all: Specifies all routing entries in the IPv6 multicast routing table. 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 on the public network.
MLD commands display mld group Use display mld group to display MLD group information. Syntax display mld [ vpn-instance vpn-instance-name ] group [ ipv6-group-address | interface interface-type interface-number ] [ static | verbose ] Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.
Source list (sources in total: 1): Source: 10::10 Uptime: 00:00:09 Expires: 00:04:11 Last-listener-query-counter: 0 Last-listener-query-timer-expiry: Off Table 38 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.
Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If this option is not specified, the command displays MLD information on an interface on the public network. 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.
Field Description Last listener query interval MLD last listener query interval, in seconds. Startup query interval MLD startup query interval, in seconds. Startup query count Number of MLD general queries sent on startup. General query timer expiry Remaining time of the MLD general query timer. If the timer never times out, this field displays Off. Querier for MLD IPv6 link-local address of the MLD querier.
Views Interface view Predefined user roles network-admin Usage guidelines You must enable IPv6 multicast routing before executing this command in the public network or VPN instance. 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 Ethernet 1/1 on the public network.
[Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] mld fast-leave mld group-policy Use mld group-policy to configure an IPv6 multicast group filter for an interface to control the IPv6 multicast groups that the hosts on the interface can join. Use undo mld group-policy to remove the configured IPv6 multicast group filter.
mld static-group Use mld static-group to configure an interface as a static member of the specified IPv6 multicast group or the specified IPv6 multicast source and group. Use undo mld static-group to restore the default. Syntax mld static-group ipv6-group-address [ source ipv6-source-address ] undo mld static-group { all | ipv6-group-address [ source ipv6-source-address ] } Default An interface is not a static member of any IPv6 multicast group or IPv6 multicast source and group.
Syntax mld version version-number undo mld version Default The MLD version is MLDv1. Views Interface view Predefined user roles network-admin Parameters version-number: Specifies an MLD version, 1 or 2. Examples # Specify MLDv2 for Ethernet 1/1. system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] mld version 2 reset mld group Use reset mld group to remove dynamic MLD group entries.
Usage guidelines This command cannot remove the static MLD group entries. Execution of this command might interrupt the IPv6 multicast information transmission. Examples # Remove the dynamic group entries for all MLD groups on all interfaces on the public network. reset mld group all # Remove the dynamic group entries for MLD groups on Ethernet 1/1 on the public network.
IPv6 PIM commands 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. Syntax bsm-fragment enable undo bsm-fragment enable Default BSM semantic fragmentation is enabled. Views IPv6 PIM view Predefined user roles network-admin Usage guidelines Disable the BSM semantic fragmentation function if any device that does not support this function exists in the IPv6 PIM-SM domain.
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. The other optional parameters except the time-range keyword and the fragment keyword are ignored.
priority priority: Specifies a priority for the C-BSR, in the range of 0 to 255. The default setting is 64. A larger value represents a higher priority. Usage guidelines The IPv6 address of a C-BSR must be the IPv6 address of a local IPv6 PIM enabled interface on the C-BSR. Otherwise, the configuration does not take effect. If you execute this command for a zone multiple times, the most recent configuration takes effect. You can configure the same C-BSR for different zones.
priority priority: Specifies a priority for the C-RP, in the range of 0 to 255. The default setting is 192. A larger value represents a lower priority. Usage guidelines The IPv6 address of a C-RP must be the IPv6 address of a local IPv6 PIM enabled interface on the C-RP. Otherwise, the configuration does not take effect. In an ACL, the source field specifies the IPv6 multicast group range to which the C-RP is designated, and the other fields are ignored.
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 the time-range keyword and the fragment keyword are ignored. The crp-policy command filters the IPv6 multicast group ranges advertised by C-RPs based on the group prefixes.
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 address: 61:37::1 Priority: 64 Hash mask length: 126 Uptime: 02:53:32 Candidate BSR address: 17:12::1 Priority: 64 Hash mask length: 126 Scope: 8 S
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 [ vpn-instance vpn-instance-name ] claimed-route [ipv6-source-address ] Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.
Field Description 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. display ipv6 pim c-rp Use display ipv6 pim c-rp to display C-RP information in the IPv6 PIM-SM domain.
Table 42 Command output Field Description Group/MaskLen IPv6 multicast group to which the C-RP is designated. HoldTime C-RP lifetime. Length of time the C-RP has been up: • w—Weeks. • d—Days. • h—Hours. Uptime Expires Remaining time of the C-RP/IPv6 multicast group lifetime. Candidate RP IPv6 address of the locally configured C-RP. Advertisement interval Interval between two advertisement messages sent by the locally configured C-RP.
Table 43 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 Ethernet 1/1 on the public network.
Field Description 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.
ipv6-neighbor-address: Specifies an IPv6 PIM neighbor by its IPv6 address. If you do not specify an IPv6 PIM neighbor, this command displays information about all IPv6 PIM neighbors. 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.
Field Description Override interval Interval between two override messages. 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.
• loc: Specifies IPv6 PIM routing entries on the devices that reside on the same subnet as the IPv6 multicast source. • niif: Specifies IPv6 PIM routing entries containing unknown incoming interfaces. • nonbr: Specifies IPv6 PIM routing entries with IPv6 PIM neighbor lookup failure. • 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.
Protocol: pim-sm, UpTime: 02:54:43, Expires: 00:02:47 # Display the state machine information of the IPv6 PIM routing table on the public network.
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 vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If this option is not specified, the command displays RP information on the public network. 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 numbers from 0 to F, inclusive.
Field Description HoldTime RP lifetime. 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 RP service mode. Only IPv6 PIM-SM is supported. RP mapping for this group IPv6 address of the RP that provides services for the IPv6 multicast group.
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 the range of 1 to 65535 seconds.
Views IPv6 PIM view Predefined user roles network-admin Parameters delay: Sets the prune delay in the range of 1 to 32767 milliseconds. Usage guidelines You can set the prune delay in IPv6 PIM view or interface view. The configurations made in IPv6 PIM view take effect on all interfaces, and the configurations made in interface view take effect only on 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 # Enable the neighbor tracking function globally on the public network. system-view [Sysname] ipv6 pim [Sysname-pim6] hello-option neighbor-tracking Related commands ipv6 pim hello-option neighbor-tracking hello-option override-interval (IPv6 PIM view) Use hello-option override-interval to set the global override interval. Use undo hello-option override-interval to restore the default.
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 the range of 1 to 65535 seconds. Usage guidelines You can set the joined/pruned state holdtime timer in IPv6 PIM view or interface view.
Examples # Enable IPv6 multicast routing on the public network and enter public network IPv6 PIM view. system-view [Sysname] ipv6 multicast routing [Sysname-mrib6] quit [Sysname] ipv6 pim [Sysname-pim6] # Enable IPv6 multicast routing in VPN instance mvpn and enter IPv6 PIM view of VPN instance mvpn.
ipv6 pim bsr-boundary Use ipv6 pim bsr-boundary to configure an IPv6 PIM domain border (a bootstrap message boundary). 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 Ethernet 1/1 as a PIM domain border.
Examples # Enable IPv6 multicast routing, and enable IPv6 PIM-DM on Ethernet 1/1 on the public network. system-view [Sysname] ipv6 multicast routing [Sysname-mrib6] quit [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] ipv6 pim dm Related commands ipv6 multicast routing 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.
ipv6 pim hello-option holdtime Use ipv6 pim hello-option holdtime to set the IPv6 PIM neighbor lifetime on an interface. Use undo ipv6 pim hello-option holdtime to restore the default. Syntax ipv6 pim hello-option holdtime time 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 the range of 1 to 65535 seconds.
Views Interface view Predefined user roles network-admin Parameters delay: Sets the prune delay in the range of 1 to 32767 milliseconds. Usage guidelines You can set the prune delay in IPv6 PIM view or interface view. The configurations made in IPv6 PIM view take effect on all interfaces, and the configurations made in interface view take effect only on 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.
Usage guidelines You can enable the neighbor tracking function in IPv6 PIM view or interface view. The configurations made in IPv6 PIM view take effect on all interfaces, and the configurations made in interface view take effect only on 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 on Ethernet 1/1.
Examples # Set the override interval to 2000 milliseconds on Ethernet 1/1. system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] ipv6 pim hello-option override-interval 2000 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.
ipv6 pim neighbor-policy Use ipv6 pim neighbor-policy to configure a legal source address range for hello messages to guard against hello message spoofing. Use undo ipv6 pim neighbor-policy to restore the default. Syntax ipv6 pim neighbor-policy acl6-number 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 Examples # Enable Ethernet 1/1 to drop hello messages without the generation ID options. system-view [Sysname] interface ethernet 1/1 [Sysname-Ethernet1/1] 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.
Syntax ipv6 pim state-refresh-capable undo ipv6 pim state-refresh-capable Default The state refresh feature is enabled. Views Interface view Predefined user roles network-admin Examples # Disable state refresh on Ethernet 1/1.
ipv6 pim timer hello Use ipv6 pim timer hello to set the interval for sending hello messages on an interface. Use undo ipv6 pim timer hello to restore the default. Syntax ipv6 pim timer hello interval 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 for sending hello messages, in the range of 0 to 18000 seconds. If the value for this argument is 0, no hello messages are sent.
Views Interface view Predefined user roles network-admin Parameters interval: Sets the interval for sending the join/prune messages , in the range of 0 to 18000 seconds. If the value for this argument is 0, 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.
jp-pkt-size (IPv6 PIM view) Use jp-pkt-size to set the maximum size of each join/prune message. Use undo jp-pkt-size to restore the default. Syntax jp-pkt-size size 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 of each join/prune message, in the range of 100 to 64000 bytes. Examples # Set the maximum size of each join/prune message to 1500 bytes on the public network.
Usage guidelines Use an IPv6 advanced ACL to filter register messages based on source IPv6 addresses and IPv6 multicast group addresses. If you specify a VPN instance in the ACL, the ACL does not take effect. The other optional parameters except the time-range keyword and the fragment keyword are ignored. The RP accepts only register messages that match the permit statement of the ACL.
Syntax source-lifetime time undo source-lifetime Default The lifetime of an IPv6 multicast source is 210 seconds. Views IPv6 PIM view Predefined user roles network-admin Parameters time: Sets the IPv6 multicast source lifetime in the range of 0 to 31536000 seconds. If the value for this argument is 0, IPv6 multicast sources are never aged out. Examples # Set the IPv6 multicast source lifetime to 200 seconds on the public network.
If you execute this command multiple times, the most recent configuration takes effect. Examples # On the public network, configure a multicast data filter to accept the IPv6 multicast packets from the IPv6 multicast source 3121::1 and discard the multicast packets from the IPv6 multicast source 3121::2.
The source field in an ACL specifies the IPv6 multicast group range. If you specify a VPN instance in the ACL, the ACL does not take effect. The other optional parameters except the time-range keyword and the fragment keyword are ignored. You can configure multiple traffic rate thresholds by executing this command multiple times. However, if you specify the same ACL in the commands, the most recent configuration takes effect.
[Sysname] acl ipv6 number 2000 [Sysname-acl6-basic-2000] rule permit source ff3e:0:8192:: 96 [Sysname-acl6-basic-2000] quit [Sysname] ipv6 pim [Sysname-pim6] ssm-policy 2000 state-refresh-hoplimit (IPv6 PIM view) Use state-refresh-hoplimit to set the hop limit for state refresh messages. Use undo state-refresh-hoplimit to restore the default. 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 interval: Specifies the interval for sending state refresh messages, in the range of 1 to 255 seconds. Examples # Set the interval for sending state refresh messages to 70 seconds on the public network.
Related commands • ipv6 pim state-refresh-capable • state-refresh-hoplimit (IPv6 PIM view) • state-refresh-interval (IPv6 PIM view) static-rp (IPv6 PIM view) Use static-rp to configure a static RP. 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.
Examples # On the public network, configure the interface with the IPv6 address of 2001::2 as a static RP for the IPv6 multicast groups FF03::101/64, and give priority to this static RP when conflicts exist between static and dynamic RPs.
timer join-prune (IPv6 PIM view) Use timer join-prune to configure the global interval for sending the join/prune messages. Use undo timer join-prune to restore the default. Syntax timer join-prune interval 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 for sending the join/prune messages, in the range of 0 to 18000 seconds.
Multicast VPN commands default-group Use default-group to specify a default-group address. Use undo default-group to restore the default. Syntax default-group group-address undo default-group Default No default-group address is specified. Views MD view Predefined user roles network-admin Parameters group-address: Specifies a default-group address in the range of 224.0.1.0 to 239.255.255.255.
Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If this option is not specified, the command displays the default-group information of all VPN instances. Examples # Display information about default-groups for all VPN instances. display multicast-domain default-group Group address Source address Interface VPN instance 239.1.1.1 1.1.1.1 MTunnel0 mvpna 239.2.1.1 1.1.1.1 MTunnel1 mvpnb 239.3.1.
source Use source to specify the MD source interface. Use undo source to restore the default. Syntax source interface-type interface-number undo source Default No MD source interface is specified. Views MD view Predefined user roles network-admin Parameters interface-type interface-number: Specifies an interface by its type and number. Usage guidelines The IP address of the MD source interface must be the same as the source address used for establishing BGP peer relationship.
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 BCDEFGHIJLMOPRSTVW display l2-multicast ip forwarding,9 B display l2-multicast mac,10 bsm-fragment enable (IPv6 PIM view),129 display l2-multicast mac forwarding,11 bsm-fragment enable (PIM view),60 display mac-address multicast,32 bsr-policy (IPv6 PIM view),129 display mld group,120 bsr-policy (PIM view),60 display mld interface,121 C display mrib interface,33 c-bsr (IPv6 PIM view),130 display multicast boundary,35 c-bsr (PIM view),61 display multicast forwarding event,36 c-rp (IPv6
hello-option lan-delay (PIM view),79 ipv6 pim timer graft-retry,160 hello-option neighbor-tracking (IPv6 PIM view),148 ipv6 pim timer hello,161 hello-option neighbor-tracking (PIM view),80 ipv6 pim timer join-prune,161 hello-option override-interval (IPv6 PIM view),149 ipv6 pim triggered-hello-delay,162 hello-option override-interval (PIM view),80 J holdtime join-prune (IPv6 PIM view),149 jp-pkt-size (IPv6 PIM view),163 holdtime join-prune (PIM view),81 jp-pkt-size (PIM view),82 host-aging-tim
pim timer hello,93 source-policy (PIM view),97 pim timer join-prune,93 spt-switch-threshold (IPv6 PIM view),166 pim triggered-hello-delay,94 spt-switch-threshold (PIM view),97 R ssm-policy (IPv6 PIM view),167 ssm-policy (PIM view),99 register-policy (IPv6 PIM view),163 state-refresh-hoplimit (IPv6 PIM view),168 register-policy (PIM view),95 state-refresh-interval (IPv6 PIM view),168 register-whole-checksum (IPv6 PIM view),164 state-refresh-interval (PIM view),99 register-whole-checksum (PIM vi