04-IP Multicast Volume

HomeSupportSwitchesH3C S7500E Switch SeriesReference GuidesCommand ReferencesH3C S7500E Series Ethernet Switches Command Manual(Release 6300 series V1.03)04-IP Multicast Volume
03-PIM Commands
Title Size Download
03-PIM Commands 217.65 KB

Table of Contents

1 PIM Configuration Commands· 1-1

PIM Configuration Commands· 1-1

auto-rp enable· 1-1

bsr-policy (PIM view) 1-2

c-bsr (PIM view) 1-2

c-bsr admin-scope· 1-3

c-bsr global 1-4

c-bsr group· 1-4

c-bsr hash-length (PIM view) 1-5

c-bsr holdtime (PIM view) 1-6

c-bsr interval (PIM view) 1-7

c-bsr priority (PIM view) 1-7

c-rp (PIM view) 1-8

c-rp advertisement-interval (PIM view) 1-9

c-rp holdtime (PIM view) 1-10

crp-policy (PIM view) 1-11

display pim bsr-info· 1-11

display pim claimed-route· 1-13

display pim control-message counters· 1-15

display pim grafts· 1-16

display pim interface· 1-17

display pim join-prune· 1-20

display pim neighbor 1-21

display pim routing-table· 1-23

display pim rp-info· 1-25

hello-option dr-priority (PIM view) 1-27

hello-option holdtime (PIM view) 1-27

hello-option lan-delay (PIM view) 1-28

hello-option neighbor-tracking (PIM view) 1-29

hello-option override-interval (PIM view) 1-29

holdtime assert (PIM view) 1-30

holdtime join-prune (PIM view) 1-31

jp-pkt-size (PIM view) 1-31

jp-queue-size (PIM view) 1-32

pim·· 1-33

pim bsr-boundary· 1-34

pim dm·· 1-34

pim hello-option dr-priority· 1-35

pim hello-option holdtime· 1-36

pim hello-option lan-delay· 1-36

pim hello-option neighbor-tracking· 1-37

pim hello-option override-interval 1-38

pim holdtime assert 1-38

pim holdtime join-prune· 1-39

pim require-genid· 1-39

pim sm·· 1-40

pim state-refresh-capable· 1-41

pim timer graft-retry· 1-41

pim timer hello· 1-42

pim timer join-prune· 1-42

pim triggered-hello-delay· 1-43

probe-interval (PIM view) 1-44

register-policy (PIM view) 1-44

register-suppression-timeout (PIM view) 1-45

register-whole-checksum (PIM view) 1-46

reset pim control-message counters· 1-46

source-lifetime (PIM view) 1-47

source-policy (PIM view) 1-47

spt-switch-threshold infinity (PIM view) 1-48

ssm-policy (PIM view) 1-49

state-refresh-interval (PIM view) 1-50

state-refresh-rate-limit (PIM view) 1-51

state-refresh-ttl 1-51

static-rp (PIM view) 1-52

timer hello (PIM view) 1-53

timer join-prune (PIM view) 1-54

 


 

 

The term “router” in this document refers to a router in a generic sense or a Layer 3 switch running the PIM protocol.

 

PIM Configuration Commands

auto-rp enable

Syntax

auto-rp enable

undo auto-rp enable

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

None

Description

Use the auto-rp enable command to enable auto-RP.

Use the undo auto-rp enable command to disable auto-RP.

By default, auto-RP is disabled.

Related commands: static-rp.

Examples

# Enable auto-RP in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] auto-rp enable

bsr-policy (PIM view)

Syntax

bsr-policy acl-number

undo bsr-policy

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

acl-number: Basic ACL number, in the range of 2000 to 2999. When an ACL is defined, the source keyword in the rule command specifies a legal BSR source address range.

Description

Use the bsr-policy command to configure a legal BSR address range to guard against BSR spoofing.

Use the undo bsr-policy command to remove the restriction of the BSR address range.

By default, there are no restrictions on the BSR address range, namely the bootstrap messages from any source are regarded to be valid.

Examples

# Configure a legal BSR address range in the public instance so that only routers on the segment 10.1.1.0/24 can become the BSR.

<Sysname> system-view

[Sysname] acl number 2000

[Sysname-acl-basic-2000] rule permit source 10.1.1.0 0.0.0.255

[Sysname-acl-basic-2000] quit

[Sysname] pim

[Sysname-pim] bsr-policy 2000

c-bsr (PIM view)

Syntax

c-bsr interface-type interface-number [ hash-length [ priority ] ]

undo c-bsr

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

interface-type interface-number: Specifies an interface by its type and number. This configuration can take effect only if PIM-SM is enabled on the interface.

hash-length: Hash mask length, in the range of 0 to 32. If you do not include this argument in your command, the corresponding global setting will be used.

priority: Priority of the C-BSR, in the range of 0 to 255. If you do not include this argument in your command, the corresponding global setting will be used. A larger value of this argument means a higher priority.

Description

Use the c-bsr command to configure the specified interface as a C-BSR.

Use the undo c-bsr command to remove the related C-BSR configuration.

No C-BSR is configured by default.

Note that PIM-SM must be enabled on the interface to be configured as a C-BSR.

Related commands: pim sm, c-bsr hash-length, c-bsr priority, c-rp.

Examples

# Configure VLAN-interface 100 to be a C-BSR.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] c-bsr vlan-interface 100

c-bsr admin-scope

Syntax

c-bsr admin-scope

undo c-bsr admin-scope

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

None

Description

Use the c-bsr admin-scope command to enable administrative scoping.

Use the undo c-bsr admin-scope command to disable administrative scoping.

By default, BSR administrative scoping is disabled, namely there is only one BSR in a PIM-SM domain.

Related commands: c-bsr, c-bsr group, c-bsr global.

Examples

# Enable administrative scoping in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] c-bsr admin-scope

c-bsr global

Syntax

c-bsr global [ hash-length hash-length | priority priority ] *

undo c-bsr global

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

hash-length: Hash mask length in the global scope zone, in the range of 0 to 32. If you do not include this argument in your command, the corresponding global setting will be used.

priority: Priority of the C-BSR in the global scope zone, in the range of 0 to 255. If you do not include this argument in your command, the corresponding global setting will be used. A larger value of this argument means a higher priority.

Description

Use the c-bsr global command to configure a C-BSR for the global scope zone.

Use the undo c-bsr global command to remove the C-BSR configuration for the global scope zone.

By default, no C-BSRs are configured for the global scope zone.

Related commands: c-bsr group, c-bsr hash-length, c-bsr priority.

Examples

# Configure the router to be a C-BSR for the global scope zone in the public instance, with the priority of 1.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] c-bsr global priority 1

c-bsr group

Syntax

c-bsr group group-address { mask | mask-length } [ hash-length hash-length | priority priority ] *

undo c-bsr group group-address

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

group-address: Multicast group address, in the range of 239.0.0.0 to 239.255.255.255.

mask: Mask of the multicast group address.

mask-length: Mask length of the multicast group address, in the range of 8 to 32.

hash-length: Hash mask length in the admin-scope region corresponding to the specified multicast group, in the range of 0 to 32. If you do not include this argument in your command, the corresponding global setting will be used.

priority: Priority of the C-BSR in the admin-scope region corresponding to a multicast group, in the range of 0 to 255. If you do not include this argument in your command, the corresponding global setting will be used. A larger value of this argument means a higher priority.

Description

Use the c-bsr group command to configure a C-BSR for the admin-scope region associated with the specified group.

Use the undo c-bsr group command to remove the C-BSR configuration for the admin-scope region associated with the specified group.

By default, no C-BSRs are configured for admin-scope regions.

Related commands: c-bsr global, c-bsr admin-scope, c-bsr hash-length, c-bsr priority.

Examples

# In the public instance configure the router to be a C-BSR in the admin-scope region associated with the multicast group address 239.0.0.0/8, with the priority of 10.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] c-bsr group 239.0.0.0 255.0.0.0 priority 10

