beautypg.com

Injecting a local ipv6 route, Configuring a preferred value for routes from a, Peer/peer group – H3C Technologies H3C S7500E Series Switches User Manual

Page 333

background image

11-4

Injecting a Local IPv6 Route

Follow these steps to configure advertise a local route into the routing table:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Enter IPv6 address family view

ipv6-family

Inject a local route into the IPv6

BGP routing table

network ipv6-address

prefix-length [ short-cut |

route-policy route-policy-name ]

Required

Not added by default

Configuring a Preferred Value for Routes from a Peer/Peer Group

Follow these steps to configure a preferred value for routes received from a peer/peer group:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Enter IPv6 address family view

ipv6-family

Configure a preferred value for

routes received from an IPv6

peer/peer group

peer { ipv6-group-name |

ipv6-address } preferred-value

value

Optional

By default, the preferred value is 0.

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/peer group, 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, 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 Routing Policy Configuration Commands of the Layer 3 - IP

Routing Command Reference.