07-IP Multicast Command Reference

HomeSupportRoutersH3C SR8800 Router SeriesReference GuidesCommand ReferencesH3C SR8800 Command Reference-Release3347-6W10307-IP Multicast Command Reference
16-IPv6 MBGP Commands
Title Size Download
16-IPv6 MBGP Commands 311.33 KB

Contents

IPv6 MBGP configuration commands 1

aggregate (IPv6 MBGP address family view) 1

balance (IPv6 MBGP address family view) 2

bestroute as-path-neglect (IPv6 MBGP address family view) 3

bestroute compare-med (IPv6 MBGP address family view) 3

bestroute med-confederation (IPv6 MBGP address family view) 4

compare-different-as-med (IPv6 MBGP address family view) 4

dampening (IPv6 MBGP address family view) 5

default local-preference (IPv6 MBGP address family view) 6

default med (IPv6 MBGP address family view) 7

default-route imported (IPv6 MBGP address family view) 7

display bgp ipv6 multicast group· 8

display bgp ipv6 multicast network· 10

display bgp ipv6 multicast paths 11

display bgp ipv6 multicast peer 12

display bgp ipv6 multicast peer received ipv6-prefix· 13

display bgp ipv6 multicast routing-table· 14

display bgp ipv6 multicast routing-table as-path-acl 16

display bgp ipv6 multicast routing-table community· 17

display bgp ipv6 multicast routing-table community-list 18

display bgp ipv6 multicast routing-table dampened· 19

display bgp ipv6 multicast routing-table dampening parameter 20

display bgp ipv6 multicast routing-table different-origin-as 21

display bgp ipv6 multicast routing-table flap-info· 22

display bgp ipv6 multicast routing-table peer 23

display bgp ipv6 multicast routing-table regular-expression· 24

display bgp ipv6 multicast routing-table statistic· 25

display ipv6 multicast routing-table· 26

display ipv6 multicast routing-table ipv6-address prefix-length· 27

filter-policy export (IPv6 MBGP address family view) 29

filter-policy import (IPv6 MBGP address family view) 29

import-route (IPv6 MBGP address family view) 30

ipv6-family multicast 31

network (IPv6 MBGP address family view) 32

peer advertise-community (IPv6 MBGP address family view) 32

peer advertise-ext-community (IPv6 MBGP address family view) 33

peer allow-as-loop (IPv6 MBGP address family view) 34

peer as-path-acl (IPv6 MBGP address family view) 35

peer capability-advertise orf (IPv6 MBGP address family view) 35

peer default-route-advertise (IPv6 MBGP address family view) 37

peer enable (IPv6 MBGP address family view) 37

peer filter-policy (IPv6 MBGP address family view) 38

peer group (IPv6 MBGP address family view) 39

peer ipv6-prefix (IPv6 MBGP address family view) 40

peer keep-all-routes (IPv6 MBGP address family view) 40

peer next-hop-local (IPv6 MBGP address family view) 41

peer preferred-value (IPv6 MBGP address family view) 42

peer public-as-only (IPv6 MBGP address family view) 43

peer reflect-client (IPv6 MBGP address family view) 44

peer route-limit (IPv6 MBGP address family view) 44

peer route-policy (IPv6 MBGP address family view) 45

preference (IPv6 MBGP address family view) 46

reflect between-clients (IPv6 MBGP address family view) 47

reflector cluster-id (IPv6 MBGP address family view) 48

refresh bgp ipv6 multicast 48

reset bgp ipv6 multicast 49

reset bgp ipv6 multicast dampening· 50

reset bgp ipv6 multicast flap-info· 50

 


aggregate (IPv6 MBGP address family view)

Syntax

aggregate ipv6-address prefix-length [ as-set | attribute-policy route-policy-name | detail-suppressed | origin-policy route-policy-name | suppress-policy route-policy-name ] *

undo aggregate ipv6-address prefix-length

View

IPv6 MBGP address family view

Default level

2 System level

Parameters

ipv6-address: Summary address.

prefix-length: Length of summary route mask, in the range 0 to 128.

as-set: Creates a summary with AS set.

attribute-policy route-policy-name: Sets the attributes of the summary route according to the routing policy. The routing policy name is a case-sensitive string of 1 to 63 characters.

detail-suppressed: Only advertises the summary route.

suppress-policy route-policy-name: Suppresses specific routes defined in the routing policy. The routing policy name is a case-sensitive string of 1 to 63 characters.

origin-policy route-policy-name: References the routing policy to specify routes for summarization. The routing policy name is a case-sensitive string of 1 to 63 characters.

The keywords of the command are described as follows:

Table 1 Functions of the keywords

Keywords

Function

as-set

Used to create a summary route, whose AS path contains the AS path information of summarized routes. Use this keyword carefully when many AS paths need to be summarized, because the frequent changes of these specific routes might lead to route oscillation.

detail-suppressed

This keyword does not suppress the summary route, but it suppresses the advertisement of all the more specific routes. To summarize only some specific routes, use the peer filter-policy command.

suppress-policy

Used to create a summary route and suppress the advertisement of some summarized routes. If you want to suppress some routes selectively and leave other routes still advertised, use the if-match clause of the route-policy command.

origin-policy

Selects only routes satisfying the routing policy for route summarization.

attribute-policy

Sets attributes except the AS-PATH attribute for the summary route. The same work can be done by using the peer route-policy command.

 

Description

Use the aggregate command to create an IPv6 summary route in the IPv6 MBGP routing table.

Use the undo aggregate command to remove an IPv6 summary route.

By default, no summary route is configured.

Examples

# In IPv6 MBGP address family view, create a summary of 12::/64 in the IPv6 MBGP routing table.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] aggregate 12:: 64

balance (IPv6 MBGP address family view)

Syntax

balance number

undo balance

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

number: Number of IPv6 MBGP routes for load balancing. Its value ranges from 1 to 8. When it is set to 1, load balancing is disabled.

Description

Use the balance command to configure the number of IPv6 MBGP routes used for load balancing.

Use the undo balance command to disable load balancing.

By default, load balancing is disabled.

Unlike IGP, IPv6 MBGP has no explicit metric for making load balancing decisions. Instead, it implements load balancing by using IPv6 MBGP route selection rules.

Related commands: display ipv6 multicast routing-table.

Examples

# In IPv6 MBGP address family view, set the number of IPv6 MBGP routes for load balancing to 2.

<Sysname> system-view

[Sysname]bgp 100

[Sysname-bgp]ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] balance 2

bestroute as-path-neglect (IPv6 MBGP address family view)

Syntax

bestroute as-path-neglect

undo bestroute as-path-neglect

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

None

Description

Use the bestroute as-path-neglect command to configure IPv6 MBGP not to consider the AS_PATH during best route selection.

Use the undo bestroute as-path-neglect command to configure IPv6 MBGP to consider the AS_PATH during best route selection.

By default, IPv6 MBGP considers the AS_PATH during best route selection.

Examples

# In IPv6 MBGP address family view, configure IPv6 MBGP to ignore the AS_PATH during best route selection.

<Sysname> system-view

[Sysname]bgp 100

[Sysname-bgp]ipv6-family multicast

[Sysname-bgp-af-ipv6-mul]bestroute as-path-neglect

bestroute compare-med (IPv6 MBGP address family view)

Syntax

bestroute compare-med

undo bestroute compare-med

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

None

Description

Use the bestroute compare-med command to enable the comparison of the MED for paths from each AS.

Use the undo bestroute compare-med command to disable this comparison.

By default, the comparison of the MED for paths from each AS is disabled.

 

CAUTION

CAUTION:

After the bestroute compare-med command is used, the balance command will not take effect.

 

Examples

# In IPv6 MBGP address family view, enable the comparison of MED for paths from each AS during best route selection.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp]ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] bestroute compare-med

bestroute med-confederation (IPv6 MBGP address family view)

Syntax

bestroute med-confederation

undo bestroute med-confederation

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

None

Description

Use the bestroute med-confederation command to enable the comparison of the MED for paths from confederation peers during best route selection.

Use the undo bestroute med-confederation command to disable the comparison.

Such comparison is disabled by default.

With this command used, the system only compares MED values for paths from peers within the confederation. Paths from external ASs are advertised throughout the confederation without MED comparison.

Examples

# In IPv6 MBGP address family view, enable the comparison of the MED for paths from peers within the confederation.

<Sysname> system-view

[Sysname]bgp 100

[Sysname-bgp]ipv6-family multicast

[Sysname-bgp-af-ipv6-mul]bestroute med-confederation