c-bsr hash-length (PIM view)

Syntax

c-bsr hash-length hash-length

undo c-bsr hash-length

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

hash-length: Hash mask length, in the range of 0 to 32.

Description

Use the c-bsr hash-length command to configure the global Hash mask length .

Use the undo c-bsr hash-length command to restore the system default.

By default, the Hash mask length is 30.

Related commands: c-bsr, c-bsr global, c-bsr group.

Examples

# Set the global Hash mask length to 16 in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] c-bsr hash-length 16

c-bsr holdtime (PIM view)

Syntax

c-bsr holdtime interval

undo c-bsr holdtime

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

interval: BS timeout in seconds, with an effective range of 1 to 2,147,483,647.

Description

Use the c-bsr holdtime command to configure the BS timeout, namely the length of time a C-BSR waits before it must receive a bootstrap message from the BSR.

Use the undo c-bsr holdtime command to restore the system default.

By default, the bootstrap timeout value is determined by this formula: BS timeout = BS period × 2 + 10.

 

 

The default BS period is 60 seconds, so the default BS timeout = 60 × 2 + 10 = 130 (seconds).

 

Related commands: c-bsr, c-bsr interval.

Examples

# Set the BS timeout time to 150 seconds in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] c-bsr holdtime 150

c-bsr interval (PIM view)

Syntax

c-bsr interval interval

undo c-bsr interval

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

interval: BS period in seconds, with an effective range of 1 to 2,147,483,647.

Description

Use the c-bsr interval command to configure the BS period, namely the interval at which the BSR sends bootstrap messages.

Use the undo c-bsr interval command to restore the system default.

By default, the BS period value is determined by this formula: BS period = (BS timeout – 10) ÷ 2.

 

 

The default BS timeout is 130 seconds, so the default BS period = (130 – 10) ÷ 2 = 60 (seconds).

 

Related commands: c-bsr, c-bsr holdtime.

Examples

# Set the BS period to 30 seconds in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] c-bsr interval 30

c-bsr priority (PIM view)

Syntax

c-bsr priority priority

undo c-bsr priority

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

priority: Priority of the C-BSR, in the range of 0 to 255. A larger value of this argument means a higher priority.

Description

Use the c-bsr priority command to configure the global C-BSR priority.

Use the undo c-bsr priority command to restore the system default.

By default, the C-BSR priority is 0.

Related commands: c-bsr, c-bsr global, c-bsr group.

Examples

# Set the global C-BSR priority to 5 in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] c-bsr priority 5

c-rp (PIM view)

Syntax

c-rp interface-type interface-number [ group-policy acl-number | priority priority | holdtime hold-interval | advertisement-interval adv-interval ] *

undo c-rp interface-type interface-number

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

interface-type interface-number: Specifies an interface, the IP address of which will be advertised as a C-RP address.

acl-number: 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 matching the permit statement in the ACL will be advertised as an RP served group, while configurations matching other statements like deny will not take effect.

priority: Priority of the C-RP, in the range of 0 to 255 and defaulting to 0. A larger value of this argument means a lower priority.

hold-interval: C-RP timeout time, in seconds. The effective range is 1 to 65,535. If you do not provide this argument in your command, the corresponding global setting will be used.

adv-interval: C-RP-Adv interval in seconds, with an effective range of 1 to 65,535. If you do not provide this argument in your command, the corresponding global setting will be used.

Description

Use the c-rp command to configure the specified interface as a C-RP.

Use the undo c-rp command to remove the related C-RP configuration.

No C-RPs are configured by default.

Note that:

l          PIM-SM must be enabled on the interface to be configured as a C-RP.

l          If you do not specify a group range for the C-RP, the C-RP will serve all multicast groups.

l          If you wish a router to be a C-RP for multiple group ranges, you need to include these multiple group ranges in multiple rules in the ACL corresponding to the group-policy keyword.

l          If you carry out this command repeatedly on the same interface, the last configuration will take effect.

Related commands: c-bsr.

Examples

# Configure VLAN-interface 100 to be a C-RP for multicast groups 225.1.0.0/16 and 226.2.0.0/16, with a priority of 10.

<Sysname> system-view

[Sysname] acl number 2000

[Sysname-acl-basic-2000] rule permit source 225.1.0.0 0.0.255.255

[Sysname-acl-basic-2000] rule permit source 226.2.0.0 0.0.255.255

[Sysname-acl-basic-2000] quit

[Sysname] pim

[Sysname-pim] c-rp vlan-interface 100 group-policy 2000 priority 10

c-rp advertisement-interval (PIM view)

Syntax

c-rp advertisement-interval interval

undo c-rp advertisement-interval

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

interval: C-RP-Adv interval in seconds, with an effective range of 1 to 65,535.

Description

Use the c-rp advertisement-interval command to configure the interval at which C-RP-Adv messages are sent.

Use the undo c-rp advertisement-interval command to restore the system default.

By default, the C-RP-Adv interval is 60 seconds.

Related commands: c-rp.

Examples

# Set the global C-RP-Adv interval to 30 seconds in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] c-rp advertisement-interval 30

c-rp holdtime (PIM view)

Syntax

c-rp holdtime interval

undo c-rp holdtime

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

interval: C-RP timeout in seconds, with an effective range of 1 to 65,535.

Description

Use the c-rp holdtime command to configure the global C-RP timeout time, namely the length of time the BSR waits before it must receive a C-RP-Adv message.

Use the undo c-rp holdtime command to restore the system default.

By default, the C-RP timeout time is 150 seconds.

Because a non-BSR router refreshes its C-RP timeout time through BSR bootstrap messages, to prevent loss of C-RP information in BSR bootstrap messages, make sure that the C-RP timeout time 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.

Related commands: c-rp, c-bsr interval.

Examples

# Set the global C-RP timeout time to 200 seconds in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] c-rp holdtime 200

crp-policy (PIM view)

Syntax

crp-policy acl-number

undo crp-policy

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

acl-number: 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.

Description

Use the crp-policy command to configure a legal C-RP address range and the range of served multicast groups, so as to guard against C-RP spoofing.

Use the undo crp-policy command to remove the restrictions in C-RP address ranges and the ranges of served multicast groups.

By default, there are no restrictions on C-RP address ranges and the address ranges of served groups, namely all received C-RP messages are accepted.

Note that 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 advertised by a C-RP is 224.1.0.0/16 while the legal group range defined by the crp-policy command is 224.1.0.0/30, the multicast groups in the range of 224.1.0.0/16 are allowed to pass.

Related commands: c-rp.

Examples

# In the public instance, configure a C-RP address range so that only routers in the address range of 1.1.1.1/24 can be C-RPs

<Sysname> system-view

[Sysname] acl number 3000

[Sysname-acl-adv-3000] rule permit ip source 1.1.1.1 0 0.0.255

[Sysname-acl-adv-3000] quit

[Sysname] pim

[Sysname-pim] crp-policy 3000

display pim bsr-info

Syntax

display pim [ all-instance | vpn-instance vpn-instance-name ] bsr-info

View

Any view

Default 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.

Description

Use the display pim bsr-info command to view the BSR information in the PIM domain and the locally configured C-RP information in effect.

Note that if neither all-instance nor vpn-instance is specified, this command will display the information on the public instance.

Related commands: c-bsr, c-rp.

Examples

# View the BSR information in the PIM-SM domain in the public instance and the locally configured C-RP information in effect.

<Sysname> display pim bsr-info

 VPN-Instance: public net

 Elected BSR Address: 12.12.12.9

     Priority: 0

     Hash mask length: 30

     State: Elected

     Scope: Global

     Uptime: 00:00:56

     Next BSR message scheduled at: 00:01:14

 Candidate BSR Address: 12.12.12.9

     Priority: 0

     Hash mask length: 30

     State: Elected

     Scope: Global

 

 Candidate RP: 12.12.12.9(LoopBack1)

     Priority: 0

     HoldTime: 150

     Advertisement Interval: 60

     Next advertisement scheduled at: 00:00:48

 Candidate RP: 3.3.3.3(Vlan-interface1)

     Priority: 20

     HoldTime: 90

     Advertisement Interval: 50

     Next advertisement scheduled at: 00:00:28

 Candidate RP: 5.5.5.5(Vlan-interface2)

     Priority: 0

     HoldTime: 80

     Advertisement Interval: 60

     Next advertisement scheduled at: 00:00:48

