Connectivity Guide

Table Of Contents
Supported Releases 10.4.1.0 or later
bgp default local-preference
Changes the default local preference value for routes exchanged between internal BGP peers.
Syntax
default local-preference number
Parameters number — Enter a number to assign to routes as the degree of preference for those routes. When routes
compare, the route with the higher degree of preference or the local preference value is most preferred, from 1 to
4294967295.
Default 100
Command Mode ROUTER-BGP
Usage Information All routers apply this command setting within the AS. The no version of this command removes local preference
value.
Example
OS10(conf-router-bgp-1)# default local-preference 200
Supported Releases 10.3.0E or later
ebgp-multihop
Allows EBGP neighbors on indirectly connected networks.
Syntax
ebgp-multihop hop count
Parameters hop count — Enter a value for the number of hops, from 1 to 255.
Default 1
Command Mode ROUTER-NEIGHBOR
Usage Information This command avoids installation of default multihop peer routes to prevent loops and creates neighbor
relationships between peers. Networks indirectly connected are not valid for best path selection. The no version of
this command removes multihop session.
Example
OS10(conf-router-neighbor)# ebgp-multihop 2
Supported Releases 10.3.0E or later
enforce-rst-as
Enforces the rst AS in the AS path of the route received from an EBGP peer to be the same as the congured remote AS.
Syntax
enforce-first-as
Parameters None
Default Enabled
Command Mode ROUTER-BGP
Usage Information To verify statistics of routes rejected, use the show ip bgp neighbors command. If routes are rejected, the
session is reset. In the event of a failure, the existing BGP sessions ap. For updates received from EBGP peers,
Layer 3 365