268
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
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
[
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
N/A
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
|
ipv4-address
[
mask-length
] }
public-as-only
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.
To remove private AS numbers from updates sent to an EBGP peer or peer group (IPv6
unicast/multicast address family):
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
Содержание HPE FlexNetwork 7500 series
Страница 505: ...493 Connector N A ...