HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Routing Comma - Page 332
peer public-as-only (IPv6 address family view
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 332 highlights
Parameters 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 of 0 to 65535. Description Use peer preferred-value to assign a preferred value to routes received from a peer or peer group. Use undo peer preferred-value to restore the default. 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. 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 how to use 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." Examples # Configure the preferred value as 50 for routes from peer 1:2::3:4. system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] peer 1:2::3:4 preferred-value 50 peer public-as-only (IPv6 address family view) Syntax peer { ipv6-group-name | ipv6-address } public-as-only View undo peer { ipv6-group-name | ipv6-address } public-as-only IPv6 address family view Default level 2: System level Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer. Description Use peer public-as-only to configure IPv6 BGP updates to a peer/peer group to not carry private AS numbers. Use undo peer public-as-only to allow IPv6 BGP updates to a peer/peer group to carry private AS numbers. 321