compare-different-as-med (IPv6 MBGP address family view)

Syntax

compare-different-as-med

undo compare-different-as-med

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

None

Description

Use the compare-different-as-med command to enable the comparison of the MED for paths from peers in different ASs.

Use the undo compare-different-as-med command to disable the comparison.

By default, MED comparison is not allowed among the routes from the peers in different ASs.

If several paths are available for one destination, the path with the smallest MED is selected.

Do not use this command unless associated ASs adopt the same IGP and routing selection method.

Examples

# In IPv6 MBGP address family view, enable the comparison of the MED for paths from peers in different ASs.

<Sysname> system-view

[Sysname]bgp 100

[Sysname-bgp]ipv6-family multicast

[Sysname-bgp-af-ipv6-mul]compare-different-as-med

dampening (IPv6 MBGP address family view)

Syntax

dampening [ half-life-reachable half-life-unreachable reuse suppress ceiling | route-policy route-policy-name ] *

undo dampening

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

half-life-reachable: Specifies the half-life for reachable routes, in the range 1 to 45 minutes. By default, the value is 15 minutes.

half-life-unreachable: Specifies the half-life for unreachable routes, in the range 1 to 45 minutes. By default, the value is 15 minutes.

reuse: Specifies the reuse threshold value for suppressed routes, in the range 1 to 20000. A suppressed route having the penalty value decreased under the value is reused. By default, the value is 750.

suppress: Threshold for a route to be suppressed, in the range 1 to 20000. A route is suppressed if its penalty value exceeds this value. The value must be greater than the reuse value. By default, the value is 2000.

ceiling: Specifies a ceiling penalty value from 1001 to 20000. The value must be greater than the suppress value. The default is 16000.

route-policy-name: Routing policy name, a case-sensitive string of 1 to 63 characters.

half-life-reachable, half-life-unreachable, reuse, suppress, and ceiling are mutually dependent. Once any one is configured, all the others should also be specified accordingly.

Description

Use the dampening command to configure IPv6 MBGP route dampening.

Use the undo dampening command to disable route dampening.

By default, route dampening is not configured.

Related commands: reset bgp ipv6 dampening, reset bgp ipv6 flap-info, display bgp ipv6 multicast routing-table dampened, display bgp ipv6 multicast routing-table dampening parameter, and display bgp ipv6 multicast routing-table flap-info.

Examples

# In IPv6 MBGP address family view, configure route dampening.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] dampening 10 10 1000 3000 10000

default local-preference (IPv6 MBGP address family view)

Syntax

default local-preference value

undo default local-preference

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

value: Default local preference, in the range 0 to 4294967295. The larger the value is, the higher the preference is.

Description

Use the default local-preference command to configure the default local preference.

Use the undo default local-preference command to restore the default.

By default, the default local preference is 100.

Using this command can affect IPv6 MBGP route selection.

Examples

# In IPv6 MBGP address family view, set the default local preference to 180.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] default local-preference 180

default med (IPv6 MBGP address family view)

Syntax

default med med-value

undo default med

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

med-value: Default MED value, in the range 0 to 4294967295.

Description

Use the default med command to specify the default MED value.

Use the undo default med command to restore the default.

By default, the default med-value is 0.

The multi-exit discriminator (MED) is an external metric of a route. Different from the local preference, the MED is exchanged between ASs and will stay in the AS once it enters the AS. The route with a lower MED is preferred. When a router running MBGP obtains several routes with an identical destination but different next-hops from various external peers, it will select the best route depending on the MED value. In the case that all the other conditions are the same, the system selects the route with the lowest MED as the best external route.

Examples

# Devices A and B belong to AS100 and device C belongs to AS200. C is the peer of A and B. Configure the MED of A as 25 to make C select the path from B.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] default med 25

default-route imported (IPv6 MBGP address family view)

Syntax

default-route imported

undo default-route imported

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

None

Description

Use the default-route imported command to enable default route redistribution into the IPv6 MBGP routing table.

Use the undo default-route imported command to disable the redistribution.

By default, default route redistribution is disabled.

Examples

# Enable default and OSPFv3 route redistribution into IPv6 MBGP.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] default-route imported

[Sysname-bgp-af-ipv6-mul] import-route ospfv3 1

display bgp ipv6 multicast group

Syntax

display bgp ipv6 multicast group [ ipv6-group-name ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

ipv6-group-name: Peer group name, a string of 1 to 47 characters.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use the display bgp ipv6 multicast group command to display IPv6 MBGP peer group information.

If no ipv6-group-name is specified, information about all peer groups is displayed.

Examples

# Display information about the IPv6 MBGP peer group aaa.

<Sysname> display bgp ipv6 multicast group aaa

 

 BGP peer-group is aaa

 remote AS number not specified

 Type : external

 Maximum allowed prefix number: 4294967295

 Threshold: 75%

 Configured hold timer value: 180

 Keepalive timer value: 60

 Minimum time between advertisement runs is 30 seconds

 Peer Preferred Value: 0

 No routing policy is configured

  Members:

  Peer         AS  MsgRcvd  MsgSent  OutQ PrefRcv Up/Down  State

 

  20:20::20:1  200       170       141      0        2 02:13:35 Established

Table 2 Output description

Field

Description

BGP peer-group

Name of the IPv6 MBGP peer group.

remote AS

AS number of the IPv6 MBGP peer group.

Type

Type of the IPv6 MBGP peer group.

Maximum allowed prefix number

Maximum number of prefixes allowed to receive from the IPv6 MBGP peer group.

Threshold

Threshold value.

Configured hold timer value

Hold timer value.

Keepalive timer value

Keepalive interval.

Minimum time between advertisement runs

Minimum interval for route advertisement.

Route refresh capability has been enabled

The route-refresh capability has been enabled.

ORF advertise capability based on prefix (type 64):

The BGP peer supports the ORF capability based on IP prefix. The capability value is 64.

Local: both

The local BGP router supports both the ORF sending and receiving capabilities.

Negotiated: send

Negotiation result: The local BGP router can send Router-refresh messages carrying the ORF information, and the peer can receive Router-refresh messages carrying the ORF information.

If receive is displayed, the local BGP router can receive Router-refresh messages carrying the ORF information, and the peer can send Router-refresh messages carrying the ORF information. This field is not displayed if neither the send nor the receive capability is supported.)

Peer Preferred Value

Preferred value of the routes from the peer.

Members

Group members.

Peer

IPv6 address of the peer.

AS

AS number.

MsgRcvd

Number of messages received.

MsgSent

Number of messages sent.

OutQ

Number of messages to be sent.

PrefRcv

Number of prefixes received.

Up/Down

The lasting time of a session/the lasting time of present state (when no session is established).

State

Peer state machine.

 

display bgp ipv6 multicast network

Syntax

