H3C S9500 Command Manual-Release2132[V2.03]-04 IP Multicast Volume

HomeSupportSwitchesH3C S9500 Series SwitchesReference GuidesCommand ReferencesH3C S9500 Command Manual-Release2132[V2.03]-04 IP Multicast Volume
05-MSDP Commands
Title Size Download
05-MSDP Commands 94.82 KB

Chapter 1  MSDP Configuration Commands

1.1  MSDP Configuration Commands

1.1.1  cache-sa-enable

Syntax

cache-sa-enable

undo cache-sa-enable

View

MSDP view

Default Level

2: System level

Parameters

None

Description

Use the cache-sa-enable command to enable the SA message cache mechanism, so that the device caches the (S, G) entries in the SA messages it receives.

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

By default, the SA message cache mechanism is enabled.

Examples

# Disable the SA message cache mechanism.

<Sysname> system-view

[Sysname] msdp

[Sysname-msdp] undo cache-sa-enable

1.1.2  debugging msdp

Syntax

debugging msdp { all | connect | event | packet | source-active }

undo debugging msdp { all | connect | event | packet | source-active }

View

User view

Default Level

1: Monitor level

Parameters

all: Specifies all types of debugging for MSDP.

connect: Specifies debugging for MSDP peer connection resets.

event: Specifies debugging for MSDP events.

packets: Specifies debugging for MSDP messages.

source-active: Specifies MSDP source-active debugging.

Description

Use the debugging msdp command to enable debugging for MSDP.

Use the undo debugging msdp command to disable debugging for MSDP.

By default, debugging for MSDP is disabled.

Table 1-1 debugging msdp event command output description

Field

Description

Originating/adding/sending SA message

Creating/adding/sending SA message

SA/SA with data

Notification

SA request

SA response

SA message/SA message with data

Notification

SA request

SA response

(sadd, gadd)

(S,G) entry

Creating/Deleting

Creating/Deleting timer

TCP listening

Connection accepted

TCP connection established

TCP connect

ConnectRetry

Connection reset

State error

Peer reset

SessionRetry

TCP listening

Connection accepted

TCP connection established

TCP connection

Connection retry

Connection reset

State error

MSDP peer connection reset

Session retry

Can not pass acl filter/passed acl filter

SA message failed ACL filtering/SA messages passed ACL filtering

Static RPF peer

E-MBGP peer

I-MBGP peer

NOT BGP peer

NOT MBGP peer

Static RPF neighbor

E-MBGP neighbor

I-MBGP neighbor

NOT BGP neighbor

NOT MBGP neighbor

 

Table 1-2 debugging msdp packet command output description

Field

Description

Reading from peer blocked

Retrying read

Reading from peer failed

Received illegal message from peer

Received n-bytes message

Message reading blocked

Retrying reading

Reading failed

Illegal character read

Total size of messages read is n bytes

SA-TLV

SA-Request TLV

SA-Response TLV

KeepAlive TLV

Notification TLV

Types of messages read:

SA

SA request

SA response

KeepAlive

Notification

Sending

Received

SA message discarded

Forwarding

Sending SA

Received SA

Discarded SA

Forwarding SA

 

Table 1-3 debugging msdp source-active command output description

Field

Description

RPF check failed

RPF check passed

RPF check failed

RPF check succeeded

Only one peer

Peer is original RP

Peer belongs mesh-group

Static RPF peer

MSDP Peer is E-MBGP peer

Peer's AS is the next-AS to RP

MSDP Peer is I-MBGP peer

Peer is the next-hop to RP

Conditions for a successful RPF check:

Only one MSDP peer

MSDP peer is a source-side RP

MSDP peer belongs to a mesh group

Static RPF peer

MSDP peer is an E-MBGP neighbor

MSDP peer is in the next AS to the RP

MSDP peer is an I-MBGP neighbor

MSDP peer is the next hop to the RP

 

Examples

# Enable MSDP event debugging.

<Sysname> debugging msdp event

*Aug 25 09:33:13:130 2006 Sysname MSDP/7/EVENT:

11.11.11.11: TCP listening (H12726)

// Server 11.11.11.11 starts TCP listening

*Aug 25 09:35:45:790 2006 Sysname MSDP/7/EVENT:

11.11.11.11: Connection accepted (H12850)

*Aug 25 09:35:45:790 2006 Sysname MSDP/7/EVENT:

