F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
500
Use undo peer group to delete a specified peer from a peer group.
Syntax
peer ip-address group group-name [ as-number as-number ]
undo peer ip-address group group-name
Default
No peer exists in a peer group.
Views
BGP view, BGP-VPN instance view
Default command level
2: System level
Parameters
group-name: Specifies the name of a peer group, a string of 1 to 47 characters.
ip-address: Specifies the IP address of a peer.
as-number: Specifies the AS number of the peer, in the range of 1 to 4294967295.
Usage guidelines
If you have specified an AS number for the peer to be added, make sure that the as-number argument is
consistent with the specified peer AS number.
If you have not created the peer to be added, the system automatically creates the peer when you execute
the command.
Examples
# In BGP view, add the peer 10.1.1.1 to the EBGP peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] group test external
[Sysname-bgp] peer test as-number 2004
[Sysname-bgp] peer 10.1.1.1 group test
# In BGP-VPN view, add the peer 10.1.1.1 to the EBGP peer group test. (The VPN has been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] group test external
[Sysname-bgp-ipv4-vpn1] peer test as-number 2004
[Sysname-bgp-ipv4-vpn1] peer 10.1.1.1 group test
peer ignore (BGP/BGP-VPN instance view)
Use peer ignore to disable session establishment with a peer or peer group.
Use undo peer ignore to remove the configuration.
Syntax
peer { group-name | ip-address } ignore
undo peer { group-name | ip-address } ignore