6-56
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.
ip-address
: IP address of a peer.
Description
Use the
peer ignore
command to disable session establishment with a peer or peer group.
Use the
undo peer ignore
command to remove the configuration.
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.
Examples
# 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 ip-prefix
Syntax
peer
{
group-name
|
ip-address
}
ip-prefix
ip-prefix-name
{
export
|
import
}
undo peer
{
group-name
|
ip-address
}
ip-prefix
{
export
|
import
}
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.
ip-address
: IP address of a peer.
ip-prefix-name
: IP prefix list name, a string of 1 to 19 characters.
export
: Applies the filter to routes advertised to the specified peer/peer group.
import
: Applies the filter to routes received from the specified peer/peer group.