04-IP Multicast Volume

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

Table of Contents

1 IPv6 MBGP Configuration Commands· 1-1

IPv6 MBGP Configuration Commands· 1-1

balance (IPv6 MBGP address family view) 1-1

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

bestroute compare-med (IPv6 MBGP address family view) 1-2

bestroute med-confederation (IPv6 MBGP address family view) 1-3

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

dampening (IPv6 MBGP address family view) 1-4

default local-preference (IPv6 MBGP address family view) 1-5

default med (IPv6 MBGP address family view) 1-6

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

display ipv6 multicast routing-table· 1-7

display ipv6 multicast routing-table ipv6-address prefix-length· 1-9

display bgp ipv6 multicast group· 1-11

display bgp ipv6 multicast network· 1-12

display bgp ipv6 multicast paths· 1-13

display bgp ipv6 multicast peer 1-14

display bgp ipv6 multicast routing-table· 1-15

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

display bgp ipv6 multicast routing-table community· 1-18

display bgp ipv6 multicast routing-table community-list 1-19

display bgp ipv6 multicast routing-table dampened· 1-19

display bgp ipv6 multicast routing-table dampening parameter 1-20

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

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

display bgp ipv6 multicast routing-table peer 1-23

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

display bgp ipv6 multicast routing-table statistic· 1-25

filter-policy export (IPv6 MBGP address family view) 1-25

filter-policy import (IPv6 MBGP address family view) 1-26

import-route (IPv6 MBGP address family view) 1-27

ipv6-family multicast 1-27

network (IPv6 MBGP address family view) 1-28

peer advertise-community (IPv6 MBGP address family view) 1-29

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

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

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

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

peer enable (IPv6 MBGP address family view) 1-33

peer filter-policy (IPv6 MBGP address family view) 1-34

peer group (IPv6 MBGP address family view) 1-34

peer ipv6-prefix (IPv6 MBGP address family view) 1-35

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

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

peer preferred-value (IPv6 MBGP address family view) 1-38

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

peer reflect-client (IPv6 MBGP address family view) 1-39

peer route-limit (IPv6 MBGP address family view) 1-40

peer route-policy (IPv6 MBGP address family view) 1-41

preference (IPv6 MBGP address family view) 1-42

reflect between-clients (IPv6 MBGP address family view) 1-43

reflector cluster-id (IPv6 MBGP address family view) 1-44

refresh bgp ipv6 multicast 1-44

reset bgp ipv6 multicast 1-45

reset bgp ipv6 multicast dampening· 1-46

reset bgp ipv6 multicast flap-info· 1-46

 


IPv6 MBGP Configuration Commands

balance (IPv6 MBGP address family view)

Syntax

balance number

undo balance

View

IPv6 MBGP address family view

Default Level

2: System level

Parameters

maximum: Number of IPv6 MBGP routes for load balancing, in the range 1 to 4. 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.

 

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 there are several paths for one destination available, 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: Route policy name, a string of 1 to 19 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, 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 15 15 1000 2000 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 BGP 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 ipv6 multicast routing-table

Syntax

display ipv6 multicast routing-table [ verbose ]

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.

Description

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

There are active and inactive routes 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 : 1        Routes : 1

 

Destination :  ::1                                  PrefixLength : 128

NextHop      : ::1                                  Preference : 0

Interface    : InLoopBack0                          Protocol    : Direct

State        : Active NoAdv                         Cost        : 0

Tunnel ID    : 0x0                                  Label       : NULL

Age          : 156sec

Table 1-1 display ipv6 multicast routing-table command output description

Field

Description

Destination

Destination IPv6 address

PrefixLength

Prefix length of the address

Nexthop

Next hop IP address

Preference

Route preference

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 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 1-2 display ipv6 multicast routing-table verbose command 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 ]

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.

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 4::1 32

Routing Table:

Summary Count 1

  Destination : 4::                              PrefixLength : 32

  NextHop     : 3::1                             Preference   : 60

  Interface   : Vlan-interface1                     Protocol     : Static

  State       : Active Adv                      Cost         : 0

  Tunnel ID   : 0x0                             Label        : NULL

  Age         : 19174sec

# 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::                              PrefixLength  : 32

NextHop      : 3::1                             Preference    : 60

Interface    : Vlan-interface1                      Protocol      : Static

State        : Active Adv                       Cost          : 0

Tunnel ID    : 0x0                              Label         : NULL

Age          : 766sec

 

Destination   : 4:4::                           PrefixLength : 64

NextHop       : 3::1                            Preference   : 60

Interface     : Vlan-interface1                     Protocol     : Static

State         : Active Adv                      Cost         : 0

Tunnel ID     : 0x0                             Label        : NULL

Age           : 766sec

# 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::                              PrefixLength : 64

NextHop      : 3::1                              Preference    : 60

Interface    : Vlan-interface1                       Protocol      : Static