11.11.11.11: TCP connection established (H12854)

// TCP connection established

*Aug 25 09:35:45:790 2006 Sysname MSDP/7/EVENT:

11.11.11.11: Sending message to peer: keepalive (H101045)

// Sending KeepAlive message to MSDP peer

*Aug 25 09:35:45:790 2006 Sysname MSDP/7/EVENT:

11.11.11.11: Originating SA message for peer (H10859)

// Sending SA messag to peer

 

# Enable MSDP message debugging.

<Sysname> debugging msdp packet

*Aug 25 09:39:07:162 2006 Sysname MSDP/7/PACKET:

11.11.11.11: Sending a 3-bytes message to peer (H17119)

// Sending a 3-byte message to MSDP peer

*Aug 25 09:39:07:162 2006 Sysname MSDP/7/PACKET:

11.11.11.11: Sending to peer success, 3-bytes sent (H17143)

// Message successfully sent to MSDP peer

*Aug 25 09:39:07:162 2006 Sysname MSDP/7/PACKET:

11.11.11.11: Received 3-bytes message 1 from peer (H13471)

// MSDP peer received 1 message, total size being 3 bytes

*Aug 25 09:39:07:162 2006 Sysname MSDP/7/PACKET:

11.11.11.11: KeepAlive TLV (H131441)

// This message is a KeepAlive message

 

# Enable MSDP source-active debugging.

<Sysname> debugging msdp source-active

*Aug 25 09:52:08:924 2006 Sysname MSDP/7/SOURCE-ACTIVE:

11.11.11.11: Only one peer, passed RPF check (H132426)

// Because there is only one MSDP peer, the SA message passed the RPF check

1.1.3  display msdp brief

Syntax

display msdp brief [ state { connect | down | listen | shutdown | up } ]

View

Any view

Default Level

1: Monitor level

Parameters

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.

Examples

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

<Sysname> display msdp brief

MSDP Peer Brief Information

  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-4 display msdp brief command output description

Field

Description

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

 

1.1.4  display msdp peer-status

Syntax

display msdp peer-status [ peer-address ]

View

Any view

Default Level

1: Monitor level

Parameters

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.

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 all MSDP peers.

<Sysname> display msdp peer-status

  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-5 display msdp peer-status command output description

Field

Description

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

Time passed since MSDP peer connection establishment/failure

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

 

1.1.5  display msdp sa-cache

Syntax

display msdp sa-cache [ group-address | source-address | as-number ] *

View

Any view

Default Level

1: Monitor level

Parameters

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

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

as-number: AS number.

Description

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

Note that:

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

l           If you 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.

