R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide
366
Specifying an IPv6 BGP peer
Ste
p
Command
Remarks
1. Enter system view.
system-view
N/A
2. Enter BGP view.
bgp as-number N/A
3. Specify a router ID.
router-id router-id
Optional.
Required, if no IP addresses are
configured for any interfaces.
4. Enter IPv6 address family view
or IPv6 BGP-VPN instance
view.
ipv6-family [ vpn-instance
vpn-instance-name ]
N/A
5. Specify an IPv6 peer.
peer ipv6-address as-number
as-number
N/A
Injecting a local IPv6 route
Ste
p
Command
Remarks
1. Enter system view.
system-view
N/A
2. Enter BGP view.
bgp as-number N/A
3. Enter IPv6 address family view
or IPv6 BGP-VPN instance
view.
ipv6-family [ vpn-instance
vpn-instance-name ]
N/A
4. Inject a local route into the
IPv6 BGP routing table.
network ipv6-address prefix-length
[ route-policy route-policy-name |
short-cut ]
Not added by default.
Configuring a preferred value for routes from a peer or peer
group
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 the specific
preferred value for routes matching it. If the preferred value in the routing policy is zero, the routes use the
value set with the peer { ipv6-group-name | ipv6-address } preferred-value value command. For
information about using a routing policy to set a preferred value, see the command peer { group-name
| ipv4-address | 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.
To configure a preferred value for routes received from a peer or peer group:
Ste
p
Command
Remarks
1. Enter system view.
system-view
N/A
2. Enter BGP view.
bgp as-number N/A