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
04-MSDP Commands
Title Size Download
04-MSDP Commands 96.27 KB

 

 

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

 

MSDP Configuration Commands

cache-sa-enable

Syntax

cache-sa-enable

undo cache-sa-enable

View

Public instance MSDP view, VPN instance MSDP view

Default Level

2: System level

Parameters

None

Description

Use the cache-sa-enable command to enable the SA cache mechanism to cache the (S, G) entries contained in SA messages.

Use the undo cache-sa-enable command to disable the SA cache mechanism.

By default, the SA cache mechanism is enabled, that is, the device caches the (S, G) entries contained in SA messages received.

Examples

# Enable the SA message cache mechanism in the public instance so that the device caches the (S, G) entries contained in SA messages received.

<Sysname> system-view

[Sysname] msdp

[Sysname-msdp] cache-sa-enable

display msdp brief

Syntax

display msdp [ all-instance | vpn-instance vpn-instance-name ] brief [ state { connect | down | listen | shutdown | up } ]

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.

state: Displays the information of MSDP peers in the specified state.

connect: Displays the information of MSDP peers in the connecting state.

down: Displays the information of MSDP peers in the down state.

listen: Displays the information of MSDP peers in the listening state.

shutdown: Displays the information of MSDP peers in the deactivated state.

up: Displays the information of MSDP peers in the in-session state.

Description

Use the display msdp brief command to view the brief information of MSDP peers.

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

Examples

# View the brief information of MSDP peers in all states in the public instance.

<Sysname> display msdp brief

MSDP Peer Brief Information of VPN-Instance: public net

  Configured   Up           Listen       Connect      Shutdown     Down

  1            1            0            0            0            0

 

  Peer's Address    State    Up/Down time    AS     SA Count   Reset Count

  20.20.20.20       Up       00:00:13        100    0          0

Table 1-1 display msdp brief command output description

Field

Description

MSDP Peer Brief Information of VPN-Instance: public net

Brief information of MSDP peers of the public network

Configured

Number of MSDP peers configured

Up

Number of MSDP peers in the up state

Listen

Number of MSDP peers in the listen state

Connect

Number of MSDP peers in the connect state

Shutdown

Number of MSDP peers in the shutdown state

Down

Number of MSDP peers in the down state

Peer's Address

MSDP peer address

State

MSDP peer status:

l      Up: Session set up; MSDP peer in session

l      Listen: Session set up; local device as server, in listening state

l      Connect: Session not set up; local device as client, in connecting state

l      Shutdown: Deactivated

l      Down: Connection failed

Up/Down time

Length of time since MSDP peer connection was established/failed

AS

Number of the AS where the MSDP peer is located. “?” indicates that the system was unable to obtain the AS number.

SA Count

Number of (S, G) entries

Reset Count

MSDP peer connection reset times

 

display msdp peer-status

Syntax