Table 1-1 display pim bsr-info command output description

Field

Description

VPN-Instance: public net

Public instance

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 in which the BSR will expire, in hh:mm:ss

Candidate RP

Address of the C-RP

Priority

Priority of the C-RP

HoldTime

Timeout time of the C-RP

Advertisement Interval

Interval at which the C-RP sends advertisement messages

Next advertisement scheduled at

Length of time in which the C-RP will send the next advertisement message, in hh:mm:ss

 

display pim claimed-route

Syntax

display pim [ all-instance | vpn-instance vpn-instance-name ] claimed-route [ source-address ]

View

Any view

Default 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.

source-address: Displays the information of the unicast route to a particular multicast source. If you do not provide this argument, this command will display the information about all unicast routes used by PIM.

Description

Use the display pim claimed-route command to view the information of unicast routes used by PIM.

Note that:

l          If neither all-instance nor vpn-instance is specified, this command will display the information on the public instance.

l          If an (S, G) is marked SPT, this (S, G) entry uses a unicast route.

Examples

# View the information of all unicast routes used by PIM in the public instance.

<Sysname> display pim claimed-route

 VPN-Instance: public net

 RPF information about: 172.168.0.0

     RPF interface: Vlan-interface1, RPF neighbor: 172.168.0.2

     Referenced route/mask: 172.168.0.0/24

     Referenced route type: unicast (direct)

     RPF-route selecting rule: preference-preferred

     The (S,G) or (*,G) list dependent on this route entry

     (172.168.0.12, 227.0.0.1)

Table 1-2 display pim claimed-route command output description

Field

Description

VPN-Instance: public net

Public instance

RPF information about: 172.168.0.0

Information of the route to the multicast source 172.168.0.0

RPF interface

RPF interface type and number

RPF neighbor

IP address of the RPF neighbor

Referenced route/mask

Address/mask of the referenced route

Referenced route type

Type of the referenced route:

l      igp: IGP unicast route

l      egp: EGP unicast route

l      unicast (direct): Direct unicast route

l      unicast: Other unicast route (such as static unicast route)

l      mbgp: MBGP route

l      multicast static: Static multicast 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

 

display pim control-message counters

Syntax

display pim [ all-instance | vpn-instance vpn-instance-name ] control-message counters [ message-type { probe | register | register-stop } | [ interface interface-type interface-number | message-type { assert | bsr | crp | graft | graft-ack | hello | join-prune | state-refresh } ] * ]

View

Any view

Default 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.

probe: Displays the number of null register messages.

register: Displays the number of register messages.

register-stop: Displays the number of register-stop messages.

interface interface-type interface-number: Displays the number of PIM control messages on the specified interface.

assert: Displays the number of assert messages.

bsr: Displays the number of Bootstrap messages.

crp: Displays the number of C-RP-Adv messages.

graft: Displays the number of Graft messages.

graft-ack: Displays the number of Graft-ack messages.

hello: Displays the number of Hello messages.

join-prune: Displays the number of Join/prune messages.

state-refresh: Displays the number of state refresh messages.

Description

Use the display pim control-message counters command to view the statistics information of PIM control messages.

Note that if neither all-instance nor vpn-instance is specified, this command will display the information on the public instance.

Examples

# View the statistics information of all types of PIM control messages on all interfaces in the public instance.

<Sysname> display pim control-message counters

 VPN-Instance: public net

 PIM global control-message counters:

                  Received         Sent             Invalid

 Register         20               37               2

 Register-Stop    25               20               1

 Probe            10               5                0

 

 PIM control-message counters for interface: Vlan-interface1

                  Received         Sent             Invalid

 Assert           10               5                0

 Graft            20               37               2

 Graft-Ack        25               20               1

 Hello            1232             453              0

 Join/Prune       15               30               21

 State-Refresh    8                7                1

 BSR              3243             589              1

 C-RP             53               32               0

Table 1-3 display pim control-message counters command output description

Field

Description

VPN-Instance: public net

Public instance

PIM global control-message counters

Statistics of PIM global control messages

PIM control-message counters for interface

Interface for which PIM control messages were counted

Received

Number of messages received

Sent

Number of messages sent

Invalid

Number of invalid messages

Register

Register messages

Register-Stop

Register-stop messages

Probe

Null register messages

Assert

Assert messages

Graft

Graft messages

Graft-Ack

Graft-ack messages

Hello

Hello messages

Join/Prune

Join/prune messages

State Refresh

State refresh messages

BSR

Bootstrap messages

C-RP

C-RP-Adv messages

 

display pim grafts

Syntax

display pim [ all-instance | vpn-instance vpn-instance-name ] grafts

View

Any view

Default 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.

Description

Use the display pim grafts command to view the information about unacknowledged graft messages.

Note that if neither all-instance nor vpn-instance is specified, this command will display the information on the public instance.

Examples

# View the information about unacknowledged graft messages in the public instance.

<Sysname> display pim grafts

 VPN-Instance: public net

 Source             Group             Age           RetransmitIn

 192.168.10.1       224.1.1.1         00:00:24      00:00:02

Table 1-4 display pim grafts command output description

Field

Description

VPN-Instance: public net

Public instance

Source

Multicast source address in the graft message

Group

Multicast group address in the graft message

Age

Time in which the graft message will get aged out, in hh:mm:ss

RetransmitIn

Time in which the graft message will be retransmitted, in hh:mm:ss

 

display pim interface

Syntax

display pim [ all-instance | vpn-instance vpn-instance-name ] interface [ interface-type interface-number ] [ verbose ]

View

Any view

Default 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.

interface-type interface-number: Displays the PIM information on a particular interface.

verbose: Displays the detailed PIM information.

Description

Use the display pim interface command to view the PIM information on the specified interface or all interfaces.

Note that if neither all-instance nor vpn-instance is specified, this command will display the information on the public instance.

Examples

# View the PIM information on all interfaces in the public instance.

<Sysname> display pim interface

 VPN-Instance: public net

 Interface           NbrCnt HelloInt   DR-Pri     DR-Address

 Vlan1               1      30         1          10.1.1.2

 Vlan2               0      30         1          172.168.0.2    (local)

 Vlan3               1      30         1          20.1.1.2

Table 1-5 display pim interface command output description

Field

Description

VPN-Instance: public net

Public instance

Interface

Interface name

NbrCnt

Number of PIM neighbors

HelloInt

Hello interval

DR-Pri

Priority for DR election

DR-Address

DR IP address

 

# View the detailed PIM information on Vlan-interface 1 in the public instance.

<Sysname> display pim interface vlan-interface 1 verbose

 VPN-Instance: public net

 Interface: Vlan-interface1, 10.1.1.1

     PIM version: 2

     PIM mode: Sparse

     PIM DR: 10.1.1.2

     PIM DR Priority (configured): 1

     PIM neighbor count: 1

     PIM hello interval: 30 s

     PIM LAN delay (negotiated): 500 ms

     PIM LAN delay (configured): 500 ms

     PIM override interval (negotiated): 2500 ms

     PIM override interval (configured): 2500 ms

     PIM neighbor tracking (negotiated): disabled

     PIM neighbor tracking (configured): disabled

     PIM generation ID: 0xF5712241

     PIM require generation ID: disabled

     PIM hello hold interval: 105 s

     PIM assert hold interval: 180 s

     PIM triggered hello delay: 5 s

     PIM J/P interval: 60 s

     PIM J/P hold interval: 210 s

     PIM BSR domain border: disabled

     Number of routers on network not using DR priority: 0

     Number of routers on network not using LAN delay: 0

     Number of routers on network not using neighbor tracking: 2

