Peer Preferred-Value (Ipv6 Address Family View) - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

Examples

peer preferred-value (IPv6 address family view)

Syntax
View
Parameters
Description
Examples
By default, the system sets the next hop of routes advertised to an EBGP peer/peer
group to the local router, but does not set for routes outgoing to an IBGP
peer/peer group.
# Set the next hop of routes advertised to EBGP peer group test to the router
itself.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] group test external
[Sysname-bgp-af-ipv6] peer test next-hop-local
peer { ipv6-group-name | ipv6-address } preferred-value value
undo peer { ipv6-group-name | ipv6-address } preferred-value
IPv6 address family view
ipv6-group-name: Name of a peer group, a string of 1 to 47 characters.
ipv6-address: IPv6 address of a peer.
value: Preferred value, in the range 0 to 65535.
Use the
peer preferred-value
received from a peer or peer group.
Use the
undo peer preferred-value
By default, routes received from a peer or peer group have a preferred value of 0.
Routes learned from peers each have an initial preferred value. Among multiple
routes to the same destination, the route with the biggest value is selected.
Note that:
If you both reference a routing policy and use the command peer
{ ipv6-group-name | ipv6-address } preferred-value value to set a preferred value
for routes from a peer, the routing policy sets a non-zero preferred value for routes
matching it. Other routes not matching the routing policy uses the value set with
the command. If the preferred value in the routing policy is zero, the routes
matching it will also use the value set with the command. For information about
using a routing policy to set a preferred value, refer to "peer group (IPv6 address
family view)" on page 1251 and "peer route-policy (IPv6 address family
view)" on page 1258 { import | export } in this document and "apply
preferred-value" on page 1194.
# Configure the preferred value as 50 for routes from peer 1:2::3:4.
command to assign a preferred value to routes
command to restore the default.
1255

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents