Configuring The Default Local Preference - HP 6125XLG Layer 3 - Ip Routing Configuration Manual

Blade switch
Hide thumbs Also See for 6125XLG:
Table of Contents

Advertisement

Step
1.
Enter system view.
2.
Enter BGP view or BGP-VPN
instance view.
3.
Enter BGP IPv4 unicast
address family view or
BGP-VPN IPv4 unicast
address family view.
4.
Configure preferences for
EBGP, IBGP, and local BGP
routes.
5.
Configure an EBGP route as a
shortcut route.
To configure preferences for BGP routes (IPv6):
Step
1.
Enter system view.
2.
Enter BGP view or BGP-VPN
instance view.
3.
Enter BGP IPv6 unicast
address family view or
BGP-VPN IPv6 unicast
address family view.
4.
Configure preferences for
EBGP, IBGP, and local BGP
routes.
5.
Configure an EBGP route as a
shortcut route.

Configuring the default local preference

The local preference is used to determine the best route for traffic leaving the local AS. When a BGP
router obtains from several IBGP peers multiple routes to the same destination, but with different next
hops, it considers the route with the highest local preference as the best route.
This task allows you to specify the default local preference for routes sent to IBGP peers.
Command
system-view
Enter BGP view:
bgp as-number
Enter BGP-VPN instance view:
a.
bgp as-number
b.
ip vpn-instance
vpn-instance-name
address-family ipv4 [ unicast ]
preference { external-preference
internal-preference
local-preference | route-policy
route-policy-name }
network ip-address [ mask |
mask-length ] short-cut
Command
system-view
Enter BGP view:
bgp as-number
Enter BGP-VPN instance view:
a.
bgp as-number
b.
ip vpn-instance
vpn-instance-name
address-family ipv6 [ unicast ]
preference { external-preference
internal-preference
local-preference | route-policy
route-policy-name }
network ipv6-address prefix-length
short-cut
218
Remarks
N/A
N/A
N/A
The default preferences for EBGP,
IBGP, and local BGP routes are
255, 255, and 130.
By default, an EBGP route has a
preference of 255.
Remarks
N/A
N/A
N/A
The default preferences for EBGP,
IBGP, and local BGP routes are
255, 255, and 130.
By default, an EBGP route has a
preference of 255.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5920 series5900 series

Table of Contents