Table 1-6 display pim interface verbose command output description

Field

Description

VPN-Instance: public net

Public instance

Interface

Interface name and its IP address

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 delay

PIM LAN delay (configured)

Configured prune delay

PIM override interval (negotiated)

Negotiated prune override interval

PIM override interval (configured)

Configured prune override interval

PIM neighbor tracking (negotiated)

Negotiated neighbor tracking status (enabled/disabled)

PIM neighbor tracking (configured)

Configured neighbor tracking status (enabled/disabled)

PIM generation ID

Generation_ID value

PIM require generation ID

Rejection of Hello messages without Generation_ID (enabled/disabled)

PIM hello hold interval

PIM neighbor timeout time

PIM assert hold interval

Assert timeout time

PIM triggered hello delay

Maximum delay of sending hello messages

PIM J/P interval

Join/prune interval

PIM J/P hold interval

Join/prune timeout time

PIM BSR domain border

Status of PIM domain border configuration (enabled/disabled)

Number of routers on network not using DR priority

Number of routers not using the DR priority field on the subnet where the interface resides

Number of routers on network not using LAN delay

Number of routers not using the LAN delay field on the subnet where the interface resides

Number of routers on network not using neighbor tracking

Number of routers not using neighbor tracking on the subnet where the interface resides

 

display pim join-prune

Syntax

display pim [ all-instance | vpn-instance vpn-instance-name ] join-prune mode { sm [ flags flag-value ] | ssm } [ interface interface-type interface-number | neighbor neighbor-address ] * [ verbose ]

View

Any view

Default 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.

mode: Displays the information of join/prune messages to send in the specified PIM mode. PIM modes include sm and ssm, which represent PIM-SM and PIM-SSM respectively.

flags flag-value: Displays routing entries containing the specified flag. Values and meanings of flag-value are as follows:

l          rpt: Specifies routing entries on the RPT.

l          spt: Specifies routing entries on the SPT.

l          wc: Specifies wildcard routing entries.

interface-type interface-number: Displays the information of join/prune messages to send on the specified interface.

neighbor-address: Displays the information of join/prune messages to send to the specified PIM neighbor.

verbose: Displays the detailed information of join/prune messages to send.

Description

Use the display pim join-prune command to view the information about the join/prune messages to send.

Note that if neither all-instance nor vpn-instance is specified, this command will display the information on the public instance.

Examples

# In the public instance view the information of join/prune messages to send in the PIM-SM mode.

<Sysname> display pim join-prune mode sm

 VPN-Instance: public net

 

 Expiry Time: 50 sec

 Upstream nbr: 10.1.1.1 (Vlan-interface1)

 1 (*, G) join(s), 0 (S, G) join(s), 1 (S, G, rpt) prune(s)

 -------------------------------------------------------------------------

 Total (*, G) join(s): 1, (S, G) join(s): 0, (S, G, rpt) prune(s): 1

Table 1-7 display pim join-prune command output description

Field

Description

VPN-Instance: public net

Public instance

Expiry Time:

Expiry time of sending join/prune messages

Upstream nbr:

IP address of the upstream PIM neighbor and the interface connecting to it

