ESR series service routers.ESR-Series. User manual
Step Description Command Keys
34 Define the type of neighbor configured 
routing information and switch to this 
configuration mode.
esr(config-bgp-neighbor)# 
address-family { ipv4 | ipv6 | 
vpnv4 } unicast
ipv 4 – IPv4 family;
ipv 6 – IPv6 family;
vpnv4 –VPNv4 family.
35 If prefix list filtering mode is selected, 
add subnet filtering in incoming or 
outgoing updates ( Mandatory when 
configuring eBGP for subnet 
advertisement).
esr(config-bgp-neighbor-af)# 
prefix-list <PREFIX-LIST-NAME> 
{ in | out }
<PREFIX-LIST-NAME> – name 
of a subnet list being 
configured, set by the string of 
up to 31 characters.
in– incoming routes filtering;
out– outgoing routes filtering.
36 Set the mode in which the default route 
is always sent to the BGP neighbor in 
the update along with other routes 
(optional, none for vpnv4).
esr(config-bgp-neighbor-af)# 
default-originate
37 Set the mode in which all updates are 
sent to BGP neighbor with the IP 
address of a local router outgoing 
interface as the next-hop (optional, 
none for vpnv4).
esr(config-bgp-neighbor-af)# 
next-hop-self
38 Define the precedence of the routes 
received from a neighbor (optional).
esr(config-bgp-neighbor-af)# 
preference <VALUE>
<VALUE> – neighbor routes 
precedence, takes values in the 
range of [1..255].
Default value: 170.
39 Set the mode in which private numbers 
of autonomous systems are removed 
from the AS Path routes BGP attribute 
before sending an update (in 
accordance with RFC 6996) (optional, 
none for vpnv4).
esr(config-bgp-neighbor-af)# 
remove-private-as [ { all | nearest | 
replace } ]
all – remove all private AS 
number from AS-path;
nearest – replace the nearest 
private AS in the AS-path with a 
nearby public AS;
replace – replace all private AS 
numbers with the number of 
the current BGP process.
Default value: all.
40 Enable routing information exchange. esr(config-bgp-neighbor-af)# 
enable