<Sysname> display msdp sa-cache

 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:10 00:05:50

 (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-6 display msdp sa-cache command output description

Field

Description

MSDP Total Source-Active Cache

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

 

1.1.6  display msdp sa-count

Syntax

display msdp sa-count [ as-number ]

View

Any view

Default Level

1: Monitor level

Parameters

as-number: AS number.

Description

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

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.

<Sysname> display msdp sa-count

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

Field

Description

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

 

1.1.7  encap-data-enable

Syntax

encap-data-enable

undo encap-data-enable

View

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 messages contains only a (S, G) entry. No register message is encapsulated in an SA message.

Examples

# Enable register message encapsulation in SA messages.

<Sysname> system-view

[Sysname] msdp

[Sysname-msdp] encap-data-enable

1.1.8  import-source

Syntax

import-source [ acl acl-number ]

undo import-source

View

MSDP view

Default Level

2: System level

Parameters

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

 

&  Note:

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

1.1.9  msdp

Syntax

msdp

undo msdp

View

System view

Default Level

2: System level

Parameters

None

Description

Use the msdp command to enable MSDP and enter MSDP view.

Use the undo msdp command to disable MSDP and remove the configurations performed in MSDP view to free the resources occupied by MSDP.

By default, MSDP is disabled.

IP multicast must be enabled on the device before this command can take effect.

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

Examples

# Enable MSDP and enter MSDP view

<Sysname> system-view

[Sysname] multicast routing-enable

[Sysname] msdp

[Sysname-msdp]

1.1.10  originating-rp

Syntax

originating-rp interface-type interface-number

undo originating-rp

View

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 remove the configuration of using the interface address as the RP address of SA messages.

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

Examples

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

<Sysname> system-view

[Sysname] msdp

[Sysname-msdp] originating-rp ethernet 4

1.1.11  peer connect-interface

Syntax

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

undo peer peer-address

View

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 routing switch 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.

No MSDP peer connection 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 routing switch, with interface VLAN-interface 4 as the local connection port.

<Sysname> system-view

[Sysname] msdp

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

1.1.12  peer description

Syntax

peer peer-address description text

undo peer peer-address description

View

MSDP view

Default Level

2: System level

Parameters

peer-address: MSDP peer address.

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

Description

Use the peer description command to configure a descriptive string that describes the specified MSDP peer.

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

By default, an MSDP peer has no description information.

Related commands: display msdp peer-status.

Examples

# Configure a descriptive string “SWITCH CstmrA” for the switch with the IP address of 125.10.7.6.

<Sysname> system-view

[Sysname] msdp

[Sysname-msdp] peer 125.10.7.6 description SWITCH CstmrA

1.1.13  peer mesh-group

Syntax

peer peer-address mesh-group name

undo peer peer-address mesh-group

View

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.

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

# 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

1.1.14  peer minimum-ttl

Syntax

peer peer-address minimum-ttl ttl-value

undo peer peer-address minimum-ttl

View

MSDP view

Default Level

2: System level

Parameters

peer-address: MSDP peer address.

ttl-value: Minimum time-to-Live (TTL) value.

Description

Use the peer minimum-ttl command to configure the TTL threshold of multicast packets encapsulated in SA messages.

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

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

Related commands: display msdp peer-status.

Examples

# Set the TTL threshold of multicast packets to be encapsulated in SA messages to 10 so that only multicast packets whose TTL value is larger than or equal to 10 can be forwarded to the MSDP peer 110.10.10.1.

<Sysname> system-view

[Sysname] msdp

[Sysname-msdp] peer 110.10.10.1 minimum-ttl 10

1.1.15  peer request-sa-enable

Syntax

peer peer-address request-sa-enable

undo peer peer-address request-sa-enable

View

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 SA request messages 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, and enable the switch 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

1.1.16  peer sa-cache-maximum

Syntax

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

undo peer peer-address sa-cache-maximum

View

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.

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

# Allow the device to cache a maximum of 100 (S, G) entries learned from MSDP peer 125.10.7.6.

<Sysname> system-view

[Sysname] msdp

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

1.1.17  peer sa-policy

Syntax

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

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

View

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. 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 forwarded to 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 4

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

1.1.18  peer sa-request-policy

Syntax

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

undo peer peer-address sa-request-policy

View

MSDP view

Default Level

2: System level

Parameters

peer-address: MSDP peer address.

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

1.1.19  reset msdp peer

Syntax

reset msdp peer [ peer-address ]

View

User view

Default Level

2: System level

Parameters

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

Related commands: display msdp peer-status.

Examples

# Reset TCP connection 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

1.1.20  reset msdp sa-cache

Syntax

reset msdp sa-cache [ group-address ]

View

User view

Default Level

2: System level

Parameters

group-address: Address of the multicast group related to which the (S, G) entries are to be cleared from the SA cache. If you do not provide this argument, the command will clear all the cached (S, G) entries.

Description

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

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

Examples

# Clear the (S, G) entries related to the multicast group 225.5.4.3 from the SA cache.

<Sysname> reset msdp sa-cache 225.5.4.3

1.1.21  reset msdp statistics

Syntax

reset msdp statistics [ peer-address ]

View

User view

Default Level

2: System level

Parameters

peer-address: Specifies an MSDP peer by its address. 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).

Examples

# Clear the statistics information of the MSDP peer 125.10.7.6.

<Sysname> reset msdp statistics 125.10.7.6

1.1.22  shutdown

Syntax

shutdown peer-address

undo shutdown peer-address

View

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.

<Sysname> system-view

[Sysname] msdp

[Sysname-msdp] shutdown 125.10.7.6

1.1.23  static-rpf-peer

Syntax

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

undo static-rpf-peer peer-address

View

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.

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 following rules:

l           If you use the rp-policy keyword for all the static RPF peers, all the static RPF peers will be activated 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.

l           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), based on the configuration sequence, the next RPF peer with its connection in the 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 4

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

1.1.24  timer retry

Syntax

timer retry interval

undo timer retry

View

MSDP view

Default Level

2: System level

Parameters

interval: Interval between MSDP peer connection retries, in seconds.

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.

<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 Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网