(*, 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

Syntax

display pim [ all-instance | vpn-instance vpn-instance-name ] neighbor [ interface interface-type interface-number | neighbor-address | verbose ] *

View

Any view

Default 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.

interface-type interface-number: Displays the PIM neighbor information on a particular interface.

neighbor-address: Displays the information of a particular PIM neighbor.

verbose: Displays the detailed PIM neighbor information.

Description

Use the display pim neighbor command to view the PIM neighbor information.

Note that if neither all-instance nor vpn-instance is specified, this command will display the information on the public instance.

Examples

# View the information of all PIM neighbors in the public instance.

<Sysname> display pim neighbor

 VPN-Instance: public net

 Total Number of Neighbors = 2

 

 Neighbor        Interface           Uptime   Expires  Dr-Priority

 10.1.1.2        Vlan1               02:50:49 00:01:31 1

 20.1.1.2        Vlan2               02:49:39 00:01:42 1

# In the public instance, view the detailed information of the PIM neighbor whose IP address is 11.110.0.20.

<Sysname> display pim neighbor 11.110.0.20 verbose

 VPN-Instance: public net

 Neighbor: 11.110.0.20

     Interface: Vlan-interface3

     Uptime: 00:00:10

     Expiry time: 00:00:30

     DR Priority: 1

     Generation ID: 0x2ACEFE15

     Holdtime: 105 s

     LAN delay: 500 ms

     Override interval: 2500 ms

     State refresh interval: 60 s

     Neighbor tracking: Disabled

Table 1-8 display pim neighbor command output description

Field

Description

VPN-Instance: public net

Public instance

Total Number of Neighbors

Total number of PIM neighbors

Neighbor

IP address of the PIM neighbor

Interface

Interface connecting the PIM neighbor

Uptime

Length of time for which the PIM neighbor has been up, in hh:mm:ss

Expires/Expiry time

Remaining time of the PIM neighbor, in hh:mm:ss; “never” means that the PIM neighbor is always up and reachable.

Dr-Priority/DR Priority

Priority of the PIM neighbor

Generation ID

Generation ID of the PIM neighbor (a random value indicating a status change of the PIM neighbor)

Holdtime

Holdtime of the PIM neighbor; “forever” means that the PIM neighbor is always up and reachable

LAN delay

Prune delay

Override interval

Prune override interval

State refresh interval

Interval of sending state refresh messages

Neighbor tracking

Neighbor tracking status (enabled/disabled)

 

display pim routing-table

Syntax

display pim [ all-instance | vpn-instance vpn-instance-name ] routing-table [ group-address [ mask { mask-length | mask } ] | source-address [ mask { mask-length | mask } ] | incoming-interface [ interface-type interface-number | register ] | outgoing-interface { include | exclude | match } { interface-type interface-number | register } | mode mode-type | flags flag-value | fsm ] *

View

Any view

Default 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.

group-address: Multicast group address, in the range of 224.0.0.0 to 239.255.255.255.

source-address: Multicast source address.

mask: Mask of the multicast group/source address, 255.255.255.255 by default.

mask-length: Mask length of the multicast group/source address, in the range of 0 to 32. The system default is 32.

incoming-interface: Displays PIM routing entries that contain the specified interface as the incoming interface.

interface-type interface-number: PIM Specifies an interface by its type and number.

register: Specifies the register interface. This keyword is valid only if mode-type is not specified or is sm.

outgoing-interface: Displays PIM routing entries of which the outgoing interface is the specified interface.

include: Displays PIM routing entries of which the outgoing interface list includes the specified interface.

exclude: Displays PIM routing entries of which the outgoing interface list excludes the specified interface.

match: Displays PIM routing entries of which the outgoing interface list includes only the specified interface.

mode mode-type: Specifies a PIM mode, where mode-type can have the following values:

l          dm: Specifies PIM-DM.

l          sm: Specifies PIM-SM.

l          ssm: Specifies PIM-SSM.

flags flag-value: Displays routing entries containing the specified flag(s). The values of flag-value and their meanings are as follows:

l          2msdp: Specifies routing entries to be contained in the next SA message to notify an MSDP peer.

l          act: Specifies PIM routing entries to which actual data has arrived.

l          del: Specifies PIM routing entries scheduled to be deleted.

l          exprune: Specifies PIM routing entries containing outgoing interfaces pruned by other multicast routing protocols.

l          ext: Specifies PIM routing entries containing outgoing interfaces provided by other multicast routing protocols.

l          loc: Specifies PIM routing entries on routers directly connecting to the same subnet with the multicast source.

l          msdp: Specifies PIM routing entries learned from MSDP SA messages.

l          niif: Specifies PIM routing entries containing unknown incoming interfaces.

l          nonbr: Specifies PIM routing entries with PIM neighbor searching failure.

l          rpt: Specifies PIM routing entries on RPT branches where (S, G) prunes have been sent to the RP.

l          rq: Specifies PIM routing entries of the receiving side of the switch-MDT.

l          spt: Specifies PIM routing entries on the SPT.

l          sq: Specifies PIM routing entries of the originator side of switch-MDT switchover.

l          swt: Specifies PIM routing entries in the process of RPT-to-SPT switchover.

l          wc: Specifies wildcard routing entries.

fsm: Displays the detailed information of the finite state machine (FSM).

Description

Use the display pim routing-table command to view PIM routing table information.

Related commands: display multicast routing-table in Multicast Routing and Forwarding Commands of the IP Multicast Volume.

Examples

# View the content of the PIM routing table in the public instance.

<Sysname> display pim routing-table

 VPN-Instance: public net

 Total 0 (*, G) entry; 1 (S, G) entry

 

 (172.168.0.12, 227.0.0.1)

     RP: 2.2.2.2

     Protocol: pim-sm, Flag: SPT LOC ACT

     UpTime: 02:54:43

     Upstream interface: Vlan-interface1

         Upstream neighbor: NULL

         RPF prime neighbor: NULL

     Downstream interface(s) information:

     Total number of downstreams: 1

         1: Vlan-interface2

             Protocol: pim-sm, UpTime: 02:54:43, Expires: 00:02:47

Table 1-9 display pim routing-table command output description

Field

Description

VPN-Instance: public net

Public instance

Total 0 (*, G) entry; 1 (S, G) entry

Number of (S,G) and (*, G) entries in the PIM routing table

(172.168.0.2, 227.0.0.1)

An (S, G) entry in the PIM routing table

Protocol

PIM mode, PIM-SM or PIM-DM

Flag

Flag of the (S, G) or (*, G) entry in the PIM routing table

Uptime

Length of time for which the (S, G) or (*, G) entry has been existing

Upstream interface

Upstream (incoming) interface of the (S, G) or (*, G) entry

Upstream neighbor

Upstream neighbor of the (S, G) or (*, G) entry

RPF prime neighbor

RPF neighbor of the (S, G) or (*, G) entry

l      For a (*, G) entry, if this router is the RP, the RPF neighbor of this (*, G) entry is NULL.

l      For a (S, G) entry, if this router directly connects to the multicast source, the RPF neighbor of this (S, G) entry is NULL.

Downstream interface(s) information

Information of the downstream interface(s), including:

l      Number of downstream interfaces

l      Downstream interface name

l      Protocol type on the downstream interface(s)

l      Uptime of the downstream interface(s)

l      Expiry time of the downstream interface(s)

 

display pim rp-info

Syntax

display pim [ all-instance | vpn-instance vpn-instance-name ] rp-info [ group-address ]

View

Any view

Default 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.

group-address: Address of the multicast group of which the RP information is to be displayed, in the range of 224.0.1.0 to 239.255.255.255. If you do not provide a group address, this command will display the RP information corresponding to all multicast groups.

Description

Use the display pim rp-info command to view the RP information.

Note that:

l          If neither all-instance nor vpn-instance is specified, this command will display the information on the public instance.

l          The RP information includes the information of RPs dynamically found by the BSR mechanism and static RPs.

l          Because a non-BSR router refreshes its local RP-Set only based on the received BSR bootstrap messages, the system does not delete an RP even if its expiry time is 0. Instead, the system waits for the next bootstrap message from the BSR: if the bootstrap message does not contain information of the RP, the system will delete it.

Examples

# View the RP information corresponding to the multicast group 224.0.1.1 in the public instance.

<Sysname> display pim rp-info 224.0.1.1

 VPN-Instance: public net

 BSR RP Address is: 2.2.2.2

     Priority: 0

     HoldTime: 150

     Uptime: 03:01:10

     Expires: 00:02:30

 RP mapping for this group is: 2.2.2.2

# View the RP information corresponding to all multicast groups in the public instance.

<Sysname> display pim rp-info

 VPN-Instance: public net

 PIM-SM BSR RP information:

 Group/MaskLen: 224.0.0.0/4

     RP: 2.2.2.2

     Priority: 0

     HoldTime: 150

     Uptime: 03:01:36

     Expires: 00:02:29

Table 1-10 display pim rp-info command output description

Field

Description

VPN-Instance: public net

Public instance

BSR RP Address is

IP address of the RP

Group/MaskLen

The multicast group served by the RP

RP

IP address of the RP

Priority

RP priority

HoldTime

RP timeout time

Uptime

Length of time for which the RP has been up, in hh:mm:ss

Expires

Length of time in which the RP will expire, in hh:mm:ss

RP mapping for this group

IP address of the RP serving the current multicast group

 

hello-option dr-priority (PIM view)

Syntax

hello-option dr-priority priority

undo hello-option dr-priority

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

priority: Router priority for DR election, in the range of 0 to 4294967295. A larger value of this argument means a higher priority.

Description

Use the hello-option dr-priority command to configure the global value of the router priority for DR election.

Use the undo hello-option dr-priority command to restore the system default.

By default, the router priority for DR election is 1.

Related commands: pim hello-option dr-priority.

Examples

# Set the router priority for DR election to 3 in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] hello-option dr-priority 3

hello-option holdtime (PIM view)

Syntax

hello-option holdtime interval

undo hello-option holdtime

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

interval: PIM neighbor timeout time in seconds, with an effective range of 1 to 65,535. 65,535 means that the PIM neighbor is always reachable.

Description

Use the hello-option holdtime command to configure the PIM neighbor timeout time.

Use the undo hello-option holdtime command to restore the system default.

By default, the PIM neighbor timeout time is 105 seconds.

Related commands: pim hello-option holdtime.

Examples

# Set the global value of the PIM neighbor timeout time to 120 seconds in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] hello-option holdtime 120

hello-option lan-delay (PIM view)

Syntax

hello-option lan-delay interval

undo hello-option lan-delay

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

interval: LAN-delay time in milliseconds, with an effective range of 1 to 32,767.

Description

Use the hello-option lan-delay command to configure the global value of the LAN-delay time.

Use the undo hello-option lan-delay command to restore the system default.

By default, the LAN-delay time is 500 milliseconds.

This command is effective for both PIM-DM and PIM-SM.

Related commands: hello-option override-interval, pim hello-option override-interval, pim hello-option lan-delay.

Examples

# Set the LAN-delay time to 200 milliseconds globally in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] hello-option lan-delay 200

hello-option neighbor-tracking (PIM view)

Syntax

hello-option neighbor-tracking

undo hello-option neighbor-tracking

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

None

Description

Use the hello-option neighbor-tracking command to globally disable join suppression, namely enable neighbor tracking.

Use the undo hello-option neighbor-tracking command to enable join suppression.

By default, join suppression is enabled, namely neighbor tracking is disabled.

This command is effective for both PIM-DM and PIM-SM.

Related commands: pim hello-option neighbor-tracking.

Examples

# Disable join suppression globally in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] hello-option neighbor-tracking

hello-option override-interval (PIM view)

Syntax

hello-option override-interval interval

undo hello-option override-interval

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

interval: Prune override interval in milliseconds, with an effective range of 1 to 65,535.

Description

Use the hello-option override-interval command to configure the global value of the prune override interval.

Use the undo hello-option override-interval command to restore the system default.

By default, the prune override interval is 2,500 milliseconds.

This command is effective for both PIM-DM and PIM-SM.

Related commands: hello-option lan-delay, pim hello-option lan-delay, pim hello-option override-interval.

Examples

# Set the prune override interval to 2,000 milliseconds globally in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] hello-option override-interval 2000

holdtime assert (PIM view)

Syntax

holdtime assert interval

undo holdtime assert

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

interval: Assert timeout time in seconds, with an effective range of 7 to 2,147,483,647.

Description

Use the holdtime assert command to configure the global value of the assert timeout time.

Use the undo holdtime assert command to restore the system default.

By default, the assert timeout time is 180 seconds.

This command is effective for both PIM-DM and PIM-SM.

Related commands: holdtime join-prune, pim holdtime join-prune, pim holdtime assert.

Examples

# Set the global value of the assert timeout time to 100 seconds in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] holdtime assert 100

holdtime join-prune (PIM view)

Syntax

holdtime join-prune interval

undo holdtime join-prune

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

interval: Join/prune timeout time in seconds, with an effective range of 1 to 65,535.

Description

Use the holdtime join-prune command to configure the global value of the join/prune timeout time.

Use the undo holdtime join-prune command to restore the system default.

By default, the join/prune timeout time is 210 seconds.

Related commands: holdtime assert, pim holdtime assert, pim holdtime join-prune.

Examples

# Set the global value of the join/prune timeout time to 280 seconds in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] holdtime join-prune 280

jp-pkt-size (PIM view)

Syntax

jp-pkt-size packet-size

undo jp-pkt-size

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

packet-size: Maximum size of join/prune messages in bytes, with an effective range of 100 to 8,100.

Description

Use the jp-pkt-size command to configure the maximum size of join/prune messages.

Use the undo jp-pkt-size command to restore the system default.

By default, the maximum size of join/prune messages is 8,100 bytes.

Related commands: jp-queue-size.

Examples

# Set the maximum size of join/prune messages to 1,500 bytes in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] jp-pkt-size 1500

jp-queue-size (PIM view)

Syntax

jp-queue-size queue-size

undo jp-queue-size

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

queue-size: Maximum number of (S, G) entries in a join/prune message, in the range of 1 to 4,096.

Description

Use the jp-queue-size command to configure the maximum number of (S, G) entries in a join/prune message.

Use the undo jp-queue-size command to restore the system default.

By default, a join/prune messages contains a maximum of 1,020 (S, G) entries.

When you use this command, take the following into account:

l          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 may contain a large number of groups, causing the message length to exceed the MTU of the network. As a result, the products that do not support fragmentation will drop the join/prune message.

l          The (S, G) join/prune timeout time on the upstream device. If you configure a small queue size, the outgoing interface of the corresponding entry may have been pruned due to timeout before the last join/prune message in a queue reaches the upstream device.

Related commands: jp-pkt-size, holdtime join-prune, pim holdtime join-prune.

Examples

# Configure a join/prune messages to contain a maximum of 2,000 (S, G) entries in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] jp-queue-size 2000

pim

Syntax

pim [ vpn-instance vpn-instance-name ]

undo pim [ vpn-instance vpn-instance-name ]

View

System view

Default Level

2: System level

Parameters

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.

Description

Use the pim command to enter public instance PIM view or VPN instance PIM view.

Use the undo pim command to remove all configurations performed in public instance PIM view or VPN instance PIM view.

Note that:

l          If vpn-instance is not specified, this configuration will take effect only on the public instance.

l          IP multicast routing must be enabled in the corresponding instance before this command can take effect.

Related commands: multicast routing-enable in Multicast Routing and Forwarding Commands of the IP Multicast Volume.

Examples

# Enable IP multicast routing in the public instance and enter public instance PIM view.

<Sysname> 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.

<Sysname> system-view

[Sysname] ip vpn-instance mvpn

[Sysname-vpn-instance-mvpn] route-distinguisher 100:1

[Sysname-vpn-instance-mvpn] multicast routing-enable

[Sysname-vpn-instance-mvpn] quit

[Sysname] pim vpn-instance mvpn

[Sysname-pim-mvpn]

pim bsr-boundary

Syntax

pim bsr-boundary

undo pim bsr-boundary

View

Interface view

Default Level

2: System level

Parameters

None

Description

Use the pim bsr-boundary command to configure a PIM domain border, namely a bootstrap message boundary.

Use the undo pim bsr-boundary command to remove the configured PIM domain border.

By default, no PIM domain border is configured.

Related commands: c-bsr; multicast boundary in Multicast Routing and Forwarding Commands in the IP Multicast Volume.

Examples

# Configure VLAN-interface 100 as a PIM domain border.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] pim bsr-boundary

pim dm

Syntax

pim dm

undo pim dm

View

Interface view

Default Level

2: System level

Parameters

None

Description

Use the pim dm command to enable PIM-DM.

Use the undo pim dm command to disable PIM-DM.

By default, PIM-DM is disabled.

Note that:

l          This command can take effect only after IP multicast routing is enabled in the corresponding instance.

l          PIM-DM cannot be used for multicast groups in the SSM group range.

Related commands: pim sm; ssm-policy; multicast routing-table in the Multicast Routing and Forwarding Commands in the IP Multicast Volume.

Examples

# Enable IP multicast routing, and enable PIM-DM on VLAN-interface 100.

<Sysname> system-view

[Sysname] multicast routing-enable

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] pim dm

