HP 6600/HSR6600 Routers IP Multicast Command Reference Part number: 5998-1496 Software version: A6602-CMW520-R3303P05 A6600-CMW520-R3303P05-RPE A6600-CMW520-R3303P05-RSE HSR6602_MCP-CMW520-R3303P05 Document version: 6PW105-20140507
Legal and notice information © Copyright 2014 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 configuration commands ·················································································································· 1 display igmp-snooping group ································································································································· 1 display igmp-snooping host ···································································································································· 3 display igmp-snooping stati
display multicast forwarding-table ······················································································································· 40 display multicast forwarding-table df-info ··········································································································· 43 display multicast routing-table ······························································································································ 45 display multicast routing-table static
reset igmp ssm-mapping group ···························································································································· 97 robust-count (IGMP view) ······································································································································ 98 send-router-alert (IGMP view) ······························································································································· 99 ssm-mapping (IGMP view) ·······
pim holdtime assert ············································································································································· 150 pim holdtime join-prune ······································································································································ 151 pim neighbor-policy ············································································································································ 151 pim require-genid
balance (MBGP address family view) ··············································································································· 196 bestroute as-path-neglect (MBGP address family view)··················································································· 197 bestroute compare-med (MBGP address family view) ····················································································· 198 bestroute med-confederation (MBGP address family view) ···························
reset bgp ipv4 multicast ······································································································································ 245 reset bgp ipv4 multicast dampening ················································································································· 246 reset bgp ipv4 multicast flap-info ······················································································································· 246 summary automatic (MBGP address fami
mld enable ··························································································································································· 301 mld fast-leave ······················································································································································· 301 mld group-limit ····················································································································································· 302
display pim ipv6 routing-table ··························································································································· 344 display pim ipv6 rp-info······································································································································ 347 embedded-rp ························································································································································ 349 hello-option dr-prior
default local-preference (IPv6 MBGP address family view) ············································································ 383 default med (IPv6 MBGP address family view) ································································································ 384 default-route imported (IPv6 MBGP address family view) ··············································································· 385 display bgp ipv6 multicast group ·························································
pim-snooping enable··········································································································································· 431 reset pim-snooping statistics ······························································································································· 432 Multicast VLAN configuration commands ············································································································· 433 display multicast-vlan ···········
IGMP snooping configuration commands The commands in this chapter are supported only when the SAP module is operating in bridge mode. display igmp-snooping group Use display igmp-snooping group to display IGMP snooping group information, including both dynamic entries and static entries.
Total 1 IP Source(s). Total 1 MAC Group(s). Router port unit board: Mask(0x00) Router port(s):total 1 port(s). GE2/0/1 (D) ( 00:01:30 ) IP group(s):the following ip group(s) match to one mac group. IP group address:224.1.1.1 (0.0.0.0, 224.1.1.1): Attribute: Host Port Host port unit board: Mask(0x10) Host port(s):total 1 port(s). GE2/0/2 (D) ( 00:03:23 ) MAC group(s): MAC group address:0100-5e01-0101 Host port unit board: Mask(0x10) Host port(s):total 1 port(s).
Field Description Host port(s) Number of member ports. display igmp-snooping host Use display igmp-snooping host to display information about the hosts tracked by IGMP snooping. Syntax display igmp-snooping host vlan vlan-id group group-address [ source source-address ] [ slot slot-number ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters vlan vlan-id: Specifies a VLAN. The value range for the vlan-id argument is 1 to 4094.
2.2.2.2 00:02:21 00:00:39 Host Uptime Expires 3.3.3.3 00:02:20 00:00:40 Port : GigabitEthernet2/0/2 Table 2 Command output Field Description VLAN(ID) VLAN ID. (0.0.0.0, 224.1.1.1) (S, G) entry, where 0.0.0.0 indicates all multicast sources. Port Member port. Host Host IP address. Uptime Host running duration. Expires Host expiration time, where timeout means that the host has expired.
Received IGMPv3 reports with right and wrong records:0. Received IGMPv3 specific queries:0. Received IGMPv3 specific sg queries:0. Sent IGMPv3 specific queries:0. Sent IGMPv3 specific sg queries:0. Received error IGMP messages:19. Table 3 Command output Field Description general queries Number of general queries. specific queries Number of group-specific queries. reports Number of reports. leaves Number of leave messages.
entry-limit (IGMP-snooping view) Use entry-limit to set the global maximum number of IGMP snooping forwarding entries. Use undo entry-limit to restore the default. Syntax entry-limit limit undo entry-limit Default The maximum number is 1000. Views IGMP-snooping view Default command level 2: System level Parameters limit: Specifies the maximum number of IGMP snooping forwarding entries, in the range of 0 to 1000. Examples # Set the maximum number of IGMP snooping forwarding entries to 512.
end-vlan-id, where the end VLAN ID must be greater than the start VLAN ID. The value range of a VLAN ID is 1 to 4094. If you do not specify any VLAN, the command takes effect for all VLANs. If you specify one or more VLANs, the command takes effect for the specified VLANs only. Usage guidelines For a router that supports both IGMP snooping and IGMP and is installed with the SAP module, this command takes effects in IGMP snooping-enabled VLANs and VLANs with IGMP-enabled VLAN interfaces.
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 for a port in different VLANs. For a given VLAN, a newly configured ACL rule overrides the existing one. Examples # Apply ACL 2000 as a multicast group filter in VLAN 2 so that hosts in this VLAN can join only the multicast group 225.1.1.1. system-view [Sysname] acl number 2000 [Sysname-acl-basic-2000] rule permit source 225.1.1.
Related commands igmp-snooping host-aging-time host-tracking (IGMP-snooping view) Use host-tracking to enable the IGMP snooping host tracking function globally. Use undo host-tracking to disable the IGMP snooping host tracking function globally. Syntax host-tracking undo host-tracking Default This function is disabled.
Views System view Default command level 2: System level Examples # Enable IGMP snooping globally and enter IGMP-snooping view. system-view [Sysname] igmp-snooping [Sysname-igmp-snooping] Related commands igmp-snooping enable igmp-snooping dot1p-priority Use igmp-snooping dot1p-priority to set the 802.1p precedence for IGMP messages in a VLAN. Use undo igmp-snooping dot1p-priority to restore the default.
igmp-snooping drop-unknown Use igmp-snooping drop-unknown to enable dropping unknown multicast data in the VLAN. Use undo igmp-snooping drop-unknown to disable dropping unknown multicast data in the VLAN. Syntax igmp-snooping drop-unknown undo igmp-snooping drop-unknown Default This function is disabled, and unknown multicast data is flooded. Views VLAN view Default command level 2: System level Usage guidelines This command takes effect only if IGMP snooping is enabled in the VLAN.
Usage guidelines IGMP snooping must be enabled globally before it can be enabled in a VLAN. Examples # Enable IGMP snooping in VLAN 2. system-view [Sysname] igmp-snooping [Sysname-igmp-snooping] quit [Sysname] vlan 2 [Sysname-vlan2] igmp-snooping enable Related commands igmp-snooping igmp-snooping fast-leave Use igmp-snooping fast-leave to enable fast-leave processing on a port.
If you do not specify any VLAN when using this command in port group view, the command takes effect on all the ports in this group. If you specify one or more VLANs, the command takes effect only on those ports in this group that belong to the specified VLANs. Examples # Enable fast-leave processing on GigabitEthernet 2/0/1 in VLAN 2.
Related commands igmp-snooping enable igmp-snooping group-limit Use igmp-snooping group-limit to set the maximum number of multicast groups that a port can join. Use undo igmp-snooping group-limit to restore the default.
Related commands igmp group-limit 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 a multicast group filter. 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 an interface.
system-view [Sysname] acl number 2000 [Sysname-acl-basic-2000] rule permit source 225.1.1.1 0 [Sysname-acl-basic-2000] quit [Sysname] interface gigabitethernet 2/0/1 [Sysname-gigabitethernet2/0/1] igmp-snooping group-policy 2000 vlan 2 Related commands group-policy igmp-snooping host-aging-time Use igmp-snooping host-aging-time to set the aging timer for the dynamic member ports in the current VLAN. Use undo igmp-snooping host-aging-time to restore the default.
igmp-snooping host-join Use igmp-snooping host-join to configure a port on the SAP module as a simulated member host for the specified multicast group or the specified multicast source and group. Use undo igmp-snooping host-join to remove a simulated member host from the specified multicast group or the specified multicast source and group.
[Sysname-igmp-snooping] quit [Sysname] vlan 2 [Sysname-vlan2] igmp-snooping enable [Sysname-vlan2] igmp-snooping version 3 [Sysname-vlan2] quit [Sysname] interface gigabitethernet 2/0/1 [Sysname-GigabitEthernet2/0/1] igmp-snooping host-join 232.1.1.1 source-ip 1.1.1.1 vlan 2 igmp-snooping host-tracking Use igmp-snooping host-tracking to enable the IGMP snooping host tracking function in a VLAN. Use undo igmp-snooping host-tracking to disable the IGMP snooping host tracking function in a VLAN.
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 Default command level 2: System level Parameters interval: Sets the IGMP last-member query interval in seconds, 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 delay for IGMP group-specific queries in a VLAN.
Default command level 2: System level Parameters ip-address: Specifies a source address for the IGMP leave messages that the IGMP snooping proxy sends, which can be any legal IP address. current-interface: Specifies the IP address of the current VLAN interface as the source address of IGMP leave messages that the IGMP snooping proxy sends. If no IP address has been assigned to the current VLAN interface, the default IP address 0.0.0.0 is used.
Usage guidelines This command takes effect only if IGMP snooping is enabled in the VLAN. Examples # Enable IGMP snooping and set the maximum response delay for IGMP general queries to 5 seconds in VLAN 2.
specify one or more VLANs, the command takes effect for the specified VLANs that the interface belongs to. If you do not specify any VLAN when using this command in port group view, the command takes effect on all the ports in this group. If you specify one or more VLANs, the command takes effect only on those ports in this group that belong to the specified VLANs. Examples # Enable the multicast group replacement function on GigabitEthernet 2/0/1 in VLAN 2.
igmp-snooping querier Use igmp-snooping querier to enable the IGMP snooping querier function. Use undo igmp-snooping querier to disable the IGMP snooping querier function. Syntax igmp-snooping querier undo igmp-snooping querier Default The IGMP snooping querier function is disabled. Views VLAN view Default command level 2: System level Usage guidelines This command takes effect only if IGMP snooping is enabled in the VLAN.
Parameters interval: Specifies an interval in seconds for sending IGMP general queries, in the range of 2 to 300. Usage guidelines This command takes effect only if IGMP snooping is enabled in the VLAN. Examples # Enable IGMP snooping and set the interval for sending IGMP general queries to 20 seconds in VLAN 2.
Usage guidelines Before you configure this command in a VLAN, enable IGMP snooping in the VLAN. The source IP address configured in the igmp-snooping report source-ip command also applies when the simulated host sends IGMP reports. Examples # On VLAN 2, enable IGMP snooping and configure the source IP address for IGMP reports that the IGMP snooping proxy sends to 10.1.1.1.
[Sysname-vlan2] igmp-snooping enable [Sysname-vlan2] igmp-snooping router-aging-time 100 Related commands • igmp-snooping enable • router-aging-time igmp-snooping router-port-deny Use igmp-snooping router-port-deny to disable a port from becoming a dynamic router port. Use undo igmp-snooping router-port-deny to restore the default. Syntax igmp-snooping router-port-deny [ vlan vlan-list ] undo igmp-snooping router-port-deny [ vlan vlan-list ] Default A port can become a dynamic router port.
igmp-snooping source-deny Use igmp-snooping source-deny to enable multicast source port filtering. Use undo igmp-snooping source-deny to disable multicast source port filtering. Syntax igmp-snooping source-deny undo igmp-snooping source-deny Default Multicast source port filtering is disabled.
current-interface: Specifies the address of the current VLAN interface as the source address of IGMP group-specific queries. If the current VLAN interface does not have an IP address, the default IP address 0.0.0.0 is used as the source IP address of IGMP group-specific queries. Usage guidelines This command takes effect only if IGMP snooping is enabled in the VLAN. Examples # On VLAN 2, enable IGMP snooping and specify 10.1.1.1 as the source IP address of IGMP group-specific queries.
Usage guidelines The source-ip source-address option in the command 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. In Layer 2 Ethernet interface view or Layer 2 aggregate interface view, this command takes effect only if the interface belongs to the specified VLAN.
In Layer 2 Ethernet interface view or Layer 2 aggregate interface view, this command takes effect only if the interface belongs to the specified VLAN. In port group view, this command takes effect only on those ports in this port group that belong to the specified VLAN. Examples # Configure GigabitEthernet2/0/1 in VLAN 2 as a static router port.
last-member-query-interval (IGMP-snooping view) Use last-member-query-interval to configure the IGMP last-member query interval globally. Use undo last-member-query-interval to restore the default. Syntax last-member-query-interval interval undo last-member-query-interval Default The default setting is 1 second. Views IGMP-snooping view Default command level 2: System level Parameters interval: Sets the IGMP last-member query interval in seconds, in the range of 1 to 5.
Views IGMP-snooping view Default command level 2: System level Parameters interval: Sets the maximum response delay in seconds for IGMP general queries, in the range of 1 to 25. Usage guidelines For a router that supports both IGMP snooping and IGMP and is installed with the SAP module, this command takes effects in IGMP snooping-enabled VLANs but not in VLANs with IGMP-enabled VLAN interfaces. Examples # Set the global maximum response delay for IGMP general queries to 5 seconds.
Usage guidelines For a router that supports both IGMP snooping and IGMP and is installed with the SAP module, this command takes effect on IGMP snooping-enabled VLANs and VLANs with IGMP-enabled VLAN interfaces. Examples # Enable the multicast group replacement function globally in VLAN 2.
Views User view Default command level 2: System level Parameters group-address: Specifies an IGMP snooping group in the range of 224.0.1.0 to 239.255.255.255. all: Specifies all IGMP snooping groups. vlan vlan-id: Specifies a VLAN. The value range for the vlan-id argument is 1 to 4094.
Default The aging timer of dynamic router ports is 105 seconds. Views IGMP-snooping view Default command level 2: System level Parameters interval: Specifies an aging timer in seconds for the dynamic router ports, in the range of 1 to 1000. Usage guidelines For a router that supports both IGMP snooping and IGMP and is installed with the SAP module, this command takes effect on IGMP snooping-enabled VLANs but not in VLANs with IGMP-enabled VLAN interfaces.
Usage guidelines For a router that supports both IGMP snooping and IGMP and is installed with the SAP module, this command takes effect on IGMP snooping-enabled VLANs and VLANs with IGMP-enabled VLAN interfaces. Examples # Enable multicast source port filtering on interfaces GigabitEthernet 2/0/1 through GigabitEthernet 2/0/4.
Multicast routing and forwarding configuration 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 Default command level 2: System level Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN 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 static multicast MAC address. The MAC address can be any legal multicast MAC address except 0100-5Exx-xxxx and 3333-xxxx-xxxx, where x represents an arbitrary hexadecimal number from 0 to F. vlan vlan-id: Specifies a VLAN by its VLAN ID. The value range for the vlan-id argument is 1 to 4094. If you do not specify a VLAN, this command will display the static multicast MAC address entries for all VLANs. multicast: Displays static multicast MAC address entries.
Field Description 1 mac address(es) found One static multicast MAC address entry is found. Related commands • mac-address multicast • display mac-address (Layer 2—LAN Switching Command Reference) display multicast boundary Use display multicast boundary to display multicast boundary information on the specified interfaces.
Boundary Interface 224.1.1.0/24 GE2/1/1 239.2.2.0/24 Pos5/0/0 Table 5 Command output Field Description Multicast boundary information of VPN-Instance: public net Multicast boundary for the public network. Boundary Multicast group that corresponds to the multicast boundary. Interface Boundary interface that corresponds to the multicast boundary.
register: Displays multicast forwarding entries, where the incoming interface is the register interface of PIM-SM. outgoing-interface: Displays multicast forwarding entries, where the outgoing interface is the specified one. exclude: Displays the multicast forwarding entries, where the outgoing interface list excludes the specified interface. include: Displays the multicast forwarding entries, where the outgoing interface list includes the specified interface.
Incoming interface: GigabitEthernet2/1/1 List of 1 outgoing interfaces: 1: GigabitEthernet2/1/2 Matched 19648 packets(20512512 bytes), Wrong If 0 packets Forwarded 19648 packets(20512512 bytes) Table 6 Command output Field Description Multicast Forwarding Table of VPN-Instance: public net Multicast forwarding table for the public network. Total 1 entry Total number of (S, G) entries in the multicast forwarding table.
Value Meaning 0x10000 The (S, G) has been updated during the smoothing process. 0x80000 The (S, G) entry has been updated and needs to be deleted before a new entry is added. 0x100000 An entry is successfully added. 0x1000000 Multicast forwarding entry for BIDIR-PIM. 0x2000000 RP for BIDIR-PIM. Table 8 Major values of the flags field (after the colon) Value Meaning 0 The entry does not belong to the MPU, or the MPU has synchronized the entry to other cards.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters. rp-address: RP address of BIDIR-PIM. slot slot-number: Specifies a card by its slot number. If no slot is specified, this command displays the DF information of the multicast forwarding table for the MPU.
Field Description Flags Current state of the RP. Different bits indicate different states of an RP. For major values of this field, see Table 7 and Table 8. Uptime Length of time for which the RP has been up, in the format hh:mm:ss. RPF interface RPF interface to the RP. List of 1 DF interfaces DF interface list. display multicast routing-table Use display multicast routing-table to display multicast routing table information.
include: Displays the multicast routing entries, where the outgoing interface list includes the specified interface. match: Displays the multicast routing entries, where the outgoing interface list includes only the specified interface. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
Related commands display multicast forwarding-table display multicast routing-table static Use display multicast routing-table static to display information about static multicast routes. Syntax display multicast routing-table [ all-instance | vpn-instance vpn-instance-name ] static [ source-address { mask-length | mask } ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters all-instance: Specifies all VPN instances.
Table 11 Command output Field Description Multicast Routing Table of VPN-Instance: public net Multicast routing table for the public network. Mroute Multicast route source address and its mask length. Interface Outgoing interface to the multicast source. RPF Neighbor IP address of the RPF neighbor through which the multicast source is reachable. Route-policy Routing policy. The multicast source address of the route should match the routing policy. Preference Route preference.
Examples # Display all the RPF information of multicast source 192.168.1.55 on the public network. display multicast rpf-info 192.168.1.55 RPF information about source 192.168.1.55: VPN instance: public net RPF interface: GigabitEthernet2/1/1, RPF neighbor: 10.1.1.1 Referenced route/mask: 192.168.1.0/24 Referenced route type: igp Route selection rule: preference-preferred Load splitting rule: disable Table 12 Command output Field Description RPF information about source 192.168.1.
undo ip rpf-route-static [ vpn-instance vpn-instance-name ] source-address { mask | mask-length } [ protocol [ process-id ] ] [ route-policy policy-name ] Default No static multicast route is configured. Views System view Default command level 2: System level Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters. If this option is not specified, this command configures a static multicast route on the public network.
interface connecting the RPF if the interface of the RPF neighbor is a Layer 3 Ethernet interface, Layer 3 aggregate interface, Loopback interface, Layer 3 RPR logical interface, or VLAN interface. Because outgoing interface iteration might fail or the specified interface might be in down state, the static multicast route configured with this command might fail to take effect.
signification bit of the most significant octet is 1. The system will give a prompt if the configured static multicast MAC address conflicts with the MAC address of other protocols. interface-list: Specifies a list of interfaces. You can specify up to n single interfaces, interface ranges, or combinations of both for the list. A single interface takes the form of interface-type interface-number.
last-hop-router-address: Specifies a last-hop router address, which is the IP address of the local router by default. Usage guidelines If the command to trace the path for a specific (S, G) multicast stream includes the last-hop-router-address argument, the interface that corresponds to the last-hop router address must be the outgoing interface for the (S, G) entry. Otherwise, the multicast traceroute might fail. Examples # Trace the path down which the (6.6.6.6, 225.2.1.
Field Description Total number of packets for this source-group pair Total number of packets from the specified source forwarded by this router to the specified group. Protocol Multicast routing protocol in use. Forwarding TTL Minimum TTL that a packet must have before it can be forwarded over the outgoing interface. multicast boundary Use multicast boundary to configure a multicast forwarding boundary. Use undo multicast boundary to remove a multicast forwarding boundary.
Related commands display multicast boundary multicast forwarding-table downstream-limit Use multicast forwarding-table downstream-limit to configure the maximum number of downstream nodes for a single entry in the multicast forwarding table. Use undo multicast forwarding-table downstream-limit to restore the default.
Syntax multicast forwarding-table route-limit limit undo multicast forwarding-table route-limit Default The maximum number of entries in the multicast forwarding table is 4096. Views System view, VPN instance view Default command level 2: System level Parameters limit: Specifies the maximum number of entries in the multicast forwarding table. The value range for this argument is 0 to 4096. Usage guidelines The system-allowed maximum number varies with different device models.
Parameters source: Specifies load splitting on a per-source basis. source-group: Specifies load splitting both on a per-source basis and a per-group basis. Examples # Enable per-source load splitting of multicast traffic on the public network. system-view [Sysname] multicast load-splitting source # Enable per-source load splitting of multicast traffic in VPN instance mvpn.
Syntax multicast routing-enable undo multicast routing-enable Default IP multicast routing is disabled. Views System view, VPN instance view Default command level 2: System level Usage guidelines You must enable IP multicast routing on the public network or VPN instance before you can execute other Layer 3 multicast commands in the corresponding instance. The device does not forward any multicast packets before IP multicast routing is enabled.
mask: Specifies the mask of the multicast group address or multicast source address, 255.255.255.255 by default. 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. incoming-interface: Specifies the multicast forwarding entries, where the incoming interface is the specified one.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters. 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: Specifies the mask of the multicast group address or multicast source address, 255.255.255.255 by default. mask-length: Specifies the address mask length. The default value is 32.
IGMP configuration commands display igmp group Use display igmp group to display IGMP group information. Syntax display igmp [ all-instance | vpn-instance vpn-instance-name ] group [ group-address | interface interface-type interface-number ] [ static | verbose ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters all-instance: Specifies all MPLS L3VPNs.
Total 3 IGMP Groups reported Group Address Last Reporter Uptime Expires 225.1.1.1 10.10.1.10 00:02:04 00:01:15 225.1.1.3 10.10.1.10 00:02:04 00:01:15 225.1.1.2 10.10.1.10 00:02:04 00:01:17 # Display detailed information about the IGMP group 225.1.1.1 that the interfaces statically joined on the public network. display igmp group 225.1.1.1 verbose Interface group report information of VPN-Instance: public net GigabitEthernet2/1/1(10.10.1.20): Total 3 IGMP Groups reported Group: 225.
display igmp group port-info Use display igmp group port-info to display Layer 2 port information of IGMP groups, including both dynamic and static Layer 2 port entries. Syntax display igmp group port-info [ vlan vlan-id ] [ slot slot-number ] [ verbose ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters vlan-id: Specifies a VLAN ID in the range of 1 to 4094.
IP group(s):the following ip group(s) match to one mac group. IP group address:224.1.1.1 (1.1.1.1, 224.1.1.1): Attribute: Host Port Host port(s):total 1 port(s). GE2/1/2 (D) ( 00:03:23 ) MAC group(s): MAC group address:0100-5e01-0101 Host port(s):total 1 port(s). GE2/1/2 Table 15 Command output Field Description Total 1 IP Group(s). Total number of IP multicast groups. Total 1 IP Source(s). Total number of IP multicast sources. Total 1 MAC Group(s). Total number of MAC multicast groups.
Default command level 1: Monitor level Parameters interface-type interface-number: Specifies an interface by its type and number. group group-address: Specifies an IGMP group. The group-address argument is in the range of 224.0.1.0 to 239.255.255.255. source source-address: Specifies a multicast source, where source-address is a valid unicast address or 0.0.0.0. A source IP address of 0.0.0.0 specifies all multicast sources. |: Filters command output by specifying a regular expression.
Syntax display igmp host port-info vlan vlan-id group group-address [ source source-address ] [ slot slot-number ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters vlan vlan-id: Specifies a VLAN. The value range for the vlan-id argument is 1 to 4094. group group-address: Specifies an IGMP group. The value range for the group-address argument is 224.0.1.0 to 239.255.255.255.
Table 17 Command output Field Description VLAN(ID) VLAN ID. (0.0.0.0, 224.1.1.1) (S, G) entry, where "0.0.0.0" means all multicast sources. Port Member port. Host Host IP address. Uptime Host running duration. Expires Host expiration time, where "timeout" means that the host has expired. display igmp interface Use display igmp interface to display IGMP configuration and operation information of the specified interface or all IGMP-enabled interfaces.
Examples # Display the IGMP configuration and operation information on GigabitEthernet 2/1/1 (downstream interface) on the public network. display igmp interface gigabitethernet 2/1/1 verbose GigabitEthernet2/1/1(10.10.1.
Field Description Value of startup query interval(in seconds) IGMP startup query interval, in seconds. Value of startup query count Number of IGMP general queries that the device sends on startup. General query timer expiry Remaining time of the IGMP general query timer, where "off" means that the timer never expires. Querier for IGMP IP address of the IGMP querier. IGMP activity Statistics of IGMP activities (joins and leaves).
Parameters all-instance: Specifies all MPLS L3VPNs. vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters. group-address: Specifies a multicast group address in the range of 224.0.1.0 to 239.255.255.255. With no multicast group address included, this command displays the information of all the IGMP proxying groups. verbose: Displays the detailed IGMP proxying group information. |: Filters command output by specifying a regular expression.
Field Description Host member states: • Delay. • Idle. Member state Remaining time of the multicast group, where "off" means that the multicast group never times out. Expires Multicast source filtering modes: • Include. • Exclude. Group mode (This field is displayed only when the IGMP version is 3.) A list of sources (only including the sources that the hosts want to receive information from).
begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Usage guidelines If neither all-instance nor vpn-instance is specified, this command displays the information on the public network.
Field Description Downstream interface is none No downstream interfaces exist. Protocol Protocol type. display igmp ssm-mapping Use display igmp ssm-mapping to display the configured IGMP SSM mappings for the specified multicast group. Syntax display igmp [ all-instance | vpn-instance vpn-instance-name ] ssm-mapping group-address [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters all-instance: Specifies all MPLS L3VPNs.
Table 21 Command output Field Description VPN-Instance: public net Public network. Group Multicast group address. Source list List of multicast source addresses. Related commands ssm-mapping display igmp ssm-mapping group Use display igmp ssm-mapping group to display the multicast group information created based on the configured IGMP SSM mappings.
Usage guidelines If neither all-instance nor vpn-instance is specified, this command displays the information on the public network. Examples # Display detailed information about multicast group 232.1.1.1 created based on the configured IGMP SSM mappings on the public network. display igmp ssm-mapping group 232.1.1.1 verbose Interface group report information of VPN-Instance: public net GigabitEthernet2/1/1(10.10.10.10): Total 1 IGMP SSM-mapping Group reported Group: 232.1.1.
display igmp ssm-mapping host interface Use display igmp ssm-mapping host interface to display information about the hosts that join a multicast group based on the IGMP SSM mappings on an interface.
Field Description Host Host IP address. Uptime Host running duration. Expires Host expiration time, where "timeout" means that the host has expired. fast-leave (IGMP view) Use fast-leave to enable fast-leave processing globally. Use undo fast-leave to disable fast-leave processing globally.
Related commands • igmp fast-leave • last-member-query-interval host-tracking (IGMP view) Use host-tracking to enable the IGMP host tracking function globally. Use undo host-tracking to disable the IGMP host tracking function globally. Syntax host-tracking undo host-tracking Default This function is disabled. Views Public network IGMP view, VPN instance IGMP view Default command level 2: System level Usage guidelines Related command: igmp host-tracking.
Default command level 2: System level Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters. If this option is not specified, the command applies to the public network. Usage guidelines IP multicast routing must be enabled in the corresponding VPN instance before this command can take effect. Examples # Enable IP multicast routing on the public network and enter public network IGMP view.
IGMP must be enabled on an interface before any other IGMP feature configured on the interface can take effect. Examples # Enable IP multicast routing on the public network, and enable IGMP on GigabitEthernet 2/1/1. system-view [Sysname] multicast routing-enable [Sysname] interface gigabitethernet 2//1 [Sysname-GigabitEthernet2/1/1] igmp enable Related commands • igmp • multicast routing-enable igmp fast-leave Use igmp fast-leave to configure fast-leave processing on the current interface.
Examples # Enable fast-leave processing on GigabitEthernet 2/1/1. system-view [Sysname] interface gigabitethernet 2/1/1 [Sysname-GigabitEthernet2/1/1] igmp fast-leave igmp group-limit Use igmp group-limit to configure the maximum number of multicast groups that an interface can join. Use undo igmp group-limit to restore the default. Syntax igmp group-limit limit undo igmp group-limit Default The maximum number of multicast groups that an interface can join is 16384.
Related commands • igmp static-group • igmp-snooping group-limit • reset igmp group igmp group-policy Use igmp group-policy to configure a multicast group filter on the current interface to control the multicast groups that the hosts on the current interface can join. Use undo igmp group-policy to remove the configured multicast group filter.
Related commands group-policy (IGMP-snooping view) igmp host-tracking Use igmp host-tracking to enable the IGMP host tracking function on an interface. Use undo igmp host-tracking to disable the IGMP host tracking function on an interface Syntax igmp host-tracking undo igmp host-tracking Default This function is disabled. Views Interface view Default command level 2: System level Examples # Enable the IGMP host tracking function on GigabitEthernet 2/1/1.
Parameters interval: Specifies an IGMP last-member query interval in seconds, in the range of 1 to 5. Examples # Set the IGMP last-member query interval to 3 seconds on GigabitEthernet 2/1/1.
igmp proxying enable Use igmp proxying enable to enable IGMP proxying on an interface. Use undo igmp proxying enable to disable IGMP proxying on the interface. Syntax igmp proxying enable undo igmp proxying enable Default IGMP proxying is disabled. Views Interface view Default command level 2: System level Usage guidelines This command takes effect only after IP multicast routing is enabled on the corresponding instance.
Default command level 2: System level Examples # Enable the multicast forwarding capability on GigabitEthernet 2/1/1, a non-querier downstream interface on the IGMP proxy device. system-view [Sysname] interface gigabitethernet 2/1/1 [Sysname-GigabitEthernet2/1/1] igmp proxying forwarding igmp require-router-alert Use igmp require-router-alert to configure the interface to discard IGMP messages that do not carry the Router-Alert option. Use undo igmp require-router-alert to restore the default.
Default The IGMP querier's robustness variable is 2. Views Interface view Default command level 2: System level Parameters robust-value: Specifies an IGMP querier's robustness variable in the range of 2 to 5. Usage guidelines The IGMP querier's robustness variable defines the maximum number of attempts for transmitting IGMP general queries, group-specific queries or group-and-source-specific queries in case of packet loss due to network problems.
undo igmp send-router-alert Default IGMP messages are sent with the Router-Alert option. Views Interface view Default command level 2: System level Examples # Disable insertion of the Router-Alert option into IGMP messages that leave GigabitEthernet 2/1/1.
Syntax igmp startup-query-count value undo igmp startup-query-count Default The startup query count is set to the IGMP querier's robustness variable. Views Interface view Default command level 2: System level Parameters value: Specifies a Startup query count (the number of queries the IGMP querier sends on startup) in the range of 2 to 5. Examples # Set the startup query count to 3 on GigabitEthernet 2/1/1.
system-view [Sysname] interface gigabitethernet 2/1/1 [Sysname-GigabitEthernet2/1/1] igmp startup-query-interval 5 Related commands • igmp timer query • startup-query-interval igmp static-group Use igmp static-group to configure the current 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.
[Sysname] interface gigabitethernet 2/1/1 [Sysname-GigabitEthernet2/1/1] igmp static-group 232.1.1.1 source 192.168.1.1 Related commands igmp-snooping static-group igmp timer other-querier-present Use igmp timer other-querier-present to configure the IGMP other querier present interval on the current interface. Use undo igmp timer other-querier-present to restore the default.
undo igmp timer query Default The IGMP general query interval is 60 seconds. Views Interface view Default command level 2: System level Parameters interval: Specifies an IGMP general query interval (interval for sending IGMP general queries) in seconds, in the range of 1 to 18000. Examples # Set the IGMP general query interval to 125 seconds on GigabitEthernet 2/1/1.
[Sysname-GigabitEthernet2/1/1] igmp version 1 Related commands version last-member-query-interval (IGMP view) Use last-member-query-interval to configure the global IGMP last-member query interval. Use undo last-member-query-interval to restore the default. Syntax last-member-query-interval interval undo last-member-query-interval Default The IGMP last-member query interval is 1 second.
Default The maximum response time for IGMP general queries is 10 seconds. Views Public network IGMP view, VPN instance IGMP view Default command level 2: System level Parameters interval: Specifies the maximum response time for IGMP general queries in seconds, in the range of 1 to 25. Examples # Set the maximum response time for IGMP general queries to 8 seconds globally on the public network.
Examples # Configure the router to discard IGMP messages that do not carry the Router-Alert option globally on the public network. system-view [Sysname] igmp [Sysname-igmp] require-router-alert # Configure the router to discard IGMP messages that do not carry the Router-Alert option globally in VPN instance mvpn.
Usage guidelines If neither all-instance nor vpn-instance is specified, this command removes the dynamic IGMP group entries on the public network. This command cannot remove static IGMP group entries. Examples # Remove dynamic group entries of IGMP groups on all the interfaces on the public network. reset igmp group all # Remove dynamic group entries of IGMP groups on GigabitEthernet 2/1/1 on the public network.
Examples # Remove dynamic Layer 2 port entries of all IGMP groups in all VLANs. reset igmp group port-info all # Remove dynamic Layer 2 port entries of all IGMP groups in VLAN 100. reset igmp group port-info all vlan 100 # Remove dynamic Layer 2 port entries of multicast group 225.0.0.1 in VLAN 100. reset igmp group port-info 225.0.0.
Examples # Clear all multicast group information created based on the configured IGMP SSM mappings on all interfaces on the public network. reset igmp ssm-mapping group all Related commands display igmp ssm-mapping group robust-count (IGMP view) Use robust-count to configure the IGMP querier's robustness variable globally. Use undo robust-count to restore the default. Syntax robust-count robust-value undo robust-count Default The IGMP querier's robustness variable is 2.
[Sysname] igmp vpn-instance mvpn [Sysname-igmp-mvpn] robust-count 3 Related commands • display igmp interface • igmp robust-count • last-member-query-interval • startup-query-count • timer other-querier-present • timer query send-router-alert (IGMP view) Use send-router-alert to globally enable insertion of the Router-Alert option into IGMP messages to be sent. Use undo send-router-alert to globally disable insertion of the Router-Alert option into IGMP messages to be sent.
ssm-mapping (IGMP view) Use ssm-mapping to configure an IGMP SSM mapping. Use undo ssm-mapping to remove one or all IGMP SSM mappings. Syntax ssm-mapping group-address { mask | mask-length } source-address undo ssm-mapping { group-address { mask | mask-length } source-address | all } Default No IGMP SSM mappings are configured. Views Public network IGMP view, VPN instance IGMP view Default command level 2: System level Parameters group-address: Specifies a multicast group address in the range of 224.0.
Syntax startup-query-count value undo startup-query-count Default The startup query count is set to the IGMP querier's robustness variable. Views Public network IGMP view, VPN instance IGMP view Default command level 2: System level Parameters value: Specifies a startup query count (the number of queries that the IGMP querier sends on startup), in the range of 2 to 5. Examples # Set the startup query count to 3 globally on the public network.
Parameters interval: Specifies a startup query interval (interval between general queries that the IGMP querier sends on startup) in seconds, in the range of 1 to 18000. Examples # Set the startup query interval to 5 seconds globally on the public network. system-view [Sysname] igmp [Sysname-igmp] startup-query-interval 5 # Set the startup query interval to 5 seconds globally in VPN instance mvpn.
Related commands • display igmp interface • igmp timer other-querier-present • max-response-time • robust-count • timer query timer query (IGMP view) Use timer query to configure the IGMP general query interval globally. Use undo timer query to restore the default. Syntax timer query interval undo timer query Default The IGMP general query interval is 60 seconds.
Use undo version to restore the default. Syntax version version-number undo version Default The IGMP version is IGMPv2. Views Public network IGMP view, VPN instance IGMP view Default command level 2: System level Parameters version-number: Specifies an IGMP version in the range of 1 to 3. Examples # Set the global IGMP version to IGMPv1 on the public network. system-view [Sysname] igmp [Sysname-igmp] version 1 # Set the global IGMP version to IGMPv1 in VPN instance mvpn.
PIM configuration commands auto-rp enable Use auto-rp enable to enable auto-RP. Use undo auto-rp enable to disable auto-RP. Syntax auto-rp enable undo auto-rp enable Default Auto-RP is disabled. Views Public network PIM view, VPN instance PIM view Default command level 2: System level Examples # Enable auto-RP on the public network. system-view [Sysname] pim [Sysname-pim] auto-rp enable # Enable auto-RP in VPN instance mvpn.
Views Public network PIM view, VPN instance PIM view Default command level 2: System level Usage guidelines This command is effective only after multicast routing is enabled. Examples # Enable multicast routing on the public network, enter PIM view, and enable BIDIR-PIM. system-view [Sysname] multicast routing-enable [Sysname] pim [Sysname-pim] bidir-pim enable # Enable multicast routing in VPN instance mvpn, enter VPN instance PIM view, and enable BIDIR-PIM.
Examples # Disable BSM semantic fragmentation on the public network. system-view [Sysname] pim [Sysname-pim] undo bsm-fragment enable # Disable BSM semantic fragmentation in VPN instance mvpn. system-view [Sysname] pim vpn-instance mvpn [Sysname-pim-mvpn] undo bsm-fragment enable bsr-policy (PIM view) Use bsr-policy to configure a legal BSR address range to guard against BSR spoofing. Use undo bsr-policy to remove the restriction of the BSR address range.
[Sysname-pim-mvpn] bsr-policy 2000 c-bsr (PIM view) Use c-bsr to configure the specified interface as a C-BSR. Use undo c-bsr to remove the related C-BSR configuration. Syntax c-bsr interface-type interface-number [ hash-length [ priority ] ] undo c-bsr Default No C-BSR is configured. Views Public network PIM view, VPN instance PIM view Default command level 2: System level Parameters interface-type interface-number: Specifies an interface by its type and number.
c-bsr admin-scope (PIM view) Use c-bsr admin-scope to enable administrative scoping. Use undo c-bsr admin-scope to disable administrative scoping. Syntax c-bsr admin-scope undo c-bsr admin-scope Default BSR administrative scoping is disabled. Namely, only one BSR exists in a PIM-SM domain. Views Public network PIM view, VPN instance PIM view Default command level 2: System level Examples # Enable administrative scoping on the public network.
Views Public network PIM view, VPN instance PIM view Default command level 2: System level Parameters hash-length: Specifies a hash mask length in the global scope zone, in the range of 0 to 32. If you do not specify this argument, the corresponding global setting is used. priority: Specifies the priority of the C-BSR in the global scope zone, in the range of 0 to 255. A larger value means a higher priority. If you do not specify this argument, the corresponding global setting is used.
Parameters group-address: Specifies a multicast group address in the range of 239.0.0.0 to 239.255.255.255. mask: Specifies the address mask. mask-length: Specifies the mask length of the multicast group address, in the range of 8 to 32. hash-length: Specifies a hash mask length in the admin-scope zone that corresponds to the specified multicast group, in the range of 0 to 32. If you do not specify this argument, the corresponding global setting is used.
Parameters hash-length: Specifies a hash mask length in the range of 0 to 32. Examples # Set the global hash mask length to 16 on the public network. system-view [Sysname] pim [Sysname-pim] c-bsr hash-length 16 # Set the global hash mask length to 16 in VPN instance mvpn.
[Sysname-pim-mvpn] c-bsr holdtime 150 Related commands • c-bsr • c-bsr interval c-bsr interval (PIM view) Use c-bsr interval to configure the BS period, namely, the interval at which the BSR sends bootstrap messages. Use undo c-bsr interval to restore the default. Syntax c-bsr interval interval undo c-bsr interval Default This formula determines the BS period value: BS period = (BS timeout – 10) ÷ 2.
Syntax c-bsr priority priority undo c-bsr priority Default The C-BSR priority is 64. Views Public network PIM view, VPN instance PIM view Default command level 2: System level Parameters priority: Specifies the priority of the C-BSR, in the range of 0 to 255. A larger value means a higher priority. Examples # Set the global C-BSR priority to 5 on the public network. system-view [Sysname] pim [Sysname-pim] c-bsr priority 5 # Set the global C-BSR priority to 5 in VPN instance mvpn.
Default command level 2: System level Parameters interface-type interface-number: Specifies an interface by its type and number. acl-number: Specifies a basic ACL number in the range of 2000 to 2999. This ACL defines a range of multicast groups the C-RP is going to serve, rather than defining a filtering rule. Any group range that matches the permit statement in the ACL is advertised as an RP served group, but group ranges that match the deny statement are not advertised.
c-rp advertisement-interval (PIM view) Use c-rp advertisement-interval to configure the interval at which C-RP-Adv messages are sent. Use undo c-rp advertisement-interval to restore the default. Syntax c-rp advertisement-interval interval undo c-rp advertisement-interval Default The C-RP-Adv interval is 60 seconds. Views Public network PIM view, VPN instance PIM view Default command level 2: System level Parameters interval: Specifies a C-RP-Adv interval in seconds, in the range of 1 to 65535.
Default command level 2: System level Parameters interval: Specifies a C-RP timeout timer in seconds, in the range of 1 to 65535. Usage guidelines Because a non-BSR router refreshes its C-RP timeout timer through BSR bootstrap messages, to prevent loss of C-RP information in BSR bootstrap messages, make sure the C-RP timeout timer is not smaller than the interval at which the BSR sends bootstrap messages. The recommended C-RP timeout setting is 2.5 times the BS period or longer.
Parameters acl-number: Specifies an advanced ACL number in the range of 3000 to 3999. When the ACL is defined, the source keyword in the rule command specifies the address of a C-RP and the destination keyword specifies the address range of the multicast groups that the C-RP will serve. Usage guidelines 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.1.0.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
Table 24 Command output Field Description VPN-Instance: public net Public network. Elected BSR Address Address of the elected BSR. Candidate BSR Address Address of the candidate BSR. Priority BSR priority. Hash mask length Hash mask length. State BSR state. Scope Scope of the BSR. Uptime Length of time for which this BSR has been up, in hh:mm:ss. Next BSR message scheduled at Length of time after which the next BSR message is to be sent, in hh:mm:ss. Candidate RP Address of the C-RP.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
display pim control-message counters Use display pim control-message counters to display the statistics for PIM control messages.
Examples # Display statistics for the PIM control messages on all interfaces on the public network.
display pim df-info Use display pim df-info to display the DF information of BIDIR-PIM. Syntax display pim [ all-instance | vpn-instance vpn-instance-name ] df-info [ rp-address ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters all-instance: Specifies all instances. vpn-instance vpn-instance-name: Specifies a VPN instance. A VPN instance name is a case-sensitive string of up to 31 characters and must not contain any space.
Field Description State DF election state, Win or Lose. DF-Pref Route priority of DF. DF-Metric Route metric of DF. DF-Uptime Existence duration of DF. DF-Address IP address of DF, where "local" means a local address. display pim grafts Use display pim grafts to display information about unacknowledged PIM-DM graft messages.
Table 28 Command output Field Description VPN-Instance: public net Public network. Source Multicast source address in the graft message. Group Multicast group address in the graft message. Age Time in which the graft message will age out, in hh:mm:ss. RetransmitIn Time in which the graft message will be retransmitted, in hh:mm:ss. display pim interface Use display pim interface to display PIM information on the specified interfaces.
GE2/1/1 1 30 1 10.1.1.2 GE2/1/2 0 30 1 172.168.0.2 GE2/1/3 1 30 1 (local) 20.1.1.2 Table 29 Command output Field Description VPN-Instance: public net Public network. Interface Interface name. NbrCnt Number of PIM neighbors. HelloInt Hello interval. DR-Pri Priority for DR election. DR-Address DR IP address, where "local" means a local address. # Display the detailed PIM information on GigabitEthernet 2/1/1 on the public network.
Field Description PIM version Running PIM version. PIM mode PIM mode, dense or sparse. PIM DR DR IP address. PIM DR Priority (configured) Configured priority for DR election. PIM neighbor count Total number of PIM neighbors. PIM hello interval Hello interval. PIM LAN delay (negotiated) Negotiated prune message delay. PIM LAN delay (configured) Configured prune message delay. PIM override interval (negotiated) Negotiated prune override interval.
Default command level 1: Monitor level Parameters all-instance: Specifies all VPN instances. vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters. mode: Specifies a PIM mode. PIM modes include sm and ssm, which represent PIM-SM and PIM-SSM, respectively. flags flag-value: Specifies a flag. Values and meanings of flag-value are as follows: • rpt: Specifies routing entries on the RPT. • spt: Specifies routing entries on the SPT.
Field Description (*, G) join(s) Number of (*, G) joins to send. (S, G) join(s) Number of (S, G) joins to send. (S, G, rpt) prune(s) Number of (S, G, rpt) prunes. display pim neighbor Use display pim neighbor to display PIM neighbor information.
Total Number of Neighbors = 2 Neighbor Interface 10.1.1.2 GE2/1/1 Uptime 02:50:49 00:01:31 1 Expires Dr-Priority Mode B 20.1.1.2 GE2/1/2 02:49:39 00:01:42 1 B # On the public network, display detailed information about the PIM neighbor whose IP address is 11.110.0.20. display pim neighbor 11.110.0.20 verbose VPN-Instance: public net Neighbor: 11.110.0.
Field Description Bidirectional PIM Whether BIDIR-PIM is enabled. display pim routing-table Use display pim routing-table to display PIM routing table information.
• 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. • bidir: Specifies PIM routing entries created by BIDIR-PIM. • del: Specifies PIM routing entries scheduled to be deleted. • exprune: Specifies PIM routing entries containing outgoing interfaces pruned by other multicast routing protocols.
RPF prime neighbor: NULL Downstream interface(s) information: Total number of downstreams: 1 1: GigabitEthernet2/1/2 Protocol: pim-sm, UpTime: 02:54:43, Expires: 00:02:47 # Display the state machine information in the PIM routing table on the public network.
Field Description Flag of the (S, G) or (*, G) entry in the PIM routing table: • 2MSDP—The entry is contained in the next SA message to notify an MSDP peer. • • • • ACT—The entry has been used for routing data. BIDIR—The entry was created by BIDIR-PIM. 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.
display pim rp-info Use display pim rp-info to display RP information. Syntax display pim [ all-instance | vpn-instance vpn-instance-name ] rp-info [ group-address ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters all-instance: Specifies all VPN instances. vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters. group-address: Specifies a multicast group in the range of 224.
VPN-Instance: public net PIM-SM BSR RP information: Group/MaskLen: 224.0.0.0/4 [B] RP: 2.2.2.2 Priority: 192 HoldTime: 150 Uptime: 03:01:36 Expires: 00:02:29 Table 34 Command output Field Description VPN-Instance: public net Public network. BSR RP Address is IP address of the RP. Group/MaskLen Multicast group that the RP serves. [B] The RP serves multicast groups in BIDIR-PIM. If this field is not displayed, it means that the RP serves groups in PIM-SM. RP IP address of the RP.
Examples # Set the router priority for DR election to 3 on the public network. system-view [Sysname] pim [Sysname-pim] hello-option dr-priority 3 # Set the router priority for DR election to 3 in VPN instance mvpn. system-view [Sysname] pim vpn-instance mvpn [Sysname-pim-mvpn] hello-option dr-priority 3 Related commands pim hello-option dr-priority hello-option holdtime (PIM view) Use hello-option holdtime to configure the PIM neighbor timeout timer.
hello-option lan-delay (PIM view) Use hello-option lan-delay to configure the global value of the LAN-delay time, namely, the period of time that the device waits before it forwards a received prune message. Use undo hello-option lan-delay to restore the default. Syntax hello-option lan-delay interval undo hello-option lan-delay Default The LAN-delay time is 500 milliseconds.
undo hello-option neighbor-tracking Default Join suppression is enabled, and neighbor tracking is disabled. Views Public network PIM view, VPN instance PIM view Default command level 2: System level Usage guidelines This command is effective on both PIM-DM and PIM-SM. Examples # Disable join suppression globally on the public network. system-view [Sysname] pim [Sysname-pim] hello-option neighbor-tracking # Disable join suppression globally in VPN instance mvpn.
Examples # Set the prune override interval to 2000 milliseconds globally on the public network. system-view [Sysname] pim [Sysname-pim] hello-option override-interval 2000 # Set the prune override interval to 2000 milliseconds globally in VPN instance mvpn.
Related commands • holdtime join-prune • pim holdtime assert • pim holdtime join-prune holdtime join-prune (PIM view) Use holdtime join-prune to configure the global value of the join/prune timeout timer. Use undo holdtime join-prune to restore the default. Syntax holdtime join-prune interval undo holdtime join-prune Default The join/prune timeout timer is 210 seconds.
undo jp-pkt-size Default The maximum size of each join/prune message is 8100 bytes. Views Public network PIM view, VPN instance PIM view Default command level 2: System level Parameters packet-size: Specifies the maximum size of each join/prune message in bytes, in the range of 100 to 8100. Examples # Set the maximum size of each join/prune message to 1500 bytes on the public network.
Usage guidelines When you use this command, take the following into account: • The size of the forwarding table. In a network that does not support packet fragmentation, if you configure a large queue size, a join/prune message might contain a large number of groups. This might cause the message length to exceed the MTU of the network. As a result, the products that do not support fragmentation drop the join/prune message. • The (S, G) join/prune timeout timer on the upstream device.
Examples # Enable IP multicast routing on the public network and enter public network PIM view. system-view [Sysname] multicast routing-enable [Sysname] pim [Sysname-pim] # Enable IP multicast routing in VPN instance mvpn and enter PIM view of VPN instance mvpn.
Related commands • pim dm • pim sm pim bsr-boundary Use pim bsr-boundary to configure a PIM domain border, namely, a bootstrap message boundary. Use undo pim bsr-boundary to remove the configured PIM domain border. Syntax pim bsr-boundary undo pim bsr-boundary Default No PIM domain border is configured. Views Interface view Default command level 2: System level Examples # Configure GigabitEthernet 2/1/1 as a PIM domain border.
Usage guidelines This command can take effect only after IP multicast routing is enabled in the corresponding instance. PIM-DM cannot be used for multicast groups in the SSM group range. Examples # Enable IP multicast routing on the public network, and enable PIM-DM on GigabitEthernet 2/1/1.
pim hello-option holdtime Use pim hello-option holdtime to configure the PIM neighbor timeout timer on the current interface. Use undo pim hello-option holdtime to restore the default. Syntax pim hello-option holdtime interval undo pim hello-option holdtime Default The PIM neighbor timeout timer is 105 seconds. Views Interface view Default command level 2: System level Parameters interval: Specifies a PIM neighbor timeout timer in seconds, in the range of 1 to 65535.
Parameters interval: Specifies a LAN-delay time in milliseconds, in the range of 1 to 32,767. Examples # Set the LAN-delay time to 200 milliseconds on GigabitEthernet 2/1/1.
undo pim hello-option override-interval Default The prune override interval is 2500 milliseconds. Views Interface view Default command level 2: System level Parameters interval: Specifies a prune override interval in milliseconds, in the range of 1 to 65535. Examples # Set the prune override interval to 2,000 milliseconds on GigabitEthernet 2/1/1.
Related commands • holdtime assert • holdtime join-prune • pim holdtime join-prune pim holdtime join-prune Use pim holdtime join-prune to configure the join/prune timeout timer on the interface. Use undo pim holdtime join-prune to restore the default. Syntax pim holdtime join-prune interval undo pim holdtime join-prune Default The join/prune timeout timer is 210 seconds.
Default No source address range for hello messages is configured. That is, all the received hello messages are considered legal. Views Interface view Default command level 2: System level Parameters acl-number: Specifies a basic ACL in the range of 2000 to 2999. When the ACL is defined, the source keyword in the rule command specifies a legal source address range for hello messages.
pim sm Use pim sm to enable PIM-SM. Use undo pim sm to disable PIM-SM. Syntax pim sm undo pim sm Default PIM-SM is disabled. Views Interface view Default command level 2: System level Usage guidelines This command can take effect only after IP multicast routing is enabled in the corresponding instance. Examples # Enable IP multicast routing on the public network, and enable PIM-SM on GigabitEthernet 2/1/1.
Examples # Disable state refresh on GigabitEthernet 2/1/1. system-view [Sysname] interface gigabitethernet 2/1/1 [Sysname-GigabitEthernet2/1/1] undo pim state-refresh-capable Related commands • state-refresh-interval • state-refresh-rate-limit • state-refresh-ttl pim timer graft-retry Use pim timer graft-retry to configure the graft retry period. Use undo pim timer graft-retry to restore the default.
Views Interface view Default command level 2: System level Parameters interval: Specifies a hello interval in seconds, in the range of 1 to 2147483647. Examples # Set the hello interval to 40 seconds on GigabitEthernet 2/1/1. system-view [Sysname] interface gigabitethernet 2/1/1 [Sysname-GigabitEthernet2/1/1] pim timer hello 40 Related commands timer hello pim timer join-prune Use pim timer join-prune to configure the interval at which join/prune messages are sent on the current interface.
pim triggered-hello-delay Use pim triggered-hello-delay to configure the maximum delay between hello messages. Use undo pim triggered-hello-delay to restore the default. Syntax pim triggered-hello-delay interval undo pim triggered-hello-delay Default The maximum delay between hello messages is 5 seconds. Views Interface view Default command level 2: System level Parameters interval: Specifies the maximum delay in seconds between hello messages, in the range of 1 to 60.
system-view [Sysname] pim [Sysname-pim] probe-interval 6 # Set the register probe time to 6 seconds in VPN instance mvpn. system-view [Sysname] pim vpn-instance mvpn [Sysname-pim-mvpn] probe-interval 6 Related commands register-suppression-timeout prune delay (PIM view) Use prune delay to configure the prune delay time, namely, the length of time that the device waits between receiving a prune message and taking a prune action. Use undo prune delay to restore the default.
Syntax register-policy acl-number undo register-policy Default No register filtering rule is configured. Views Public network PIM view, VPN instance PIM view Default command level 2: System level Parameters acl-number: Specifies an advanced ACL number in the range of 3000 to 3999. The RP can accept only register messages that match the permit statement of the ACL. Examples # On the public network, configure the RP to accept only those register messages from multicast sources on the subnet of 10.10.0.
Default The register suppression time is 60 seconds. Views Public network PIM view, VPN instance PIM view Default command level 2: System level Parameters interval: Specifies a register suppression time in seconds, in the range of 1 to 65535. Examples # Set the register suppression time to 70 seconds on the public network. system-view [Sysname] pim [Sysname-pim] register-suppression-timeout 70 # Set the register suppression time to 70 seconds in VPN instance mvpn.
[Sysname-pim] register-whole-checksum # Configure the router to calculate the checksum based on the entire register message in VPN instance mvpn. system-view [Sysname] pim vpn-instance mvpn [Sysname-pim-mvpn] register-whole-checksum Related commands • register-policy • register-suppression-timeout reset pim control-message counters Use reset pim control-message counters to reset PIM control message counters.
Default The lifetime of a multicast source is 210 seconds. Views Public network PIM view, VPN instance PIM view Default command level 2: System level Parameters interval: Specifies a multicast source lifetime in seconds, in the range of 1 to 31536000. Examples # Set the multicast source lifetime to 200 seconds on the public network. system-view [Sysname] pim [Sysname-pim] source-lifetime 200 # Set the multicast source lifetime to 200 seconds in VPN instance mvpn.
Examples # On the public network, configure the router to accept multicast packets that originate from 10.10.1.2 and discard multicast packets that originate from 10.10.1.1. system-view [Sysname] acl number 2000 [Sysname-acl-basic-2000] rule permit source 10.10.1.2 0 [Sysname-acl-basic-2000] rule deny source 10.10.1.1 0 [Sysname-acl-basic-2000] quit [Sysname] pim [Sysname-pim] source-policy 2000 # In VPN instance mvpn, configure the router to accept multicast packets that originate from 10.10.1.
Usage guidelines To adjust the order of an existing ACL in the group-policy list, you can use the acl-number argument to specify this ACL and set its order-value. This inserts the ACL to the position of order-value in the group-policy list. The order of the other existing ACLs in the group-policy list remains unchanged. To use an ACL that does not exist in the group-policy list, you can use the acl-number argument to specify an ACL and set its order-value.
[Sysname] acl number 2000 [Sysname-acl-basic-2000] rule permit source 232.1.0.0 0.0.255.255 [Sysname-acl-basic-2000] quit [Sysname] pim [Sysname-pim] ssm-policy 2000 # Configure the SSM group range to be 232.1.0.0/16 in VPN instance mvpn. system-view [Sysname] acl number 2000 [Sysname-acl-basic-2000] rule permit source 232.1.0.0 0.0.255.
state-refresh-rate-limit (PIM view) Use state-refresh-rate-limit to configure the time that the router waits before receiving a new state refresh message. Use undo state-refresh-rate-limit to restore the default. Syntax state-refresh-rate-limit interval undo state-refresh-rate-limit Default The device waits 30 seconds before it receives a new state refresh message.
Default The TTL value of state refresh messages is 255. Views Public network PIM view, VPN instance PIM view Default command level 2: System level Parameters ttl-value: Specifies a TTL value for state refresh messages, in the range of 1 to 255. Examples # On the public network, configure the device to send PIM state refresh messages with a TTL of 45.
acl-number: Specifies a basic ACL number in the range of 2000 to 2999. If you provide this argument, the configured static RP will serve only those groups that pass the ACL filtering. Otherwise, the configured static RP will serve the all-system group 224.0.0.0/4. preferred: Gives priority to the static RP if the static RP conflicts with the dynamic RP.
Syntax timer hello interval undo timer hello Default Hello messages are sent at the interval of 30 seconds. Views Public network PIM view, VPN instance PIM view Default command level 2: System level Parameters interval: Specifies a hello interval in seconds, in the range of 1 to 2147483647. Examples # Set the global hello interval to 40 seconds on the public network. system-view [Sysname] pim [Sysname-pim] timer hello 40 # Set the global hello interval to 40 seconds in VPN instance mvpn.
Examples # Set the global join/prune interval to 80 seconds on the public network. system-view [Sysname] pim [Sysname-pim] timer join-prune 80 # Set the global join/prune interval to 80 seconds in VPN instance mvpn.
MSDP configuration commands cache-sa-enable Use cache-sa-enable to enable the SA cache mechanism to cache the (S, G) entries contained in SA messages. Use undo cache-sa-enable to disable the SA cache mechanism. Syntax cache-sa-enable undo cache-sa-enable Default The SA cache mechanism is enabled. That is, the device caches the (S, G) entries that the received SA messages contain.
Default command level 1: Monitor level Parameters all-instance: Specifies all VPN instances. vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters. state: Specifies a state. connect: Specifies the connecting state. down: Specifies the down state. listen: Specifies the listening state. shutdown: Specifies the terminated state. up: Specifies the in-session state. |: Filters command output by specifying a regular expression.
Field Description Down Number of MSDP peers in down state. Peer's Address MSDP peer address. MSDP peer status: • Up—A session is set up and the MSDP peer is in session. • Listen— A session is set up, and the local device serves as the State server in listening state. • Connect—A session is not set up and the local device serves as a client in connecting state. • Shutdown—Deactivated. • Down—Connection failed. Up/Down time Length of time since the MSDP peer connection was established/failed.
Usage guidelines If neither all-instance nor vpn-instance is specified, this command displays detailed MSDP peer status information on the public network. Examples # Display detailed status information of the MSDP peer with the address of 10.110.11.11 on the public network. display msdp peer-status 10.110.11.11 MSDP Peer Information of VPN-Instance: public net MSDP Peer 20.20.20.
Field Description MSDP peer status: • Up—A session is set up and the MSDP peer is in session. • Listen— A session is set up, and the local device serves as the server State in listening state. • Connect—A session is not set up and the local device serves as a client in connecting state. • Shutdown—Deactivated. • Down—Connection failed. Resets Number of times that the MSDP peer connection is reset. Up/Down time Length of time since the MSDP peer connection was established/failed.
Field Description MSDP peer statistics: • Count of RPF check failure—Number of SA messages discarded because of RPF check failure. • Incoming/outgoing SA messages—Number of SA messages received and sent. Counters for MSDP message • Incoming/outgoing SA requests—Number of SA requests received and sent. • Incoming/outgoing SA responses—Number of SA responses received and sent. • Incoming/outgoing data packets—Number of received and sent SA messages encapsulated with multicast data.
as-number: Specifies an AS number in the range of 1 to 4294967295. If you do not provide any AS number, this command displays the (S, G) entry information of all ASs. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
Field Description Expires Length of time in which the cached (S, G) entry will expire, in hours:minutes:seconds. Related commands cache-sa-enable display msdp sa-count Use display msdp sa-count to display the number of (S, G) entries in the SA cache.
10.10.10.10 5 Number of source and group, counted by AS AS Number of source Number of group ? 3 3 Total 5 Source-Active entries Table 38 Command output Field Description MSDP Source-Active Count Information of VPN-Instance: public net Number of SA messages for the public network cache. Number of cached Source-Active entries, counted by Peer Number of (S, G) entries that the peer counted. Peer's Address Address of the MSDP peer that sent SA messages.
system-view [Sysname] msdp vpn-instance mvpn [Sysname-msdp-mvpn] encap-data-enable import-source Use import-source to configure a rule of creating (S, G) entries. Use undo import-source to remove any rule of creating (S, G) entries. Syntax import-source [ acl acl-number ] undo import-source Default When an SA message is created, no restrictions are defined for the (S, G) entries to be advertised in it. Namely, all the (S, G) entries within the domain are advertised in the SA message.
system-view [Sysname] acl number 3101 [Sysname-acl-adv-3101] rule permit ip source 10.10.0.0 0.0.255.255 destination 225.1.0.0 0.0.255.255 [Sysname-acl-adv-3101] quit [Sysname] msdp vpn-instance mvpn [Sysname-msdp-mvpn] import-source acl 3101 Related commands peer sa-policy msdp Use msdp to enable MSDP on the public network or the specified VPN instance and enter public network MSDP view or VPN instance MSDP view.
[Sysname-vpn-instance-mvpn] route-distinguisher 100:1 [Sysname-vpn-instance-mvpn] multicast routing-enable [Sysname-vpn-instance-mvpn] quit [Sysname] msdp vpn-instance mvpn [Sysname-msdp-mvpn] Related commands multicast routing-enable originating-rp Use originating-rp to configure the address of the specified interface as the RP address of SA messages. Use undo originating-rp to restore the default.
undo peer peer-address Default No MSDP peer connection is created. Views Public network MSDP view, VPN instance MSDP view Default command level 2: System level Parameters peer-address: Specifies an MSDP peer. interface-type interface-number: Specifies an interface by its type and number. The local device uses the IP address of the specified interface as the source IP address when setting up a TCP connection with the remote MSDP peer.
Default command level 2: System level Parameters peer-address: Specifies an MSDP peer. text: Specifies a description, a case-sensitive string of 1 to 80 characters, including spaces. Examples # On the public network, add the descriptive text "CustomerA" for the router with the IP address of 125.10.7.6 to indicate that this router is Customer A. system-view [Sysname] msdp [Sysname-msdp] peer 125.10.7.
[Sysname] msdp [Sysname-msdp] peer 125.10.7.6 mesh-group Group1 # In VPN instance mvpn, configure the MSDP peer with the IP address of 125.10.7.6 as a member of the mesh group "Group1". system-view [Sysname] msdp vpn-instance mvpn [Sysname-msdp-mvpn] peer 125.10.7.6 mesh-group Group1 peer minimum-ttl Use peer minimum-ttl to configure the TTL threshold for multicast data packet encapsulation in SA messages. Use undo peer minimum-ttl to restore the default.
peer password Use peer password to configure a password for MD5 authentication used by both MSDP peers to establish a TCP connection. Use undo peer password to restore the default. Syntax peer peer-address password { cipher cipher-password | simple simple-password } undo peer peer-address password Default No MD5 authentication is performed for MSDP peers to establish TCP connections.
peer request-sa-enable Use peer request-sa-enable to enable the device to send an SA request message to the specified MSDP peer after receiving a new join message. Use undo peer request-sa-enable to disable the device from sending an SA request message to the specified MSDP peer. Syntax peer peer-address request-sa-enable undo peer peer-address request-sa-enable Default After receiving a new join message, the router does not send an SA request message to any MSDP peer.
Use undo peer sa-cache-maximum to restore the default. Syntax peer peer-address sa-cache-maximum sa-limit undo peer peer-address sa-cache-maximum Default The device can cache a maximum of 8,192 (S, G) entries learned from any MSDP peer. Views Public network MSDP view, VPN instance MSDP view Default command level 2: System level Parameters peer-address: Specifies an MSDP peer. sa-limit: Specifies the maximum number of (S, G) entries that the device can cache, in the range of 1 to 8192.
Views Public network MSDP view, VPN instance MSDP view Default command level 2: System level Parameters import: Specifies the incoming direction. export: Specifies the outgoing direction. peer-address: Specifies an MSDP peer. acl-number: Specifies an advanced ACL number in the range of 3000 to 3999. If you do not provide an ACL number, all SA messages carrying (S, G) entries are filtered off.
Syntax peer peer-address sa-request-policy [ acl acl-number ] undo peer peer-address sa-request-policy Default SA request messages are not filtered. Views Public network MSDP view, VPN instance MSDP view Default command level 2: System level Parameters peer-address: Specifies an MSDP peer. acl-number: Specifies a basic ACL number in the range of 2000 to 2999. If you provide this argument, the SA requests of only the multicast groups that match the ACL are accepted and other SA requests are ignored.
Views User view Default command level 2: System level Parameters all-instance: Specifies all VPN instances. vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters. peer-address: Specifies an MSDP peer. If no MSDP peer is specified, this command resets the TCP connections with all MSDP peers.
Examples # Clear the (S, G) entries for multicast group 225.5.4.3 from the SA cache on the public network. reset msdp sa-cache 225.5.4.3 Related commands • cache-sa-enable • display msdp sa-cache reset msdp statistics Use reset msdp statistics to clear statistics for the specified MSDP peer without resetting the connections with the MSDP peer.
Views Public network MSDP view, VPN instance MSDP view Default command level 2: System level Parameters peer-address: Specifies an MSDP peer. Examples # Terminate the connection with the MSDP peer 125.10.7.6 on the public network. system-view [Sysname] msdp [Sysname-msdp] shutdown 125.10.7.6 # Terminate the connection with the MSDP peer 125.10.7.6 in VPN instance mvpn. system-view [Sysname] msdp vpn-instance mvpn [Sysname-msdp-mvpn] shutdown 125.10.7.
policy at the same time, when a peer receives an SA message, it forwards the SA message to the other peers. • If you use the rp-policy keyword for none of the static RPF peers, according to the configuration sequence, only the first static RPF peer whose connection is in up state is activated. All SA messages from this peer are accepted but the SA messages from other static RPF peers are discarded.
system-view [Sysname] msdp [Sysname-msdp] timer retry 60 # Set the MSDP peer connection retry interval to 60 seconds in VPN instance mvpn.
MBGP configuration commands For more information about routing policy commands, see Layer 3—IP Routing Command Reference. aggregate (MBGP address family view) Use aggregate to create a summary route in the IPv4 MBGP routing table. Use undo aggregate to remove a summary route.
Keywords Function detail-suppressed Does not suppress the summary route, but it suppresses the advertisement of all the more specific routes. To summarize only some specific routes, use the suppress-policy command. suppress-policy Used to create a summary route and suppress the advertisement of some summarized routes. If you want to suppress some routes selectively and leave other routes still advertised, use the if-match clause of the route-policy command.
Usage guidelines MBGP has no explicit metric for implementing load balancing. Instead, it implements load balancing by using route selection rules. If you do not specify the ibgp or the ebgp keyword, this command configures load sharing for all MBGP routes. You cannot execute the balance number command after you specify the ibgp or the ebgp keyword. To execute the balance number command, use the undo command to remove the previous configuration, and vice versa.
Examples # In IPv4 MBGP address family view, configure BGP to ignore AS_PATH during best route selection. system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family multicast [Sysname-bgp-af-mul] bestroute as-path-neglect bestroute compare-med (MBGP address family view) Use bestroute compare-med to enable the comparison of the MED for paths from each AS during best route selection. Use undo bestroute compare-med to disable this comparison.
Default command level 2: System level Usage guidelines The system compares only MED values for paths from peers within the confederation. Paths from external ASs are advertised throughout the confederation without MED comparison. Examples # In IPv4 MBGP address family view, enable the comparison of the MED for paths from peers within the confederation.
Use undo dampening to disable route dampening. Syntax dampening [ half-life-reachable half-life-unreachable reuse suppress ceiling | route-policy route-policy-name ] * undo dampening Default No IPv4 MBGP route dampening is configured. Views IPv4 MBGP address family view Default command level 2: System level Parameters half-life-reachable: Specifies a half-life for active routes from 1 to 45 minutes. By default, the value is 15 minutes.
Default The default local preference is 100. Views IPv4 MBGP address family view Default command level 2: System level Parameters value: Specifies the default local preference in the range of 0 to 4294967295. A larger value means a higher preference. Usage guidelines Using this command can affect MBGP route selection. Examples # In IPv4 MBGP address family view, set the default local preference to 180.
Examples # In IPv4 MBGP address family view, configure the default MED as 25. system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family multicast [Sysname-bgp-af-mul] default med 25 default-route imported (MBGP address family view) Use default-route imported to allow default route redistribution into the MBGP routing table. Use undo default-route imported to restore the default. Syntax default-route imported undo default-route imported Default Default route redistribution is not allowed.
Default command level 2: Monitor level Parameters verbose: Displays detailed information about the multicast routing table, including both inactive and active multicast routes. Without the keyword, the command displays brief information about only the active MBGP routes. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
display ip multicast routing-table verbose Routing Table : Public Destinations : 2 Routes : 2 Destination: 192.168.80.0/24 Protocol: Direct Preference: 0 NextHop: 192.168.80.10 BkNextHop: 0.0.0.0 RelyNextHop: 0.0.0.0 Tunnel ID: 0x0 State: Active Adv Process ID: 0 Cost: 0 Interface: GigabitEthernet2/1/1 BkInterface: Neighbour: 0.0.0.0 Label: NULL Age: 00h14m49s Tag: 0 Destination: 192.168.80.10/32 Protocol: Direct Preference: 0 NextHop: 127.0.0.1 BkNextHop: 0.0.0.0 RelyNextHop: 0.0.0.
Field Description Route state: • • • • • • State Active. Inactive. Adv—Can be advertised. NoAdv—Cannot be advertised. GotQ—Route recursion succeeded. WaitQ—Route recursion has not succeeded yet. Age Age of the route, in the sequence of hour, minute, and second from left to right. Tag Route tag. display ip multicast routing-table ip-address Use display ip multicast routing-table ip-address to display information about multicast routes to a specified destination address.
It displays all multicast routes that fall into the natural network of the IP address. If no such multicast routes are available, it displays only the longest matched active multicast route. display ip multicast routing-table ip-address mask It displays the multicast route that exactly matches the IP address and mask. Examples # Display brief information about all multicast routes that fall into the natural network of the IP address (A multicast route is available).
Destination: 169.0.0.0/8 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0 IpPrecedence: NextHop: 169.1.1.1 BkNextHop: 0.0.0.0 RelyNextHop: 0.0.0.0 QosLcId: Interface: GigabitEthernet2/1/1 BkInterface: Neighbour: 0.0.0.0 Tunnel ID: 0x0 State: Active Adv Label: NULL Age: 00h00m32s Tag: 0 For more information about the fields, see Table 41. display bgp multicast group Use display bgp multicast group to display IPv4 MBGP peer group information.
No routing policy is configured Members: Peer AS 2.2.2.1 200 MsgRcvd MsgSent 0 OutQ PrefRcv Up/Down 0 0 State 0 00:00:35 Active Table 42 Command output Field Description BGP peer-group Name of the peer group. Remote AS AS number of the peer group. Type Type of the peer group: IBGP or EBGP. Maximum allowed prefix number Maximum allowed prefix number.
Default command level 2: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Table 45 Command output Field Description Peer IP address of the peer. Local Local router ID. Type Peer type. BGP version BGP version. remote router ID Router ID of the peer. BGP current state Current state of the peer. BGP current event Current event of the peer. BGP last state Previous state of the peer. Port TCP port numbers. Configured: Active Hold Time: 180 sec Keepalive Time: 60 sec Local holdtime interval and keepalive interval.
Field Description Negotiation result: The local BGP router can send router-refresh messages that carry the ORF information, and the peer can receive route-refresh messages that carry the ORF information. • If receive is displayed, the local BGP router can receive Negotiated: send router-refresh messages that carry the ORF information, and the peer can send route-refresh messages that carry the ORF information.
ORF ip-prefix entries: 2 ge: greater-equal le: less-equal Index Rule Ge Le 10 permit 111.111.111.0/24 Prefix 26 32 20 deny 26 32 2.1.1.0/24 Table 46 Command output Field Description ORF ip-prefix entries Number of ORF prefix entries. Index Index of a prefix entry. Rule Matching rule of the prefix. Prefix Prefix information. Ge Greater-equal, which means that the mask length must be greater than or equal to the specific value.
display bgp multicast routing-table Total Number of Routes: 1 BGP Local router ID is 10.10.10.1 Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? - incomplete *> Network NextHop MED 40.40.40.0/24 20.20.20.1 LocPrf PrefVal Path/Ogn 0 200 300i Table 47 Command output Field Description Total Number of Routes Total number of routes. BGP Local router ID BGP local router ID.
display bgp multicast routing-table as-path-acl Use display bgp multicast routing-table as-path-acl to display IPv4 MBGP routes that match an AS-path ACL. Syntax display bgp multicast routing-table as-path-acl as-path-acl-number [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 2: Monitor level Parameters as-path-acl-number: Specifies an AS path ACL in the range of 1 to 256. |: Filters command output by specifying a regular expression.
Default command level 2: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
no-export: Displays MBGP routes that cannot be advertised out of the AS. If a confederation is configured, it displays routes that cannot be advertised out of the confederation, but can be advertised to other sub ASs in the confederation. no-export-subconfed: Displays MBGP routes that cannot be advertised out of the AS or to other sub ASs in the confederation. whole-match: Displays the MBGP routes that exactly match the specified community attributes.
comm-list-name: Specifies a community list by its name, a string of 1 to 31 characters (not all are numbers). whole-match: Displays routes that exactly match the specified basic-community-list. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
Examples # Display dampened IPv4 MBGP routes. display bgp multicast routing-table dampened BGP Local router ID is 2.2.2.2 Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? - incomplete *d Network From Reuse Path/Origin 77.0.0.0 12.1.1.1 00:29:20 100? Table 48 Command output Field Description From IP address from which the route was received. Reuse Reuse time of the route.
Reuse Value : 750 Reach HalfLife Time(in second) Unreach HalfLife Time(in : 900 second): 900 Suppress-Limit : 2000 Table 49 Command output Field Description Maximum Suppress Time Maximum suppress time. Ceiling Value Ceiling penalty value. Reuse Value Reuse value. HalfLife Time Half-life time of active routes. Suppress-Limit Threshold at which a route is suppressed.
Origin : i - IGP, e - EGP, ? - incomplete *> Network NextHop MED 55.0.0.0 12.1.1.1 0 0 100? 14.1.1.2 0 0 300? * LocPrf PrefVal Path/Ogn For more information about the fields, see Table 47. display bgp multicast routing-table flap-info Use display bgp multicast routing-table flap-info to display IPv4 MBGP route flap statistics.
h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? – incomplete Network From Flaps Duration *> 55.0.0.0 12.1.1.1 2 00:00:16 *d 77.0.0.0 12.1.1.1 5 00:34:02 Reuse Path/Origin 100? 00:27:08 100? Table 50 Command output Field Description From Source IP address of the route. Flaps Number of routing flaps. Duration Route flap duration. Reuse Reuse time of the route. For more information about the fields, see Table 47.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Examples # Display IPv4 MBGP routing information advertised to the peer 20.20.20.1. display bgp multicast routing-table peer 20.20.20.1 advertised-routes Total Number of Routes: 2 BGP Local router ID is 30.30.30.
*> 40.40.40.0/24 30.30.30.1 0 0 300i For more information about the fields, see Table 47. display bgp multicast routing-table statistic Use display bgp multicast routing-table statistic to display IPv4 MBGP routing statistics. Syntax display bgp multicast routing-table statistic [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 2: Monitor level Parameters |: Filters command output by specifying a regular expression.
Parameters acl-number: Specifies an ACL by its number in the range of 2000 to 3999. ip-prefix-name: Specifies an IP prefix list by its name, a string of 1 to 19 characters. direct: Filters direct routes. isis process-id: Filters outgoing routes redistributed from an ISIS process. The process ID is in the range of 1 to 65535. ospf process-id: Filters outgoing routes redistributed from the OSPF process with an ID from 1 to 65535. rip process-id: Filters outgoing routes redistributed from a RIP process.
[Sysname-bgp] ipv4-family multicast [Sysname-bgp-af-mul] filter-policy 2000 import import-route (MBGP address family view) Use import-route to enable route redistribution from a specified routing protocol. Use undo import-route to disable route redistribution from a routing protocol.
[Sysname] bgp 100 [Sysname-bgp] ipv4-family multicast [Sysname-bgp-af-mul] import-route rip ipv4-family multicast Use ipv4-family multicast to enter IPv4 MBGP address family view. Use undo ipv4-family multicast to remove all configurations made in IPv4 MBGP address family view and return to MBGP view. Syntax ipv4-family multicast undo ipv4-family multicast Views BGP view Default command level 2: System level Examples # Enter IPv4 MBGP address family view.
short-cut: Specifies the route to use the local preference. If the route is an EBGP route whose preference is higher than the local preference, using this keyword can configure the EBGP route to use the local preference, and thus the route can hardly become the optimal route. route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
Related commands • apply community • if-match community • ip community-list (Layer 3—IP Routing Command Reference) peer advertise-ext-community (MBGP address family view) Use peer advertise-ext-community to advertise the extended community attribute to a peer or a peer group. Use undo peer advertise-ext-community to disable the extended community attribute advertisement to a peer or a peer group.
peer allow-as-loop (MBGP address family view) Use peer allow-as-loop to allow the local AS number to exist in the AS_PATH attribute of routes from a peer or a peer group, and to configure the number of times that the local AS number can appear. Use undo peer allow-as-loop to remove the configuration. Syntax peer { group-name | ip-address } allow-as-loop [ number ] undo peer { group-name | ip-address } allow-as-loop Default The local AS number is not allowed.
Default No AS path ACL based filtering is configured. Views IPv4 MBGP address family view Default command level 2: System level Parameters group-name: Specifies an IPv4 MBGP peer group by its name, a string of 1 to 47 characters. ip-address: Specifies an IPv4 MBGP peer by its IP address. as-path-acl-number: Specifies an AS path ACL in the range of 1 to 256. export: Specifies the outgoing routes. import: Specifies the incoming routes.
Default command level 2: System level Parameters group-name: Specifies an IPv4 MBGP peer group by its name, a string of 1 to 47 characters. ip-address: Specifies an IPv4 MBGP peer by its IP address. both: Supports sending and receiving route-refresh messages carrying the ORF information. receive: Supports receiving route-refresh messages carrying the ORF information. send: Supports sending route-refresh messages carrying the ORF information.
undo peer { group-name | ip-address } default-route-advertise Default No default route is advertised to a peer or a peer group. Views IPv4 MBGP address family view Default command level 2: System level Parameters group-name: Specifies an IPv4 MBGP peer group by its name, a string of 1 to 47 characters. ip-address: Specifies an IPv4 MBGP peer by its IP address. route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
Usage guidelines If a peer is disabled, the router does not exchange routing information with the peer. Examples # Enable the peer 18.10.0.9. system-view [Sysname] bgp 100 [Sysname-bgp] peer 18.10.0.9 as-number 100 [Sysname-bgp] ipv4-family multicast [Sysname-bgp-af-mul] peer 18.10.0.9 enable peer filter-policy (MBGP address family view) Use peer filter-policy to configure an ACL-based filter policy for a peer or peer group. Use undo peer filter-policy to remove the filtering.
peer group (MBGP address family view) Use peer group to add an IPv4 MBGP peer to an IPv4 MBGP peer group. Use undo peer group to delete a specified peer from a peer group. Syntax peer ip-address group group-name undo peer ip-address group group-name Default No peer is added into a peer group. Views IPv4 MBGP address family view Default command level 2: System level Parameters ip-address: Specifies an IPv4 MBGP peer by its IP address.
Default command level 2: System level Parameters group-name: Specifies an IPv4 MBGP peer group by its name, a string of 1 to 47 characters. ip-address: Specifies an IPv4 MBGP peer by its IP address. ip-prefix-name: Specifies an IP prefix list by its name, a string of 1 to 19 characters. export: Specifies the outbound direction. import: Specifies the inbound direction. Examples # In IPv4 MBGP address family view, use the IP prefix list 1 to filter routes outgoing to the peer group test.
[Sysname-bgp] ipv4-family multicast [Sysname-bgp-af-mul] peer 131.108.1.1 enable [Sysname-bgp-af-mul] peer 131.108.1.1 keep-all-routes peer next-hop-local (MBGP address family view) Use peer next-hop-local to specify the router as the next hop for routes sent to a peer or a peer group. Use undo peer next-hop-local to remove the configuration.
Views IPv4 MBGP address family view Default command level 2: System level Parameters group-name: Specifies an IPv4 MBGP peer group by its name, a string of 1 to 47 characters. ip-address: Specifies an IPv4 MBGP peer by its IP address. value: Specifies a preferred value in the range of 0 to 65535. Usage guidelines Routes learned from a peer have an initial preferred value.
Default command level 2: System level Parameters group-name: Specifies an IPv4 MBGP peer group by its name, a string of 1 to 47 characters. ip-address: Specifies an IPv4 MBGP peer by its IP address. Usage guidelines The command does not take effect on BGP updates with both public and private AS numbers. The range of private AS numbers is from 64512 to 65535. Examples # In IPv4 MBGP address family view, disable updates sent to the peer group test from carrying private AS numbers.
[Sysname-bgp] group test internal [Sysname-bgp] peer test as-number 100 [Sysname-bgp] ipv4-family multicast [Sysname-bgp-af-mul] peer test enable [Sysname-bgp-af-mul] peer test reflect-client Related commands • reflect between-clients • reflect cluster-id peer route-limit (MBGP address family view) Use peer route-limit to set the maximum number of routes that can be received from a peer or a peer group. Use undo peer route-limit to restore the default.
peer route-policy (MBGP address family view) Use peer route-policy to apply a routing policy to routes incoming from or outgoing to a peer or peer group. Use undo peer route-policy to remove the configuration. Syntax peer { group-name | ip-address } route-policy route-policy-name { export | import } undo peer { group-name | ip-address } route-policy route-policy-name { export | import } Default No routing policy is applied to routes from/to the peer or the peer group.
undo preference Default The default preference values of external, internal and local BGP routes are 255, 255, and 130, respectively. Views IPv4 MBGP address family view Default command level 2: System level Parameters external-preference: Specifies the preference of EBGP routes, in the range of 1 to 255. internal-preference: Specifies the preference of IBGP routes, in the range of 1 to 255. local-preference: Specifies the preference of local routes, in the range of 1 to 255.
Examples # Disable route reflection between clients. system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family multicast [Sysname-bgp-af-mul] undo reflect between-clients Related commands • reflector cluster-id • peer reflect-client reflector cluster-id (MBGP address family view) Use reflector cluster-id to configure the cluster ID for the route reflectors. Use undo reflector cluster-id to remove the configured cluster ID.
refresh bgp ipv4 multicast Use refresh bgp ipv4 multicast to perform soft reset on specified IPv4 MBGP connections. This method can also refresh the MBGP routing table and apply a new routing policy seamlessly. Syntax refresh bgp ipv4 multicast { all | ip-address | group group-name | external | internal } { export | import } Views User view Default command level 2: Monitor level Parameters all: Specifies all BGP connections. ip-address: Specifies an IPv4 MBGP peer by its IP address.
ip-address: Specifies a peer by its IP address. group group-name: Specifies a BGP peer group. external: Specifies all EBGP connections. internal: Specifies all IBGP connections. Examples # Reset all IPv4 MBGP connections. reset bgp ipv4 multicast all reset bgp ipv4 multicast dampening Use reset bgp ipv4 multicast dampening to clear route dampening information and release suppressed routes.
Parameters as-path-regular-expression: Specifies an AS path regular expression, a case-sensitive string of 1 to 80 characters with spaces included. as-path-acl-number: Specifies an AS path ACL in the range of 1 to 256. ip-address: Specifies a route. mask: Specifies a mask, in dotted decimal notation. The default is 255.255.255.255. mask-length: Specifies a mask length in the range of 0 to 32. The default is 32.
Multicast VPN configuration commands display bgp mdt group Use display bgp mdt group to display information about a BGP MDT peer group. Syntax display bgp mdt group [ group-name ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters group-name: Specifies a BGP MDT peer group by its group name. A group name is a case-sensitive string of 1 to 47 characters and must not contain any space.
Table 52 Command output Field Description BGP peer-group BGP peer group name. Remote AS AS number of the peer group. Type of the peer group: Type • external—EBGP peer group. • internal—IBGP peer group. Maximum allowed prefix number Maximum number of allowed prefixes. Threshold Percentage of received prefixes from the peer group to maximum prefixes allowed to receive from the peer group. Configured hold timer value Holdtime interval. Keepalive timer value Keepalive interval.
display bgp mdt peer Use display bgp mdt peer to display BGP MDT peer information. Syntax display bgp mdt peer [ [ ip-address ] verbose ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters ip-address: Specifies a BGP MDT peer by its IP address. verbose: Displays detailed information. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
Minimum time between advertisement runs is 30 seconds Optional capabilities: Route refresh capability has been enabled Connect-interface has been configured Multi-hop ebgp been enabled Peer Preferred Value: 0 Routing policy configured: No routing policy is configured Table 53 Command output Field Description Peer IP address of the peer. Local Local router ID. Peer types: Type • IBGP link—IBGP peers. • EBGP link—EBGP peers. remote router ID Router ID of the peer.
Field Description Current event of the peer: BGP current event • • • • • • • • • • • • • AdvTimerExpired—The route advertisement timer expires. ConnCloesed—The TCP connection is closed. ConnOpen—A TCP connection is required. ConnOpenFailed—Fail to establish a TCP connection. CRTTimerExpired—The connect timer expires. HOLDTimerExpired—The holdtime timer expires. KATTimerExpired—The keepalive timer expires. RecvKeepalive—A keepalive message is received from the peer.
Field Description Address family IPv4 Unicast: advertised and received Routes are advertised and received in IPv4 unicasts. Address family IPv4 MDT: advertised and received Routes are advertised and received in IPv4 multicasts. Received Total numbers of received packets and updates. Sent Total numbers of sent packets and updates. Maximum allowed prefix number Maximum number of allowed prefixes.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
display multicast-domain vpn-instance share-group Use display multicast-domain vpn-instance share-group to display the share-group information of the specified VPN instance in the MD.
Field Description MTunnel address MTI address associated with the share-group address. Router-ID Router ID of the peer that sends the route information. Next-Hop IP address of the next hop. display multicast-domain vpn-instance switch-group receive Use display multicast-domain vpn-instance switch-group receive to display the switch-group information received by the specified VPN instance in the MD.
Examples # Display the switch-group information received by VPN instance mvpn in the MD. display multicast-domain vpn-instance mvpn switch-group receive MD switch-group information received by VPN-Instance: mvpn Total 2 switch-groups for 8 entries Total 2 switch-groups for 8 entries matched switch group: sender: 226.1.1.0 ref count: 4, active count: 2 172.100.1.1 active count: 1 (192.6.1.5, 239.1.1.1) expire time: 00:03:10 (192.6.1.5, 239.1.1.
Field Description expire time Remaining time of the VPN (S, G) entry referenced by the switch-group. Related commands display multicast-domain vpn-instance switch-group send display multicast-domain vpn-instance switch-group send Use display multicast-domain vpn-instance switch-group send to display the switch-group information sent by the specified VPN instance in the MD.
Total 2 switch-groups for 6 entries Total 2 switch-groups for 6 entries matched 226.1.1.0 reference_count: 3 (192.6.1.5, 239.1.1.1) switch time: 00:00:21 (192.6.1.5, 239.1.1.158) switch time: 00:00:21 (192.6.1.5, 239.1.2.50) switch time: 00:00:05 226.1.1.1 reference_count: 3 (192.6.1.2, 225.1.1.1) switch time: 00:00:21 (192.6.1.2, 225.1.2.50) switch time: 00:00:05 (192.6.1.5, 239.1.1.
Syntax ipv4-family mdt undo ipv4-family mdt Views BGP view Default command level 2: System level Examples # Enter BGP-MDT sub-address family view. system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family mdt [Sysname-bgp-af-mdt] multicast extra-vpn Use multicast extra-vpn to specify the source IP address for multicast across VPNs. Use undo multicast extra-vpn to restore the default.
multicast-domain holddown-time Use multicast-domain holddown-time to configure the switch-holddown period. Use undo multicast-domain holddown-time to restore the default. Syntax multicast-domain holddown-time interval undo multicast-domain holddown-time Default The switch-holddown period is 60 seconds.
Usage guidelines This command cannot be configured without the previous share-MDT configuration in the VPN instance. Examples # Enable switch-group reuse logging in VPN instance mvpn. system-view [Sysname] ip vpn-instance mvpn [Sysname-vpn-instance-mvpn] multicast-domain log switch-group-reuse multicast-domain share-group Use multicast-domain share-group to configure a share-group address and associate an MTI with the current VPN instance.
• multicast-domain switch-delay • multicast-domain switch-group-pool Examples # Specify 224.1.1.1 as the share-group address in VPN instance mvpn and associate MTI 0 with the VPN instance. system-view [Sysname] ip vpn-instance mvpn [Sysname-vpn-instance-mvpn] multicast-domain share-group 224.1.1.1 binding mtunnel 0 multicast-domain switch-delay Use multicast-domain switch-delay to configure the switch-delay period. Use undo multicast-domain switch-delay to restore the default.
Default No switch-group-pool is configured and multicast traffic is never switched to a switch-MDT. Views VPN instance view Default command level 2: System level Parameters switch-group-pool: Specifies the start address of the switch-group-pool, in the range of 224.0.1.0 to 239.255.255.255. mask: Specifies the address mask, in the range of 255.255.255.0 to 255.255.255.255, which indicates that the number of the addresses in the switch-group-pool is in the range of 1 to 256.
Default No BGP MDT peer or peer group is enabled. Views BGP-MDT sub-address family view Default command level 2: System level Parameters group-name: Name of a BGP MDT peer group, a case-sensitive string of 1 to 47 characters. A peer group name must not contain any space. ip-address: IP address of a BGP MDT peer. Usage guidelines The BGP peer or peer group must be configured before this command can take effect. Examples # Configure and enable the BGP MDT peer 18.10.0.9.
group-name: Specifies the name of a BGP MDT peer group, a case-sensitive string of 1 to 47 characters. A peer group name must not contain any space. Usage guidelines The BGP MDT peer and peer group must be configured and enabled before this command can take effect. Examples # Configure and enable the BGP MDT peer 10.1.1.1 and the peer group test, and then add the peer to the peer group.
Examples # Configure and activate BGP MDT peer group test, and then configure the local device as a route reflector and specify the BGP MDT peer group test as a client.
Syntax reflector cluster-id { cluster-id | ip-address } undo reflector cluster-id Default A route reflector uses its router ID as the cluster ID. Views BGP-MDT sub-address family view Default command level 2: System level Parameters cluster-id: Specifies the cluster ID of the route reflector, in the range 1 to 4294967295. ip-address: Specifies the cluster ID of the route reflector, which is the IP address of the specified BGP MDT peer.
all: Specifies all the BGP MDT connections. external: Specifies all the EBGP MDT connections. group group-name: Specifies a BGP peer group. A peer group name is a case-sensitive string of 1 to 47 characters and must not contain any space. internal: Specifies all the IBGP MDT connections. Examples # Reset all BGP MDT connections.
IPv6 multicast routing and forwarding configuration commands display multicast ipv6 boundary Use display multicast ipv6 boundary to display IPv6 multicast boundary information on the specified interfaces.
Table 58 Command output Field Description IPv6 multicast boundary information IPv6 multicast boundary. Boundary IPv6 multicast group that corresponds to the IPv6 multicast boundary. Interface Boundary interface that corresponds to the IPv6 multicast boundary. Related commands multicast ipv6 boundary display multicast ipv6 forwarding-table Use display multicast ipv6 forwarding-table to display information about the IPv6 multicast forwarding table.
slot slot-number: Specifies a card by its slot number. If no slot is specified, this command displays the IPv6 multicast forwarding entries on the MPU. The following matrix shows the option and router compatibility: Option 6602 HSR6602 6604/6608/6616 slot slot-number No Yes Yes port-info: Displays Layer 2 port information. This keyword is not supported on the SR6602 or the HSR6602 router. |: Filters command output by specifying a regular expression.
Field Description MID MID of the (S, G). Each (S, G) entry has a unique MID. Flags Current state of the (S, G) entry. Different bits indicate different states of the (S, G) entry. For major values of this field, see Table 60 and Table 61. 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 time out. Incoming interface Incoming interface of the (S, G) entry. List of 1 outgoing interfaces: Outgoing interface list.
Value Meaning 4 The MPU will synchronize the RP information of the entry to other cards. 80 The MPU will synchronize the encapsulation group information of the entry to other cards. 80000000 The MPU will notify other cards to add the entry. 40000000 The MPU will notify other cards to remove the entry.
display multicast ipv6 forwarding-table df-info IPv6 Multicast DF information Total 1 RP Total 1 RP matched 00001. RP Address: 2010::1 MID: 0, Flags: 0x2100000:0 Uptime: 00:08:32 RPF interface: GigabitEthernet2/1/1 List of 1 DF interfaces: 1: GigabitEthernet2/1/2 Table 62 Command output Field Description IPv6 Multicast DF information DF information of the IPv6 multicast forwarding table. Total 1 RP Total number of RPs. Total 1 RP matched Total number of matched RPs.
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 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: Displays the routing entries, where the incoming interface is the specified one.
Field Description Upstream interface Upstream interface of the (S, G) entry. Multicast packets should arrive through this interface. List of 2 downstream interfaces Downstream interface list. These interfaces must forward multicast packets. Related commands display multicast ipv6 forwarding-table display multicast ipv6 rpf-info Use display multicast ipv6 rpf-info to display RPF information of an IPv6 multicast source.
Table 64 Command output Field Description RPF information about source 2001::101 RPF information of the IPv6 multicast source 2001::101. RPF interface Interface type and number of the RPF interface. RPF neighbor IPv6 address of the RPF neighbor. Referenced prefix/prefix length Referenced route and prefix length. Type of the referenced route: • • • • Referenced route type igp—IPv6 unicast route (IGB). egp—IPv6 unicast (EGP). unicast (direct) —IPv6 unicast route (directly connected).
prefix-length: Specifies the address prefix length in the range of 8 to 128. scope-id: Specifies the ID of an admin-scope zone in the range of 3 to 15, which is identified by the scope field in the IPv6 multicast group address. admin-local: Specifies the scope zone as admin-local, which has a scope ID of 4. global: Specifies the scope zone as global, which has a scope ID of 14. organization-local: Specifies the scope zone as organization-local, which has a scope ID of 8.
Default The maximum number is 128. Views System view Default command level 2: System level Parameters limit: Specifies the maximum number of downstream nodes (the maximum number of outgoing interfaces) for a single entry in the IPv6 multicast forwarding table. The value range for this argument is 0 to 128. Examples # Set the maximum number of downstream nodes for a single entry in the IPv6 multicast forwarding table to 120.
Related commands display multicast ipv6 forwarding-table multicast ipv6 load-splitting Use multicast ipv6 load-splitting to enable load splitting of IPv6 multicast traffic. Use undo multicast ipv6 load-splitting to disable load splitting of IPv6 multicast traffic. Syntax multicast ipv6 load-splitting {source | source-group } undo multicast ipv6 load-splitting Default Load splitting of IPv6 multicast traffic is disabled.
Examples # Configure RPF route selection based on the longest match. system-view [Sysname] multicast ipv6 longest-match multicast ipv6 routing-enable Use multicast ipv6 routing-enable to enable IPv6 multicast routing. Use undo multicast ipv6 routing-enable to disable IPv6 multicast routing. Syntax multicast ipv6 routing-enable undo multicast ipv6 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 numbers 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.
interface-type interface-number: Specifies an interface by its name and number. register: Specifies a register interface. 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 entries related to the IPv6 multicast group FF03::101 from the IPv6 multicast routing table.
MLD configuration commands display mld group Use display mld group to display MLD group information.
Last-listener-query-counter: 0 Last-listener-query-timer-expiry: off Group mode: include Version1-host-present-timer-expiry: off Table 65 Command output Field Description Interface group report information MLD group information on the interface. Total 1 MLD Groups reported One MLD group was reported. Group IPv6 multicast group address. Uptime Length of time since the IPV6 multicast group was joined.
verbose: Displays the detailed information about Layer 2 ports of MLD groups. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
Field Description Router port unit board Mask indicating a board with a router port residing on it. Router port(s) Number of router ports. Remaining time of the aging timer for the dynamic member port or router port. ( 00:01:30 ) To display the remaining life of a non-aggregation port that does not belong to the MPU, you must specify the number of the slot where the corresponding card resides by using slot slot-number. For an aggregation port, you do not need to do this.
Examples # Display information about the hosts tracked by MLD in multicast group FF1E::101 on GigabitEthernet 2/1/1. display mld host interface gigabitethernet 2/1/1 group ff1e::101 GigabitEthernet2/1/1(1::1): (::, FF1E::101) Host Uptime Expires 1::1 00:02:20 00:00:40 2::2 00:02:21 00:00:39 Table 67 Command output Field Description GigabitEthernet2/1/1(1::1) Interface and IPv6 address. (::, FF1E::101) (S, G) entry, where :: indicates all IPv6 multicast sources.
Examples # Display detailed MLD configuration and operation information on GigabitEthernet 2/1/1 (downstream interface).
Field Description Value of startup query count Number of MLD general queries sent on startup. General query timer expiry Remaining time of the MLD general query timer, where "off" means that the timer never times out. Querier for MLD IPv6 link-local address of the MLD querier. MLD activity MLD activity statistics (number of join and done messages). Robustness MLD querier's robustness variable. Require-router-alert Dropping MLD messages without Router-Alert: enabled/disabled.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Default command level 1: Monitor level Parameters ipv6-source-address: Specifies a multicast source by its IPv6 address. 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 to F. prefix-length: Specifies the address prefix length. The default value is 128. For a multicast source address, the value range for this argument is 0 to 128. For a multicast group address, the value range for this argument is 8 to 128.
Field Description MLD route flags: • ACT—MLD routing entries that have been used for forwarding data packets but have the multicast group address out of the SSM group range. Flag • SUC—MLD routing entries that have been added to the forwarding table and have the multicast group address within the SSM group range. List of 1 downstream interface List of downstream interfaces: namely the interfaces to which multicast data for this group will be forwarded.
1::2 10::1 100::10 Table 71 Command output Field Description Group IPv6 multicast group address. Source list List of IPv6 multicast source addresses. Related commands ssm-mapping display mld ssm-mapping group Use display mld ssm-mapping group to display information about the multicast groups created based on the configured MLD SSM mappings.
display mld ssm-mapping group ff3e::101 verbose Interface group report information GigabitEthernet2/1/1(FE80::101): Total 1 MLD SSM-mapping Group reported Group: FF3E::101 Uptime: 00:01:46 Expires: off Last reporter: FE80::10 Group mode: include Source list(Total 1 source): Source: 30::1 Uptime: 00:01:46 Expires: 00:02:34 Last-listener-query-counter: 0 Last-listener-query-timer-expiry: off Table 72 Command output Field Description Interface group report information IPv6 multicast group informa
Views Any view Default command level 1: Monitor level Parameters interface-type interface-number: Specifies an interface by its type and number. group ipv6-group-address: Specifies an IPv6 multicast group. The value range for the ipv6-group-address argument is FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, and FF0y::), where x and y represent any hexadecimal numbers from 0 to F. source ipv6-source-address: Specifies an IPv6 multicast source.
Syntax fast-leave [ group-policy acl6-number ] undo fast-leave Default MLD fast-leave processing is disabled. That is, the MLD querier sends multicast-address-specific queries or multicast-address-and-source-specific queries after receiving an MLD done message from a host, instead of sending a leave notification directly to the upstream. Views MLD view Default command level 2: System level Parameters acl6-number: Specifies a basic IPv6 ACL number in the range of 2000 to 2999.
Examples # Enable the MLD host tracking function globally. system-view [Sysname] mld [Sysname-mld] host-tracking Related commands mld host-tracking. last-listener-query-interval (MLD view) Use last-listener-query-interval to configure 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 MLD last listener query interval is 1 second.
undo max-response-time Default The maximum response delay for MLD general queries is 10 seconds. Views MLD view Default command level 2: System level Parameters interval: Specifies the maximum response time for MLD general query messages in seconds, in the range of 1 to 25. Examples # Set the maximum response delay for MLD general queries to 8 seconds globally.
Related commands • mld enable • multicast ipv6 routing-enable mld enable Use mld enable to enable MLD on the current interface. Use undo mld enable to disable MLD on the current interface. Syntax mld enable undo mld enable Default MLD is disabled on the current interface. Views Interface view Default command level 2: System level Usage guidelines This command can take effect only after IPv6 multicast routing is enabled on the device.
Default MLD fast-leave processing is disabled. That is, the MLD querier sends multicast-address-specific queries or multicast-address-and-source-specific queries after receiving an MLD done message from a host, instead of sending a leave notification directly to the upstream. Views Interface view Default command level 2: System level Parameters acl6-number: Specifies a basic IPv6 ACL number in the range of 2000 to 2999.
Usage guidelines This command is effective only on dynamically joined IPv6 multicast groups but not statically joined IPv6 multicast groups. If the configured limit value is smaller than the number of the existing IPv6 multicast groups on the current interface, the system does not automatically remove the IPv6 multicast groups in excess. To bring this configuration into effect in this case, you need to use the reset mld group command to clear the IPv6 multicast groups information manually.
system-view [Sysname] acl ipv6 number 2005 [Sysname-acl6-basic-2005] rule permit source ff03::101 16 [Sysname-acl6-basic-2005] quit [Sysname] interface gigabitethernet 2/1/1 [Sysname-GigabitEthernet2/1/1] mld group-policy 2005 Related commands group-policy (MLD-snooping view) mld host-tracking Use mld host-tracking to enable the MLD host tracking function on an interface.
Views Interface view Default command level 2: System level Parameters interval: Specifies an MLD last listener query interval in seconds, in the range of 1 to 5. Examples # Set the MLD last listener query interval to 3 seconds on GigabitEthernet 2/1/1.
[Sysname] interface gigabitethernet2/1/1 [Sysname-GigabitEthernet2/1/1] mld max-response-time 8 Related commands • display mld interface • max-response-time • mld timer other-querier-present mld proxying enable Use mld proxying enable to enable MLD proxying on an interface. Use undo mld proxying enable to disable MLD proxying on the interface. Syntax mld proxying enable undo mld proxying enable Default MLD proxying is disabled.
undo mld proxying forwarding Default A non-querier downstream interface does not forward multicast traffic. Views Interface view Default command level 2: System level Examples # Enable the multicast forwarding capability on GigabitEthernet 2/1/1, a non-querier downstream interface on the MLD proxy device.
mld robust-count Use mld robust-count to configure the MLD querier's robustness variable on the current interface. Use undo mld robust-count to restore the default. Syntax mld robust-count robust-value undo mld robust-count Default The MLD querier's robustness variable is 2. Views Interface view Default command level 2: System level Parameters robust-value: Specifies an MLD querier's robustness variable in the range of 2 to 5.
mld send-router-alert Use mld send-router-alert to enable insertion of the Router-Alert option into MLD messages to be sent from the current interface. Use undo mld send-router-alert to disable insertion of the Router-Alert option into MLD messages to be sent from the current interface. Syntax mld send-router-alert undo mld send-router-alert Default MLD messages carry the Router-Alert option.
system-view [Sysname] interface gigabitethernet2/1/1 [Sysname-GigabitEthernet2/1/1] mld ssm-mapping enable mld startup-query-count Use mld startup-query-count to configure the startup query count on the current interface. Use undo mld startup-query-count to restore the default. Syntax mld startup-query-count value undo mld startup-query-count Default The startup query count is set to the MLD querier's robustness variable.
Default command level 2: System level Parameters interval: Specifies a startup query interval (interval between general queries that the MLD querier sends on startup) in seconds, in the range of 1 to 18000. Examples # Set the startup query interval to 5 seconds on GigabitEthernet 2/1/1.
system-view [Sysname] interface gigabitethernet2/1/1 [Sysname-GigabitEthernet2/1/1] mld static-group ff03::101 # Configure GigabitEthernet 2/1/1 as a static member of multicast source and group (2001::101, FF3E::202).
Use undo mld timer query to restore the default. Syntax mld timer query interval undo mld timer query Default The MLD query interval is 125 seconds. Views Interface view Default command level 2: System level Parameters interval: Specifies an MLD query interval (time between MLD general query messages) in seconds, in the range of 1 to 18000. Examples # Set the MLD query interval to 200 seconds on GigabitEthernet 2/1/1.
Examples # Set the MLD version to MLDv2 on GigabitEthernet 2/1/1. system-view [Sysname] interface gigabitethernet2/1/1 [Sysname-GigabitEthernet2/1/1] mld version 2 Related commands version require-router-alert (MLD view) Use require-router-alert to globally configure the device to discard MLD messages without the Router-Alert option. Use undo require-router-alert to restore the default.
Default command level 2: System level Parameters all: The first all specifies all interfaces, and the second all specifies all MLD groups. interface interface-type interface-number: Specifies an interface by its type and number. 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 to F. ipv6-source-address: Specifies an IPv6 multicast source. prefix-length: Specifies the address prefix length.
Usage guidelines Layer 2 ports for MLD groups include member ports and router ports. This command cannot remove static Layer 2 port entries of MLD groups. This command is available only on the router that is installed with the SAP module. Examples # Remove dynamic Layer 2 port entries of all MLD groups in all VLANs. reset mld group port-info all # Remove dynamic Layer 2 port entries of all MLD groups in VLAN 100.
Related commands display mld ssm-mapping group robust-count (MLD view) Use robust-count to configure the MLD querier's robustness variable globally. Use undo robust-count to restore the default. Syntax robust-count robust-value undo robust-count Default The MLD querier's robustness variable is 2. Views MLD view Default command level 2: System level Parameters robust-value: Specifies an MLD querier's robustness variable in the range of 2 to 5.
• timer other-querier-present • timer query send-router-alert (MLD view) Use send-router-alert to globally enable the insertion of the Router-Alert option into MLD messages to be sent. Use undo send-router-alert to globally disable the insertion of the Router-Alert option into MLD messages to be sent. Syntax send-router-alert undo send-router-alert Default MLD messages carry the Router-Alert option.
Default command level 2: System level Parameters 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 to F. prefix-length: Specifies the address prefix length in the range of 8 to 128. ipv6-source-address: Specifies a multicast source by its IPv6 address. all: Specifies all MLD SSM mappings. Examples # Configure an MLD SSM mapping for multicast groups in the range of FF1E::/64 and multicast source 1::1.
Related commands • mld startup-query-count • robust-count startup-query-interval (MLD view) Use startup-query-interval to configure the startup query interval globally. Use undo startup-query-interval to restore the default. Syntax startup-query-interval interval undo startup-query-interval Default The startup query interval is 1/4 of the "MLD query interval".
Views MLD view Default command level 2: System level Parameters interval: Specifies an MLD other querier present interval in seconds, in the range of 60 to 300. Examples # Set the MLD other querier present interval to 200 seconds globally.
Related commands • display mld interface • mld timer query • timer other-querier-present version (MLD view) Use version to configure the MLD version globally. Use undo version to restore the default. Syntax version version-number undo version Default The MLD version is MLDv1. Views MLD view Default command level 2: System level Parameters version-number: Specifies an MLD version number, 1 or 2. Examples # Set the MLD version to MLDv2 globally.
IPv6 PIM configuration commands bidir-pim enable (IPv6 PIM view) Use bidir-pim enable to enable IPv6 BIDIR-PIM. Use undo bidir-pim enable to disable IPv6 BIDIR-PIM. Syntax bidir-pim enable undo bidir-pim enable Default IPv6 BIDIR-PIM is disabled. Views IPv6 PIM view Default command level 2: System level Usage guidelines This command takes effect only after IPv6 multicast routing is enabled. Examples # Enable IPv6 multicast routing, enter IPv6 PIM view, and enable IPv6 BIDIR-PIM.
Views IPv6 PIM view Default command level 2: System level Usage guidelines The BSM semantic fragmentation function should be disabled if a device that does not support this function exists in the IPv6 PIM-SM domain. Examples # Disable BSM semantic fragmentation on the public network. system-view [Sysname] pim ipv6 [Sysname-pim6] undo bsm-fragment enable bsr-policy (IPv6 PIM view) Use bsr-policy to configure a legal BSR address range to guard against BSR spoofing.
c-bsr (IPv6 PIM view) Use c-bsr to configure the specified interface a C-BSR. Use undo c-bsr to remove the related C-BSR configuration. Syntax c-bsr ipv6-address [ hash-length [ priority ] ] undo c-bsr Default No C-BSR is configured. Views IPv6 PIM view Default command level 2: System level Parameters ipv6-address: Specifies the IPv6 address of the interface that will act as a C-BSR. hash-length: Specifies a hash mask length in the range of 0 to 128.
Default IPv6 administrative scoping is disabled. Views IPv6 PIM view Default command level 2: System level Examples # Enable IPv6 administrative scoping. system-view [Sysname] pim ipv6 [Sysname-pim6] c-bsr admin-scope Related commands • c-bsr • c-bsr scope c-bsr hash-length (IPv6 PIM view) Use c-bsr hash-length to configure the global Hash mask length. Use undo c-bsr hash-length to restore the default.
c-bsr holdtime (IPv6 PIM view) Use c-bsr holdtime to configure the BS timeout timer, namely, the time that the C-BSRs wait for a bootstrap message from the BSR. Use undo c-bsr holdtime to restore the default. Syntax c-bsr holdtime interval undo c-bsr holdtime Default This formula determines the bootstrap timeout value: BS timeout = BS period × 2 + 10. The default BS period is 60 seconds, so the default BS timeout timer is 60 × 2 + 10 = 130 (seconds).
Default command level 2: System level Parameters interval: Specifies a BS period in seconds. The value ranges from 10 to 2147483647. Examples # Set the BS period to 30 seconds. system-view [Sysname] pim ipv6 [Sysname-pim6] c-bsr interval 30 Related commands • c-bsr • c-bsr holdtime c-bsr priority (IPv6 PIM view) Use c-bsr priority to configure the global C-BSR priority. Use undo c-bsr priority to restore the default.
Use undo c-bsr scope to remove the C-BSR configuration. Syntax c-bsr scope { scope-id | admin-local | global | organization-local | site-local } [ hash-length hash-length | priority priority ] * undo c-bsr scope { scope-id | admin-local | global | organization-local | site-local } Views IPv6 PIM view Default command level 2: System level Parameters scope-id: Specifies the value of the Scope field, in the range of 3 to 15.
Default No C-RPs are configured. Views IPv6 PIM view Default command level 2: System level Parameters ipv6-address: Specifies the IPv6 address of the interface that will act as a C-RP. acl6-number: Specifies a basic IPv6 ACL number in the range of 2000 to 2999. This IPv6 ACL defines a range of IPv6 multicast groups the C-RP is going to serve, rather than defining a filtering rule.
c-rp advertisement-interval (IPv6 PIM view) Use c-rp advertisement-interval to configure the interval at which C-RP-Adv messages are sent. Use undo c-rp advertisement-interval to restore the default. Syntax c-rp advertisement-interval interval undo c-rp advertisement-interval Default The C-RP-Adv interval is 60 seconds. Views IPv6 PIM view Default command level 2: System level Parameters interval: Specifies a C-RP-Adv interval in seconds. The value ranges from 1 to 65535.
Parameters interval: Specifies a C-RP timeout timer in seconds. The value ranges from 1 to 65535. Usage guidelines Because a non-BSR router refreshes its C-RP timeout timer through bootstrap messages, to prevent loss of C-RP information in bootstrap messages, make sure the C-RP timeout timer is not smaller than the interval at which the BSR sends bootstrap messages. The recommended C-RP timeout setting is 2.5 times the BS period or longer. Examples # Set the global C-RP timeout timer to 200 seconds.
Examples # Configure a C-RP policy so that only devices in the IPv6 address range of 2001::2/64 can be C-RPs that serve IPv6 multicast groups in the address range of FF03::101/64.
Scope: 14 Candidate RP: 2001::1(LoopBack1) Priority: 192 HoldTime: 130 Advertisement Interval: 60 Next advertisement scheduled at: 00:00:48 Candidate RP: 2002::1(GigabitEthernet2/1/1) Priority: 200 HoldTime: 90 Advertisement Interval: 50 Next advertisement scheduled at: 00:00:28 Candidate RP: 2003::1(GigabitEthernet2/1/2) Priority: 192 HoldTime: 80 Advertisement Interval: 60 Next advertisement scheduled at: 00:00:48 Table 74 Command output Field Description Elected BSR Address IPv6 address of the elect
display pim ipv6 claimed-route Use display pim ipv6 claimed-route to display information about IPv6 unicast routes that IPv6 PIM uses. Syntax display pim ipv6 claimed-route [ ipv6-source-address ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters ipv6-source-address: Specifies an IPv6 multicast source. If you do not provide this argument, this command displays information about all IPv6 unicast routes that IPv6 PIM uses.
Field Description Type of the referenced route: • • • • Referenced route type IGP—IGP IPv6 unicast route. EGP—EGP IPv6 unicast route. Unicast (direct)—Direct IPv6 unicast route. Unicast—Other IPv6 unicast route (such as IPv6 static unicast route). • MBGP—IPv6 MBGP route. RPF-route selecting rule Rule of RPF route selection. The (S,G) or (*,G) list dependent on this route entry (S, G) or (*, G) entry list dependent on this RPF route.
exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Examples # Display the statistics for all IPv6 PIM control messages on all interfaces.
display pim ipv6 df-info Use display pim ipv6 df-info to display the DF information of IPv6 BIDIR-PIM. Syntax display pim ipv6 df-info [ rp-address ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters rp-address: Specifies the RP address of IPv6 BIDIR-PIM. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
display pim ipv6 grafts Use display pim ipv6 grafts to display information about unacknowledged IPv6 PIM-DM graft messages. Syntax display pim ipv6 grafts [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
Default command level 1: Monitor level Parameters interface-type interface-number: Displays the IPv6 PIM information on a particular interface. verbose: Displays the detailed PIM information. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
Field Description PIM mode IPv6 PIM mode, dense or sparse. PIM DR IPv6 address of the DR. PIM DR Priority (configured) Priority for DR election. PIM neighbor count Total number of IPv6 PIM neighbors. PIM hello interval Interval between IPv6 PIM hello messages. PIM LAN delay (negotiated) Negotiated prune message delay. PIM LAN delay (configured) Configured prune message delay. PIM override interval (negotiated) Negotiated prune override interval.
Default command level 1: Monitor level Parameters mode: Displays the information of join/prune messages to send in the specified IPv6 PIM mode. IPv6 PIM modes include sm and ssm, which represent IPv6 PIM-SM and IPv6 PIM-SSM, respectively. flags flag-value: Displays IPv6 PIM routing entries containing the specified flag or flags. The values and meanings of flag-value are as follows: • rpt: Specifies routing entries on the RPT. • spt: Specifies routing entries on the SPT.
display pim ipv6 neighbor Use display pim ipv6 neighbor to display IPv6 PIM neighbor information. Syntax display pim ipv6 neighbor [ interface interface-type interface-number | ipv6-neighbor-address | verbose ] * [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters interface-type interface-number: Specifies an interface by its type and number. ipv6-neighbor-address: Specifies an IPv6 PIM neighbor.
Neighbor Secondary Address(es): 1::1 Table 81 Command output Field Description Total Number of Neighbors Total number of IPv6 PIM neighbors. Neighbor Primary IPv6 address of the PIM neighbor (link-local address). Interface Interface connecting the IPv6 PIM neighbor. Uptime Length of time since the IPv6 PIM neighbor was discovered. Expires/Expiry time Remaining time of the IPv6 PIM neighbor; "never" means that the IPv6 PIM neighbor is always up and reachable.
Parameters 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 to F. ipv6-source-address: Specifies an IPv6 multicast source by its IPv6 address. 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.
include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Examples # Display IPv6 PIM routing table information.
Table 82 Command output Field Description Total 0 (*, G) entry; 1 (S, G) entry Number of (S, G) and (*, G) entries in the IPv6 PIM routing table. (2001::2, FFE3::101) An (S, G) entry in the IPv6 PIM routing table. RP IP address of the RP. Protocol IPv6 PIM mode: IPv6 PIM-SM or IPv6 PIM-DM. Flag of the (S, G) or (*, G) entry in the IPv6 PIM routing table: • • • • ACT—The entry has been used for routing data. BIDIR—The entry was created by IPv6 BIDIR-PIM. DEL—The entry will be removed.
Syntax display pim ipv6 rp-info [ ipv6-group-address ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters 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 numbers from 0 to F. If you do not provide a group address, this command displays the RP that corresponds to all IPv6 multicast groups.
Field Description Expires Remaining time of the RP. embedded-rp Use embedded-rp to enable embedded RP. Use undo embedded-rp to disable embedded RP or restore the default. Syntax embedded-rp [ acl6-number ] undo embedded-rp [ acl6-number ] Default Embedded RP is enabled for IPv6 multicast groups in the default embedded RP address scopes. Views IPv6 PIM view Default command level 2: System level Parameters acl6-number: Specifies a basic IPv6 ACL number in the range of 2000 to 2999.
Use undo hello-option dr-priority to restore the default. Syntax hello-option dr-priority priority undo hello-option dr-priority Default The router priority for DR election is 1. Views IPv6 PIM view Default command level 2: System level Parameters priority: Specifies a router priority for DR election, in the range of 0 to 4294967295. A larger value means a higher priority. Examples # Set the router priority for DR election to 3.
system-view [Sysname] pim ipv6 [Sysname-pim6] hello-option holdtime 120 Related commands pim ipv6 hello-option holdtime hello-option lan-delay (IPv6 PIM view) Use hello-option lan-delay to configure the global value of the LAN-delay time (namely, the period of time that the device waits before it forwards a received prune message). Use undo hello-option lan-delay to restore the default.
Default Join suppression is enabled, and neighbor tracking is disabled. Views IPv6 PIM view Default command level 2: System level Examples # Disable join suppression globally. system-view [Sysname] pim ipv6 [Sysname-pim6] hello-option neighbor-tracking Related commands pim ipv6 hello-option neighbor-tracking hello-option override-interval (IPv6 PIM view) Use hello-option override-interval to configure the global value of the prune override interval.
holdtime assert (IPv6 PIM view) Use holdtime assert to configure the global value of the assert timeout timer. Use undo holdtime assert to restore the default. Syntax holdtime assert interval undo holdtime assert Default The assert timeout timer is 180 seconds. Views IPv6 PIM view Default command level 2: System level Parameters interval: Specifies an assert timeout timer in seconds. The value ranges from 7 to 2147483647. Examples # Set the global value of the assert timeout timer to 100 seconds.
Parameters interval: Specifies a join/prune timeout timer in seconds. The value ranges from 1 to 65535. Examples # Set the global value of the join/prune timeout timer to 280 seconds. system-view [Sysname] pim ipv6 [Sysname-pim6] holdtime join-prune 280 Related commands • holdtime assert • pim ipv6 holdtime assert • pim ipv6 holdtime join-prune jp-pkt-size (IPv6 PIM view) Use jp-pkt-size to configure the maximum size of each join/prune message. Use undo jp-pkt-size to restore the default.
Syntax jp-queue-size queue-size undo jp-queue-size Default Each join/prune messages contains a maximum of 1020 (S, G) entries. Views IPv6 PIM view Default command level 2: System level Parameters queue-size: Specifies the maximum number of (S, G) entries in each join/prune message, in the range of 1 to 4096. Usage guidelines When you use this command, take the following into account: • The size of the forwarding table.
Default command level 2: System level Usage guidelines IPv6 multicast routing must be enabled on the device before this command can take effect. Examples # Enable IPv6 multicast routing and enter IPv6 PIM view. system-view [Sysname] multicast ipv6 routing-enable [Sysname] pim ipv6 [Sysname-pim6] Related commands multicast ipv6 routing-enable pim ipv6 bsr-boundary Use pim ipv6 bsr-boundary to configure an IPv6 PIM domain border, namely, a bootstrap message boundary.
Syntax pim ipv6 dm undo pim ipv6 dm Default IPv6 PIM-DM is disabled. Views Interface view Default command level 2: System level Usage guidelines This command can take effect only after IPv6 multicast routing is enabled on the device. IPv6 PIM-DM cannot be used for IPv6 multicast groups in the IPv6 SSM group range. Examples # Enable IPv6 multicast routing, and enable IPv6 PIM-DM on GigabitEthernet 2/1/1.
Parameters priority: Specifies a router priority for DR election, in the range of 0 to 4294967295. A larger value means a higher priority. Examples # Set the router priority for DR election to 3 on GigabitEthernet 2/1/1.
Syntax pim ipv6 hello-option lan-delay interval undo pim ipv6 hello-option lan-delay Default The LAN-delay time is 500 milliseconds. Views Interface view Default command level 2: System level Parameters interval: Specifies a LAN-delay time in milliseconds. The value ranges from 1 to 32,767. Examples # Set the LAN-delay time to 200 milliseconds on GigabitEthernet 2/1/1.
[Sysname-GigabitEthernet2/1/1] pim ipv6 hello-option neighbor-tracking Related commands hello-option neighbor-tracking pim ipv6 hello-option override-interval Use pim ipv6 hello-option override-interval to configure the prune override interval on the current interface. Use undo pim ipv6 hello-option override-interval to restore the default. Syntax pim ipv6 hello-option override-interval interval undo pim ipv6 hello-option override-interval Default The prune override interval is 2500 milliseconds.
Views Interface view Default command level 2: System level Parameters interval: Specifies an assert timeout timer in seconds. The value ranges from 7 to 2147483647. Examples # Set the assert timeout timer to 100 seconds on GigabitEthernet 2/1/1.
• pim ipv6 holdtime assert pim ipv6 neighbor-policy Use pim ipv6 neighbor-policy to configure a legal source address range for hello messages to guard against hello message spoofing. Use undo pim ipv6 neighbor-policy to restore the default. Syntax pim ipv6 neighbor-policy acl6-number undo pim ipv6 neighbor-policy Default No source address range for hello messages is configured. That is, all the received hello messages are considered legal.
Views Interface view Default command level 2: System level Examples # Configure GigabitEthernet 2/1/1 to reject hello messages without Generation_ID. system-view [Sysname] interface gigabitethernet 2/1/1 [Sysname-GigabitEthernet2/1/1] pim ipv6 require-genid pim ipv6 sm Use pim ipv6 sm to enable IPv6 PIM-SM. Use undo pim ipv6 sm to disable IPv6 PIM-SM. Syntax pim ipv6 sm undo pim ipv6 sm Default IPv6 PIM-SM is disabled.
Syntax pim ipv6 state-refresh-capable undo pim ipv6 state-refresh-capable Default The state refresh feature is enabled. Views Interface view Default command level 2: System level Examples # Disable state refresh on GigabitEthernet 2/1/1.
pim ipv6 timer hello Use pim ipv6 timer hello to configure the interval at which hello messages are sent on the current interface. Use undo pim ipv6 timer hello to restore the default. Syntax pim ipv6 timer hello interval undo pim ipv6 timer hello Default Hello messages are sent at the interval of 30 seconds. Views Interface view Default command level 2: System level Parameters interval: Specifies a hello interval in seconds. The value ranges from 1 to 2,147,483,647.
Parameters interval: Specifies a join/prune interval in seconds. The value ranges from 1 to 2,147,483,647. Examples # Set the join/prune interval to 80 seconds on GigabitEthernet 2/1/1. system-view [Sysname] interface gigabitethernet 2/1/1 [Sysname-GigabitEthernet2/1/1] pim ipv6 timer join-prune 80 Related commands timer join-prune pim ipv6 triggered-hello-delay Use pim ipv6 triggered-hello-delay to configure the maximum delay between hello messages.
Default The register probe time is 5 seconds. Views IPv6 PIM view Default command level 2: System level Parameters interval: Specifies a register probe time in seconds. The value ranges from 1 to 1799. Examples # Set the register probe time to 6 seconds.
register-policy (IPv6 PIM view) Use register-policy to configure an IPv6 ACL rule to filter register messages. Use undo register-policy to remove the configured register filtering rule. Syntax register-policy acl6-number undo register-policy Default No register filtering rule is configured. Views IPv6 PIM view Default command level 2: System level Parameters acl6-number: Specifies an advanced IPv6 ACL number in the range of 3000 to 3999.
Default command level 2: System level Parameters interval: Specifies a register suppression time in seconds, in the range of 1 to 65535. Examples # Set the register suppression time to 70 seconds. system-view [Sysname] pim ipv6 [Sysname-pim6] register-suppression-timeout 70 Related commands • probe-interval • register-policy register-whole-checksum (IPv6 PIM view) Use register-whole-checksum to configure the router to calculate the checksum based on the entire register message.
Syntax reset pim ipv6 control-message counters [ interface interface-type interface-number ] Views User view Default command level 1: Monitor level Parameters interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command clears the statistics for the IPv6 PIM control messages on all interfaces. Examples # Reset IPv6 PIM control message counters on all interfaces.
Syntax source-policy acl6-number undo source-policy Default No IPv6 multicast data filter is configured. Views IPv6 PIM view Default command level 2: System level Parameters acl6-number: Specifies a basic or advanced IPv6 ACL number in the range of 2000 to 3999. Usage guidelines If you specify a basic ACL, the device filters all received IPv6 multicast packets based on the source address, and discards packets that fail the source address match.
Default command level 2: System level Parameters infinity: Disables switchover to SPT. group-policy acl6-number: Specifies a basic IPv6 ACL number in the range of 2000 to 2999. If you do not include this option in your command, the configuration applies to all IPv6 multicast groups. order order-value: Specifies the order of the IPv6 ACL in the group-policy list.
Views IPv6 PIM view Default command level 2: System level Parameters acl6-number: Specifies a basic IPv6 ACL number in the range of 2000 to 2999. Usage guidelines You can use this command to define an address range of permitted or denied IPv6 multicast groups. If the match succeeds, the multicast mode is IPv6 PIM-SSM. Otherwise, the multicast mode is IPv6 PIM-SM. Examples # Configure the IPv6 SSM group range to be FF3E:0:8192::/96.
• state-refresh-interval • state-refresh-rate-limit state-refresh-interval (IPv6 PIM view) Use state-refresh-interval to configure the interval between state refresh messages. Use undo state-refresh-interval to restore the default. Syntax state-refresh-interval interval undo state-refresh-interval Default The state refresh interval is 60 seconds. Views IPv6 PIM view Default command level 2: System level Parameters interval: State refresh interval in seconds. The value ranges from 1 to 255.
Views IPv6 PIM view Default command level 2: System level Parameters interval: Specifies a time that the device waits before receiving a new refresh message. The value ranges from 1 to 65535 seconds. Examples # Configure the device to wait 45 seconds before it receives a new state refresh message.
bidir: Configures the static RP to serve multicast groups in IPv6 BIDIR-PIM. Without this argument, the static RP serves groups in IPv6 PIM-SM. Usage guidelines IPv6 PIM-SM or IPv6 PIM-DM cannot be enabled on an interface that serves as a static RP. When the IPv6 ACL rule applied on a static RP changes, a new RP must be elected for all IPv6 multicast groups. You can configure multiple static RPs by executing this command multiple times.
system-view [Sysname] pim ipv6 [Sysname-pim6] timer hello 40 Related commands pim ipv6 timer hello timer join-prune (IPv6 PIM view) Use timer join-prune to configure the join/prune interval globally. Use undo timer join-prune to restore the default. Syntax timer join-prune interval undo timer join-prune Default The join/prune interval is 60 seconds. Views IPv6 PIM view Default command level 2: System level Parameters interval: Specifies a join/prune interval in seconds.
IPv6 MBGP configuration commands aggregate (IPv6 MBGP address family view) Use aggregate to create an IPv6 summary route in the IPv6 MBGP routing table. Use undo aggregate to remove an IPv6 summary route. Syntax aggregate ipv6-address prefix-length [ as-set | attribute-policy route-policy-name | detail-suppressed | origin-policy route-policy-name | suppress-policy route-policy-name ] * undo aggregate ipv6-address prefix-length Default No summary route is configured.
Keywords Function suppress-policy Used to create a summary route and suppress the advertisement of some summarized routes. If you want to suppress some routes selectively and leave other routes advertised, use the if-match clause of the route-policy command. origin-policy Selects only routes that meet the routing policy for route summarization. attribute-policy Sets attributes, except the AS-PATH attribute, for the summary route.
You cannot execute the balance number command after you specify the ibgp or the ebgp keyword. To execute the balance number command, use the undo command to remove the previous configuration, and vice versa. Examples # Set the number of IPv6 MBGP ECMP routes to 2. system-view [Sysname]bgp 100 [Sysname-bgp]ipv6-family multicast [Sysname-bgp-af-ipv6-mul] balance 2 # Set the number of IPv6 MBGP ECMP routes learned from IBGP peers to 2.
[Sysname-bgp-af-ipv6-mul]bestroute as-path-neglect bestroute compare-med (IPv6 MBGP address family view) Use bestroute compare-med to enable the comparison of the MED for paths from each AS. Use undo bestroute compare-med to disable this comparison. Syntax bestroute compare-med undo bestroute compare-med Default The comparison of the MED for paths from each AS is disabled.
Usage guidelines The system compares only MED values for paths from peers within the confederation. Paths from external ASs are advertised throughout the confederation without MED comparison. Examples # In IPv6 MBGP address family view, enable the comparison of the MED for paths from peers within the confederation.
Syntax dampening [ half-life-reachable half-life-unreachable reuse suppress ceiling | route-policy route-policy-name ] * undo dampening Default Route dampening is not configured. Views IPv6 MBGP address family view Default command level 2: System level Parameters half-life-reachable: Specifies the half-life for reachable routes, in the range of 1 to 45 minutes. By default, the value is 15 minutes. half-life-unreachable: Specifies the half-life for unreachable routes, in the range of 1 to 45 minutes.
Use undo default local-preference to restore the default. Syntax default local-preference value undo default local-preference Default The default local preference is 100. Views IPv6 MBGP address family view Default command level 2: System level Parameters value: Specifies a default local preference in the range of 0 to 4294967295. A larger value indicates a higher preference. Usage guidelines Using this command can affect IPv6 MBGP route selection.
Usage guidelines The multi-exit discriminator (MED) is an external metric of a route. Different from the local preference, the MED is exchanged between ASs and stays in the AS once it enters the AS. The route with a lower MED is preferred. When a router running BGP obtains several routes with an identical destination but different next-hops from various external peers, it selects the best route depending on the MED value.
Views Any view Default command level 1: Monitor level Parameters ipv6-group-name: Specifies a peer group by its name, a string of 1 to 47 characters. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
Field Description Configured hold timer value Hold timer value. Keepalive timer value Keepalive interval. Minimum time between advertisement runs Minimum interval for route advertisement. Route refresh capability has been enabled The route-refresh capability has been enabled. ORF advertise capability based on prefix (type 64): The BGP peer supports the ORF capability based on IP prefix. The capability value is 64.
Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Usage guidelines If no parameter is specified, all AS path information will be displayed. Examples # Display AS path information.
Parameters ipv6-address: Specifies a BGP peer by its IPv6 address. verbose: Displays detailed information about the peer. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
display bgp ipv6 multicast peer received ipv6-prefix Use display bgp ipv6 multicast peer received ipv6-prefix to display the prefix entries in the ORF information for the specified BGP peer. Syntax display bgp ipv6 multicast peer ipv6-address received ipv6-prefix [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters ipv6-address: Specifies a BGP peer by its IPv6 address. |: Filters command output by specifying a regular expression.
display bgp ipv6 multicast routing-table Use display bgp ipv6 multicast routing-table to display IPv6 MBGP routing information. Syntax display bgp ipv6 multicast routing-table [ ipv6-address prefix-length ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters ipv6-address: Specifies a destination IPv6 address. prefix-length: Specifies the prefix length of the IPv6 address, in the range of 0 to 128.
Table 90 Command output Field Description Local router ID Local router ID. Status codes: Status codes • • • • • • • • * – valid—Valid route. ^ – VPNv4 best—Best VPNv4 route. > – best—Best route. d – damped—Dampened route. h – history—History route. i – internal—Internal route. s – suppressed—Suppressed route. S – Stale—Stale route. Origin attributes of the route: Origin • i – IGP—Originated in the AS. • e – EGP—Learned through EGP. • ? – incomplete—Learned by some other means.
Default command level 1: Monitor level Parameters as-path-acl-number: Specifies an AS path ACL by its number in the range of 1 to 256 |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
no-export: Displays IPv6 MBGP routes that cannot be advertised out of the AS. If a confederation is configured, it displays routes that cannot be advertised out of the confederation, but can be advertised to other sub-ASs in the confederation. no-export-subconfed: Displays IPv6 MBGP routes that cannot be advertised out of the local AS, or to other sub-ASs in the confederation. whole-match: Displays the IPv6 MBGP routes that exactly match the specified community attribute.
comm-list-name: Specifies a community list by its name, a string of 1 to 31 characters (not all are numbers). whole-match: Displays the IPv6 MBGP routes that exactly match the community attributes defined in the specified basic-community-list. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
Examples # Display dampened IPv6 MBGP routing information display bgp ipv6 multicast routing-table dampened BGP Local router ID is 1.1.1.1 Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? - incomplete *d Network : 111:: PrefixLen : 64 From Reuse : 122::1 : 00:29:34 Path/Ogn: 200? Table 91 Command output Field Description From IP address from which the route was received.
Ceiling Value : 16000 Reuse Value : 750 Reach HalfLife Time(in second) : 900 Unreach HalfLife Time(in second) : 900 Suppress-Limit : 2000 Table 92 Command output Field Description Maximum Suppress Time Maximum suppress time. Ceiling Value Ceiling penalty value. Reuse Value Limit for a route to be de-suppressed. Reach HalfLife Time(in second) Half-life of reachable routes. Unreach HalfLife Time(in second) Half-life of unreachable routes.
Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? - incomplete *> Network : 222:: PrefixLen : 64 NextHop : 122::2 LocPrf : PrefVal : 0 Label : NULL MED : 0 Path/Ogn: 100 ? For more information about the output, see Table 90. display bgp ipv6 multicast routing-table flap-info Use display bgp ipv6 multicast routing-table flap-info to display IPv6 MBGP route flap statistics.
Origin : i - IGP, e - EGP, ? - incomplete *d Network : 111:: PrefixLen : 64 From : 122::1 Flaps : 3 Reuse : 00:16:36 Duration : 00:13:47 Path/Ogn : 200? Table 93 Command output Field Description Flaps Number of flaps. Duration Duration of the flapping. Reuse Reuse value. For more information about the output, see Table 90.
display bgp ipv6 multicast routing-table peer 10:10::10:1 advertised-routes Total Number of Routes: 2 BGP Local router ID is 20.20.20.
MED : 0 Path/Ogn: 100 i For more information about the output, see Table 90. display bgp ipv6 multicast routing-table statistic Use display bgp ipv6 multicast routing-table statistic to display IPv6 MBGP routing statistics. Syntax display bgp ipv6 multicast routing-table statistic [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters |: Filters command output by specifying a regular expression.
begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Usage guidelines Active and inactive routes might coexist in the IPv6 MBGP routing table. Active routes are the optimal routes used for RPF check.
Field Description PrefixLength Prefix length of the address. Nexthop Next hop IP address. Preference Route preference. RelayNextHop Recursive next hop. Tag Route tag. Neighbour Neighbor address. ProcessID Process ID. Interface Outbound interface. Protocol Routing protocol. State Status of the route, which could be Active, Inactive, Adv, or NoAdv. Cost Route cost. Tunnel ID Tunnel ID. Label Label. Age Time elapsed since the route was generated.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Examples # Display brief information about the specified multicast route. display ipv6 multicast routing-table 100::1 128 Routing Table: Summary Count 1 Destination: 100::1/128 Protocol : Direct NextHop : ::1 Preference: 0 Interface : InLoop0 Cost : 0 # Display the brief route information falling into the specified network.
ipv6-prefix-name: Specifies an IPv6 prefix list by its name, a string of 1 to 19 characters. protocol: Filters routes redistributed from the routing protocol. It can be direct, isisv6, ospfv3, ripng, or static. If no protocol is specified, all routes are filtered when they are advertised. process-id: Specifies a process of a routing protocol by its process ID in the range of 1 to 65535. This argument is available when the protocol is isisv6, ospfv3, or ripng.
Use undo import-route to disable route redistribution from a routing protocol. Syntax import-route protocol [ process-id [ med med-value | route-policy route-policy-name ] * ] undo import-route protocol [ process-id ] Default IPv6 MBGP does not redistribute routes from any routing protocol. Views IPv6 MBGP address family view Default command level 2: System level Parameters protocol: Specifies a routing protocol, which can be direct, isisv6, ospfv3, ripng, or static.
Usage guidelines If the ipv6-family command is not configured in BGP view, you cannot directly configure the ipv6-family multicast command in BGP view (see example 1). If the ipv6-family command is configured in BGP view, you can directly configure the ipv6-family multicast command in BGP view (see example 2). Examples • Example 1 # Enter IPv6 MBGP address family view.
route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters. Usage guidelines The network to be injected must exist in the local IPv6 routing table. You can use a routing policy to control the advertisement of the route with more flexibility. The route injected through the network command has the IGP origin attribute. Examples # inject the network 2002::/16.
peer advertise-ext-community (IPv6 MBGP address family view) Use peer advertise-ext-community to advertise the extended community attribute to an IPv6 MBGP peer or a peer group. Use undo peer advertise-ext-community to remove the configuration. Syntax peer { ipv6-group-name | ipv6-address } advertise-ext-community undo peer { ipv6-group-name | ipv6-address } advertise-ext-community Default No extended community attribute is advertised to any IPv6 MBGP peer or peer group.
Parameters ipv6-group-name: Specifies an IPv6 MBGP peer group by its name, a string of 1 to 47 characters. ipv6-address: Specifies an IPv6 MBGP peer by its IPv6 address. number: Specifies the number of times for which the local AS number can appear in the AS PATH of routes from the peer or peer group. The value range is 1 to 10, and the default is 1. Usage guidelines The local AS number cannot appear in routes from the peer or the peer group.
Examples # Specify AS path ACL 3 to filter routes outgoing to the IPv6 MBGP peer 1:2::3:4.
Table 96 Description of the both, send, and receive parameters and the negotiation result Local parameter Peer parameter Negotiation result send • receive • both The ORF sending capability is enabled locally and the ORF receiving capability is enabled on the peer. receive • send • both The ORF receiving capability is enabled locally and the ORF sending capability is enabled on the peer. both both Both the ORF sending and receiving capabilities are enabled locally and on the peer.
Usage guidelines When you use this command, the router unconditionally sends a default route with the next hop as itself to the IPv6 MBGP peer or the peer group regardless of whether the default route is available in the routing table. Examples # Advertise a default route to the IPv6 MBGP peer 1:2::3:4.
[Sysname-bgp] ipv6-family multicast [Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable peer filter-policy (IPv6 MBGP address family view) Use peer filter-policy to configure an IPv6 ACL-based filter policy for an IPv6 MBGP peer or a peer group. Use undo peer filter-policy to remove the configuration.
Syntax peer ipv6-address group ipv6-group-name undo peer ipv6-address group ipv6-group-name Default No IPv6 MBGP peer is added into any IPv6 MBGP peer group. Views IPv6 MBGP address family view Default command level 2: System level Parameters ipv6-address: Specifies an IPv6 MBGP peer by its IPv6 address. ipv6-group-name: Specifies an IPv6 MBGP peer group by its name, a string of 1 to 47 characters.
Parameters ipv6-group-name: Specifies an IPv6 MBGP peer group by its name, a string of 1 to 47 characters. ipv6-address: Specifies an IPv6 MBGP peer by its IPv6 address. ipv6-prefix-name: Specifies an IPv6 prefix list by its name, a string of 1 to 19 characters. import: Specifies the inbound direction. export: Specifies the outbound direction. Examples # Apply the IPv6 ACL list1 to filter routes advertised to the IPv6 MBGP peer 1:2::3:4.
[Sysname-bgp-af-ipv6] quit [Sysname-bgp] ipv6-family multicast [Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable [Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 keep-all-routes peer next-hop-local (IPv6 MBGP address family view) Use peer next-hop-local to configure the next hop of routes advertised to an IPv6 MBGP peer or a peer group as the local router. Use undo peer next-hop-local to restore the default.
Default The preferred value defaults to 0. Views IPv6 MBGP address family view Default command level 2: System level Parameters ipv6-group-name: Specifies an IPv6 MBGP peer group by its name, a string of 1 to 47 characters. ipv6-address: Specifies an IPv6 MBGP peer by its IPv6 address. value: Specifies a preferred value in the range of 0 to 65535. Usage guidelines Routes learned from peers each have a preferred value.
Default Private AS numbers can be carried in outbound IPv6 MBGP update packets. Views IPv6 MBGP address family view Default command level 2: System level Parameters ipv6-group-name: Specifies an IPv6 MBGP peer group by its name, a string of 1 to 47 characters. ipv6-address: Specifies an IPv6 MBGP peer by its IPv6 address. Usage guidelines The command does not take effect on IPv6 MBGP updates with both public and private AS numbers. The range of private AS numbers is from 64512 to 65535.
Examples # Configure the local device as a route reflector and specify the peer group test as a client.
Examples # Set the number of IPv6 address prefixes allowed to receive from the IPv6 MBGP peer 1:2::3:4 to 10000.
[Sysname-route-policy] apply cost 65535 [Sysname-route-policy] quit [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] group test external [Sysname-bgp-af-ipv6] quit [Sysname-bgp] ipv6-family multicast [Sysname-bgp-af-ipv6-mul] peer test enable [Sysname-bgp-af-ipv6-mul] peer test route-policy test-policy import preference (IPv6 MBGP address family view) Use preference to configure preferences for IPv6 multicast EBGP, IPv6 multicast IBGP, and local IPv6 MBGP routes.
[Sysname-bgp-af-ipv6-mul] preference 20 20 200 reflect between-clients (IPv6 MBGP address family view) Use reflect between-clients to enable route reflection between clients. Use undo reflect between-clients to disable this function. Syntax reflect between-clients undo reflect between-clients Default Route reflection between clients is enabled.
Default command level 2: System level Parameters cluster-id: Specifies a cluster ID for route reflectors, an integer from 1 to 4294967295 (the system translates it into an IPv4 address) or an IPv4 address. Usage guidelines The router ID of the route reflector is the ID of the cluster. You can configure multiple route reflectors to improve network stability.
Usage guidelines To perform IPv6 MBGP soft-reset, all routers in the network should support route-refresh. If a peer does not support route refresh, you must use the peer keep-all-routes command on the local router to save all route updates from the peers before a soft reset. Examples # Soft-reset the IPv6 MBGP connections in the inbound direction.
Parameters ipv6-address: Specifies a destination IPv6 address. prefix-length: Specifies the prefix length of the IPv6 address, in the range of 0 to 128. Usage guidelines If no ipv6-address prefix-length is specified, this command clears all IPv6 MBGP route dampening information. Examples # Clear the damping information for the route 2345::/64 and release the suppressed route.
PIM snooping configuration commands The commands in this chapter are available only when the SAP module is operating in bridge mode. display pim-snooping neighbor Use display pim-snooping neighbor to display PIM snooping neighbor information. Syntax display pim-snooping neighbor [ [ vlan vlan-id ] [ slot slot-number ] ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters vlan vlan-id: Specifies a VLAN.
Table 97 Command output Field Description Total number of neighbors Total number of PIM snooping neighbors. Neighbor IP address of the PIM snooping neighbor. Port Name of the port that connects to the PIM snooping neighbor. Expires Remaining time before the PIM snooping neighbor expires. Never means the PIM snooping neighbor never expires. Possible values: • LAN Prune Delay—The PIM hello messages received from the neighbor carry Option Flags the LAN_Prune_Delay option.
To determine the Expires and FSM fields of a non-aggregate interface, specify the slot number of the card that the interface belongs to. For aggregate interfaces, the Expires and FSM fields are displayed, whether the slot number is specified or not. Examples # Display the PIM snooping routing entries of VLAN 2. display pim-snooping routing-table vlan 2 Total 1 entry(ies) FSM Flag: NI-no info, J-join, PP-prune pending VLAN ID: 2 Total 1 entry(ies) (172.10.10.1, 225.1.1.1) Upstream neighbor: 20.1.
Syntax display pim-snooping statistics [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
Views VLAN view Default command level 2: System level Usage guidelines Before you enable PIM snooping in a VLAN, make sure to enable IGMP snooping globally and specifically in the VLAN. PIM snooping does not work in a sub-VLAN of a multicast VLAN. Examples # Enable IGMP snooping globally, and enable IGMP snooping and PIM snooping in VLAN 2.
Multicast VLAN configuration commands The commands in this chapter are available only when the SAP module is operating in bridge mode. display multicast-vlan Use display multicast-vlan to display information about the specified multicast VLAN. Syntax display multicast-vlan [ vlan-id ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters vlan-id: Specifies a multicast VLAN ID in the range of 1 to 4094.
subvlan list: vlan 3 port list: GE2/0/3 GE2/0/4 Multicast vlan 400 subvlan list: no subvlan port list: no port Table 100 Command output Field Description Total 4 multicast-vlan(s) Total number of multicast VLANs. subvlan list List of sub-VLANs of the multicast VLAN. port list Port list of the multicast VLAN. multicast-vlan Use multicast-vlan to configure the specified VLAN as a multicast VLAN and enter multicast VLAN view. Use undo multicast-vlan to remove the specified VLAN as a multicast VLAN.
Examples # Enable IGMP snooping in VLAN 100. Configure it as a multicast VLAN and enter multicast VLAN view.
Use undo port to remove the specified ports from the current multicast VLAN. Syntax port interface-list undo port { all | interface-list } Default A multicast VLAN has no ports.
Parameters vlan-id: Specifies a multicast VLAN ID in the range of 1 to 4094. Usage guidelines A port can belong to only one multicast VLAN. Examples # Assign GigabitEthernet 2/0/1 to multicast VLAN 100. system-view [Sysname] interface gigabitethernet 2/0/1 [Sysname-GigabitEthernet2/0/1] port multicast-vlan 100 subvlan (multicast VLAN view) Use subvlan to configure sub-VLANs for the current multicast VLAN. Use undo subvlan to remove the specified sub-VLANs from the current multicast VLAN.
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 ABCDEFGHIJLMNOPRSTVW c-bsr interval (IPv6 PIM view),327 A c-bsr interval (PIM view),113 aggregate (IPv6 MBGP address family view),378 c-bsr priority (IPv6 PIM view),328 aggregate (MBGP address family view),195 c-bsr priority (PIM view),113 auto-rp enable,105 c-bsr scope,328 B compare-different-as-med (IPv6 MBGP address family view),382 balance (IPv6 MBGP address family view),379 compare-different-as-med (MBGP address family view),199 balance (MBGP address family view),196 bestroute as-pat
display bgp ipv6 multicast routing-table as-path-acl,393 display igmp routing-table,71 display bgp ipv6 multicast routing-table community,394 display igmp ssm-mapping group,74 display igmp ssm-mapping,73 display igmp ssm-mapping host interface,76 display bgp ipv6 multicast routing-table community-list,395 display igmp-snooping group,1 display bgp ipv6 multicast routing-table dampened,396 display igmp-snooping statistics,4 display igmp-snooping host,3 display ip multicast routing-table,202 display
display pim control-message counters,122 hello-option holdtime (PIM view),138 display pim df-info,124 hello-option lan-delay (IPv6 PIM view),351 display pim grafts,125 hello-option lan-delay (PIM view),139 display pim interface,126 hello-option neighbor-tracking (IPv6 PIM view),351 display pim ipv6 bsr-info,333 hello-option neighbor-tracking (PIM view),139 display pim ipv6 claimed-route,335 hello-option override-interval (IPv6 PIM view),352 display pim ipv6 control-message counters,336 hello-op
igmp-snooping host-aging-time,16 mld group-policy,303 igmp-snooping host-join,17 mld host-tracking,304 igmp-snooping host-tracking,18 mld last-listener-query-interval,304 igmp-snooping last-member-query-interval,18 mld max-response-time,305 igmp-snooping leave source-ip,19 mld proxying enable,306 igmp-snooping max-response-time,20 mld proxying forwarding,306 igmp-snooping overflow-replace,21 mld require-router-alert,307 igmp-snooping proxying enable,22 mld robust-count,308 igmp-snooping quer
peer public-as-only (IPv6 MBGP address family view),419 P peer advertise-community (IPv6 MBGP address family view),409 peer public-as-only (MBGP address family view),239 peer reflect-client (BGP-MDT sub-address family view),266 peer advertise-community (MBGP address family view),229 peer advertise-ext-community (IPv6 MBGP address family view),410 peer reflect-client (IPv6 MBGP address family view),420 peer advertise-ext-community (MBGP address family view),230 peer request-sa-enable,186 peer allow-as
pim ipv6 triggered-hello-delay,366 reset bgp ipv6 multicast dampening,426 pim neighbor-policy,151 reset bgp ipv6 multicast flap-info,427 pim require-genid,152 reset bgp mdt,268 pim sm,153 reset igmp group,95 pim state-refresh-capable,153 reset igmp group port-info,96 pim timer graft-retry,154 reset igmp ssm-mapping group,97 pim timer hello,154 reset igmp-snooping group,33 pim timer join-prune,155 reset igmp-snooping statistics,34 pim triggered-hello-delay,156 reset mld group,314 pim-snoopi
state-refresh-interval (IPv6 PIM view),374 timer join-prune (IPv6 PIM view),377 state-refresh-interval (PIM view),164 timer join-prune (PIM view),168 state-refresh-rate-limit (IPv6 PIM view),374 timer other-querier-present (IGMP view),102 state-refresh-rate-limit (PIM view),165 timer other-querier-present (MLD view),320 state-refresh-ttl,165 timer query (IGMP view),103 static-rp (IPv6 PIM view),375 timer query (MLD view),321 static-rp (PIM view),166 timer retry,193 static-rpf-peer,192 V Subs