UMN:CLI
User Manual
V8102
630
neighbor distribute-list command is an alternative to this command and only one of them
can be used for filtering to the same neighbor in any direction.
To specify a prefix list for filtering BGP advertisements, use the following command.
Command
Mode
Description
neighbor
{
A.B.C.D
|
X:X::X:X
|
WORD
}
prefix-list WORD
{
in |
out
}
Router
Specifies the BGP port number of a neighbor.
A.B.C.D: BGP neighbor IP address
X:X::X:X: BGP neighbor IPv6 address
WORD: BGP peer group or neighbor tag
no neighbor
{
A.B.C.D
|
X:X::X:X
|
WORD
}
prefix-list WORD
{
in |
out
}
Deletes the configured entry.
12.1.17.31
Private AS Configuration
Private AS numbers are not advertised to the Internet. This command is used with exter-
nal BGP peers only. The router removes the AS numbers only if the update includes pri-
vate AS numbers. If the update includes both private and public AS numbers, the system
treats it as an error.
To remove the private Autonomous System (AS) number from outbound updates, use the
following command.
Command
Mode
Description
neighbor
{
A.B.C.D
|
X:X::X:X
|
WORD
}
remove-private-AS
Router
AF
Removes the private AS number from outbound up-
dates.
A.B.C.D: BGP neighbor IP address
X:X::X:X: BGP neighbor IPv6 address
WORD: BGP peer group or neighbor tag
no neighbor
{
A.B.C.D
|
X:X::X:X
|
WORD
}
remove-private-AS
Reverts to the default.
12.1.17.32
Source of Routing Updates
The loopback interface is that is most commonly used with the following command. The
use of loopback interface eliminates a dependency and BGP doest not have to rely on the
availability of a particular interface for making TCP connection. It is used in conjunction
with any specified interface on the router
To allow internal BGP sessions to use any operation interface for TCP connection, use
the following command.
Command
Mode
Description
neighbor
{
A.B.C.D
|
WORD
}
update-source INTERFACE
Router
Allows internal BGP sessions to use any operation
interface for TCP connections.
A.B.C.D: BGP neighbor IP address
WORD: neighbor tag
INTERFACE: loopback interface name or IP address
no neighbor
{
A.B.C.D
|
WORD
}
Restores the interface assignment to the closest inter-