R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
381
View
BGP view, BGP-VPN instance view
Default level
2: System level
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
external: Creates an eBGP peer group, which can be the group of another sub AS in a confederation.
internal: Creates an iBGP peer group.
Description
Use group to create a peer group.
Use undo group to delete a peer group.
An iBGP peer group is created if neither internal nor external is specified.
Examples
# In BGP view, create an eBGP peer group test with AS number 200, and add eBGP peers 10.1.1.1 and
10 .1. 2 .1 i n t o t h e g r o u p .
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] group test external
[Sysname-bgp] peer test as-number 200
[Sysname-bgp] peer 10.1.1.1 group test
[Sysname-bgp] peer 10.1.2.1 group test
# In BGP-VPN instance view, create an eBGP peer group test with AS number 200, and add eBGP peers
10 .1.1.1 a n d 10 .1. 2 .1 i n t o t h e g r o u p ( t h e V P N h a s b e e n c r e a t e d ) .
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family 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
ignore-first-as
Syntax
ignore-first-as
undo ignore-first-as
View
BGP view
Parameters
None