6-32
ebgp-interface-sensitive
Syntax
ebgp-interface-sensitive
undo ebgp
-
interface-sensitive
View
BGP view, BGP-VPN instance view
Default Level
2: System level
Parameters
None
Description
Use the
ebgp-interface-sensitive
command to enable the clearing of EBGP session on any interface
that becomes down.
Use the
undo
ebgp-interface-sensitive
command to disable the function.
This function is enabled by default.
Examples
# In BGP view, enable the clearing of EBGP session on any interface that becomes down.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ebgp-interface-sensitive
# In BGP-VPN instance view, enable the clearing of EBGP session on any interface that becomes
down (the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] ebgp-interface-sensitive
filter-policy export (BGP/BGP-VPN instance view)
Syntax
filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name
}
export
[
direct
|
isis
process-id
|
ospf
process-id
|
rip
process-id
|
static
]
undo filter-policy
export
[
direct
|
isis process-id
|
ospf process-id
|
rip process-id
|
static
]
View
BGP view, BGP-VPN instance view
Default Level
2: System level
Parameters
acl-number
: Number of an ACL used to filter outgoing routing information, ranging from 2000 to 3999.