EasyManuals Logo
Home>HP>Switch>5920 Series

HP 5920 Series User Manual

HP 5920 Series
607 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #356 background imageLoading...
Page #356 background image
343
# In BGP VPNv4 address family view, configure the number of times the local AS number can appear in
AS_PATH attribute of routes from peer group test as 2.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family vpnv4
[Sysname-bgp-vpnv4] peer test allow-as-loop 2
# In BGP-VPN IPv6 unicast address family view, configure the number of times the local AS number can
appear in AS_PATH attribute of routes from peer group test as 2.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] address-family ipv6 unicast
[Sysname-bgp-ipv6-vpn1] peer test allow-as-loop 2
# In BGP L2VPN address family view, configure the number of times the local AS number can appear in
AS_PATH attribute of routes from peer group test as 2.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family l2vpn
[Sysname-bgp-l2vpn] peer test allow-as-loop 2
peer as-number (for a BGP peer)
Use peer as-number to create a BGP peer and specify its AS number.
Use undo peer to delete a BGP peer.
Syntax
peer { ip-address | ipv6-address } as-number as-number
undo peer { ip-address | ipv6-address }
Default
No BGP peer is created.
Views
BGP view, BGP-VPN instance view
Predefined user roles
network-admin
Parameters
ip-address: Specifies the IP address of a peer.
ipv6-address: Specifies the IPv6 address of a peer.
as-number: Specifies an AS number for the peer, in the range of 1 to 4294967295. If the AS numbers of
the peer and the local router are the same, the peer is an IBGP peer. If they are different, the peer is an
EBGP peer.
Usage guidelines
You can also create a peer and add it to a peer group by using the peer group command.

Table of Contents

Other manuals for HP 5920 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 5920 Series and is the answer not in the manual?

HP 5920 Series Specifications

General IconGeneral
BrandHP
Model5920 Series
CategorySwitch
LanguageEnglish

Related product manuals