pim hello-option dr-priority

Syntax

pim hello-option dr-priority priority

undo pim hello-option dr-priority

View

Interface view

Default Level

2: System level

Parameters

priority: Router priority for DR election, in the range of 0 to 4294967295. A larger value of this argument means a higher priority.

Description

Use the pim hello-option dr-priority command to configure the router priority for DR election on the current interface.

Use the undo pim hello-option dr-priority command to restore the system default.

By default, the router priority for DR election is 1.

Related commands: hello-option dr-priority.

Examples

# Set the router priority for DR election to 3 on VLAN-interface 100.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] pim hello-option dr-priority 3

pim hello-option holdtime

Syntax

pim hello-option holdtime interval

undo pim hello-option holdtime

View

Interface view

Default Level

2: System level

Parameters

interval: PIM neighbor timeout time in seconds, with an effective range of 1 to 65,535. 65,535 means that the PIM neighbor is always reachable.

Description

Use the pim hello-option holdtime command to configure the PIM neighbor timeout time on the current interface.

Use the undo pim hello-option holdtime command to restore the system default.

By default, the PIM neighbor timeout time is 105 seconds.

Related commands: hello-option holdtime.

Examples

# Set the PIM neighbor timeout time to 120 seconds on VLAN-interface 100.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] pim hello-option holdtime 120

pim hello-option lan-delay

Syntax

pim hello-option lan-delay interval

undo pim hello-option lan-delay

View

Interface view

Default Level

2: System level

Parameters

interval: LAN-delay time in milliseconds, with an effective range of 1 to 32,767.

Description

Use the pim hello-option lan-delay command to configure the LAN-delay time, namely the length of time the device waits between receiving a prune message and taking a prune action, on the current interface.

Use the undo pim hello-option lan-delay command to restore the system default.

By default, the LAN-delay time to 500 milliseconds.

Related commands: pim hello-option override-interval, hello-option override-interval, hello-option lan-delay.

Examples

# Set the LAN-delay time to 200 milliseconds on VLAN-interface 100.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] pim hello-option lan-delay 200

pim hello-option neighbor-tracking

Syntax

pim hello-option neighbor-tracking

undo pim hello-option neighbor-tracking

View

Interface view

Default Level

2: System level

Parameters

None

Description

Use the pim hello-option neighbor-tracking command to disable join suppression, namely enable neighbor tracking, on the current interface.

Use the undo pim hello-option neighbor-tracking command to enable join suppression.

By default, join suppression is enabled, namely neighbor tracking is disabled.

Related commands: hello-option neighbor-tracking.

Examples

# Disable join suppression on VLAN-interface 100.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] pim hello-option neighbor-tracking

pim hello-option override-interval

Syntax

pim hello-option override-interval interval

undo pim hello-option override-interval

View

Interface view

Default Level

2: System level

Parameters

interval: Prune override interval in milliseconds, with an effective range of 1 to 65,535.

Description

Use the pim hello-option override-interval command to configure the prune override interval on the current interface.

Use the undo pim hello-option override-interval command to restore the system default.

By default, the prune override interval is 2,500 milliseconds.

