Reference Guide 676 Document #: LTRT-17939
Mediant MSBR
Default
NA
Command Mode
Privileged User
Example
This example joins a specific peer to group1.
(config-data)# router bgp 1
(conf-router)# neighbor 10.12.5.101 peer-group group1
75.2.2.68 neighbor local-as
This command specifies a local Autonomous System number.
Syntax
neighbor {<neighbor tag>|a.b.c.d|X:X::X:X} local-as <AS number>
[no-prepend]
Command Description
a.b.c.d|X:X::X:X Defines the IP address of the neighbor (IPv4 or IPv6).
neighbor tag Defines the neighbor tag.
AS number Defines a local AS number (1-65535).
no-prepend Does not prepend local-as to updates from BGP peers.
Default
NA
Command Mode
Privileged User
Example
This example configures the router to not prepend the Autonomous System number 200 to
routes that are received from external peers.
(config-data)# router bgp 1
(conf-router)# neighbor 10.12.5.10 remote-as 100
(conf-router)# neighbor 10.12.5.10 local-as 200 no-prepend
75.2.2.69 neighbor interface
This command defines the Layer 3 interface.