display msdp [ all-instance | vpn-instance vpn-instance-name ] peer-status [ peer-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.

peer-address: Specifies an MSDP peer by its address. If you do not provide this argument, this command will display the detailed status information of all MSDP peers.

Description

Use the display msdp peer-status command to view the detailed MSDP peer status information.

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

Related commands: peer connect-interface, peer description, peer mesh-group, peer minimum-ttl, peer request-sa-enable, peer sa-cache-maximum, peer sa-policy, peer sa-request-policy.

Examples

# View the detailed status information of the MSDP peer with the address of 10.110.11.11 in the public instance.

<Sysname> display msdp peer-status 10.110.11.11

MSDP Peer Information of VPN-Instance: public net

     MSDP Peer 20.20.20.20, AS 100

  Description:

  Information about connection status:

    State: Up

    Up/down time: 14:41:08

    Resets: 0

    Connection interface: LoopBack0 (20.20.20.30)

    Number of sent/received messages: 867/947

    Number of discarded output messages: 0

    Elapsed time since last connection or counters clear: 14:42:40

  Information about (Source, Group)-based SA filtering policy:

    Import policy: none

    Export policy: none

  Information about SA-Requests:

    Policy to accept SA-Request messages: none

    Sending SA-Requests status: disable

  Minimum TTL to forward SA with encapsulated data: 0

  SAs learned from this peer: 0, SA-cache maximum for the peer: none

  Input queue size: 0, Output queue size: 0

  Counters for MSDP message:

    Count of RPF check failure: 0

    Incoming/outgoing SA messages: 0/0

    Incoming/outgoing SA requests: 0/0

    Incoming/outgoing SA responses: 0/0

    Incoming/outgoing data packets: 0/0

Table 1-2 display msdp peer-status command output description

Field

Description

MSDP Peer Information of VPN-Instance: public net

Information of the MSDP peer of the public network

MSDP Peer

MSDP peer address

AS

Number of the AS where the MSDP peer is located. “?” indicates that the system was unable to obtain the AS number.

State

MSDP peer status:

l      Up: Session set up; MSDP peer in session

l      Listen: Session set up; local device as server, in listening state

l      Connect: Session not set up; local device as client, in connecting state

l      Shutdown: Deactivated

l      Down: Connection failed

Resets

Number of times the MSDP peer connection is reset

Up/Down time

Length of time since MSDP peer connection was established/failed

Connection interface

Interface and its IP address used for setting up a TCP connection with the remote MSDP peer

Number of sent/received messages

Number of SA messages sent and received through this connection

Number of discarded output messages

Number of discarded outgoing messages

Elapsed time since last connection or counters clear

Time passed since the information of the MSDP peer was last cleared

Information about (Source, Group)-based SA filtering policy

SA message filtering list information

l      Import policy: Filter list for receiving SA messages from the specified MSDP peer

l      Export policy: Filter list for forwarding SA messages from the specified MSDP peer

Information about SA-Requests

SA requests information

l      Policy to accept SA-Request messages: Filtering rule for receiving or forwarding SA messages from the specified MSDP peer

l      Sending SA-Requests status: Whether enabled to send an SA request message to the designated MSDP peer upon receiving a new Join message

Minimum TTL to forward SA with encapsulated data

Minimum TTL of multicast packet encapsulated in SA messages

SAs learned from this peer

Number of cached (S, G) entries learned from this MSDP peer

SA-cache maximum for the peer

Maximum number of (S, G) entries learned from this MSDP peer that the device can cache

Input queue size

Data size cached in the input queue

Output queue size

Data size cached in the output queue

Counters for MSDP message

MSDP peer statistics:

l      Count of RPF check failure: Number of SA messages discarded due to RPF check failure

l      Incoming/outgoing SA messages: Number of SA messages received and sent

l      Incoming/outgoing SA requests: Number of SA request received and sent

l      Incoming/outgoing SA responses: Number of SA responses received and sent

l      Incoming/outgoing data packets: Number of received and sent SA messages encapsulated with multicast data

 

display msdp sa-cache

Syntax

display msdp [ all-instance | vpn-instance vpn-instance-name ] sa-cache [ group-address | source-address | as-number ] *

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 (S, G) entry, in the range of 224.0.1.0 to 239.255.255.255.

source-address: Multicast source address in the (S, G) entry.

as-number: AS number, in the range of 1 to 65535.

Description

Use the display msdp sa-cache command to view the information of (S, G) entries in the SA cache.

Note that:

l          If you do not specify all-instance nor vpn-instance, this command will display the information on the public instance.

l          This command gives the corresponding output only after the cache-sa-enable command is executed.

l          If you do not provide a group address, this command will display the (S, G) entry information for all multicast groups.

l          If you do not provide a source address, this command will display the (S, G) entry information for all sources.

l          If you provide neither a group address nor a source address, this command will display the information of all cached (S, G) entries.

l          If you do not provide an AS number, this command will display the (S, G) entry information related to all ASs.

Related commands: cache-sa-enable.

Examples

# View the information of (S, G) entries in the SA cache in the public instance.

<Sysname> display msdp sa-cache

MSDP Source-Active Cache Information of VPN-Instance: public net

 MSDP Total Source-Active Cache - 5 entries

 MSDP matched 5 entries

 

(Source, Group)              Origin RP       Pro  AS     Uptime   Expires

(10.10.1.2, 225.1.1.1)       10.10.10.10     BGP  100    00:00:11 00:05:49

(10.10.1.3, 225.1.1.1)       10.10.10.10     BGP  100    00:00:11 00:05:49

(10.10.1.2, 225.1.1.2)       10.10.10.10     BGP  100    00:00:11 00:05:49

(10.10.2.1, 225.1.1.2)       10.10.10.10     BGP  100    00:00:11 00:05:49

(10.10.1.2, 225.1.2.2)       10.10.10.10     BGP  100    00:00:11 00:05:49

Table 1-3 display msdp sa-cache command output description

Field

Description

MSDP Source-Active Cache Information of VPN-Instance: public net

SA cache information of the public network

MSDP Total Source-Active Cache - 5 entries

Total number of (S, G) entries in the SA cache

MSDP matched 5 entries

Total number of (S, G) entries matched by MSDP

(Source, Group)

(S, G) entry: (source address, group address)

Origin RP

Address of the RP that generated the (S, G) entry

Pro

Type of protocol from which the AS number is originated. “?” indicates that the system was unable to obtain the protocol type.

AS

AS number of the origin RP. “?” indicates that the system was unable to obtain the AS number.

Uptime

Length of time for which the cached (S, G) entry has been existing, in hours:minutes:seconds

Expires

Length of time in which the cached (S, G) entry will expire, in hours:minutes:seconds

 

display msdp sa-count

Syntax

display msdp [ all-instance | vpn-instance vpn-instance-name ] sa-count [ as-number ]

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.

as-number: AS number, in the range of 1 to 65535.

Description

Use the display msdp sa-count command to view the number of (S, G) entries in the SA cache.

Note that:

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

l          This command gives the corresponding output only after the cache-sa-enable command is executed.

Related commands: cache-sa-enable.

Examples

# View the number of (S, G) entries in the SA cache for the public instance.

<Sysname> display msdp sa-count

MSDP Source-Active Count Information of VPN-Instance: public net

  Number of cached Source-Active entries, counted by Peer

  Peer's Address     Number of SA

  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 1-4 display msdp sa-count command output description

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 counted by peer

Peer's Address

Address of the MSDP peer that sent SA messages

Number of SA

Number of (S, G) entries from this peer

Number of source and group, counted by AS

Number of cached (S, G) entries, counted by AS

AS

AS number. “?” indicates that the system was unable to obtain the AS number.

Number of source

Number of multicast sources from this AS

Number of group

Number of multicast groups from this AS

 

encap-data-enable

Syntax

encap-data-enable

undo encap-data-enable

View

Public instance MSDP view, VPN instance MSDP view

Default Level

2: System level

Parameters

None

Description

Use the encap-data-enable command to enable register message encapsulation in SA messages.

Use the undo encap-data-enable command to disable register message encapsulation in SA messages.

By default, an SA message contains only an (S, G) entry. No register message is encapsulated in an SA message.

Examples

# Enable register message encapsulation in SA messages in the public instance.

<Sysname> system-view

[Sysname] msdp

[Sysname-msdp] encap-data-enable

import-source

Syntax

import-source [ acl acl-number ]

undo import-source

View

Public instance MSDP view, VPN instance MSDP view

Default Level

2: System level

Parameters

acl-number: Basic or advanced ACL number, in the range of 2000 to 3999. A basic ACL is used to filter multicast sources, while an advanced ACL is used to filter multicast sources or multicast groups. If you do not provide this argument in your command, no multicast source information will be advertised.

 

 

During ACL matching, the protocol ID in the ACL rule is not checked.

 

Description

Use the import-source command to configure a rule of creating (S, G) entries.

Use the undo import-source command to remove any rule of creating (S, G) entries.

By default, when an SA message is created, there are no restrictions on the (S, G) entries to be advertised in it, namely all the (S, G) entries within the domain are advertised in the SA message.

In addition to controlling SA message creation by using this command, you can also configure a filtering rule for forwarding and receiving SA messages by using the peer sa-policy command.

Related commands: peer sa-policy.

Examples

# Configure the MSDP peer in the public instance to advertise only the (S, G) entries of multicast sources on the 10.10.0.0/16 subnet and with multicast group address of 225.1.0.0/16 when creating an SA message.

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

[Sysname-msdp] import-source acl 3101

msdp

Syntax

msdp [ vpn-instance vpn-instance-name ]

undo msdp [ 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 msdp command to enable MSDP in the public instance or the specified VPN instance and enter public instance or VPN instance MSDP view.

Use the undo msdp command to disable MSDP in the public instance or the specified VPN instance and remove the configurations performed in public instance or VPN instance MSDP view to free the resources occupied by MSDP.

By default, MSDP is disabled.

Note that:

l          If you do not specify vpn-instance, this configuration will take effect only on the public instance

l          IP multicast 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 Multicast Volume.

Examples

# Enable IP multicast routing in the public instance, and enable MSDP in the public instance to enter public instance MSDP view.

<Sysname> system-view

[Sysname] multicast routing-enable

[Sysname] msdp

[Sysname-msdp]

# Enable IP multicast routing in VPN instance mvpn, and enable MSDP in VPN instance mvpn to enter MSDP 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] msdp vpn-instance mvpn

[Sysname-msdp-mvpn]

originating-rp

Syntax

originating-rp interface-type interface-number

undo originating-rp

View

Public instance MSDP view, VPN instance MSDP view

Default Level

2: System level

Parameters

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

Description

Use the originating-rp command to configure the address of the specified interface as the RP address of SA messages.

Use the undo originating-rp command to restore the system default.

Be default, the PIM RP address is used as the RP address of SA messages.

Examples

# Specify the IP address of VLAN-interface 100 as the RP address of SA messages.

<Sysname> system-view

[Sysname] msdp

[Sysname-msdp] originating-rp vlan-interface 100

peer connect-interface

Syntax

peer peer-address connect-interface interface-type interface-number

undo peer peer-address

View

Public instance MSDP view, VPN instance MSDP view

Default Level

2: System level

Parameters

peer-address: MSDP peer address.

interface-type interface-number: Specifies an interface by its type and number. The local device will use the IP address of the specified interface as the source IP address when setting up a TCP connection with the remote MSDP peer.

Description

Use the peer connect-interface command to create an MSDP peer connection.

Use the undo peer connect-interface command to remove an MSDP peer connection.

No MSDP peer connection is created by default.

Be sure to carry out this command before you use any other peer command; otherwise the system will prompt that the peer does not exist.

Related commands: static-rpf-peer.

Examples

# Configure the router with the IP address of 125.10.7.6 as the MSDP peer of the local router, with interface VLAN-interface 100 as the local connection port.

<Sysname> system-view

[Sysname] msdp

[Sysname-msdp] peer 125.10.7.6 connect-interface vlan-interface 100

peer description

Syntax

peer peer-address description text

undo peer peer-address description

View

Public instance MSDP view, VPN instance MSDP view

Default Level

2: System level

Parameters

peer-address: MSDP peer address.

text: Descriptive string of 1 to 80 case sensitive characters including spaces.

Description

Use the peer description command to configure the description information for the specified MSDP peer.

Use the undo peer description command to delete the configured description information of the specified MSDP peer.

By default, an MSDP peer has no description information.

Related commands: display msdp peer-status.

Examples

# In the public instance, add the descriptive text “Router CstmrA” for the router with the IP address of 125.10.7.6 to indicate that this router is Customer A.

<Sysname> system-view

[Sysname] msdp

[Sysname-msdp] peer 125.10.7.6 description Router CstmrA

peer mesh-group

Syntax

peer peer-address mesh-group name

undo peer peer-address mesh-group

View

Public instance MSDP view, VPN instance MSDP view

Default Level

2: System level

Parameters

peer-address: MSDP peer address.

name: Mesh group name, a case-sensitive string of 1 to 32 characters. A mesh group name must not contain any space.

Description

Use the peer mesh-group command to configure an MSDP peer as a mesh group member.

Use the undo peer mesh-group command to remove an MSDP peer as a mesh group member.

By default, an MSDP peer does not belong to any mesh group.

Examples

# In the public instance, configure the MSDP peer with the IP address of 125.10.7.6 as a member of the mesh group “Grp1”.

<Sysname> system-view

[Sysname] msdp

[Sysname-msdp] peer 125.10.7.6 mesh-group Grp1

peer minimum-ttl

Syntax

peer peer-address minimum-ttl ttl-value

undo peer peer-address minimum-ttl

View

Public instance MSDP view, VPN instance MSDP view

Default Level

2: System level

Parameters

peer-address: MSDP peer address.

ttl-value: Time-to-Live (TTL) threshold, in the range of 0 to 255.

Description

Use the peer minimum-ttl command to configure the TTL threshold for multicast data packet encapsulation in SA messages.

Use the undo peer minimum-ttl command to restore the system default.

By default, the TTL threshold for a multicast packet to be encapsulated in an SA message is 0.

Related commands: display msdp peer-status.

Examples

# In the public instance, set the TTL threshold for multicast packets to be encapsulated in SA messages to 10 so that only multicast data packets whose TTL value is larger than or equal to 10 can be encapsulated in SA messages and forwarded to the MSDP peer 110.10.10.1.

<Sysname> system-view

[Sysname] msdp

[Sysname-msdp] peer 110.10.10.1 minimum-ttl 10

peer request-sa-enable

Syntax

peer peer-address request-sa-enable

undo peer peer-address request-sa-enable

View

Public instance MSDP view, VPN instance MSDP view

Default Level

2: System level

Parameters

peer-address: MSDP peer address.

Description

Use the peer request-sa-enable command to enable the device to send an SA request message to the specified MSDP peer upon receiving a new join message.

Use the undo peer request-sa-enable command to disable the device from sending an SA request message to the specified MSDP peer.

By default, upon receiving a new join message, the router does not send an SA request message to any MSDP peer; instead, it waits for the next SA message to come.

Note that before you can enable the device to send SA requests, you must disable the SA message cache mechanism.

Related commands: cache-sa-enable.

Examples

# Disable the SA message cache mechanism in the public instance, and enable the router to send an SA request message to the MSDP peer 125.10.7.6 upon receiving a new Join message.

<Sysname> system-view

[Sysname] msdp

[Sysname-msdp] undo cache-sa-enable

[Sysname-msdp] peer 125.10.7.6 request-sa-enable

peer sa-cache-maximum

Syntax

peer peer-address sa-cache-maximum sa-limit

undo peer peer-address sa-cache-maximum

View

Public instance MSDP view, VPN instance MSDP view

Default Level

2: System level

Parameters

peer-address: MSDP peer address.

sa-limit: Maximum number of (S, G) entries that the device can cache, in the range of 1 to 8,192.

Description

Use the peer sa-cache-maximum command to configure the maximum number of (S, G) entries learned from the specified MSDP peer that the device can cache.

Use the undo peer sa-cache-maximum command to restore the system default.

By default, the device can cache a maximum of 8,192 (S, G) entries learned from any MSDP peer.

Related commands: display msdp sa-count, display msdp peer-status, display msdp brief.

Examples

# In the public instance allow the device to cache a maximum of 100 (S, G) entries learned from its MSDP peer 125.10.7.6.

<Sysname> system-view

[Sysname] msdp

[Sysname-msdp] peer 125.10.7.6 sa-cache-maximum 100

peer sa-policy

Syntax

peer peer-address sa-policy { import | export } [ acl acl-number ]

undo peer peer-address sa-policy { import | export }

View

Public instance MSDP view, VPN instance MSDP view

Default Level

2: System level

Parameters

import: Specifies to filter SA messages from the specified MSDP peer.

export: Specifies to filter SA messages forwarded to the specified MSDP peer.

peer-address: MSDP peer address.

acl-number: 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 will be filtered off.

Description

Use the peer sa-policy command to configure a filtering rule for receiving or forwarding SA messages.

Use the undo peer sa-policy command to restore the default setting.

By default, SA messages received or to be forwarded are not filtered, namely, all SA messages are accepted or forwarded.

In addition to controlling SA message receiving and forwarding by using this command, you can also configure a filtering rule for creating SA messages using the import-source command.

Related commands: display msdp peer-status, import-source.

Examples

# Configure a filtering rule so that SA messages will be forwarded to the MSDP peer 125.10.7.6 only if they match ACL 3100.

<Sysname> system-view

[Sysname] acl number 3100

[Sysname-acl-adv-3100] rule permit ip source 170.15.0.0 0.0.255.255 destination 225.1.0.0 0.0.255.255

[Sysname-acl-adv-3100] quit

[Sysname] msdp

[Sysname-msdp] peer 125.10.7.6 connect-interface vlan-interface 100

[Sysname-msdp] peer 125.10.7.6 sa-policy export acl 3100

peer sa-request-policy

Syntax

peer peer-address sa-request-policy [ acl acl-number ]

undo peer peer-address sa-request-policy

View

Public instance MSDP view, VPN instance MSDP view

Default Level

2: System level

Parameters

peer-address: MSDP peer address.

acl-number: 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 will be accepted and other SA requests will be ignored; if you do not provide this argument, all SA requests will be ignored.

Description

Use the peer sa-request-policy command to configure a filtering rule for SA request messages.

Use the undo peer sa-request-policy command to remove the configured SA request filtering rule.

Be default, SA request messages are not filtered.

Related commands: display msdp peer-status.

Examples

# Configure an SA request filtering rule in the public instance so that SA messages from the MSDP peer 175.58.6.5 will be accepted only if the multicast group address in the SA messages is in the range of 225.1.1.0/24.

<Sysname> system-view

[Sysname] acl number 2001

[Sysname-acl-basic-2001] rule permit source 225.1.1.0 0.0.0.255

[Sysname-acl-basic-2001] quit

[Sysname] msdp

[Sysname-msdp] peer 175.58.6.5 sa-request-policy acl 2001

reset msdp peer

Syntax

reset msdp [ all-instance | vpn-instance vpn-instance-name ] peer [ peer-address ]

View

User view

Default Level

2: System 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.

peer-address: Specifies an MSDP peer by its address. If you do not provide this argument, the TCP connections with all MSDP peers will be reset.

Description

Use the reset msdp peer command to reset the TCP connection with the specified MSDP peer or the TCP connections with all MSDP peers and clear all the statistics information of the MSDP peer(s).

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

Related commands: display msdp peer-status.

Examples

# Reset the TCP connection in the public instance with the MSDP peer 125.10.7.6 and clear all the statistics information of this MSDP peer.

<Sysname> reset msdp peer 125.10.7.6

reset msdp sa-cache

Syntax

reset msdp [ all-instance | vpn-instance vpn-instance-name ] sa-cache [ group-address ]

View

User view

Default Level

2: System 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: Specifies a multicast group, in the range of 224.0.1.0 to 239.255.255.255. If you do not provide this argument, the command will clear the cached (S, G) entries for all multicast groups from the SA cache.

Description

Use the reset msdp sa-cache command to clear (S, G) entries from the SA cache.

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

Related commands: cache-sa-enable, display msdp sa-cache.

Examples

# Clear the (S, G) entries for multicast group 225.5.4.3 from the SA cache of the public instance.

<Sysname> reset msdp sa-cache 225.5.4.3

reset msdp statistics

Syntax

reset msdp [ all-instance | vpn-instance vpn-instance-name ] statistics [ peer-address ]

View

User view

Default Level

2: System 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.

peer-address: Address of the MSDP peer of which the statistics information is to be cleared. If you do not provide this argument, the command will clear the statistics information of all MSDP peers.

Description

Use the reset msdp statistics command to clear the statistics information of the specified MSDP peer or all MSDP peers without resetting the MSDP peer(s).

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

Examples

# Clear the statistics information of the MSDP peer 125.10.7.6 in the public instance.

<Sysname> reset msdp statistics 125.10.7.6

shutdown (MSDP View)

Syntax

shutdown peer-address

undo shutdown peer-address

View

Public instance MSDP view, VPN instance MSDP view

Default Level

2: System level

Parameters

peer-address: MSDP peer address.

Description

Use the shutdown command to deactivate manually the connection with the specified MSDP peer.

Use the undo shutdown command to reactivate the connection with the specified MSDP peer.

By default, the connections with all MSDP peers are active.

Related commands: display msdp peer-status.

Examples

# Deactivate the connection with the MSDP peer 125.10.7.6 in the public instance.

<Sysname> system-view

[Sysname] msdp

[Sysname-msdp] shutdown 125.10.7.6

static-rpf-peer

Syntax

static-rpf-peer peer-address [ rp-policy ip-prefix-name ]

undo static-rpf-peer peer-address

View

Public instance MSDP view, VPN instance MSDP view

Default Level

2: System level

Parameters

peer-address: MSDP peer address.

rp-policy ip-prefix-name: Specifies a filtering policy based on the RP address in SA messages, where ip-prefix-name is the filtering policy name, a case sensitive string of 1 to 19 characters. A policy name must not contain any space.

Description

Use the static-rpf-peer command to configure a static RPF peer.

Use the undo static-rpf-peer command to remove a static RPF peer.

No static RPF peer is configured by default.

When you configure multiple static RPF peers, observe the follow rules:

1)        If you use the rp-policy keyword for all the static RPF peers, all the static RPF peers take effect concurrently. SA messages will be filtered as per the configured prefix list and only those SA messages whose RP addresses pass the filtering will be accepted. If multiple static RPF peers use the same filtering policy at the same time, when a peer receives an SA message, it will forward the SA message to the other peers.

2)        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 the UP state will be activated, and all SA messages from this peer will be accepted while the SA messages from other static RPF peers will be discarded. When this active static RPF peer fails (for example, when the configuration is removed or when the connection is torn down), still the first RPF peer whose connection is in UP state will be selected as the activated RPF peer according to the configuration sequence.

Related commands: display msdp peer-status, ip prefix-list.

Examples

# Configure static RPF peers.

<Sysname> system-view

[Sysname] ip ip-prefix list1 permit 130.10.0.0 16 great-equal 16 less-equal 32

[Sysname] msdp

[Sysname-msdp] peer 130.10.7.6 connect-interface vlan-interface 100

[Sysname-msdp] static-rpf-peer 130.10.7.6 rp-policy list1

timer retry

Syntax

timer retry interval

undo timer retry

View

Public instance MSDP view, VPN instance MSDP view

Default Level

2: System level

Parameters

interval: Interval between MSDP peer connection retries, in seconds. The effective range is 1 to 60.

Description

Use the timer retry command to configure the interval between MSDP peer connection retries.

Use the undo timer retry command to restore the default setting.

By default, the interval between MSDP peer connection retries is 30 seconds. 

Related commands: display msdp peer-status.

Examples

# Set the MSDP peer connection retry interval to 60 seconds in the public instance.

<Sysname> system-view

[Sysname] msdp

[Sysname-msdp] timer retry 60

 

  • 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
新华三官网