peer ignore (BGP/BGP-VPN instance view)
Syntax
View
Parameters
Description
Examples
peer ip-prefix
Syntax
View
Parameters
peer { group-name | ip-address } ignore
undo peer { group-name | ip-address } ignore
BGP view/BGP-VPN instance view
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
Use the
peer ignore
command to disable session establishment with a peer or
peer group.
Use the
undo peer ignore
By default, session establishment with a peer or peer group is allowed.
After the peer ignore command is executed, the system disables the session with
the specified peer or peer group and clears all the related routing information. For
a peer group, this means all sessions with the peer group will be tore down.
# In BGP view, disable session establishment with peer 10.10.10.10.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 10.10.10.10 ignore
# In BGP-VPN instance view, disable session establishment with peer 10.10.10.10
(the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer 10.10.10.10 ignore
peer { group-name | ip-address } ip-prefix ip-prefix-name { export | import }
undo peer { group-name | ip-address } ip-prefix { export | import }
BGP view/BGP-VPN instance view
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
ip-prefix-name: IP prefix list name, a string of 1 to 19 characters.
command to remove the configuration.
995