R0106-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V7)

258
Ste
p
Command
Remarks
3. Configure BGP to remove
private AS numbers from the
AS_PATH attribute of updates
sent to an EBGP peer or peer
group.
peer { group-name |
ipv6-address } public-as-only
By default, this feature is not
configured.
This command is only applicable to
EBGP peers or peer groups.
Ignoring the first AS number of EBGP route updates
By default, BGP checks whether the first AS number in the AS_PATH attribute of a route update received
from a peer is the AS number of that peer. If not, BGP discards the route update.
To ignore the first AS number of EBGP route updates:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter BGP view.
bgp as-number N/A
3. Configure BGP to ignore the first AS
number of EBGP route updates.
ignore-first-as
By default, BGP checks the
first AS number of EBGP
route updates.
Configuring the SoO attribute
After you configure the SoO attribute for a BGP peer or peer group, BGP adds the SoO attribute into the
route updates received from the BGP peer or peer group. In addition, before advertising route updates
to the peer or peer group, BGP checks the SoO attribute of the route update against the configured SoO
attribute. If they are the same, BGP does not advertise the route updates to the BGP peer or peer group.
To configure the SoO attribute (IPv4 unicast/multicast address family):
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter BGP IPv4 unicast address
family view, BGP-VPN IPv4
unicast address family view, or
BGP IPv4 multicast address
family view.
Enter BGP IPv4 unicast address
family view:
a. bgp as-number
b. address-family ipv4
[ unicast ]
Enter BGP-VPN IPv4 unicast
address family view:
c. bgp as-number
d. ip vpn-instance
vpn-instance-name
e. address-family ipv4
[ unicast ]
Enter BGP IPv4 multicast
address family view:
f. bgp as-number
g. address-family ipv4
multicast
N/A