State        : Active Adv                        Cost          : 0

Age          : 19547sec

display bgp ipv6 multicast group

Syntax

display bgp ipv6 multicast group [ ipv6-group-name ]

View

Any view

Default Level

1: Monitor level

Parameters

ipv6-group-name: Peer group name, a string of 1 to 47 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 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         V    AS  MsgRcvd  MsgSent  OutQ PrefRcv Up/Down  State

 

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

Table 1-3 display bgp ipv6 multicast group command 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

Peer Preferred Value

Preferred value of the routes from the peer

Members

Group members

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

View

Any view

Default Level

1: Monitor level

Parameters

None

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 1-4 display bgp ipv6 multicast network command 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

Route policy configured

Short-cut

Shortcut route

 

display bgp ipv6 multicast paths

Syntax

display bgp ipv6 multicast paths [ 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 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 1-5 display bgp ipv6 multicast paths command 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 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).

?

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

View

Any view

Default Level

1: Monitor level

Parameters

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

ipv4-address: IPv4 address of a peer to be displayed.

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

log-info: Displays the log information of the specified peer.

verbose: Displays the detailed information of the peer.

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

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

 

Peer      V    AS  MsgRcvd  MsgSent  OutQ PrefRcv  Up/Down    State

 

20::21    4   200  17       19       0          3  00:09:59   Established

Table 1-6 display bgp ipv6 multicast peer command output description

Field

Description

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

Syntax

display bgp ipv6 multicast routing-table [ ipv6-address prefix-length ]

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.

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

 

 Total Number of Routes: 2

 

 BGP Local router ID is 30.30.30.1

 Status codes: * - valid, > - 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 1-7 display bgp ipv6 multicast routing-table command output description

Field

Description

Local router ID

Local router ID

Status codes

Status codes:

* - valid: valid 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

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 the route is interior to the AS. Summary routes and routes injected with the network command are considered IGP routes.

e

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

?

It 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

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

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

Refer to Table 1-7 for description on the fields above.

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 ]

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.

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

Refer to Table 1-7 for description on the fields above.

display bgp ipv6 multicast routing-table community-list

Syntax

display bgp ipv6 multicast routing-table community-list { basic-community-number [ whole-match ] | adv-community-number }&<1-16>

View

Any view

Default Level

1: Monitor level

Parameters

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

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

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

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

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

Refer to Table 1-7 for description on the fields above.

display bgp ipv6 multicast routing-table dampened

Syntax

display bgp ipv6 multicast routing-table dampened

View

Any view

Default Level

1: Monitor level

Parameters

None

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, > - 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 1-8 display bgp ipv6 multicast routing-table dampened command 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.

 

Refer to Table 1-7 for description on the other fields above.

display bgp ipv6 multicast routing-table dampening parameter

Syntax

display bgp ipv6 multicast routing-table dampening parameter

View

Any view

Default Level

1: Monitor level

Parameters

None

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 1-9 display bgp ipv6 multicast routing-table dampening parameter command 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

View

Any view

Default Level

1: Monitor level

Parameters

None

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, > - 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 details about the displayed information, see Table 1-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 ] ] ]

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.

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, > - 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 1-10 display bgp ipv6 multicast routing-table flap-info command output description

Field

Description

Flaps

Number of flaps

Duration

Duration of the flapping

Reuse

Reuse value

 

Refer to Table 1-7 for description on the other fields above.

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 ]

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.

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

Refer to Table 1-7 for description on the fields above.

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

Refer to Table 1-7 for description on the fields above.

display bgp ipv6 multicast routing-table statistic

Syntax

display bgp ipv6 multicast routing-table statistic

View

Any view

Default Level

1: Monitor level

Parameters

None

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

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 at present. 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 at present.

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 BGP routing domain.

route-policy-name: Name of a route policy used to filter redistributed routes, a string of 1 to 19 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 command to enter IPv6 MBGP address family view.

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

IPv4 BGP unicast view is the default.

Examples

# 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 route policy, a string of 1 to 19 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.

Note the following:

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

l          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 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: Route policy name, a string of 1 to 19 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.

Note the following:

If you both reference a route 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 route policy sets a specified non-zero preferred value for routes matching it. Other routes not matching the route policy uses the value set with the peer preferred-value command. If the preferred value specified in the route policy is zero, the routes matching it will also use the value set with the command. For information about using a route policy to set a preferred value, refer to 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 Route Policy Commands of the IP Routing Volume.

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, 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, in the range 1 to 6144.

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 tear down 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: Route policy name, a string of 1 to 19 characters.

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

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

Description

Use the peer route-policy command to apply a route 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 route 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 route policy referenced by the peer route-policy command will not be applied.

Refer to Route Policy Commands in the IP Routing Volume for related information.

Examples

# Apply the route 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: Route policy name, a string of 1 to 19 characters. Using a route 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, 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 tearing down 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.

flap-info: Clears routing flap information.

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