Related commands: pim hello-option lan-delay, hello-option lan-delay, hello-option override-interval.

Examples

# Set the prune override interval to 2,000 milliseconds on VLAN-interface 100.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] pim hello-option override-interval 2000

pim holdtime assert

Syntax

pim holdtime assert interval

undo pim holdtime assert

View

Interface view

Default Level

2: System level

Parameters

interval: Assert timeout time in seconds, with an effective range of 7 to 2,147,483,647.

Description

Use the pim holdtime assert command to configure the assert timeout time on the current interface.

Use the undo pim holdtime assert command to restore the system default.

By default, the assert timeout time is 180 seconds.

Related commands: holdtime join-prune, pim holdtime join-prune, holdtime assert.

Examples

# Set the assert timeout time to 100 seconds on VLAN-interface 100.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] pim holdtime assert 100

pim holdtime join-prune

Syntax

pim holdtime join-prune interval

undo pim holdtime join-prune

View

Interface view

Default Level

2: System level

Parameters

interval: Join/prune timeout time in seconds, with an effective range of 1 to 65,535.

Description

Use the pim holdtime join-prune command to configure the join/prune timeout time on the interface.

Use the undo pim holdtime join-prune command to restore the system default.

By default, the join/prune timeout time is 210 seconds.

Related commands: holdtime assert, pim holdtime assert, holdtime join-prune.

Examples

# Set the join/prune timeout time to 280 seconds on VLAN-interface 100.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] pim holdtime join-prune 280

pim require-genid

Syntax

pim require-genid

undo pim require-genid

View

Interface view

Default Level

2: System level

Parameters

None

Description

Use the pim require-genid command to enable rejection of hello messages without Generation_ID.

Use the undo pim require-genid command to restore the default configuration.

By default, hello messages without Generation_ID are accepted.

Examples

# Enable VLAN-interface 100 to reject hello messages without Generation_ID.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] pim require-genid

pim sm

Syntax

pim sm

undo pim sm

View

Interface view

Default Level

2: System level

Parameters

None

Description

Use the pim sm command to enable PIM-SM.

Use the undo pim sm command to disable PIM-SM.

By default, PIM-SM is disabled.

Note that this command can take effect only after IP multicast routing is enabled in the corresponding instance.

Related commands: pim dm; multicast routing-table in the Multicast Routing and Forwarding Commands in the IP Multicast Volume.  

Examples

# Enable IP multicast routing, and enable PIM-SM on VLAN-interface 100.

<Sysname> system-view

[Sysname] multicast routing-enable

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] pim sm

pim state-refresh-capable

Syntax

pim state-refresh-capable

undo pim state-refresh-capable

View

Interface view

Default Level

2: System level

Parameters

None

Description

Use the pim state-refresh-capable command to enable the state fresh feature on the interface.

Use the undo pim state-refresh-capable command to disable the state fresh feature.

By default, the state refresh feature is enabled.

Related commands: state-refresh-interval, state-refresh-rate-limit, state-refresh-ttl.

Examples

# Disable state refresh on VLAN-interface 100.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] undo pim state-refresh-capable

pim timer graft-retry

Syntax

pim timer graft-retry interval

undo pim timer graft-retry

View

Interface view

Default Level

2: System level

Parameters

interval: Graft retry period in seconds, with an effective range of 1 to 65,535.

Description

Use the pim timer graft-retry command to configure the graft retry period.

Use the undo pim timer graft-retry command to restore the system default.

By default, the graft retry period is 3 seconds.

Examples

# Set the graft retry period to 80 seconds on VLAN-interface 100.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] pim timer graft-retry 80

pim timer hello

Syntax

pim timer hello interval

undo pim timer hello

View

Interface view

Default Level

2: System level

Parameters

interval: Hello interval in seconds, with an effective range of 1 to 2,147,483,647.

Description

Use the pim timer hello command to configure on the current interface the interval at which hello messages are sent.

Use the undo pim timer hello command to restore the system default.

By default, hello messages are sent at the interval of 30 seconds.

Related commands: timer hello.

Examples

# Set the hello interval to 40 seconds on VLAN-interface 100.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] pim timer hello 40

pim timer join-prune

Syntax

pim timer join-prune interval

undo pim timer join-prune

View

Interface view

Default Level

2: System level

Parameters

interval: Join/prune interval in seconds, with an effective range of 1 to 2,147,483,647.

Description

Use the pim timer join-prune command to configure on the current interface the interval at which join/prune messages are sent.

Use the undo pim timer join-prune command to restore the system default.

By default, the join/prune interval is 60 seconds.

Related commands: timer join-prune.

Examples

# Set the join/prune interval to 80 seconds on VLAN-interface 100.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] pim timer join-prune 80

pim triggered-hello-delay

Syntax

pim triggered-hello-delay interval

undo pim trigged-hello-delay

View

Interface view

Default Level

2: System level

Parameters

interval: Maximum delay in seconds between hello messages, with an effective range of 1 to 5.

Description

Use the pim triggered-hello-delay command to configure the maximum delay between hello messages.

Use the undo pim triggered-hello-delay command to restore the system default.

By default, the maximum delay between hello messages is 5 seconds.

Examples

# Set the maximum delay between hello messages to 3 seconds on VLAN-interface 100.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] pim trigged-hello-delay 3

probe-interval (PIM view)

Syntax

probe-interval interval

undo probe-interval

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

interval: Register probe time in seconds, with an effective range of 1 to 1799.

Description

Use the probe-interval command to configure the register probe time.

Use the undo probe-interval command to restore the system default.

By default, the register probe time is 5 seconds.

Related commands: register-suppression-timeout.

Examples

# Set the register probe time to 6 seconds in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] probe-interval 6

register-policy (PIM view)

Syntax

register-policy acl-number

undo register-policy

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

acl-number: Advanced ACL number, in the range of 3000 to 3999. Only register messages that match the permit statement of the ACL can be accepted by the RP.

Description

Use the register-policy command to configure an ACL rule to filter register messages.

Use the undo register-policy command to remove the configured register filtering rule.

By default, no register filtering rule is configured.

Related commands: register-suppression-timeout.

Examples

# In the public instance configure the RP to accept only those register messages from multicast sources on the subnet of 10.10.0.0/16 for multicast groups on the subnet of 225.1.0.0/16.

<Sysname> system-view

[Sysname] acl number 3000

[Sysname-acl-adv-3000] rule permit ip source 10.10.0.0 0.0.255.255 destination 225.1.0.0 0.0.255.255

[Sysname-acl-adv-3000] quit

[Sysname] pim

[Sysname-pim] register-policy 3000

register-suppression-timeout (PIM view)

Syntax

register-suppression-timeout interval

undo register-suppression-timeout

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

interval: Register suppression time in seconds, in the range of 1 to 3,600.

Description

Use the register-suppression-timeout command to configure the register suppression time.

Use the undo register-suppression-timeout command to restore the system default.

By default, the register suppression time is 60 seconds.

Related commands: probe-interval, register-policy.

Examples

# Set the register suppression time to 70 seconds in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] register-suppression-timeout 70

register-whole-checksum (PIM view)

Syntax

register-whole-checksum

undo register-whole-checksum

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

None

Description

Use the register-whole-checksum command to configure the router to calculate the checksum based on the entire register message.

Use the undo register-whole-checksum command to restore the default configuration.

By default, the checksum is calculated based on the header in the register message.

Related commands: register-policy, register-suppression-timeout.

Examples

# Configure the router to calculate the checksum based on the entire register message in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] register-whole-checksum

reset pim control-message counters

Syntax

reset pim [ all-instance | vpn-instance vpn-instance-name ] control-message counters [ interface interface-type interface-number ]

View

User view

Default 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.

interface interface-type interface-number: Specifies to reset the PIM control message counter on a particular interface. If no interface is specified, this command will clear the statistics information of PIM control messages on all interfaces.

Description