display bgp ipv6 multicast network [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use the display bgp ipv6 multicast network command to display the IPv6 MBGP routes advertised with the network command.

Examples

# Display IPv6 MBGP routes advertised with the network command.

<Sysname> display bgp ipv6 multicast network

  BGP Local Router ID is 1.1.1.2.

  Local AS Number is 200.

  Network          Mask            Route-policy        Short-cut

 

  2002::           64

  2001::           64                                  Short-cut

Table 3 Output description

Field

Description

BGP Local Router ID

BGP local router ID

Local AS Number

Local AS number

Network

Network address

Mask

Prefix length of the address

Route-policy

Routing policy configured

Short-cut

Shortcut route

 

display bgp ipv6 multicast paths

Syntax

display bgp ipv6 multicast paths [ as-regular-expression | | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

as-regular-expression: AS path regular expression.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use the display bgp ipv6 multicast paths command to display AS path information.

If no parameter is specified, all AS path information will be displayed.

Examples

# Display AS path information.

<Sysname> display bgp ipv6 multicast paths

 

    Address       Hash    Refcount  MED         Path/Origin

    0x5917098     1       1          0            i

    0x59171D0     9       2          0            100i    

Table 4 Output description

Field

Description

Address

Route address in the local database, in dotted hexadecimal notation

Hash

Hash index

Refcount

Count of routes that referenced the path

MED

MED of the path

Path

AS_PATH attribute of the route, recording the ASs it has passed, used to avoid routing loops

Origin

Origin attribute of the route:

·       i—Indicates that the route is interior to the AS. Summary routes and routes injected with the network command are considered IGP routes.

·       e—Indicates that a route is learned from the exterior gateway protocol (EGP).

·       ?—Indicates that the origin of the route is unknown and the route is learned by some other means. BGP sets the Origin attribute of routes learned from other IGP protocols to incomplete.

 

display bgp ipv6 multicast peer

Syntax

display bgp ipv6 multicast peer [ ipv6-address | verbose | | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

ipv6-address: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters.

verbose: Displays the detailed information of the peer.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use the display bgp ipv6 multicast peer command to display IPv6 MBGP peer/peer group information.

If no parameter is specified, information about all IPv6 MBGP peers and peer groups is displayed.

Examples

# Display all IPv6 MBGP peer information.

<Sysname> display bgp ipv6 multicast peer

 

 BGP Local router ID : 20.0.0.1

 local AS number : 100

BGP local router ID : 2.2.2.2

 Local AS number : 100

 Total number of peers : 1                 Peers in established state : 0

 

  Peer                    AS  MsgRcvd  MsgSent OutQ PrefRcv Up/Down  State

 

  2000::1                100        1        1    0       0 00:00:51 Active

Table 5 Output description

Field

Description

BGP local router ID

Local router ID

Local AS number

Local AS number

Total number of peers

Total number of BGP peers

Peers in established state

Number of BGP peers in established state

Peer

IPv6 address of the peer

V

Peer BGP version

AS

AS number

MsgRcvd

Number of messages received

MsgSent

Number of messages sent

OutQ

Number of messages to be sent

PrefRcv

Number of prefixes received

Up/Down

The lasting time of the session/the lasting time of the present state (when no session is established)

State

Peer state machine

 

display bgp ipv6 multicast peer received ipv6-prefix

Syntax

display bgp ipv6 multicast peer ipv6-address received ipv6-prefix [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

ipv6-address: IPv6 address of a BGP peer.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use the display bgp ipv6 multicast peer received ipv6-prefix command to display the prefix entries in the ORF information of the specified BGP peer.

Examples

# Display the prefix information in the ORF packet from the BGP peer 4::4.

<Sysname> display bgp ipv6 multicast peer 4::4 received ipv6-prefix

ORF ipv6-prefix entries: 2

ge: greater-equal   le: less-equal

  index rule   prefix                ge    le

  10    permit 1::/64                80    128

  20    deny   100::/64              80    128

Table 6 Output description

Field

Description

ORF ip-prefix entries

Number of ORF prefix entries.

index

Index of a prefix entry.

rule

Matching rule of the prefix.

prefix

Prefix information.

ge

greater-equal, indicating the mask length must be greater than or equal to the specific value.

le

less-equal, indicating the mask length must be less than or equal to the specific value.

 

display bgp ipv6 multicast routing-table

Syntax

display bgp ipv6 multicast routing-table [ ipv6-address prefix-length ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

ipv6-address: Destination IPv6 address.

prefix-length: Prefix length of the IPv6 address, in the range 0 to 128.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use the display bgp ipv6 multicast routing-table command to display IPv6 MBGP routing information.

Examples

# Display IPv6 MBGP routing information.

<Sysname> display bgp ipv6 multicast routing-table

 

 Total Number of Routes: 2

 

 BGP Local router ID is 30.30.30.1

 Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped,

               h - history,  i - internal, s - suppressed, S - Stale

               Origin : i - IGP, e - EGP, ? - incomplete

 

 *>  Network : 30:30::                                  PrefixLen : 64

     NextHop : 30:30::30:1                              LocPrf    :

     PrefVal : 0                                        Label     : NULL

     MED     : 0

     Path/Ogn: i

 

 *>  Network : 40:40::                                  PrefixLen : 64

     NextHop : 40:40::40:1                              LocPrf    :

     PrefVal : 0                                        Label     : NULL

     MED     : 0

     Path/Ogn: i

Table 7 Output description

Field

Description

Local router ID

Local router ID.

Status codes

Status codes:

·       * – valid—Valid route.

·       ^ – VPNv4 best—Best VPNv4 route.

·       > – best—Best route.

·       d – damped—Dampened route.

·       h – history—History route.

·       i – internal—Internal route.

·       s – suppressed—Suppressed route.

·       S – Stale—Stale route.

Origin

Origin attributes of the route:

·       i – IGP—Originated in the AS.

·       e – EGP—Learned through EGP.

·       ? – incomplete—Learned by some other means.

Network

Destination network address.

PrefixLen

Prefix length of the address.

NextHop

Next hop IP address.

MED

MULTI_EXIT_DISC attribute value.

LocPrf

Local precedence.

Path

AS_PATH attribute of the path, recording the ASs it has passed to avoid routing loops.

PrefVal

Preferred value for a route.

Label

Label.

Ogn

Origin attribute of the route:

·       i—Indicates that the route is interior to the AS. Summary routes and routes injected through the network command are considered IGP routes.

·       e—Indicates that the route is learned from the Exterior Gateway Protocol (EGP).

·       ?—Indicates that the origin of the route is unknown and the route is learned by some other means. BGP sets the Origin attribute of routes learned from other IGP protocols to incomplete.

 

display bgp ipv6 multicast routing-table as-path-acl

Syntax

display bgp ipv6 multicast routing-table as-path-acl as-path-acl-number [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

as-path-acl-number: Displays routing information matching an AS path ACL numbered 1 to 256

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use the display bgp ipv6 multicast routing-table as-path-acl command to display the IPv6 MBGP routes matching the specified AS path ACL.

Examples

# Display the IPv6 MBGP routes matching AS path ACL 20.

<Sysname> display bgp ipv6 multicast routing-table as-path-acl 20

 BGP Local router ID is 30.30.30.1

 Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped,

               h - history,  i - internal, s - suppressed, S - Stale

               Origin : i - IGP, e - EGP, ? - incomplete

 

 *>  Network : 30:30::                                  PrefixLen : 64

     NextHop : 30:30::30:1                              LocPrf    :

     PrefVal : 0                                        Label     : NULL

     MED     : 0

     Path/Ogn: i

For more information about the output, see Table 7.

display bgp ipv6 multicast routing-table community

Syntax

display bgp ipv6 multicast routing-table community [ aa:nn&<1-13> ] [ no-advertise | no-export | no-export-subconfed ] * [ whole-match ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

aa:nn: Community number; both aa and nn are in the range 0 to 65535.

&<1-13>: Indicates that you can provide up to 13 community numbers.

no-advertise: Displays IPv6 MBGP routes that cannot be advertised to any peer.

no-export: Displays IPv6 MBGP routes that cannot be advertised out the AS. If a confederation is configured, it displays routes that cannot be advertised out the confederation, but can be advertised to other sub-ASs in the confederation.

no-export-subconfed: Displays IPv6 MBGP routes that cannot be advertised out the local AS, or to other sub-ASs in the confederation.

whole-match: Displays the IPv6 MBGP routes exactly matching the specified community attribute.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use the display bgp ipv6 multicast routing-table community command to display the IPv6 MBGP routing information with the specified IPv6 MBGP community attribute.

Examples

# Display IPv6 MBGP routing information with the community attribute no-export.

<Sysname> display bgp ipv6 multicast routing-table community no-export

BGP Local router ID is 30.30.30.1

 Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped,

               h - history,  i - internal, s - suppressed, S - Stale

               Origin : i - IGP, e - EGP, ? - incomplete

 

 *>  Network : 30:30::                                  PrefixLen : 64

     NextHop : 30:30::30:1                              LocPrf    :

     PrefVal : 0                                        Label     : NULL

     MED      : 0

     Path/Ogn: i

For more information about the output, see Table 7.

display bgp ipv6 multicast routing-table community-list

Syntax

display bgp ipv6 multicast routing-table community-list { basic-community-list-number | comm-list-name } [ whole-match ] | adv-community-list-number }&<1-16> [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

basic-community-list-number: Basic community-list number, in the range 1 to 99.

adv-community-list-number: Advanced community-list number, in the range 100 to 199.

comm-list-name: Community list name, a string of 1 to 31 characters (not all are numbers).

whole-match: Displays the IPv6 MBGP routes exactly matching the community attributes defined in the specified basic-community-list.

&<1-16>: Indicates that you can enter the preceding argument up to 16 times.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use the display bgp ipv6 multicast routing-table community-list command to display the IPv6 MBGP routing information matching the specified IPv6 MBGP community list.

Examples

# Display the IPv6 MBGP routing information matching the community list

<Sysname> display bgp ipv6 multicast routing-table community-list 99

BGP Local router ID is 30.30.30.1

 Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped,

               h - history,  i - internal, s - suppressed, S - Stale

               Origin : i - IGP, e - EGP, ? - incomplete

 

 *>  Network : 30:30::                                  PrefixLen : 64

     NextHop : 30:30::30:1                              LocPrf    :

     PrefVal : 0                                        Label     : NULL

     MED     : 0

     Path/Ogn: i

For more information about the output, see Table 7.

display bgp ipv6 multicast routing-table dampened

Syntax

display bgp ipv6 multicast routing-table dampened [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use the display bgp ipv6 multicast routing-table dampened command to display the dampened IPv6 MBGP routes.

Examples

# Display dampened IPv6 MBGP routing information

<Sysname> display bgp ipv6 multicast routing-table dampened

 

BGP Local router ID is 1.1.1.1

 Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped,

               h - history,  i - internal, s - suppressed, S - Stale

               Origin : i - IGP, e - EGP, ? - incomplete

 

 *d  Network : 111::                                  PrefixLen : 64

     From    : 122::1                                 Reuse     : 00:29:34

     Path/Ogn: 200?

Table 8 Output description

Field

Description

From

IP address from which the route was received

Reuse

Route reuse time, namely, period of time before the unusable route becomes usable.

 

For more information about the output, see Table 7.

display bgp ipv6 multicast routing-table dampening parameter

Syntax

display bgp ipv6 multicast routing-table dampening parameter [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use the display bgp ipv6 multicast routing-table dampening parameter command to display IPv6 MBGP routing dampening parameters.

Related commands: dampening.

Examples

# Display IPv6 MBGP dampening parameter information.

<Sysname> display bgp ipv6 multicast routing-table dampening parameter

 Maximum Suppress Time(in second)     : 3069

 Ceiling Value                        : 16000

 Reuse Value                          : 750

 Reach HalfLife Time(in second)       : 900

 Unreach HalfLife Time(in second)     : 900

 Suppress-Limit                       : 2000

Table 9 Output description

Field

Description

Maximum Suppress Time

Maximum suppress time

Ceiling Value

Ceiling penalty value

Reuse Value

Limit for a route to be desuppressed

Reach HalfLife Time(in  second)

Half-life of reachable routes

Unreach HalfLife Time(in  second)

Half-life of unreachable routes

Suppress-Limit

Limit for routes to be suppressed

 

display bgp ipv6 multicast routing-table different-origin-as

Syntax

display bgp ipv6 multicast routing-table different-origin-as [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use the display bgp ipv6 multicast routing-table different-origin-as command to display IPv6 MBGP routes originating from different autonomous systems.

Examples

# Display IPv6 MBGP routing information from different ASs

<Sysname> display bgp ipv6 multicast routing-table different-origin-as

 

BGP Local router ID is 2.2.2.2

 Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped,

               h - history,  i - internal, s - suppressed, S - Stale

               Origin : i - IGP, e - EGP, ? - incomplete

 

 *>  Network : 222::                                    PrefixLen : 64

     NextHop : 122::2                                   LocPrf    :

     PrefVal : 0                                        Label     : NULL

     MED      : 0

     Path/Ogn: 100 ?

For more information about the output, see Table 7.

display bgp ipv6 multicast routing-table flap-info

Syntax

display bgp ipv6 multicast routing-table flap-info [ regular-expression as-regular-expression | [ as-path-acl as-path-acl-number | ipv6-address prefix-length [ longer-match ] ] [ | { begin | exclude | include } regular-expression ] ]

View

Any view

Default level

1: Monitor level

Parameters

as-regular-expression: AS path regular expression to be matched.

as-path-acl-number: Number of the specified AS path ACL to be matched, ranging from 1 to 256.

ipv6-address: IPv6 address of a route to be displayed.

prefix-length: Prefix length of the IPv6 address, in the range 1 to 128.

longer-match: Matches the longest prefix.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use the display bgp ipv6 multicast routing-table flap-info command to display IPv6 MBGP route flap statistics.

Examples

# Display IPv6 MBGP routing flap statistics

<Sysname> display bgp ipv6 multicast routing-table flap-info

 

 BGP Local router ID is 1.1.1.1

 Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped,

               h - history,  i - internal, s - suppressed, S - Stale

               Origin : i - IGP, e - EGP, ? - incomplete

 

 *d  Network  : 111::                                 PrefixLen : 64

     From     : 122::1                                Flaps     : 3

     Duration : 00:13:47                              Reuse     : 00:16:36

     Path/Ogn : 200?

Table 10 Output description

Field

Description

Flaps

Number of flaps

Duration

Duration of the flapping

Reuse

Reuse value

 

For more information about the output, see Table 7.

display bgp ipv6 multicast routing-table peer

Syntax

display bgp ipv6 multicast routing-table peer ipv6-address { advertised-routes | received-routes } [ network-address prefix-length | statistic ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

ipv6-address: Specifies the IPv6 peer to be displayed.

advertised-routes: Routing information advertised to the specified peer.

received-routes: Routing information received from the specified peer.

network-address prefix-length: IPv6 address and prefix length. The prefix length ranges from 0 to 128.

statistic: Displays route statistics.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use the display bgp ipv6 multicast routing-table peer command to display the routing information advertised to or received from the specified IPv6 MBGP peer.

Examples

# Display the routing information advertised to the specified IPv6 MBGP peer.

<Sysname> display bgp ipv6 multicast routing-table peer 10:10::10:1 advertised-routes

 Total Number of Routes: 2

 

 BGP Local router ID is 20.20.20.1

 Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped,

               h - history,  i - internal, s - suppressed, S - Stale

               Origin : i - IGP, e - EGP, ? - incomplete

 

 *>  Network : 20:20::                                  PrefixLen : 64

     NextHop : 20:20::20:1                              LocPrf    :

     PrefVal : 0                                        Label     : NULL

     MED     : 0

     Path/Ogn: i

 

 *>  Network : 40:40::                                  PrefixLen : 64

     NextHop : 30:30::30:1                              LocPrf    :

     PrefVal : 0                                        Label     : NULL       

     MED     : 0

     Path/Ogn: 300 i

For more information about the output, see Table 7.

display bgp ipv6 multicast routing-table regular-expression

Syntax

display bgp ipv6 multicast routing-table regular-expression as-regular-expression

View

Any view

Default level

1: Monitor level

Parameters

as-regular-expression: AS path regular expression.

Description

Use the display bgp ipv6 multicast routing-table regular-expression command to display the IPv6 MBGP routes matching the specified AS regular expression.

Examples

# Display IPv6 MBGP routing information matching the specified AS regular expression.

<Sysname> display bgp ipv6 multicast routing-table regular-expression ^100

 

 BGP Local router ID is 20.20.20.1

 Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped,

               h - history,  i - internal, s - suppressed, S - Stale

               Origin : i - IGP, e - EGP, ? - incomplete

 

 *>  Network : 50:50::                                  PrefixLen : 64

     NextHop : 10:10::10:1                              LocPrf    :

     PrefVal : 0                                        Label     : NULL

     MED     : 0

     Path/Ogn: 100 i

For more information about the output, see Table 7.

display bgp ipv6 multicast routing-table statistic

Syntax

display bgp ipv6 multicast routing-table statistic [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use the display bgp ipv6 multicast routing-table statistic command to display IPv6 MBGP routing statistics.

Examples

# Display IPv6 MBGP routing statistics

<Sysname> display bgp ipv6 multicast routing-table statistic

 

 Total Number of Routes: 1

display ipv6 multicast routing-table

Syntax

display ipv6 multicast routing-table [ verbose ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

verbose: Displays detailed routing table information, including both active and inactive routes. With this argument absent, the command displays brief information about active IPv6 MBGP routes only.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use the display ipv6 multicast routing-table command to display the IPv6 MBGP routing table.

Active and inactive routes might coexist in the IPv6 MBGP routing table. Active routes are the optimal routes used for RPF check.

Examples

# Display brief IPv6 MBGP routing table information.

<Sysname> display ipv6 multicast routing-table

Routing Table :

         Destinations : 4        Routes : 4

 

Destination: 100::1/128                                  Protocol  : Direct

NextHop    : ::1                                         Preference: 0

Interface  : InLoop0                                     Cost      : 0

Table 11 Output description

Field

Description

Destination

Destination IPv6 address

Protocol

Routing protocol

Nexthop

Next hop IP address

Preference

Route preference

Interface

Outbound interface

Cost

Route cost

 

# Display detailed IPv6 MBGP routing table information.

<Sysname> display ipv6 multicast routing-table verbose

Routing Table :

        Destinations : 1        Routes : 1

 

 Destination   : ::1                                 PrefixLength : 128

 NextHop       : ::1                                 Preference   : 0

 RelayNextHop  : ::                                  Tag          : 0H

 Neighbour     : ::                                  ProcessID    : 0

 Interface     : InLoopBack0                         Protocol     : Direct

 State         : Active NoAdv                        Cost         : 0

 Tunnel ID     : 0x0                                 Label        : NULL

 Age           : 17073sec

Table 12 Output description

Field

Description

Destination

Destination IPv6 address

PrefixLength

Prefix length of the address

Nexthop

Next hop IP address

Preference

Route preference

RelayNextHop

Recursive next hop

Tag

Route tag

Neighbour

Neighbor address

ProcessID

Process ID

Interface

Outbound interface

Protocol

Routing protocol

State

Status of the route, which could be Active, Inactive, Adv, or NoAdv

Cost

Route cost

Tunnel ID

Tunnel ID

Label

Label

Age

Time elapsed since the route was generated

 

display ipv6 multicast routing-table ipv6-address prefix-length

Syntax

display ipv6 multicast routing-table ipv6-address prefix-length [ longer-match ] [ verbose ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

ipv6-address: Destination IPv6 address.

prefix-length: Prefix length, in the range 0 to 128.

longer-match: Displays routes matching the specified prefix.

verbose: Displays both detailed active and inactive routing information permitted by the ACL. Without this keyword, only the brief information about active routes permitted by the ACL is displayed.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use the display ipv6 multicast routing-table ipv6-address prefix-length command to display the multicast routing information for the specified destination IPv6 address.

Examples

# Display brief information about the specified multicast route.

<Sysname> display ipv6 multicast routing-table 100::1 128

Routing Table:

Summary Count 1

Destination: 100::1/128                          Protocol  : Direct

NextHop    : ::1                                 Preference: 0

Interface  : InLoop0                             Cost      : 0

# Display the brief route information falling into the specified network.

<Sysname> display ipv6 multicast  routing-table 4:: 16 longer-match

Routing Tables:

Summary Count 2

Destination: 4::                                 Protocol  : Static

NextHop    : ::1                                 Preference: 0

Interface  : GigabitEthernet3/1/1                         Cost      : 0

 

Destination: 4:4::                                Protocol  : Static

NextHop    : 3::1                                 Preference: 60

Interface  : GigabitEthernet3/1/1                          Cost      : 0

# Display the detailed route information falling into the specified network.

<Sysname> display ipv6 multicast  routing-table 4:4:: 32 verbose

Routing Tables:

Summary count:1

Destination: 4:4::                                Protocol  : Static

NextHop    : 3::1                                 Preference: 60

Interface  : GigabitEthernet3/1/1                          Cost      : 0

filter-policy export (IPv6 MBGP address family view)

Syntax

filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } export [ protocol process-id ]

undo filter-policy export [ protocol process-id ]

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

acl6-number: Specifies the number of a basic or advanced ACL used to match against the destination of routing information. The number is in the range 2000 to 3999.

ipv6-prefix-name: Specifies the name of an IPv6 prefix list used to match against the destination of routing information. The name is a string of 1 to 19 characters.

protocol: Filters routes redistributed from the routing protocol. It can be direct, isisv6, ospfv3, ripng, or static. If no protocol is specified, all routes will be filtered when advertised.

process-id: Process ID of the routing protocol, ranging from 1 to 65535. This argument is available when the protocol is isisv6, ospfv3, or ripng.

Description

Use the filter-policy export command to filter outgoing routes using a specified filter.

Use the undo filter-policy export command to cancel the filtering of outgoing routes.

By default, no outgoing routing information is filtered.

If a protocol is specified, only routes redistributed from the specified protocol are filtered. If no protocol is specified, all redistributed routes are filtered.

Examples

# Reference IPv6 ACL 2001 to filter all outgoing IPv6 MBGP routes.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] filter-policy 2001 export

filter-policy import (IPv6 MBGP address family view)

Syntax

filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } import

undo filter-policy import

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

acl6-number: Specifies the number of a basic or advanced IPv6 ACL used to match against the destination of routing information. The number is in the range 2000 to 3999.

ipv6-prefix-name: Specifies the name of an IPv6 prefix list used to match against the destination of routing information. The name is a string of 1 to 19 characters.

Description

Use the filter-policy import command to configure the filtering of inbound routing information using a specified filter.

Use the undo filter-policy import command to cancel the filtering of inbound routing information.

By default, inbound IPv6 MBGP routes are not filtered.

Examples

# Reference IPv6 ACL 2000 to filter all inbound IPv6 MBGP routes.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] filter-policy 2000 import

import-route (IPv6 MBGP address family view)

Syntax

import-route protocol [ process-id [ med med-value | route-policy route-policy-name ] * ]

undo import-route protocol [ process-id ]

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

protocol: Redistributes routes from the protocol, which can be direct, isisv6, ospfv3, ripng, or static.

process-id: Process ID. It ranges from 1 to 65535. This argument is available when the protocol is isisv6, ospfv3, or ripng.

med-value: Default MED value, in the range 0 to 4294967295. If no MED is specified, the cost of a redistributed route will be used as its MED in the MBGP routing domain.

route-policy-name: Name of a routing policy used to filter redistributed routes, a case-sensitive string of 1 to 63 characters.

Description

Use the import-route command to redistribute routes from another routing protocol.

Use the undo import-route command to disable route redistribution from a routing protocol.

By default, IPv6 MBGP does not redistribute routes from any routing protocol.

The origin attribute of routes redistributed with the import-route command is incomplete.

Examples

# Redistribute routes from RIPng 1.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] import-route ripng 1

ipv6-family multicast

Syntax

ipv6-family multicast

undo ipv6-family multicast

View

BGP view

Default level

2: System level

Parameters

None

Description

Use the ipv6-family multicast command to enter IPv6 MBGP address family view.

Use the undo ipv6-family multicast command to remove all the configurations in the IPv6 MBGP address family view.

IPv4 BGP unicast view is the default.

If the ipv6-family command is not configured in BGP view, you cannot directly configure the ipv6-family multicast command in BGP view (see example I). If the ipv6-family command is configured in BGP view, you can directly configure the ipv6-family multicast command in BGP view (see example II).

Examples

·           Example I

# Enter IPv6 MBGP address family view.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family multicast

 Error: Please configure IPv6 Unicast address-family first

The error information indicates that the ipv6-family command is not configured.

[Sysname-bgp] ipv6-family

[Sysname-bgp-af-ipv6] quit

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul]

·           Example II

# Enter IPv6 MBGP address family view.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul]

network (IPv6 MBGP address family view)

Syntax

network ipv6-address prefix-length [ route-policy route-policy-name | short-cut ]

undo network ipv6-address prefix-length [ short-cut ]

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

ipv6-address: IPv6 address prefix.

prefix-length: Prefix length of the IPv6 address, in the range 0 to 128.

short-cut: If the keyword is specified for an IPv6 multicast EBGP route, the route will use the local preference rather than its own preference, and therefore it will hardly become the optimal route.

route-policy-name: Name of a routing policy, a case-sensitive string of 1 to 63 characters.

Description

Use the network command to inject a network to the IPv6 MBGP routing table.

Use the undo network command to remove a network from the routing table.

By default, no network is injected.

The network to be injected must exist in the local IPv6 routing table. You can use a routing policy to control the advertisement of the route with more flexibility.

The route injected with the network command has the IGP origin attribute.

Examples

# inject the network 2002::/16.

<Sysname> system-view

[Sysname]bgp 100

[Sysname-bgp]ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] network 2002:: 16

peer advertise-community (IPv6 MBGP address family view)

Syntax

peer { ipv6-group-name | ipv6-address } advertise-community

undo peer { ipv6-group-name | ipv6-address } advertise-community

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

group-name: Name of an IPv6 MBGP peer group, a string of 1 to 47 characters.

ipv6-address: IPv6 address of an IPv6 MBGP peer.

Description

Use the peer advertise-community command to advertise the community attribute to an IPv6 MBGP peer/peer group.

Use the undo peer advertise-community command to remove the configuration.

By default, no community attribute is advertised to any IPv6 MBGP peer group/peer.

Examples

# Advertise the community attribute to the IPv6 MBGP peer 1:2::3:4.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family

[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100

[Sysname-bgp-af-ipv6] quit

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 advertise-community

peer advertise-ext-community (IPv6 MBGP address family view)

Syntax

peer { ipv6-group-name | ipv6-address } advertise-ext-community

undo peer { ipv6-group-name | ipv6-address } advertise-ext-community

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

group-name: Name of an IPv6 MBGP peer group, a string of 1 to 47 characters.

ipv6-address: IPv6 address of an IPv6 MBGP peer.

Description

Use the peer advertise-ext-community command to advertise the extended community attribute to an IPv6 MBGP peer/peer group.

Use the undo peer advertise-ext-community command to remove the configuration.

By default, no extended community attribute is advertised to any IPv6 MBGP peer/peer group.

Examples

# Advertise the extended community attribute to the IPv6 MBGP peer 1:2::3:4.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family

[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100

[Sysname-bgp-af-ipv6] quit

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 advertise-ext-community

peer allow-as-loop (IPv6 MBGP address family view)

Syntax

peer { ipv6-group-name | ipv6-address } allow-as-loop [ number ]

undo peer { ipv6-group-name | ipv6-address } allow-as-loop

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

ipv6-group-name: Name of an IPv6 MBGP peer group, a string of 1 to 47 characters.

ipv6-address: IPv6 address of an IPv6 MBGP peer.

number: Specifies the number of times for which the local AS number can appear in the AS PATH of routes from the peer/peer group, in the range 1 to 10. The default number is 1.

Description

Use the peer allow-as-loop command to allow the local AS number to exist in the AS_PATH attribute of routes from a peer/peer group, and to configure the times for which the local AS number can appear.

Use the undo peer allow-as-loop command to disable the function.

The local AS number cannot appear in routes from the peer/peer group.

Examples

# Configure the number of times for which the local AS number can appear in the AS PATH of routes from the peer as 2.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family

[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100

[Sysname-bgp-af-ipv6] quit

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 allow-as-loop 2

peer as-path-acl (IPv6 MBGP address family view)

Syntax

peer { ipv6-address | ipv6-group-name } as-path-acl as-path-acl-number { export | import }

undo peer { ipv6-address | ipv6-group-name } as-path-acl as-path-acl-number { export | import }

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

ipv6-group-name: Name of an IPv6 MBGP peer group, a string of 1 to 47 characters.

ipv6-address: IPv6 address of an IPv6 MBGP peer.

as-path-acl-number: AS path ACL number, in the range 1 to 256.

import: Filters incoming IPv6 MBGP routes.

export: Filters outgoing IPv6 MBGP routes.

Description

Use the peer as-path-acl command to specify an AS path ACL to filter routes incoming from or outgoing to an IPv6 MBGP peer/peer group.

Use the undo peer as-path-acl command to remove the configuration.

By default, no AS path ACL is specified for filtering the routes from/to an IPv6 MBGP peer/peer group.

Examples

# Specify AS path ACL 3 to filter routes outgoing to the IPv6 MBGP peer 1:2::3:4.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family

[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100

[Sysname-bgp-af-ipv6] quit

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 as-path-acl 3 export

peer capability-advertise orf (IPv6 MBGP address family view)

Syntax

peer { group-name | ipv6-address } capability-advertise orf ipv6-prefix { both | receive | send }

undo peer { group-name | ipv6-address } capability-advertise orf ipv6-prefix { both | receive | send }

View

IPv6 address family view

Default level

2: System level

Parameters

group-name: Name of a peer group, a string of 1 to 47 characters.

ipv6-address: IPv6 address of a peer.

both: Supports sending and receiving route-refresh messages carrying the ORF information.

receive: Supports receiving route-refresh messages carrying the ORF information.

send: Supports sending route-refresh messages carrying the ORF information.

Description

Use the peer capability-advertise orf command to enable the ORF capability for a BGP peer or peer group.

Use the undo peer capability-advertise orf command to disable the ORF capability for the BGP peer or peer group.

By default, the ORF capability is not enabled for a BGP peer or peer group.

After you enable the ORF capability, the local BGP router negotiates the ORF capability with the BGP peer through Open messages. After that, the BGP router can process route-refresh messages carrying the standard ORF information from the peer or send route-refresh messages carrying the standard ORF information to the peer. For non-standard ORF capability negotiation, you need also to configure the peer capability-advertise orf non-standard command.

After you disable the ORF capability, the local BGP router does not negotiate the ORF capability with the specified peer or peer group.

Table 13 Description of the both, send, and receive parameters and the negotiation result

Local parameter

Peer parameter

Negotiation result

send

·       receive

·       both

The ORF sending capability is enabled locally and the ORF receiving capability is enabled on the peer.

receive

·       send

·       both

The ORF receiving capability is enabled locally and the ORF sending capability is enabled on the peer.

both

both

Both the ORF sending and receiving capabilities are enabled locally and on the peer, respectively.

 

Examples

# Enable the ORF capability for the BGP peer 1:2::3:4. Then, after negotiation, the local router can exchange ORF information with the peer 1:2::3:4.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family

[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100

[Sysname-bgp-af-ipv6] quit

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 capability-advertise orf ipv6-prefix both

peer default-route-advertise (IPv6 MBGP address family view)

Syntax

peer { ipv6-group-name | ipv6-address } default-route-advertise [ route-policy route-policy-name ]

undo peer { ipv6-group-name | ipv6-address } default-route-advertise

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

ipv6-group-name: Name of an IPv6 MBGP peer group, a string of 1 to 47 characters.

ipv6-address: IPv6 address of an IPv6 MBGP peer.

route-policy-name: Routing policy name, a case-sensitive string of 1 to 63 characters.

Description

Use the peer default-route-advertise command to advertise a default route to an IPv6 MBGP peer/peer group.

Use the undo peer default-route-advertise command to disable default route advertisement to an IPv6 MBGP peer/peer group.

By default, no default route is advertised to any IPv6 MBGP peer/peer group.

With this command used, the router unconditionally sends a default route with the next hop being itself to the IPv6 MBGP peer/peer group regardless of whether the default route is available in the routing table.

Examples

# Advertise a default route to the IPv6 MBGP peer 1:2::3:4.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family

[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100

[Sysname-bgp-af-ipv6] quit

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 default-route-advertise

peer enable (IPv6 MBGP address family view)

Syntax

peer { ipv6-group-name | ipv6-address } enable

undo peer { ipv6-group-name | ipv6-address } enable

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

ipv6-group-name: Name of an IPv6 MBGP peer group, a string of 1 to 47 characters. The IPv6 MBGP peer group must be created in IPv6 MBGP view before being activated here.

ipv6-address: IPv6 address of an IPv6 MBGP peer.

Description

Use the peer enable command to enable an IPv6 MBGP peer or peer group.

Use the undo peer enable command to disable an IPv6 MBGP peer or peer group.

By default, no IPv6 MBGP peer or peer group is enabled.

If an IPv6 MBGP peer or peer group is disabled, the router will not exchange routing information with it.

Examples

# Enable IPv6 MBGP peer 1:2::3:4.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family

[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100

[Sysname-bgp-af-ipv6] quit

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable

peer filter-policy (IPv6 MBGP address family view)

Syntax

peer { ipv6-group-name | ipv6-address } filter-policy acl6-number { import | export }

undo peer { ipv6-group-name | ipv6-address } filter-policy [ acl6-number ] { import | export }

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

ipv6-group-name: Name of an IPv6 MBGP peer group, a string of 1 to 47 characters.

ipv6-address: IPv6 address of an IPv6 MBGP peer.

acl6-number: IPv6 ACL number, in the range 2000 to 3999.

import: Applies the filter to routes received from the IPv6 MBGP peer/peer group.

export: Applies the filter to routes advertised to the IPv6 MBGP peer/peer group.

Description

Use the peer filter-policy command to configure an IPv6 ACL-based filter policy for an IPv6 MBGP peer or peer group.

Use the undo peer filter-policy command to remove the configuration.

By default, no IPv6 ACL-based filter policy is configured for any IPv6 MBGP peer or peer group.

Examples

# Apply IPv6 ACL 2000 to filter routes advertised to the IPv6 MBGP peer 1:2::3:4.

<Sysname> system-view

[Sysname] acl ipv6 number 2000

[Sysname-acl6-basic-2000] rule permit source 2001:1:: 64

[Sysname-acl6-basic-2000] quit

[Sysname] bgp 100

[Sysname-bgp] ipv6-family

[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100

[Sysname-bgp-af-ipv6] quit

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 filter-policy 2000 export

peer group (IPv6 MBGP address family view)

Syntax

peer ipv6-address group ipv6-group-name

undo peer ipv6-address group ipv6-group-name

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

ipv6-group-name: Name of an IPv6 MBGP peer group, a string of 1 to 47 characters.

ipv6-address: IPv6 address of an IPv6 MBGP peer.

Description

Use the peer group command to add an IPv6 MBGP peer to a configured IPv6 MBGP peer group.

Use the undo peer group command to delete a specified IPv6 MBGP peer from an IPv6 MBGP peer group.

By default, no IPv6 MBGP peer is added into any IPv6 MBGP peer group.

Examples

# Create an IPv6 MBGP peer group named test and add the IPv6 MBGP peer 1:2::3:4 to the peer group.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family

[Sysname-bgp-af-ipv6] group test external

[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 200

[Sysname-bgp-af-ipv6] peer 1:2::3:4 group test

[Sysname-bgp-af-ipv6] quit

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable

[Sysname-bgp-af-ipv6-mul] peer test enable

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 group test

peer ipv6-prefix (IPv6 MBGP address family view)

Syntax

peer { ipv6-group-name | ipv6-address } ipv6-prefix ipv6-prefix-name { import | export }

undo peer { ipv6-group-name | ipv6-address } ipv6-prefix { import | export }

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

ipv6-group-name: Name of an IPv6 MBGP peer group, a string of 1 to 47 characters.

ipv6-address: IPv6 address of an IPv6 MBGP peer.

ipv6-prefix-name: IPv6 prefix list name, a string of 1 to 19 characters.

import: Applies the IPv6 prefix list to filter routes received from the IPv6 MBGP peer/peer group.

export: Applies the IPv6 prefix list to filter routes advertised to the specified IPv6 MBGP peer/peer group.

Description

Use the peer ipv6-prefix command to specify an IPv6 prefix list to filter routes incoming from or outgoing to an IPv6 MBGP peer or peer group.

Use the undo peer ipv6-prefix command to remove the configuration.

By default, no IPv6 prefix list based filtering is configured.

Examples

# Apply the IPv6 ACL list1 to filter routes advertised to the IPv6 MBGP peer 1:2::3:4.

<Sysname> system-view

[Sysname] ip ipv6-prefix list1 permit 2002:: 64

[Sysname] bgp 100

[Sysname-bgp] ipv6-family

[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100

[Sysname-bgp-af-ipv6] quit

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 ipv6-prefix list1 export

peer keep-all-routes (IPv6 MBGP address family view)

Syntax

peer { ipv6-group-name | ipv6-address } keep-all-routes

undo peer { ipv6-group-name | ipv6-address } keep-all-routes

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

ipv6-group-name: Name of an IPv6 MBGP peer group, a string of 1 to 47 characters.

ipv6-address: IPv6 address of a IPv6 MBGP peer.

Description

Use the peer keep-all-routes command to save the original routing information from an IPv6 MBGP peer or peer group, including routes that fail to pass the inbound filtering policy (if configured).

Use the undo peer keep-all-routes command to disable this function.

By default, the original routing information from an IPv6 MBGP peer or peer group is not saved.

Examples

# Save the original routing information from IPv6 MBGP peer 1:2::3:4.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family

[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100

[Sysname-bgp-af-ipv6] quit

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 keep-all-routes

peer next-hop-local (IPv6 MBGP address family view)

Syntax

peer { ipv6-group-name | ipv6-address } next-hop-local

undo peer { ipv6-group-name | ipv6-address } next-hop-local

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

ipv6-group-name: Name of an IPv6 MBGP peer group, a string of 1 to 47 characters.

ipv6-address: IPv6 address of an IPv6 MBGP peer.

Description

Use the peer next-hop-local command to configure the next hop of routes advertised to an IPv6 MBGP peer/peer group as the local router.

Use the undo peer next-hop-local command to restore the default.

By default, an IPv6 MBGP speaker specifies itself as the next hop for routes outgoing to an IPv6 multicast EBGP peer/peer group rather than an IPv6 multicast IBGP peer/peer group.

Examples

# Set the next hop of routes advertised to IBGP peer group test to the advertising router.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family

[Sysname-bgp-af-ipv6] group test internal

[Sysname-bgp-af-ipv6] quit

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] peer test enable

[Sysname-bgp-af-ipv6-mul] peer test next-hop-local

peer preferred-value (IPv6 MBGP address family view)

Syntax

peer { ipv6-group-name | ipv6-address } preferred-value value

undo peer { ipv6-group-name | ipv6-address } preferred-value

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

ipv6-group-name: Name of an IPv6 MBGP peer group, a string of 1 to 47 characters.

ipv6-address: IPv6 address of an IPv6 MBGP peer.

value: Preferred value, in the range 0 to 65535.

Description

Use the peer preferred-value command to assign a preferred value to routes received from an IPv6 MBGP peer or peer group.

Use the undo peer preferred-value command to restore the default.

The preferred value defaults to 0.

Routes learned from peers each have a preferred value. Among multiple routes to the same destination, the route with the greatest preferred value is selected.

If you both reference a routing policy and use the peer { ipv6-group-name | ipv6-address } preferred-value value command to set a preferred value for routes from a peer, the routing policy sets the specified preferred value for routes matching it. Other routes not matching the routing policy uses the value set with the peer preferred-value command. If the preferred value specified in the routing policy is zero, the routes matching it will also use the value set with the peer preferred-value command. For how to use a routing policy to set a preferred value, see the command peer { group-name | ipv6-address } route-policy route-policy-name { import | export } in this document, and the command apply preferred-value preferred-value in Layer 3—IP Routing Command Reference.

Examples

# Configure a preferred value of 50 for routes from IPv6 MBGP peer 1:2::3:4.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family

[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100

[Sysname-bgp-af-ipv6] quit

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 preferred-value 50

peer public-as-only (IPv6 MBGP address family view)

Syntax

peer { ipv6-group-name | ipv6-address } public-as-only

undo peer { ipv6-group-name | ipv6-address } public-as-only

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

ipv6-group-name: Name of an IPv6 MBGP peer group, a string of 1 to 47 characters.

ipv6-address: IPv6 address of an IPv6 MBGP peer.

Description

Use the peer public-as-only command to disable IPv6 MBGP updates to a peer/peer group from carrying private AS numbers.

Use the undo peer public-as-only command to allow IPv6 MBGP updates to a peer/peer group to carry private AS numbers.

By default, private AS numbers can be carried in outbound IPv6 MBGP update packets.

The command does not take effect for IPv6 MBGP updates with both public and private AS numbers. The range of private AS numbers is from 64512 to 65535.

Examples

# Disable updates sent to IPv6 MBGP peer 1:2::3:4 from carrying private AS numbers.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family

[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100

[Sysname-bgp-af-ipv6] quit

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 public-as-only

peer reflect-client (IPv6 MBGP address family view)

Syntax

peer { ipv6-group-name | ipv6-address } reflect-client

undo peer { ipv6-group-name | ipv6-address } reflect-client

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

ipv6-group-name: Name of an IPv6 MBGP peer group, a string of 1 to 47 characters.

ipv6-address: IPv6 address of an IPv6 MBGP peer.

Description

Use the peer reflect-client command to configure the router as a route reflector and specify an IPv6 MBGP peer/peer group as its client.

Use the undo peer reflect-client command to remove the configuration.

By default, neither route reflector nor client is configured.

Related commands: reflect between-clients and reflector cluster-id.

Examples

# Configure the local device as a route reflector and specify the peer group test as a client.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family

[Sysname-bgp-af-ipv6] group test internal

[Sysname-bgp-af-ipv6] quit

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] peer test enable

[Sysname-bgp-af-ipv6-mul] peer test reflect-client

peer route-limit (IPv6 MBGP address family view)

Syntax

peer { ipv6-group-name | ipv6-address } route-limit limit [ percentage ]

undo peer { ipv6-group-name | ipv6-address } route-limit

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

ipv6-group-name: Name of an IPv6 MBGP peer group, a string of 1 to 47 characters.

ipv6-address: IPv6 address of an IPv6 MBGP peer.

limit: Specifies the upper limit of IPv6 address prefixes that can be received from the peer or peer group. The value ranges from 1 to 1048576.

percentage: If the number of received routes divided by the upper limit reaches the specified percentage, the system will generate alarm information. The percentage is in the range 1 to 100. The default is 75.

Description

Use the peer route-limit command to set the maximum number of IPv6 prefixes that can be received from an IPv6 MBGP peer/peer group.

Use the undo peer route-limit command to restore the default.

By default, the IPv6 prefixes from an IPv6 MBGP peer/peer group are unlimited.

The router will terminate the TCP connection when the number of IPv6 prefixes received from the peer exceeds the limit.

Examples

# Set the number of IPv6 address prefixes allowed to receive from the IPv6 MBGP peer 1:2::3:4 to 10000.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family

[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100

[Sysname-bgp-af-ipv6] quit

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable

[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 route-limit 10000

peer route-policy (IPv6 MBGP address family view)

Syntax

peer { ipv6-group-name | ipv6-address } route-policy route-policy-name { import | export }

undo peer { ipv6-group-name | ipv6-address } route-policy route-policy-name { import | export }

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

ipv6-group-name: Name of an IPv6 MBGP peer group, a string of 1 to 47 characters.

ipv6-address: IPv6 address of an IPv6 MBGP peer.

route-policy-name: Routing policy name, a case-sensitive string of 1 to 63 characters.

import: Applies the routing policy to routes received from the IPv6 MBGP peer/peer group.

export: Applies the routing policy to routes advertised to the IPv6 MBGP peer/peer group.

Description

Use the peer route-policy command to apply a routing policy to routes incoming from or outgoing to an IPv6 MBGP peer or peer group.

Use the undo peer route-policy command to remove the configuration.

By default, no routing policy is applied to the routes incoming from or outgoing to an IPv6 MBGP peer or peer group.

The if-match interface clause in the routing policy referenced by the peer route-policy command will not be applied. For more information, see Layer 3—IP Routing Command Reference.

Examples

# Apply the routing policy test-policy to routes received from the IPv6 MBGP peer group test.

<Sysname> system-view

[Sysname] route-policy test-policy permit node 10

[Sysname-route-policy] if-match cost 10

[Sysname-route-policy] apply cost 65535

[Sysname-route-policy] quit

[Sysname] bgp 100

[Sysname-bgp] ipv6-family

[Sysname-bgp-af-ipv6] group test external

[Sysname-bgp-af-ipv6] quit

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] peer test enable

[Sysname-bgp-af-ipv6-mul] peer test route-policy test-policy import

preference (IPv6 MBGP address family view)

Syntax

preference { external-preference internal-preference local-preference | route-policy route-policy-name }

undo preference

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

external-preference: Preference of IPv6 multicast EBGP routes, in the range 1 to 255. An IPv6 multicast EBGP route is learned from an IPv6 multicast EBGP peer.

internal-preference: Preference of IPv6 multicast IBGP routes, in the range 1 to 255. An IPv6 multicast IBGP route is learned from an IPv6 multicast IBGP peer.

local-preference: Preference of locally generated IPv6 MBGP routes, in the range 1 to 255.

route-policy-name: Routing policy name, a case-sensitive string of 1 to 63 characters. Using a routing policy, you can configure the preferences for the routes that match the filtering conditions. As for the unmatched routes, the default preferences are adopted.

Description

Use the preference command to configure preferences for IPv6 multicast EBGP, IPv6 multicast IBGP, and local IPv6 MBGP routes.

Use the undo preference command to restore the default.

The default preference values of external, internal and local IPv6 MBGP routes are 255, 255, and 130, respectively.

The greater the preference value is, the lower the preference is.

Examples

# Configure preferences for IPv6 multicast EBGP, IPv6 multicast IBGP, and local IPv6 MBGP routes as 20, 20, and 200.

<Sysname> system-view

[Sysname]bgp 100

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] preference 20 20 200

reflect between-clients (IPv6 MBGP address family view)

Syntax

reflect between-clients

undo reflect between-clients

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

None

Description

Use the reflect between-clients command to enable route reflection between clients.

Use the undo reflect between-clients command to disable this function.

By default, route reflection between clients is enabled.

After a route reflector is configured, it reflects the routes of a client to the other clients. If the clients of a route reflector are fully meshed, you need to disable route reflection between clients to reduce routing costs.

Related commands: reflector cluster-id and peer reflect-client.

Examples

# Enable route reflection between clients

<Sysname> system-view

[Sysname]bgp 100

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] reflect between-clients

reflector cluster-id (IPv6 MBGP address family view)

Syntax

reflector cluster-id cluster-id

undo reflector cluster-id

View

IPv6 MBGP address family view

Default level

2: System level

Parameters

cluster-id: Cluster ID of the route reflector, an integer from 1 to 4294967295 (the system translates it into an IPv4 address) or an IPv4 address.

Description

Use the reflector cluster-id command to configure the cluster ID of the route reflector.

Use the undo reflector cluster-id command to remove the configured cluster ID.

By default, each route reflector uses its router ID as the cluster ID.

The router ID of the route reflector is the ID of the cluster. You can configure multiple route reflectors to improve network stability. If a cluster has multiple route reflectors, you need to use the reflector cluster-id command to specify the same cluster ID for these route reflectors to avoid routing loops.

Related commands: reflect between-clients and peer reflect-client.

Examples

# Set 50 as the cluster ID for the route reflector, which is one of multiple route reflectors in the cluster.

<Sysname> system-view

[Sysname] bgp 100

[Sysname-bgp] ipv6-family multicast

[Sysname-bgp-af-ipv6-mul] reflector cluster-id 50

refresh bgp ipv6 multicast

Syntax

refresh bgp ipv6 multicast { ipv6-address | all | external | group ipv6-group-name | internal } { export | import }

View

User view

Default level

1: Monitor level

Parameters

ipv6-address: Soft-resets the connection to the specified IPv6 MBGP peer.

all: Soft-resets all IPv6 MBGP connections.

external: Soft-resets IPv6 multicast EBGP connections.

group ipv6-group-name: Soft-resets connections to an IPv6 multicast peer group. The name of the peer group is a string of 1 to 47 characters.

internal: Soft-resets IPv6 multicast IBGP connections.

export: Performs soft-reset in outbound direction.

import: Performs soft-reset in inbound direction.

Description

Use the refresh bgp ipv6 multicast command to soft-reset specified IPv6 MBGP connections. With this feature, you can refresh the IPv6 MBGP routing table and apply a new policy without terminating IPv6 MBGP connections.

To perform IPv6 MBGP soft-reset, all routers in the network should support route-refresh. If a peer not supporting route refresh exists in the network, you need to use the peer keep-all-routes command on the local router to save all route updates from the peer before performing soft reset.

Examples

# Soft-reset inbound IPv6 MBGP connections.

<Sysname> refresh bgp ipv6 multicast all import

reset bgp ipv6 multicast

Syntax

reset bgp ipv6 multicast { as-number | ipv6-address | all | group ipv6-group-name | external | internal }

View

User view

Default level

2: System level

Parameters

as-number: Resets the connections to IPv6 MBGP peers in the specified AS.

ipv6-address: Resets the connection to the specified peer.

all: Resets all IPv6 MBGP connections.

group ipv6-group-name: Resets the connections to the specified IPv6 MBGP peer group.

external: Resets all the IPv6 multicast EBGP connections.

internal: Resets all the IPv6 multicast IBGP connections.

Description

Use the reset bgp ipv6 multicast command to reset specified IPv6 MBGP connections to reconnect to the peers.

Examples

# Reset all the IPv6 MBGP connections.

<Sysname> reset bgp ipv6 multicast all

reset bgp ipv6 multicast dampening

Syntax

reset bgp ipv6 multicast dampening [ ipv6-address prefix-length ]

View

User view

Default level

1: Monitor level

Parameters

ipv6-address: Destination IPv6 address..

prefix-length: Prefix length of the IPv6 address, in the range 0 to 128.

Description

Use the reset bgp ipv6 multicast dampening command to clear route dampening information and release suppressed routes.

If no ipv6-address prefix-length is specified, all IPv6 MBGP route dampening information will be cleared.

Examples

# Clear the damping information of the route 2345::/64 and release the suppressed route.

<Sysname> reset bgp ipv6 multicast dampening 2345::64

reset bgp ipv6 multicast flap-info

Syntax

reset bgp ipv6 multicast flap-info [ ipv6-address/prefix-length | regexp as-path-regexp | as-path-acl as-path-acl-number ]

View

User view

Default level

1: Monitor level

Parameters

ipv6-address: Clears the routing flap statistics for the specified IPv6 address.

prefix-length: Prefix length of the IPv6 address, in the range 1 to 128.

as-path-regexp: Clears the routing flap statistics for routes matching the AS path regular expression.

as-path-acl-number: Clears the routing flap statistics for routes matching the AS path ACL. The value of this argument is in the range of 1 to 256.

Description

Use the reset bgp ipv6 multicast flap-info command to clear IPv6 MBGP routing flap statistics.

If no parameters are specified, the flap statistics of all the routes will be cleared

Examples

# Clear the flap statistics of all routes matching AS path ACL 10.

<Sysname> reset bgp ipv6 multicast flap-info as-path-acl 10

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