H3C S7500E Series Ethernet Switches Operation Manual

Operation Manual – IPv6 Routing
H3C S7500E Series Ethernet Switches Chapter 5 IPv6 BGP Configuration
5-4
5.3.3 Advertising 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
Required
Enter IPv6 address family
view
ipv6-family
Add a local route into IPv6
BGP routing table
network ipv6-address
prefix-length [ short-cut |
route-policy
route-policy-name ]
Required
Not added by default
5.3.4 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
Required
Enter IPv6 address family
view
ipv6-family
Configure a preferred
value for routes received
from a peer/peer group
peer { ipv6-group-name |
ipv6-address }
preferred-value value
Optional
By default, the preferred
value is 0.
Note:
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 the peer { ipv6-group-name | ipv6-address } route-policy route-policy-name
{ import | export } command and the apply preferred-value preferred-value
command.