Use the reset pim control-message counters command to reset PIM control message counters.

Note that if neither all-instance nor vpn-instance is specified, this command will reset PIM control message counters on the public instance.

Examples

# Reset PIM control message counters on all interfaces in the public instance.

<Sysname> reset pim control-message counters

source-lifetime (PIM view)

Syntax

source-lifetime interval

undo source-lifetime

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

interval: Multicast source lifetime in seconds, with an effective range of 1 to 65,535.

Description

Use the source-lifetime command to configure the multicast source lifetime.

Use the undo source-lifetime command to restore the system default.

By default, the lifetime of a multicast source is 210 seconds.

Examples

# Set the multicast source lifetime to 200 seconds in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] source-lifetime 200

source-policy (PIM view)

Syntax

source-policy acl-number

undo source-policy

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

acl-number: Basic or advanced ACL number, in the range of 2000 to 3999.

Description

Use the source-policy command to configure a multicast data filter.

Use the undo source-policy command to remove the configured multicast data filter.

By default, no multicast data filter is configured.

Note that:

l          If you specify a basic ACL, the device filters all the received multicast packets based on the source address, and discards packets that fail the source address match.

l          If you specify an advanced ACL, the device filters all the received multicast packets based on the source and group addresses, and discards packets that fail the match.

l          If this command is executed repeatedly, the last configuration will take effect.

Examples

# In the public instance configure the router to accept multicast packets originated from 10.10.1.2 and discard multicast packets originated from 10.10.1.1.

<Sysname> 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

spt-switch-threshold infinity (PIM view)

Syntax

spt-switch-threshold infinity [ group-policy acl-number [ order order-value ] ]

undo spt-switch-threshold [ group-policy acl-number ]

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

group-policy acl-number: Specifies a basic ACL, in the range of 2000 to 2999. If you do not include this option in your command, the configuration will apply on all multicast groups.

order order-value: Specifies the order of the ACL in the group-policy list, where order-value has an effective range of 1 to (the largest order value in the existing group-policy list + 1), but the value range should not include the original order value of the ACL in the group-policy list. If you have assigned an order-value to a certain ACL, do not specify the same order-value for another ACL; otherwise the system will give error information. If you do not specify an order-value, the order value of the ACL will remain the same in the group-policy list.

Description

Use the spt-switch-threshold infinity command to configure disabling the SPT switchover.

Use the undo spt-switch-threshold command to restore the default configuration.

By default, the device switches to the SPT immediately after it receives the first multicast packet.

Note that:

l          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 will insert 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 will remain unchanged.

l          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. This will insert the ACL to the position of order-value in the group-policy list. If you do not include the order order-value option in your command, the ACL will be appended to the end of the group-policy list.

l          If you use this command multiple times on the same multicast group, the first traffic rate configuration matched in sequence will take effect.

l          For an S7500E series Ethernet switch, once a multicast forwarding entry is created, subsequent multicast data will not be encapsulated in register messages before being forwarded even if a register outgoing interface is available. Therefore, to avoid forwarding failure, do not use spt-switch-threshold infinity command on a switch that may become an RP (namely, a static RP or a C-RP).

Examples

# Disable SPT switchover on a switch that will never become an RP.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] spt-switch-threshold infinity

ssm-policy (PIM view)

Syntax

ssm-policy acl-number

undo ssm-policy

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

acl-number: Basic ACL number, in the range of 2000 to 2999.

Description

Use the ssm-policy command to configure the SSM multicast group range.

Use the undo ssm-policy command to restore the system default.

By default, the SSM group range is 232.0.0.0/8.

This command allows you to define an address range of permitted or denied multicast groups. If the match succeeds, the multicast mode will be PIM-SSM; otherwise the multicast mode will be PIM-SM.

Examples

# Configure the SSM group range to be 232.1.0.0/16 in the public instance.

<Sysname> system-view

[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

state-refresh-interval (PIM view)

Syntax

state-refresh-interval interval

undo state-refresh-interval

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

interval: State refresh interval in seconds, with an effective range of 1 to 255.

Description

Use the state-refresh-interval command to configure the interval between state refresh messages.

Use the undo state-refresh-interval command to restore the system default.

By default, the state refresh interval is 60 seconds.

Related commands: pim state-refresh-capable, state-refresh-rate-limit, state-refresh-ttl.

Examples

# Set the state refresh interval to 70 seconds in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] state-refresh-interval 70

state-refresh-rate-limit (PIM view)

Syntax

state-refresh-rate-limit interval

undo state-refresh-rate-limit

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

interval: Time to wait before receiving a new refresh message, in seconds and with an effective range of 1 to 65535.

Description

Use the state-refresh-rate-limit command to configure the time the router must wait before receiving a new state refresh message.

Use the undo state-refresh-rate-limit command to restore the system default.

By default, the device waits 30 seconds before receiving a new state refresh message.

Related commands: pim state-refresh-capable, state-refresh-interval, state-refresh-ttl.

Examples

# In the public instance configure the device to wait 45 seconds before receiving a new state refresh message.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] state-refresh-rate-limit 45

state-refresh-ttl

Syntax

state-refresh-ttl ttl-value

undo state-refresh-ttl

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

ttl-value: TTL value of state refresh messages, in the range of 1 to 255.

Description

Use the state-refresh-ttl command to configure the TTL value of state refresh messages.

Use the undo state-refresh-ttl command to restore the system default.

By default, the TTL value of state refresh messages is 255.

Related commands: pim state-refresh-capable, state-refresh-interval, state-refresh-rate-limit.

Examples

# In the public instance configure the device to send PIM state refresh messages with a TTL of 45.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] state-refresh-ttl 45

static-rp (PIM view)

Syntax

static-rp rp-address [ acl-number ] [ preferred ]

undo static-rp rp-address

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

rp-address: IP address of the static RP to be configured. This address must be a legal unicast IP address, rather than an address on the 127.0.0.0/8 segment.

acl-number: 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: Specifies to give 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.

Description

Use the static-rp command to configure a static RP.

Use the undo static-rp command to configure a static RP.

By default, no static RP is configured.

Note that:

l          PIM-SM or PIM-DM cannot be enabled on an interface that serves as a static RP.

l          When the ACL rule applied on a static RP changes, a new RP must be elected for all the multicast groups.

l          You can configure multiple static RPs by using this command repeatedly. However, if you carry out this command multiple times and specify the same static RP address or reference the same ACL rule, the last configuration will override the previous one. If multiple static RPs have been configured for the same multicast group, the one with the highest IP address will be chosen to serve the multicast group.

l          You can configure up to 50 static RPs on the same device.

Related commands: display pim rp-info, auto-rp enable.

Examples

# In the public instance, configure the interface with the IP address 11.110.0.6 to be a static RP that serves the multicast groups defined in ACL 2001, and give priority to this static RP in the case of static/dynamic RP conflict.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] static-rp 11.110.0.6 2001 preferred

timer hello (PIM view)

Syntax

timer hello interval

undo timer hello

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

interval: Hello interval in seconds, with an effective range of 1 to 2,147,483,647.

Description

Use the timer hello command to configure the hello interval globally.

Use the undo timer hello command to restore the system default.

By default, hello messages are sent at the interval of 30 seconds.

Related commands: pim timer hello.

Examples

# Set the global hello interval to 40 seconds in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] timer hello 40

timer join-prune (PIM view)

Syntax

timer join-prune interval

undo timer join-prune

View

Public instance PIM view, VPN instance PIM view

Default Level

2: System level

Parameters

interval: Join/prune interval in seconds, with an effective range of 1 to 2,147,483,647.

Description

Use the timer join-prune command to configure the join/prune interval globally.

Use the undo timer join-prune command to restore the system default.

By default, the join/prune interval is 60 seconds.

Related commands: pim timer join-prune.

Examples

# Set the global join/prune interval to 80 seconds in the public instance.

<Sysname> system-view

[Sysname] pim

[Sysname-pim] timer join-prune 80

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网