HP HPE FlexNetwork 7500 series Configuration Manual page 280

Table of Contents

Advertisement

Removing private AS numbers from updates sent to an EBGP peer or peer group
Private AS numbers are typically used in test networks, and should not be transmitted in public
networks. The range of private AS numbers is from 64512 to 65535.
To remove private AS numbers from updates sent to an EBGP peer or peer group (IPv4
unicast/multicast address family):
Step
1.
Enter system view.
2.
Enter BGP IPv4 unicast
address family view,
BGP-VPN IPv4 unicast
address family view, or BGP
IPv4 multicast address family
view.
3.
Configure BGP to remove
private AS numbers from the
AS_PATH attribute of
updates sent to an EBGP
peer or peer group.
To remove private AS numbers from updates sent to an EBGP peer or peer group (IPv6
unicast/multicast address family):
Step
1.
Enter system view.
Command
system-view
Enter BGP IPv4 unicast
address family view:
a. bgp as-number
[ instance
instance-name ]
b. address-family ipv4
[ unicast ]
Enter BGP-VPN IPv4 unicast
address family view:
c. bgp as-number
[ instance
instance-name ]
d. ip vpn-instance
vpn-instance-name
e. address-family ipv4
[ unicast ]
Enter BGP IPv4 multicast
address family view:
f. bgp as-number
[ instance
instance-name ]
g. address-family ipv4
multicast
peer { group-name | ipv4-address
[ mask-length ] } public-as-only
Command
system-view
268
Remarks
N/A
N/A
By default, BGP updates sent to
an EBGP peer or peer group can
carry both public and private AS
numbers.
This command is applicable only
to EBGP peers or peer groups.
Remarks
N/A

Advertisement

Table of Contents
loading

Table of Contents