R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)
373
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] group test external
[Sysname-bgp-vpn1] peer test as-number 200
[Sysname-bgp-vpn1] peer 10.1.1.1 group test
[Sysname-bgp-vpn1] peer 10.1.2.1 group test
# In BGP view, create an EBGP peer group test with AS number 200, and add EBGP peers 1::1 and 1::2
into the group.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] group test external
[Sysname-bgp] peer test as-number 200
[Sysname-bgp] peer 1::1 group test
[Sysname-bgp] peer 1::2 group test
# In BGP-VPN instance view, create an EBGP peer group test with AS number 200, and add EBGP peers
1::1 and 1::2 into the group.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] group test external
[Sysname-bgp-vpn1] peer test as-number 200
[Sysname-bgp-vpn1] peer 1::1 group test
[Sysname-bgp-vpn1] peer 1::2 group test
Related commands
• display bgp group
• peer enable
ignore-first-as
Use ignore-first-as to configure BGP to ignore the first AS number of EBGP route updates.
Use undo ignore-first-as to restore the default.
Syntax
ignore-first-as
undo ignore-first-as
Default
BGP checks the first AS number of a received EBGP route update. If the first AS number is not that of the
BGP peer, the BGP router discards the route update.
Views
BGP view
Predefined user roles
network-admin