HP HSR6800 Routers IP Multicast Command Reference Part number:5998-4508 Software version: HSR6800-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 ······································································································································ 246 reset bgp ipv4 multicast dampening ················································································································· 246 reset bgp ipv4 multicast flap-info ······················································································································· 247 summary automatic (MBGP address fami
mld enable ··························································································································································· 302 mld fast-leave ······················································································································································· 303 mld group-limit ····················································································································································· 303
display pim ipv6 routing-table ··························································································································· 346 display pim ipv6 rp-info······································································································································ 350 embedded-rp ························································································································································ 351 hello-option dr-prior
default local-preference (IPv6 MBGP address family view) ············································································ 385 default med (IPv6 MBGP address family view) ································································································ 386 default-route imported (IPv6 MBGP address family view) ··············································································· 387 display bgp ipv6 multicast group ·························································
pim-snooping enable··········································································································································· 435 reset pim-snooping statistics ······························································································································· 435 Multicast VLAN configuration commands ············································································································· 437 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.
Examples # Display detailed IGMP snooping group information in VLAN 2. display igmp-snooping group vlan 2 verbose Total 1 IP Group(s). Total 1 IP Source(s). Total 1 MAC Group(s). Port flags: D-Dynamic port, S-Static port, C-Copy port, P-PIM port Subvlan flags: R-Real VLAN, C-Copy VLAN Vlan(id):2. Total 1 IP Group(s). Total 1 IP Source(s). Total 1 MAC Group(s). Router port unit board: Mask(0x00) Router port(s):total 1 port(s).
Field Description Remaining time of the aging timer for the dynamic member port or router port: • In standalone mode, to display the remaining time of a non-aggregate ( 00:01:30 ) port, you must specify the number of the slot where the corresponding card resides by using the slot slot-number option. For an aggregate interface, you do not need to do this.
slot slot-number: Specifies a card by its slot number. If no slot is specified, the command displays information about the hosts tracked by IGMP snooping on the MPU. (In standalone mode.) chassis chassis-number slot slot-number: Specifies a card on a member device. The chassis-number argument specifies an IRF member device ID, and the slot-number argument specifies a card by its slot number.
Syntax display igmp-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.
dot1p-priority (IGMP-snooping view) Use dot1p-priority to set the 802.1p precedence for IGMP messages globally. Use undo dot1p-priority to restore the default. Syntax dot1p-priority priority-number undo dot1p-priority Default The 802.1p precedence for IGMP messages is 0. Views IGMP-snooping view Default command level 2: System level Parameters priority-number: Specifies an 802.1p precedence for IGMP messages, in the range of 0 to 7. A higher number indicates a higher precedence.
Examples # Set the maximum number of IGMP snooping forwarding entries to 512. system-view [Sysname] igmp-snooping [Sysname-igmp-snooping] entry-limit 512 fast-leave (IGMP-snooping view) Use fast-leave to enable fast-leave processing globally. With this function enabled, when the switch receives an IGMP leave message on a port of the SAP module, it directly removes that port from the multicast forwarding entry of the specific group. Use undo fast-leave to disable fast-leave processing globally.
group-policy (IGMP-snooping view) Use group-policy to configure a global multicast group filter to control the multicast groups that a host in the specified VLAN can join. Use undo group-policy to remove the configured global multicast group filter. Syntax group-policy acl-number [ vlan vlan-list ] undo group-policy [ vlan vlan-list ] Default No global multicast group filter is configured. Namely, a host in the specified VLAN can join any valid multicast group.
host-aging-time (IGMP-snooping view) Use host-aging-time to set the aging timer for the dynamic member ports globally. Use undo host-aging-time to restore the default. Syntax host-aging-time interval undo host-aging-time Default The aging timer of the dynamic member ports is 260 seconds. Views IGMP-snooping view Default command level 2: System level Parameters interval: Specifies an aging time in seconds for dynamic member ports, in the range of 200 to 1000.
Default command level 2: System level Usage guidelines For a router that supports both IGMP snooping and IGMP and is installed with the SAP module, this command takes effects only on IGMP snooping-enabled VLANs but not on VLANs with IGMP-enabled VLAN interfaces. Examples # Enable the IGMP snooping host tracking function globally.
Syntax igmp-snooping dot1p-priority priority-number undo igmp-snooping dot1p-priority Default The default 802.1p precedence for IGMP messages is 0. Views VLAN view Default command level 2: System level Parameters priority-number: Specifies an 802.1p precedence for IGMP messages, in the range of 0 to 7. A higher number indicates a higher precedence. Usage guidelines Before you configure this command in a VLAN, enable IGMP snooping in the VLAN. Examples # On VLAN 2, enable IGMP snooping and set the 802.
Usage guidelines This command takes effect only if IGMP snooping is enabled in the VLAN. Examples # On VLAN 2, enable IGMP snooping and the function of dropping unknown multicast data. system-view [Sysname] igmp-snooping [Sysname-igmp-snooping] quit [Sysname] vlan 2 [Sysname-vlan2] igmp-snooping enable [Sysname-vlan2] igmp-snooping drop-unknown Related commands igmp-snooping enable igmp-snooping enable Use igmp-snooping enable to enable IGMP snooping in the current VLAN.
igmp-snooping fast-leave Use igmp-snooping fast-leave to enable fast-leave processing on a port. With this function enabled, when the switch receives an IGMP leave message on the port of the SAP module, it directly removes that port from the multicast forwarding entry of the specific group. Use undo igmp-snooping fast-leave to disable fast-leave processing. Syntax igmp-snooping fast-leave [ vlan vlan-list ] undo igmp-snooping fast-leave [ vlan vlan-list ] Default Fast-leave processing is disabled.
igmp-snooping general-query source-ip Use igmp-snooping general-query source-ip to configure the source address of IGMP general queries. Use undo igmp-snooping general-query source-ip to restore the default. Syntax igmp-snooping general-query source-ip { ip-address | current-interface } undo igmp-snooping general-query source-ip Default The source IP address of IGMP general queries is 0.0.0.0.
Default The maximum number is 1000 Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view Default command level 2: System level Parameters limit: Specifies the maximum number of multicast groups that a port can join, in the range of 0 to 1000. vlan vlan-list: Specifies one or multiple VLANs. You can provide up to 10 VLAN lists.
Default No multicast group filter is configured on an interface. Namely a host can join any valid multicast group. Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view Default command level 2: System level Parameters acl-number: Specifies a basic or advanced ACL number in the range of 2000 to 3999. A host can only join the multicast groups that match the permit statement in the specified ACL.
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. Syntax igmp-snooping host-aging-time interval undo igmp-snooping host-aging-time Default The aging timer of the dynamic member ports is 260 seconds.
Default This function is disabled. Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view Default command level 2: System level Parameters group-address: Specifies the address of the multicast group that the simulated host will join, in the range of 224.0.1.0 to 239.255.255.255. source-address: Specifies the address of the multicast source that the simulated host will join. The value of this argument should be a valid unicast address or 0.0.0.0. A source IP address of 0.
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 host-tracking undo igmp-snooping host-tracking Default This function is disabled. Views VLAN view Default command level 2: System level Usage guidelines Before you configure this command, enable IGMP snooping in the VLAN.
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. This command takes effect only if IGMP snooping is enabled in the VLAN. Examples # Enable IGMP snooping for VLAN 2 and set the IGMP last-member query interval to 3 seconds.
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 leave source-ip command also applies when the simulated host sends IGMP leave messages. Examples # On VLAN 2, enable IGMP snooping and configure the source IP address of IGMP leave messages that the IGMP snooping proxy sends to 10.1.1.1.
[Sysname] vlan 2 [Sysname-vlan2] igmp-snooping enable [Sysname-vlan2] igmp-snooping max-response-time 5 Related commands • igmp-snooping enable • igmp-snooping query-interval • max-response-time igmp-snooping overflow-replace Use igmp-snooping overflow-replace to enable the multicast group replacement function. Use undo igmp-snooping overflow-replace to disable the multicast group replacement function.
Related commands overflow-replace igmp-snooping proxying enable Use igmp-snooping proxying enable to enable the IGMP snooping proxying function in a VLAN. Use undo igmp-snooping proxying enable to disable the IGMP snooping proxying function in a VLAN. Syntax igmp-snooping proxying enable undo igmp-snooping proxying enable Default IGMP snooping proxying is disabled in all VLANs.
Views VLAN view Default command level 2: System level Usage guidelines This command takes effect only if IGMP snooping is enabled in the VLAN. Examples # Enable IGMP snooping and the IGMP snooping querier function for VLAN 2.
[Sysname] vlan 2 [Sysname-vlan2] igmp-snooping enable [Sysname-vlan2] igmp-snooping query-interval 20 Related commands • igmp-snooping enable • igmp-snooping max-response-time • igmp-snooping querier • max-response-time igmp-snooping report source-ip Use igmp-snooping report source-ip to configure the source IP address for the IGMP reports that the IGMP snooping proxy sends. Use undo igmp-snooping report source-ip to restore the default.
[Sysname-vlan2] igmp-snooping report source-ip 10.1.1.1 Related commands igmp-snooping enable igmp-snooping router-aging-time Use igmp-snooping router-aging-time to set the aging timer for the dynamic router ports in the current VLAN. Use undo igmp-snooping router-aging-time to restore the default. Syntax igmp-snooping router-aging-time interval undo igmp-snooping router-aging-time Default The aging timer of the dynamic router ports is 105 seconds.
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. Views Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view Default command level 2: System level Parameters vlan vlan-list: Specifies one or multiple VLANs. You can provide up to 10 VLAN lists.
Default command level 2: System level 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 source port filtering for multicast data on GigabitEthernet 2/0/1.
[Sysname-vlan2] igmp-snooping special-query source-ip 10.1.1.1 Related commands igmp-snooping enable igmp-snooping static-group Use igmp-snooping static-group to configure a port as a static member port of the specified multicast group or the specified multicast source and group. Use undo igmp-snooping static-group to restore the default.
[Sysname-vlan2] igmp-snooping version 3 [Sysname-vlan2] quit [Sysname] interface gigabitethernet 2/0/1 [Sysname-GigabitEthernet2/0/1] igmp-snooping static-group 232.1.1.1 source-ip 1.1.1.1 vlan 2 igmp-snooping static-router-port Use igmp-snooping static-router-port to configure a port as a static router port. Use undo igmp-snooping static-router-port to restore the default.
Syntax igmp-snooping version version-number undo igmp-snooping version Default The IGMP snooping version is IGMPv2 snooping. Views VLAN view Default command level 2: System level Parameters version-number: Specifies an IGMP snooping version, 2 or 3. Usage guidelines This command can take effect only if IGMP snooping is enabled in the VLAN. Examples # Enable IGMP snooping and specify the IGMP snooping version to IGMPv3 snooping in VLAN 2.
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. 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 IGMP last-member query interval to 3 seconds globally.
• igmp-snooping query-interval overflow-replace (IGMP-snooping view) Use overflow-replace to enable the multicast group replacement function globally. Use undo overflow-replace to disable the multicast group replacement function globally. Syntax overflow-replace [ vlan vlan-list ] undo overflow-replace [ vlan vlan-list ] Default The multicast group replacement function is disabled.
Default IGMP report suppression is enabled. Views IGMP-snooping view Default command level 2: System level 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 # Disable IGMP report suppression.
reset igmp-snooping statistics Use reset igmp-snooping statistics to clear statistics for the IGMP messages learned through IGMP snooping. Syntax reset igmp-snooping statistics Views User view Default command level 2: System level Examples # Clear the statistics for all IGMP messages learned through IGMP snooping. reset igmp-snooping statistics router-aging-time (IGMP-snooping view) Use router-aging-time to set the aging timer for the dynamic router ports globally.
Related commands igmp-snooping router-aging-time source-deny (IGMP-snooping view) Use source-deny to enable multicast source port filtering so that all multicast data packets are blocked. Use undo source-deny to disable multicast source port filtering. Syntax source-deny port interface-list undo source-deny port interface-list Default Multicast source port filtering is not enabled.
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. Boundary interface that corresponds to the multicast boundary.
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: Displays multicast forwarding entries, where the incoming interface is the specified one.
Total 1 entry Total 1 entry matched 00001. (172.168.0.2, 227.0.0.1) MID: 0, Flags: 0x100000:0 Uptime: 00:08:32, Timeout in: 00:03:26 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.
Value Meaning 0x2 Whether the multicast source corresponding to the (S, G) is active. 0x4 Null forwarding entry. 0x8 Whether the RP is a PIM domain border router. 0x10 A register outgoing interface is available. 0x400 (S, G) entry to be deleted. 0x8000 The (S, G) entry is in the smoothening process after active/standby switchover. 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.
display multicast [ all-instance | vpn-instance vpn-instance-name ] forwarding-table df-info [ rp-address ] [ slot slot-number ] [ | { begin | exclude | include } regular-expression ] In IRF mode: display multicast [ all-instance | vpn-instance vpn-instance-name ] forwarding-table df-info [ rp-address ] [ chassis chassis-number slot slot-number ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters all-instance: Specifies all MPLS L3VPN i
List of 1 DF interfaces: 1: GigabitEthernet2/1/2 Table 9 Command output Field Description Multicast DF information of VPN-Instance: public net DF information of the multicast forwarding table for the public network. Total 1 RP Total number of RPs. Total 1 RP matched Total number of matched RPs. 00001 Sequence number of the RP. MID ID of the RP. Each RP has a unique MID. Flags Current state of the RP. Different bits indicate different states of an RP.
incoming-interface: Displays the multicast routing entries, where the incoming interface is the specified one. interface-type interface-number: Specifies an interface by its type and number. register: Displays the multicast routing entries, where the incoming interface is the specified register interface of PIM-SM. outgoing-interface: Displays the multicast routing entries, where the outgoing interface is the specified one.
Field Description (172.168.0.2, 227.0.0.1) An (S, G) entry of the multicast forwarding table. Uptime Length of time for which the (S, G) entry has been up, in the format hh:mm:ss. Upstream interface Upstream interface the (S, G) entry: multicast packets should arrive at this interface. If the upstream interface is an interface in another VPN, the VPN name is displayed. List of 2 downstream interfaces Downstream interface list: these interfaces need to forward multicast packets.
Examples # Display all the static multicast routes on the public network. display multicast routing-table static Multicast Routing Table of VPN-Instance: public net Routes : 1 Mroute 10.10.0.0/16 Interface = GigabitEthernet2/1/1 RPF Neighbor = 2.2.2.2 Matched routing protocol = , Route-policy = Preference = 1, Order = 1 Running Configuration = ip rpf-route-static 10.10.0.0 16 2.2.2.
group-address: Specifies a multicast group address in the range of 224.0.1.0 to 239.255.255.255. |: 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.
• display multicast routing-table ip rpf-route-static Use ip rpf-route-static to configure a static multicast route. Use undo ip rpf-route-static to delete a static multicast route from the static multicast routing table.
Usage guidelines The arguments source-address { mask | mask-length }, protocol and policy-name are critical elements in static multicast route configuration. The variation of any of these arguments results in a different configuration. When you configure a static multicast route, the system first examines whether any of these argument exists. If the system finds a match, you must modify the corresponding fields without changing the configuration sequence. Otherwise, the system adds a static multicast route.
Views System view, Ethernet interface view, Layer 2 aggregate interface view, port group view Default command level 2: System level 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. Multicast MAC addresses are the MAC addresses whose the least signification bit of the most significant octet is 1.
Views Any view Default command level 1: Monitor level Parameters source-address: Specifies a multicast source address. group-address: Specifies a multicast group address in the range of 224.0.1.0 to 239.255.255.255. last-hop-router-address: Specifies a last-hop router address, which is the IP address of the local router by default.
Field Description -1 5.5.5.8 (S, G) outgoing interface address of each hop, starting from the last-hop router. Incoming interface address IP address of the interface on which the (S, G) packets arrive. Previous-hop router address IP address of the previous router that forwards the packets to the current route. Input packet count on incoming interface Total number of multicast packets received on the incoming interface.
An interface can act as a forwarding boundary for multiple multicast groups in different address ranges. To achieve this, execute this command on the interface for each multicast address range. Assume that Set A and Set B are multicast forwarding boundary sets with different address ranges, and B is a subset of A. If B is configured after A, A still takes effect. If A is configured after B, B is removed.
[Sysname-vpn-instance-mvpn] multicast forwarding-table downstream-limit 60 Related commands display multicast forwarding-table multicast forwarding-table route-limit Use multicast forwarding-table route-limit to configure the maximum number of entries in the multicast forwarding table. Use undo multicast forwarding-table route-limit to restore the maximum number of entries in the multicast forwarding table to the system default.
Syntax multicast load-splitting { source | source-group } undo multicast load-splitting Default Load splitting of multicast traffic is disabled. Views System view, VPN instance view Default command level 2: System level 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.
[Sysname] multicast longest-match # Configure route selection based on the longest match in VPN instance mvpn. system-view [Sysname] ip vpn-instance mvpn [Sysname-vpn-instance-mvpn] multicast longest-match multicast routing-enable Use multicast routing-enable to enable IP multicast routing. Use undo multicast routing-enable to disable IP multicast routing. Syntax multicast routing-enable undo multicast routing-enable Default IP multicast routing is disabled.
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. 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.
Syntax reset multicast [ all-instance | vpn-instance vpn-instance-name ] routing-table { { source-address [ mask { mask | mask-length } ] | group-address [ mask { mask | mask-length } ] | incoming-interface { interface-type interface-number | register } } * | all } 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.
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.
Total 1 IP Source(s). Total 1 MAC Group(s). Router port(s):total 1 port(s). GE2/1/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 (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).
display igmp host interface Use display igmp host interface to display information about the hosts tracked by IGMP on the specified interface. Syntax display igmp host interface interface-type interface-number group group-address [ source source-address ] [ | { 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. group group-address: Specifies an IGMP group.
Field Description Uptime Host running duration. Expires Host expiration time, where "timeout" means that the host has expired. display igmp host port-info Use display igmp host port-info to display information about the hosts tracked by IGMP on the Layer 2 ports.
Examples # Display information about the hosts tracked by IGMP that join in IGMP group 224.1.1.1 on the Layer 2 ports in VLAN 2. display igmp host port-info vlan 2 group 224.1.1.1 VLAN(ID) : 2 (0.0.0.0, 224.1.1.1) Port : GigabitEthernet2/1/1 Host Uptime Expires 1.1.1.1 00:02:20 00:00:40 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/1/2 Table 17 Command output Field Description VLAN(ID) VLAN ID. (0.0.0.0, 224.1.1.
|: 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 18 Command output Field Description GigabitEthernet2/1/1(10.10.1.20) Interface and IP address. Current IGMP version Version of IGMP that runs on the interface. Value of query interval for IGMP(in seconds) IGMP general query interval, in seconds. Value of other querier present interval for IGMP(in seconds) Other querier present interval, in seconds. Value of maximum query response time for IGMP(in seconds) Maximum response time for IGMP general queries, in seconds.
Syntax display igmp [ all-instance | vpn-instance vpn-instance-name ] proxying group [ group-address ] [ verbose ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level 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.
Table 19 Command output Field Description Proxying group record(s) information of VPN-Instance: public net IGMP proxying group information on the public network. Total 1 IGMP-Proxying group record(s) One IGMP proxying group is recorded. Group Address/Group Multicast group address. 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.
flags: Specifies the route flag. act: Displays the IGMP routes with the ACT flag. suc: Displays the IGMP routes with the SUC flag. |: 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 IGMP route flags: • ACT—IGMP routing entries that have been used for forwarding data packets but have the multicast group address out of the SSM group range. Flag • SUC—IGMP 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 Downstream interface list: list of interfaces to which multicast data for this group is forwarded.
Examples # Display the IGMP SSM mappings for multicast group 232.1.1.1 on the public network. display igmp ssm-mapping 232.1.1.1 VPN-Instance: public net Group: 232.1.1.1 Source list: 1.2.3.4 5.5.5.5 10.1.1.1 100.1.1.10 Table 21 Command output Field Description VPN-Instance: public net Public network. Group Multicast group address. Source list List of multicast source addresses.
verbose: Displays the detailed multicast group information created based on the configured IGMP SSM mappings. |: 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 Source list(Total 1 source) Multicast source list (one multicast source). Source Multicast source address. Last-member-query-counter Number of last-member queries sent. Last-member-query-timer-expiry Remaining time of the last member query timer, where "off" means that the timer never expires.
Table 23 Command output Field Description Host information of VPN-Instance: public net Information about the hosts that join the group based on the IGMP SSM mappings on public network interface. GigabitEthernet2/1/1(192.168.1.1) Interface and IP address. (10.1.1.1, 224.1.1.1) (S, G) entry. Host Host IP address. Uptime Host running duration. Expires Host expiration time, where "timeout" means that the host has expired.
# Enable fast-leave processing globally in VPN instance mvpn. system-view [Sysname] igmp vpn-instance mvpn [Sysname-igmp-mvpn] fast-leave 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 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 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.
Usage guidelines IP multicast routing must be enabled in the corresponding instance before this command can take effect. 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.
• igmp last-member-query-interval • igmp-snooping fast-leave 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.
[Sysname] interface gigabitethernet 2/1/1 [Sysname-GigabitEthernet2/1/1] igmp group-limit 128 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.
[Sysname] interface gigabitethernet 2/1/1 [Sysname-GigabitEthernet2/1/1] igmp group-policy 2005 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.
Default command level 2: System level 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.
Related commands display igmp group port-info reset igmp ssm-mapping group Use reset igmp ssm-mapping group to clear multicast group information created based on the configured IGMP SSM mappings.
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. Views Public network IGMP view, VPN instance IGMP view Default command level 2: System level Parameters robust-value: Specifies an IGMP querier's robustness variable in the range of 2 to 5.
• 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. Syntax send-router-alert undo send-router-alert Default An IGMP message carries the Router-Alert option.
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.0.0 to 239.255.255.255. mask: Specifies the mask of the multicast group address. mask-length: Specifies the mask length of the multicast group address, in the range of 4 to 32. source-address: Specifies a multicast source by its IP address. all: Specifies all IGMP SSM mappings.
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. system-view [Sysname] igmp [Sysname-igmp] startup-query-count 3 # Set the startup query count to 3 globally in VPN instance mvpn.
system-view [Sysname] igmp vpn-instance mvpn [Sysname-igmp-mvpn] startup-query-interval 5 Related commands • igmp-startup-query-interval • timer query timer other-querier-present (IGMP view) Use timer other-querier-present to configure the IGMP other querier present interval globally. Use undo timer other-querier-present to restore the default.
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. Views Public network IGMP view, VPN instance IGMP 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.
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.
Field Description Origin attributes: • i—The route is interior to the AS. Summary routes and the routes injected through the network command are considered IGP routes. Ogn • e—The route is learned from the Exterior Gateway Protocol (EGP). • ?—Short for "incomplete." It means that the origin of the route is unknown and the route is learned by some other means. BGP marks routes redistributed from IGP as incomplete.
*> 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 cidr Use display bgp multicast routing-table cidr to display IPv4 MBGP Classless Inter-Domain Routing (CIDR) routing information. Syntax display bgp multicast routing-table cidr [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 2: Monitor level Parameters |: Filters command output by specifying a regular expression.
Views Any view Default command level 2: Monitor level Parameters aa:nn: Specifies a community by its number. Both aa and nn are in the range of 0 to 65535. &<1-13>: Indicates that you can enter the preceding argument up to 13 times. no-advertise: Displays MBGP routes that cannot be advertised to any peer. no-export: Displays MBGP routes that cannot be advertised out of the AS.
Syntax display bgp multicast routing-table community-list { { basic-community-list-number | comm-list-name } [ whole-match ] | adv-community-list-number } [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 2: Monitor level Parameters basic-community-list-number: Specifies a basic community-list number from 1 to 99. adv-community-list-number: Specifies an advanced community-list number from 100 to 199.
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.
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. Examples # Display IPv4 MBGP route dampening parameters.
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 IPv4 MBGP routes that originate from different autonomous systems. display bgp multicast routing-table different-origin-as BGP Local router ID is 2.2.2.
Usage guidelines If no parameter is specified, this command displays all IPv4 MBGP route flap statistics. Examples # Display IPv4 MBGP route flap statistics. display bgp multicast routing-table flap-info 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 Network From Flaps Duration *> 55.0.0.0 12.1.1.1 2 00:00:16 *d 77.0.0.0 12.1.1.
mask: Specifies the mask of the destination network, in dotted decimal notation. mask-length: Specifies a mask length in the range of 0 to 32. statistic: Specifies route statistics. |: 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 IPv4 MBGP routing information that matches AS path regular expression 300$. display bgp multicast routing-table regular-expression 300$ BGP Local router ID is 20.20.20.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 30.30.30.1 0 LocPrf PrefVal Path/Ogn 0 300i For more information about the fields, see Table 47.
Syntax filter-policy { acl-number | ip-prefix ip-prefix-name } export [ direct | isis process-id | ospf process-id | rip process-id | static ] undo filter-policy export [ direct | isis process-id | ospf process-id | rip process-id | static ] Default The filtering is not configured. Views IPv4 MBGP address family view Default command level 2: System level Parameters acl-number: Specifies an ACL by its number in the range of 2000 to 3999.
Views IPv4 MBGP address family view Default command level 2: System level Parameters acl-number: Specifies an ACL 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. Examples # In IPv4 MBGP address family view, reference ACL 2000 to filter incoming routing information.
med-value: Specifies a MED value for redistributed routes, in the range of 0 to 4294967295. If the argument is not specified, the cost of a redistributed route is used as its MED in the BGP routing domain. route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters. Usage guidelines The origin attribute of routes redistributed through the import-route command is incomplete.
undo network ip-address [ mask | mask-length ] [ short-cut ] Default No network route is injected. Views IPv4 MBGP address family view Default command level 2: System level Parameters ip-address: Specifies a destination IP address. mask: Specifies a mask, in dotted decimal notation. mask-length: Specifies a mask length in the range of 0 to 32. short-cut: Specifies the route to use the local preference.
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. Examples # In IPv4 MBGP address family view, advertise the community attribute to the existing peer group test.
system-view [Sysname] bgp 100 [Sysname-bgp] group test external [Sysname-bgp] peer test as-number 200 [Sysname-bgp] ipv4-family multicast [Sysname-bgp-af-mul] peer test enable [Sysname-bgp-af-mul] peer test advertise-ext-community Related commands • apply extcommunity • if-match extcommunity • ip extcommunity-list (Layer 3—IP Routing Command Reference) 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 route
Related commands display bgp multicast routing-table peer peer as-path-acl (MBGP address family view) Use peer as-path-acl to configure the filtering of routes incoming from or outgoing to an MBGP peer or a peer group based on a specified AS path ACL. Use undo peer as-path-acl to remove the filtering.
peer capability-advertise orf (MBGP address family view) Use peer capability-advertise orf to enable the ORF capability for an MBGP peer or peer group. Use undo peer capability-advertise orf to disable the ORF capability for the MBGP peer or peer group.
Examples # Enable the ORF capability for the BGP peer 18.10.0.9. Then, after negotiation, the local router can exchange multicast ORF information with 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 [Sysname-bgp-af-mul] peer 18.10.0.
peer enable (MBGP address family view) Use peer enable to enable the specified MBGP peer or peer group. Use undo peer enable to disable the specified MBGP peer or peer group. Syntax peer { group-name | ip-address } enable undo peer { group-name | ip-address } enable 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.
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. acl-number: Specifies an ACL number in the range of 2000 to 3999. export: Specifies the outbound direction. import: Specifies the inbound direction. Examples # In IPv4 MBGP address family view, reference ACL 2000 to filter routes sent to the peer group test.
[Sysname-bgp] peer 10.1.1.1 group test [Sysname-bgp] ipv4-family multicast [Sysname-bgp-af-mul] peer test enable [Sysname-bgp-af-mul] peer 10.1.1.1 group test peer ip-prefix (MBGP address family view) Use peer ip-prefix to reference an IP prefix list to filter routes received from or advertised to a peer or peer group. Use undo peer ip-prefix to remove the configuration.
Syntax peer { group-name | ip-address } keep-all-routes undo peer { group-name | ip-address } keep-all-routes Default The feature is not enabled. 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. Examples # In IPv4 MBGP address family view, save all the routing information from peer 131.108.1.1.
Examples # In IPv4 MBGP address family view, specify the router as the next hop for routes sent to the peer group test. system-view [Sysname] bgp 100 [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 next-hop-local peer preferred-value (MBGP address family view) Use peer preferred-value to specify a preferred value for routes received from a peer or peer group.
Examples # In IPv4 MBGP address family view, configure the preferred value as 50 for routes from peer 131.108.1.1. system-view [Sysname] bgp 100 [Sysname-bgp] peer 131.108.1.1 as-number 100 [Sysname-bgp] ipv4-family multicast [Sysname-bgp-af-mul] peer 131.108.1.1 enable [Sysname-bgp-af-mul] peer 131.108.1.1 preferred-value 50 peer public-as-only (MBGP address family view) Use peer public-as-only to not keep private AS numbers in BGP updates sent to a peer or a peer group.
peer reflect-client (MBGP address family view) Use peer reflect-client to configure the router as a route reflector and specify a peer or a peer group as a client. Use undo peer reflect-client to remove the configuration. Syntax peer { group-name | peer-address } reflect-client undo peer { group-name | peer-address } reflect-client Default Neither the route reflector nor the client is configured.
Default The number is unlimited. 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. limit: Specifies the upper limit of IP prefixes that can be received from the peer or peer group. The value range is 1 to 500000. percentage: Specifies a percentage in the range of 1 to 100. The default value is 75.
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. export: Specifies the outbound direction. import: Specifies the inbound direction. Usage guidelines The peer route-policy command does not apply the if-match interface clause in the referenced routing policy. For more information, see Layer 3—IP Routing Command Reference.
Examples # In IPv4 MBGP address family view, configure preferences for EBGP, IBGP, and local IPv4 MBGP routes as 20, 20, and 200. system-view [Sysname]bgp 100 [Sysname-bgp] ipv4-family multicast [Sysname-bgp-af-mul] preference 20 20 200 reflect between-clients (MBGP address family view) Use reflect between-clients to enable route reflection between clients. Use undo reflect between-clients to disable this function.
Default Each route reflector uses its router ID as the cluster ID. Views IPv4 MBGP address family view Default command level 2: System level Parameters cluster-id: Specifies a cluster ID for route reflectors, in the range of 1 to 4294967295. ip-address: Specifies an IP address for route reflectors, in the format of an IP address. Usage guidelines A route is reflected by a route reflector from a client to another client. The router ID of the route reflector is the ID of the cluster.
internal: Specifies the IBGP connections. export: Specifies the outbound direction. import: Specifies the inbound direction. Usage guidelines To perform BGP soft reset, all routers in the network must support route-refresh. If a router does not support the route-refresh function, you must configure the peer keep-all-routes command to save all the routing information for the peers before a BGP soft reset. Examples # Soft-reset all IPv4 MBGP connections.
Default command level 1: Monitor level Parameters ip-address: Specifies a destination IP address. 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. Examples # Clear damping information for route 20.1.0.0/16 and release the suppressed route. reset bgp ipv4 multicast dampening 20.1.0.0 255.255.0.
Use undo summary automatic to disable automatic summarization. Syntax summary automatic undo summary automatic Default Automatic summarization is disabled. Views IPv4 MBGP address family view Default command level 2: System level Usage guidelines The default routes and the routes imported through the network command cannot be automatically summarized. The summary automatic command helps IPv4 MBGP limit the number of routes redistributed from IGP.
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.
Field Description State of the peer: • Active—Waiting for reestablishing a TCP connection after a establishment failure. • Connect—A TCP connection is required but not established yet. • Established—A TCP connection is established. • Idle—No TCP connections are required after the peer State relationship is configured. • Idle(Admin)—The peer is configured not to require any TCP connection. • Openconfirm—Waiting for the keepalive message after receiving an open message.
BGP current event: RecvKeepalive BGP last state: OpenConfirm Port: Local - 1029 Remote - 179 Configured: Active Hold Time: 180 sec Received Keepalive Time: 60 sec : Active Hold Time: 180 sec Negotiated: Active Hold Time: 180 sec Keepalive Time:60 sec Peer optional capabilities: Peer support bgp multi-protocol extended Peer support bgp route refresh capability Address family IPv4 Unicast: advertised and received Address family IPv4 MDT: advertised and received Received: Total 5 messages, Update messa
Field Description Current state of the BGP peer: • Active—Waiting for reestablishing a TCP connection after a establishment failure. BGP current state • Connect—A TCP connection is required but not established yet. • Established—A TCP connection is established between peers. • Idle—No TCP connections are required after the peer relationship is configured. • Idle(Admin)—The peer is configured not to require any TCP connection.
Field Received Description Received timer settings on the peer: Active Hold Time—Holdtime interval for the connection to the peer. Negotiated timer settings: Negotiated • Active Hold Time—Holdtime interval for the connection to the peer. • Keepalive Time—Keepalive interval for the connection to the peer. Peer optional capabilities Optional capabilities supported by the peer. Peer support bgp multi-protocol extended The peer supports multiprotocol BGP extensions.
Default command level 1: Monitor level Parameters all: Displays information about all BGP MDT routes. route-distinguisher route-distinguisher: Specifies a route distinguisher, a string of 3 to 21 characters in the form of nn:nn or IP-address:nn. ip-address: Specifies a destination IP address. mask: Specifies the address mask, 225.225.225.225 by default. mask-length: Specifies the address mask length, in the range 0 to 32. The default is 32. |: Filters command output by specifying a regular expression.
Field Description Path AS_PATH attribute, recording the ASs the packet has passed to avoid routing loops. Origin attribute of the route: • i—The route is interior to the AS. Aggregate routes and the routes injected with Ogn the network command are considered IGP routes. • e—The route is learned from the Exterior Gateway Protocol (EGP). • ?—The origin of the route is unknown, such as the MDT routes redistributed from other routing protocols.
MD remote share-group information for VPN-Instance: mvpn Route-Distinguisher 1:1 Router-ID Share-Group 2.2.2.2 Next-Hop 225.2.2.2 10.1.1.1 Table 55 Command output Field Description MD local share-group information for VPN-Instance: mvpn Local share-group information of VPN instance mvpn. MD remote share-group information for VPN-Instance: mvpn Remote share-group information of VPN instance mvpn. Share-group Share-group address.
vpn-group-address: Specifies a VPN multicast group address in the range of 224.0.0.0 to 239.255.255.255. |: 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 Total 2 switch-groups for 8 entries matched Totally two switch-groups are matched, corresponding to eight (S, G) entries. switch group Switch-group address received. sender BGP peer address of the PE device that sent the switch-group information. ref count Number of VPN multicast groups referenced by the switch-group. active count Number of active VPN multicast groups (multicast groups with active receivers) referenced by the switch-group.
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 switch-group information sent by VPN instance mvpn in the MD.
Related commands display multicast-domain vpn-instance switch-group receive ipv4-family mdt Use ipv4-family mdt to enter BGP-MDT sub-address family view. Use undo ipv4-family mdt to remove all the settings made in BGP-MDT sub-address family view. 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.
mask: Specifies the address subnet mask. Examples # In VPN mvpn, specify 10.1.1.1/32 in VPN red as the source IP address for multicast across VPNs. system-view [Sysname] ip vpn-instance mvpn [Sysname-vpn-instance-mvpn] multicast extra-vpn red 10.1.1.1 32 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.
Views VPN instance view Default command level 2: System level 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.
Enable IP multicast routing for the VPN instance before you configure this command. Related commands • multicast routing-enable • multicast-domain log switch-group-reuse • 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.
Syntax multicast-domain switch-group-pool switch-group-pool { mask | mask-length } [ acl acl-number ] * undo multicast-domain switch-group-pool 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.
Syntax peer { group-name | ip-address } enable undo peer { group-name | ip-address } enable 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.
Default command level 2: System level Parameters ip-address: Specifies the IP address of a BGP MDT peer. 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.
ip-address: Specifies the IP address of a BGP MDT peer. Usage guidelines Before you configure this command, BGP MDT peers or peer groups should be configured. Your configuration will overwrite the old configuration (if any). 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.
reflector cluster-id (BGP-MDT sub-address family view) Use reflector cluster-id to configure the cluster ID of the route reflector. Use undo reflector cluster-id to remove the configured cluster ID. Syntax reflector cluster-id { cluster-id | ip-address } undo reflector cluster-id Default A route reflector uses its router ID as the cluster ID.
Default command level 2: System level Parameters as-number: Specifies an AS number in the range of 1 to 4294967295. ip-address: Specifies the IP address of 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.
include: Displays the forwarding entries whose outgoing interface list includes the specified interface. match: Displays the forwarding entries whose outgoing interface list includes and includes only the specified interface. statistics: Displays statistics for 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. (In standalone mode.
Field Description 00001 Sequence number of the (S, G) entry. (2000:5::1:1000, FF1E::1234) (S, G) entry in the IPv6 multicast forwarding table. 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.
Value Meaning 1 The MPU will synchronize the incoming interface information of the entry to other cards. 2 The MPU will synchronize the outgoing interface information of the entry to other cards. 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.
begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays the 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 DF information of the IPv6 multicast forwarding table.
Views Any view Default command level 1: Monitor level Parameters ipv6-source-address: Multicast source 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 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.
Table 63 Command output Field Description IPv6 multicast routing table IPv6 multicast routing table. Total 1 entry Total number of (S, G) entries in the IPv6 multicast routing table. 00001 Sequence number of the (S, G) entry. (2001::2, FFE3::101) (S, G) entry in the IPv6 multicast forwarding table. Uptime Length of time for which the (S, G) entry has been up. Upstream interface Upstream interface of the (S, G) entry. Multicast packets should arrive through this interface.
RPF interface: GigabitEthernet2/1/1, RPF neighbor: 2002::201 Referenced prefix/prefix length: 2001::/64 Referenced route type: igp Route selection rule: preference-preferred Load splitting rule: disable 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.
Views Interface view 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. 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.
multicast ipv6 forwarding-table downstream-limit Use multicast ipv6 forwarding-table downstream-limit to configure the maximum number of downstream nodes for a single entry in the IPv6 multicast forwarding table. Use undo multicast ipv6 forwarding-table downstream-limit to restore the default. Syntax multicast ipv6 forwarding-table downstream-limit limit undo multicast ipv6 forwarding-table downstream-limit Default The maximum number is 128.
Parameters limit: Specifies the maximum number of entries in the IPv6 multicast forwarding table. The value range for this argument is 0 to 1024. Examples # Set the maximum number of entries in the IPv6 multicast forwarding table to 200. system-view [Sysname] multicast ipv6 forwarding-table route-limit 200 Related commands display multicast ipv6 forwarding-table multicast ipv6 load-splitting Use multicast ipv6 load-splitting to enable load splitting of IPv6 multicast traffic.
Default The route with the highest priority is selected as the RPF route. Views System view Default command level 2: System level 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.
Views User view Default command level 2: System level Parameters ipv6-source-address: Specifies an IPv6 multicast source address. ipv6-group-address: Specifies an IPv6 multicast group address in the range of FFxy::/16, 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.
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.
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.
Parameters vlan-id: Specifies a VLAN ID in the range of 1 to 4094. If you do not specify any VLAN, this command displays the Layer 2 port information of MLD groups in all VLANs. slot slot-number: Specifies a card by its slot number. If no slot is specified, this command displays the Layer 2 port information of the MLD groups on the MPU. (In standalone mode.) chassis chassis-number slot slot-number: Specifies a card on a member device.
Table 66 Command output Field Description Total 1 IP Group(s). Total number of IPv6 multicast groups. Total 1 IP Source(s). Total number of IPv6 multicast sources. Total 1 MAC Group(s). Total number of MAC multicast groups. Port flags: D-Dynamic port, S-Static port, C-Copy port Port flag: D stands for dynamic port, S for static port, and C for port copied from a (*, G) entry to an (S, G) entry.
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. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
Parameters interface-type interface-number: Specifies an interface by its type and number. If you do not specify any interface, this command displays information about all interfaces that runs MLD. verbose: Displays detailed MLD configuration and operation information. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
Table 68 Command output Field Description GigabitEthernet2/1/1(FE80::200:AFF:FE01:101) Interface and IPv6 link-local address. Current MLD version MLD version running on the interface. Value of query interval for MLD (in seconds) MLD query interval, in seconds. Value of other querier present interval for MLD (in seconds) MLD other querier present interval, in seconds. Value of maximum query response time for MLD (in seconds) Maximum response delay for general query messages (in seconds).
Views Any view Default command level 1: Monitor level Parameters ipv6-group-address: Specifies an MLD proxying group. The group address is in the range of FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, through FF0y::), where x and y represent any hexadecimal numbers from 0 to F. If this argument is not specified, this command displays information about all MLD proxying groups. verbose: Displays the detailed MLD proxying group information.
Field Description IPv6 multicast source filtering modes: • Include. • Exclude. Group mode A list of IPv6 multicast sources that the hosts want to receive information from. Source list display mld routing-table Use display mld routing-table to display information about the MLD routing table.
List of 1 downstream interface GigabitEthernet2/1/1 (FE80::200:5EFF:FE71:3800), Protocol: MLD 00002. (100::1, FF1E::101), Flag: ACT List of 1 downstream interface in include mode GigabitEthernet2/1/2 (FE80::100:5E16:FEC0:1010), Protocol: MLD Table 70 Command output Field Description Routing table MLD routing table. 00001 Sequence number of this (*, G) entry. (*, FF1E::101) (*, G) entry in the MLD routing table.
|: 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.
interface-type interface-number: Specifies an interface by its type and number. If you do not specify any interface, this command displays the multicast group information created based on the configured MLD SSM mappings on all interfaces. verbose: Displays the detailed multicast group information created based on the configured MLD SSM mappings. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
Field Description Source list(Total 1 source) IPv6 multicast source list (one IPv6 multicast source). Source IPv6 multicast source address. Last-listener-query-counter Number of MLD last listener queries sent. Last-listener-query-timer-expiry Remaining time of the MLD last listener query timer, where "off" means that the timer never expires.
Table 73 Command output Field Description GigabitEthernet2/1/1(1::1) Interface and IPv6 address. (10::1, FF1E::101) (S, G) entry. Host Host IPv6 address. Uptime Host running duration. Expires Host expiration time, where "timeout" means that the host has expired. fast-leave (MLD view) Use fast-leave to configure MLD fast-leave processing globally. Use undo fast-leave to disable MLD fast-leave processing globally.
host-tracking (MLD view) Use host-tracking to enable the MLD host tracking function globally. Use undo host-tracking to disable the MLD host tracking function globally. Syntax host-tracking undo host-tracking Default This function is disabled. Views MLD view Default command level 2: System level Examples # Enable the MLD host tracking function globally. system-view [Sysname] mld [Sysname-mld] host-tracking Related commands mld host-tracking.
Examples # Set the MLD last listener query interval to 3 seconds globally. system-view [Sysname] mld [Sysname-mld] last-listener-query-interval 3 Related commands • display mld interface • mld last-listener-query-interval • robust-count max-response-time (MLD view) Use max-response-time to configure the maximum response time for MLD general queries globally. Use undo max-response-time to restore the default.
Syntax mld undo mld Views System view Default command level 2: System level Usage guidelines This command can take effect only after IPv6 multicast routing is enabled on the device. Examples # Enable IPv6 multicast routing and enter MLD view. system-view [Sysname] multicast ipv6 routing-enable [Sysname] mld [Sysname-mld] Related commands • mld enable • multicast ipv6 routing-enable mld enable Use mld enable to enable MLD on the current interface.
[Sysname] multicast ipv6 routing-enable [Sysname] interface gigabitethernet 2/1/1 [Sysname-GigabitEthernet2/1/1] mld enable Related commands • mld • multicast ipv6 routing-enable mld fast-leave Use mld fast-leave to configure MLD fast-leave processing on the current interface. Use undo mld fast-leave to disable MLD fast-leave processing on the current interface. Syntax mld fast-leave [ group-policy acl6-number ] undo mld fast-leave Default MLD fast-leave processing is disabled.
Syntax mld group-limit limit undo mld group-limit Default The maximum number is 1024. Views Interface view Default command level 2: System level Parameters limit: Specifies the maximum number of IPv6 multicast groups that an interface can join, in the range of 1 to 1024. Usage guidelines This command is effective only on dynamically joined IPv6 multicast groups but not statically joined IPv6 multicast groups.
Default command level 2: System level Parameters acl6-number: Specifies a basic or advanced IPv6 ACL number in the range of 2000 to 3999. A host can join only the IPv6 multicast groups that match the permit statement in the ACL. The source address or address range specified in the advanced IPv6 ACL rule is the IPv6 multicast source address or addresses specified in MLDv2 reports, rather than the source address in the IPv6 packets.
Related commands host-tracking mld last-listener-query-interval Use mld last-listener-query-interval to configure the MLD last listener query interval on the current interface. Use undo mld last-listener-query-interval to restore the default. Syntax mld last-listener-query-interval interval undo mld last-listener-query-interval Default The MLD last listener query interval is 1 second.
Views Interface 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. Usage guidelines The maximum response time determines the time which the device takes to detect directly attached group members in the LAN. Examples # Set the maximum response delay for MLD general query messages to 8 seconds on GigabitEthernet 2/1/1.
Examples # Enable IPv6 multicast routing and enable MLD proxying on GigabitEthernet 2/1/1. system-view [Sysname] multicast ipv6 routing-enable [Sysname] interface gigabitethernet 2/1/1 [Sysname-GigabitEthernet2/1/1] mld proxying enable Related commands multicast ipv6 routing-enable mld proxying forwarding Use mld proxying forwarding to enable a non-querier downstream interface to forward multicast traffic.
Views Interface view Default command level 2: System level Examples # Configure GigabitEthernet 2/1/1 to discard MLD messages without the Router-Alert option. system-view [Sysname] interface gigabitethernet2/1/1 [Sysname-GigabitEthernet2/1/1] mld require-router-alert Related commands • mld send-router-alert • require-router-alert mld robust-count Use mld robust-count to configure the MLD querier's robustness variable on the current interface.
Examples # Set the MLD querier's robustness variable to 3 on GigabitEthernet 2/1/1.
Use undo mld ssm-mapping enable to disable the MLD SSM mapping feature on the current interface. Syntax mld ssm-mapping enable undo mld ssm-mapping enable Default The MLD SSM mapping feature is disabled on all interfaces. Views Interface view Default command level 2: System level Examples # Enable the MLD SSM mapping feature on GigabitEthernet 2/1/1.
• startup-query-count mld startup-query-interval Use mld startup-query-interval to configure the startup query interval on the current interface. Use undo mld startup-query-interval to restore the default. Syntax mld startup-query-interval interval undo mld startup-query-interval Default The startup query interval is 1/4 of the MLD query interval.
Default command level 2: System 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. ipv6-source-address: Specifies an IPv6 multicast source. all: Specifies all static IPv6 multicast groups that the current interface has joined.
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 on GigabitEthernet 2/1/1.
mld version Use mld version to configure the MLD version on the current interface. Use undo mld version to restore the default MLD version. Syntax mld version version-number undo mld version Default The MLD version is MLDv1. Views Interface view Default command level 2: System level Parameters version-number: Specifies an MLD version, 1 or 2. Examples # Set the MLD version to MLDv2 on GigabitEthernet 2/1/1.
Examples # Configure the device to discard MLD messages without the Router-Alert option. system-view [Sysname] mld [Sysname-mld] require-router-alert Related commands • mld require-router-alert • send-router-alert reset mld group Use reset mld group to remove the dynamic group entries of a specified MLD group or all MLD groups.
reset mld group port-info Use reset mld group port-info to remove dynamic Layer 2 port entries of a specified MLD group or all MLD groups. Syntax reset mld group port-info { all | ipv6-group-address } [ vlan vlan-id ] Views User view Default command level 2: System level Parameters all: Specifies all IPv6 multicast groups. 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.
Default command level 2: System level Parameters all: The first all specifies the IPv6 multicast groups created based on the configured MLD SSM mappings on all interfaces, and the second all specifies all IPv6 multicast groups created based on the configured MLD SSM mappings. 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.
The MLD querier's robustness variable determines the following values: • The default number of MLD general queries that the MLDv1/v2 querier sends on startup. • The number of multicast-address-specific queries that the MLDv1 querier sends after receiving an MLD done message. • The number of multicast-address-and-source-specific queries that the MLDv2 querier sends after receiving an MLD report that indicates relation changes between IPv6 multicast groups and IPv6 multicast sources.
Related commands • mld send-router-alert • require-router-alert ssm-mapping (MLD view) Use ssm-mapping to configure an MLD SSM mapping. Use undo ssm-mapping to remove one or all MLD SSM mappings. Syntax ssm-mapping ipv6-group-address prefix-length ipv6-source-address undo ssm-mapping { ipv6-group-address prefix-length ipv6-source-address | all } Default No MLD SSM mappings are configured.
undo startup-query-count Default The startup query count is set to the MLD querier's robustness variable. Views MLD view Default command level 2: System level Parameters value: Specifies a startup query count (the number of queries that the MLD querier sends on startup) in the range of 2 to 5. Examples # Set the startup query count to 3 globally.
[Sysname-mld] startup-query-interval 5 Related commands • mld startup-query-interval • timer query timer other-querier-present (MLD view) Use timer other-querier-present to configure the MLD other querier present interval globally. Use undo timer other-querier-present to restore the default.
undo timer query Default The MLD query interval is 125 seconds. Views MLD view Default command level 2: System level Parameters interval: Specifies an MLD query interval (time between MLD general queries) in seconds, in the range of 1 to 18000. Examples # Set the MLD query interval to 200 seconds globally.
[Sysname-mld] version 2 Related commands mld version 324
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.
Field Description C-RP C-RP-Adv messages. 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.
Field Description DF-Uptime Existence duration of DF. DF-Address IPv6 address of DF, where "local" means a local IPv6 address. 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.
Syntax display pim ipv6 interface [ interface-type interface-number ] [ verbose ] [ | { begin | exclude | include } regular-expression ] Views Any view 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.
Table 79 Command output Field Description Interface Interface name and its IPv6 address. PIM version IPv6 PIM version. 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.
Syntax display pim ipv6 join-prune mode { sm [ flags flag-value ] | ssm } [ interface interface-type interface-number | neighbor ipv6-neighbor-address ] * [ verbose ] [ | { begin | exclude | include } regular-expression ] Views Any view 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.
Field Description (S, G) join(s) Number of (S, G) joins to send. (S, G, rpt) prune(s) Number of (S, G, rpt) prunes. display pim ipv6 neighbor Use display pim ipv6 neighbor to display IPv6 PIM neighbor information.
Holdtime: 105 s LAN delay: 500 ms Override interval: 2500 ms State refresh interval: 60 s Neighbor tracking: Disabled Bidirectional PIM: Enabled 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.
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, 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.
|: 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.
Assert FSM: [NI] FSM information for non-downstream interfaces: None 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.
display pim ipv6 rp-info Use display pim ipv6 rp-info to display RP information. 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.
Field Description Priority RP priority. HoldTime Timeout time of the RP. Uptime Length of time since the RP was elected. 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.
hello-option dr-priority (IPv6 PIM view) Use hello-option dr-priority to configure the global value of the router priority for DR election. 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.
Parameters interval: Specifies an IPv6 PIM neighbor timeout timer in seconds. The value ranges from 1 to 65535. A value of 65535 makes the IPv6 PIM neighbor always reachable. Examples # Set the IPv6 PIM neighbor timeout timer to 120 seconds globally.
Use undo hello-option neighbor-tracking to enable join suppression. Syntax hello-option neighbor-tracking undo hello-option neighbor-tracking 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.
Related commands • hello-option lan-delay • pim ipv6 hello-option lan-delay • pim ipv6 hello-option 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 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.
jp-queue-size (IPv6 PIM view) Use jp-queue-size to configure the maximum number of (S, G) entries in each join/prune message. Use undo jp-queue-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.
Syntax pim ipv6 undo pim ipv6 Views System view 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.
• multicast ipv6 boundary pim ipv6 dm Use pim ipv6 dm to enable IPv6 PIM-DM. Use undo pim ipv6 dm to disable IPv6 PIM-DM. 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.
Views Interface 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 on GigabitEthernet 2/1/1.
pim ipv6 hello-option lan-delay Use pim ipv6 hello-option lan-delay to configure the LAN-delay time( namely, the time that the device waits before forwarding a received prune message, on the current interface). Use undo pim ipv6 hello-option lan-delay to restore the default. Syntax pim ipv6 hello-option lan-delay interval undo pim ipv6 hello-option lan-delay Default The LAN-delay time is 500 milliseconds.
Default command level 2: System level Examples # Disable join suppression on GigabitEthernet 2/1/1. system-view [Sysname] interface 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 holdtime assert interval undo pim ipv6 holdtime assert Default The assert timeout timer is 180 seconds. 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.
system-view [Sysname] interface gigabitethernet 2/1/1 [Sysname-GigabitEthernet2/1/1] pim ipv6 holdtime join-prune 280 Related commands • holdtime assert • holdtime join-prune • 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 require-genid undo pim ipv6 require-genid Default Hello messages without Generation_ID are accepted. 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.
pim ipv6 state-refresh-capable Use pim ipv6 state-refresh-capable to enable the state refresh feature on the interface. Use undo pim ipv6 state-refresh-capable to disable the state refresh feature. 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.
Examples # Set the graft retry period to 80 seconds on GigabitEthernet 2/1/1. system-view [Sysname] interface gigabitethernet 2/1/1 [Sysname-GigabitEthernet2/1/1] pim ipv6 timer graft-retry 80 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.
Views Interface view Default command level 2: System level 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.
Syntax probe-interval interval undo probe-interval 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.
[Sysname-pim6] prune delay 75 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.
Views IPv6 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.
reset pim ipv6 control-message counters Use reset pim ipv6 control-message counters to reset IPv6 PIM control message counters. 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.
source-policy (IPv6 PIM view) Use source-policy to configure an IPv6 multicast data filter. Use undo source-policy to remove the configured IPv6 multicast data filter. 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.
Default The device switches to the SPT immediately after it receives the first IPv6 multicast packet. Views IPv6 PIM view 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.
undo ssm-policy Default The IPv6 SSM group range is FF3x::/32. Here x refers to any legal scope. 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.
[Sysname-pim6] state-refresh-hoplimit 45 Related commands • pim ipv6 state-refresh-capable • 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.
Default The device waits 30 seconds before it receives a new state refresh message. 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.
preferred: Gives priority to the static RP if the static RP conflicts with the dynamic RP. If you do not include the preferred keyword in your command, the dynamic RP will be given priority, and the static RP takes effect only if no dynamic RP exists in the network or when the dynamic RP fails. 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.
Parameters interval: Specifies a hello interval in seconds. The value ranges from 1 to 2147483647. Examples # Set the global hello interval to 40 seconds. 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.
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.
Views Any view 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-advertise: Displays IPv6 MBGP routes that cannot be advertised to any peer. 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.
adv-community-list-number: Specifies an advanced community-list in the range of 100 to 199. 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.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Examples # Display dampened IPv6 MBGP routing information display bgp ipv6 multicast routing-table dampened BGP Local router ID is 1.1.1.
display bgp ipv6 multicast routing-table dampening parameter Maximum Suppress Time(in second) : 3069 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.
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 *> 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.
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 : 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.
Examples # Display the routing information advertised to the specified IPv6 MBGP peer. 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.
*> Network : 50:50:: PrefixLen : 64 NextHop : 10:10::10:1 LocPrf : PrefVal : 0 Label : NULL 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.
Parameters verbose: Displays detailed routing table information, including both active and inactive routes. With this argument absent, the command displays brief information about active IPv6 MBGP routes only. |: 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.
Age : 17073sec Table 95 Command output Field Description Destination Destination IPv6 address. 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.
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. Examples # Display brief information about the specified multicast route.
Default command level 2: System level Parameters acl6-number: Specifies a basic or advanced ACL in the range of 2000 to 3999. 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.
[Sysname-bgp-af-ipv6-mul] filter-policy 2000 import import-route (IPv6 MBGP address family view) Use import-route to redistribute routes from another routing protocol. 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.
Default IPv4 BGP unicast view is the default. Views BGP view Default command level 2: System level 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.
Default command level 2: System level Parameters ipv6-address: Specifies an IPv6 address prefix. prefix-length: Specifies the prefix length of the IPv6 address, in the range of 0 to 128. short-cut: If the keyword is specified for an IPv6 multicast EBGP route, the route uses the local preference rather than its own preference, and it cannot become the optimal route. route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
[Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100 [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 advertise-community 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 } allow-as-loop [ number ] undo peer { ipv6-group-name | ipv6-address } allow-as-loop 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. 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.
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. as-path-acl-number: Specifies an AS path ACL in the range of 1 to 256. import: Specifies the inbound direction. export: Specifies the outbound direction. Examples # Specify AS path ACL 3 to filter routes outgoing to the IPv6 MBGP peer 1:2::3:4.
standard ORF information to the peer. For non-standard ORF capability negotiation, you need also to configure the peer capability-advertise orf non-standard command. • After you disable the ORF capability, the local BGP router does not negotiate the ORF capability with the specified 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. route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters. 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 # Enable IPv6 MBGP peer 1:2::3:4. system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100 [Sysname-bgp-af-ipv6] quit [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.
[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 filter-policy 2000 export peer group (IPv6 MBGP address family view) Use peer group to add an IPv6 MBGP peer to an IPv6 MBGP peer group. Use undo peer group to delete an IPv6 MBGP peer from an IPv6 MBGP peer group. 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.
Default No IPv6 prefix list based filtering is configured. 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. 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.
ipv6-address: Specifies an IPv6 MBGP peer by its IPv6 address. Examples # Save the original routing information from IPv6 MBGP peer 1:2::3:4.
peer preferred-value (IPv6 MBGP address family view) Use peer preferred-value to assign a preferred value to routes received from an IPv6 MBGP peer or peer group. Use undo peer preferred-value to restore the default. Syntax peer { ipv6-group-name | ipv6-address } preferred-value value undo peer { ipv6-group-name | ipv6-address } preferred-value Default The preferred value defaults to 0.
peer public-as-only (IPv6 MBGP address family view) Use peer public-as-only to disable IPv6 MBGP updates to a peer or a peer group from carrying private AS numbers. Use undo peer public-as-only to allow IPv6 MBGP updates to a peer or a peer group to carry private AS numbers. Syntax peer { ipv6-group-name | ipv6-address } public-as-only undo peer { ipv6-group-name | ipv6-address } public-as-only Default Private AS numbers can be carried in outbound IPv6 MBGP update packets.
Default Neither route reflector nor client is configured. 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. Examples # Configure the local device as a route reflector and specify the peer group test as a client.
limit: Specifies the upper limit of IPv6 address prefixes that can be received from the peer or peer group. The value range is 1 to 500000. percentage: Specifies a percentage in the range of 1 to 100. The default value is 75. If the number of received routes divided by the upper limit reaches the specified percentage, the system generates an alarm. Usage guidelines The router will terminate the TCP connection when the number of IPv6 prefixes received from the peer exceeds the limit.
Usage guidelines The if-match interface clause in the routing policy referenced by the peer route-policy command is not applied. For more information, see Layer 3—IP Routing Command Reference. Examples # Apply the routing policy test-policy to routes received from the IPv6 MBGP peer group test.
route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters. Using a routing policy, you can configure the preferences for the routes that match the policy. The routes that do not match the policy use the default preferences. Usage guidelines The greater the preference value is, the lower the preference is. Examples # Configure preferences for IPv6 multicast EBGP, IPv6 multicast IBGP, and local IPv6 MBGP routes as 20, 20, and 200.
reflector cluster-id (IPv6 MBGP address family view) Use reflector cluster-id to configure the cluster ID of the route reflector. Use undo reflector cluster-id to remove the configured cluster ID. Syntax reflector cluster-id cluster-id undo reflector cluster-id Default Each route reflector uses its router ID as the cluster ID.
Default command level 1: Monitor level Parameters ipv6-address: Specifies an IPv6 MBGP peer by its IPv6 address. all: Specifies all IPv6 MBGP connections. external: Specifies IPv6 multicast EBGP connections. group ipv6-group-name: Specifies an IPv6 multicast peer group by its name, a string of 1 to 47 characters. internal: Specifies IPv6 multicast IBGP connections. export: Specifies the outbound direction. import: Specifies the inbound direction.
Examples # Reset all IPv6 MBGP connections. reset bgp ipv6 multicast all reset bgp ipv6 multicast dampening Use reset bgp ipv6 multicast dampening to clear route dampening information and release suppressed routes. Syntax reset bgp ipv6 multicast dampening [ ipv6-address prefix-length ] Views User 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.
Usage guidelines If no parameters are specified, this command clears the flap statistics for all routes. Examples # Clear the flap statistics for all routes that match AS path ACL 10.
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.
VLAN ID: 2 Total number of neighbors: 2 Neighbor Port Expires Option Flags 10.1.1.2 GE2/0/1 02:02:23 LAN Prune Delay(T) 20.1.1.2 GE2/0/2 03:00:05 LAN Prune Delay 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.
number. If this option is not specified, this command displays information about the PIM snooping routing entries for the active MPU in the IRF fabric. (In IRF mode.) |: 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.
Expires: 00:01:05, FSM: J Table 98 Command output Field Description Total 1 entry(ies) Total number of (S, G) entries and (*, G) entries in the PIM snooping routing table. State machine flag of the downstream port: FSM Flag: NI-no info, J-join, PP-prune pending • NI—Initial state. • J—Join. • PP—Prune pending. (172.10.10.1, 225.1.1.1) (S, G) entry. Upstream neighbor Upstream neighbor of the (S, G) or (*, G) entry. Upstream port Upstream port of the (S, G) entry or (*, G) entry).
Table 99 Command output Field Description Received PIMv2 hello Number of received PIMv2 hello messages. Received PIMv2 join/prune Number of received PIMv2 join/prune messages. Received PIMv2 error Number of received PIMv2 messages with errors. Received PIMv2 messages in total Total number of received PIMv2 messages. Received PIMv1 messages in total Total number of received PIMv1 messages. pim-snooping enable Use pim-snooping enable to enable PIM snooping in a VLAN.
Syntax reset pim-snooping statistics Views User view Default command level 2: System level Examples # Clear statistics for the PIM messages learned through PIM snooping.
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),329 A c-bsr interval (PIM view),113 aggregate (IPv6 MBGP address family view),380 c-bsr priority (IPv6 PIM view),330 aggregate (MBGP address family view),195 c-bsr priority (PIM view),113 auto-rp enable,105 c-bsr scope,330 B compare-different-as-med (IPv6 MBGP address family view),384 balance (IPv6 MBGP address family view),381 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,395 display igmp routing-table,71 display bgp ipv6 multicast routing-table community,396 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,397 display igmp-snooping group,1 display bgp ipv6 multicast routing-table dampened,398 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),353 display pim grafts,125 hello-option lan-delay (PIM view),139 display pim interface,126 hello-option neighbor-tracking (IPv6 PIM view),353 display pim ipv6 bsr-info,335 hello-option neighbor-tracking (PIM view),139 display pim ipv6 claimed-route,337 hello-option override-interval (IPv6 PIM view),354 display pim ipv6 control-message counters,338 hello-op
igmp-snooping host-aging-time,17 mld group-policy,304 igmp-snooping host-join,17 mld host-tracking,305 igmp-snooping host-tracking,19 mld last-listener-query-interval,306 igmp-snooping last-member-query-interval,19 mld max-response-time,306 igmp-snooping leave source-ip,20 mld proxying enable,307 igmp-snooping max-response-time,21 mld proxying forwarding,308 igmp-snooping overflow-replace,22 mld require-router-alert,308 igmp-snooping proxying enable,23 mld robust-count,309 igmp-snooping quer
peer public-as-only (IPv6 MBGP address family view),422 P peer advertise-community (IPv6 MBGP address family view),411 peer public-as-only (MBGP address family view),240 peer reflect-client (BGP-MDT sub-address family view),267 peer advertise-community (MBGP address family view),229 peer advertise-ext-community (IPv6 MBGP address family view),412 peer reflect-client (IPv6 MBGP address family view),422 peer advertise-ext-community (MBGP address family view),230 peer request-sa-enable,186 peer reflect-
pim ipv6 triggered-hello-delay,368 reset bgp ipv6 multicast dampening,429 pim neighbor-policy,151 reset bgp ipv6 multicast flap-info,429 pim require-genid,152 reset bgp mdt,269 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,34 pim timer join-prune,155 reset igmp-snooping statistics,35 pim triggered-hello-delay,156 reset mld group,316 pim-snoopi
state-refresh-interval (IPv6 PIM view),376 timer join-prune (IPv6 PIM view),379 state-refresh-interval (PIM view),164 timer join-prune (PIM view),168 state-refresh-rate-limit (IPv6 PIM view),376 timer other-querier-present (IGMP view),102 state-refresh-rate-limit (PIM view),165 timer other-querier-present (MLD view),322 state-refresh-ttl,165 timer query (IGMP view),103 static-rp (IPv6 PIM view),377 timer query (MLD view),322 static-rp (PIM view),166 timer retry,193 static-rpf-peer,192 V Subs