Version 7.2 663 Mediant MSBR
Reference Guide 75. Layer-3 Commands
(conf-router)# neighbor 10.5.20.100 interface vlan 4
75.2.2.47 neighbor next-hop-self
This command specifies an announced route’s next hop as being equivalent to the
address of the bgp router.
Syntax
neighbor {<neighbor tag>|a.b.c.d|X:X::X:X} next-hop-self
no neighbor peer next-hop-self
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.
Default
NA
Command Mode
Privileged User
Example
This example specifies an announced route’s next hop.
(config-data)# router bgp 1
(conf-router)# neighbor 10.12.50.103 next-hop-self
75.2.2.48 neighbor update-source
This command specifies the IPv4 source address to use for the BGP session to this neighbor.
Syntax
neighbor {<neighbor tag>|a.b.c.d|X:X::X:X} update-source
<interface> <interface ID>
neighbor peer {<neighbor tag>|a.b.c.d|X:X::X:X} update-source
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.
Interface Type (ifname) Interface ID
gigabitethernet GigabitEthernet interface slot
and port (VLAN ID is optional)
[SLOT/PORT.VLANID]