DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
79
7-23 clear ip bgp vrf
This command is used to reset BGP connections using hard or soft reset for IPv4 VRF address family sessions.
clear ip bgp vrf
VRF-NAME
{all |
IP-ADDRESS
|
AS-NUMBER
} [soft [{in [prefix-filter] | out}]]
prefix-filter
(Optional) Specifies to clear the existing outbound route filter (ORF) prefix list to
trigger a new route refresh or soft reconfiguration, which updates the ORF prefix list.
out
(Optional) Specifies to initiate inbound or outbound reconfiguration. If neither the in
nor the out keywords are specified, both inbound and outbound sessions will reset.
soft
(Optional) Specifies to initiate a soft reset. Does not tear down the session.
Default
None.
Command Mode
Privileged Mode.
Command Default Level
Level: 8. (
EI Mode Only Command
)
Usage Guideline
This command can be used to initiate a hard reset or soft reconfiguration of BGP
neighbor sessions.
If a hard reset is applied to the inbound session, the inbound session will be torn
down and the local inbound routing table and the remote outbound routing table will
be cleared.
If a soft reset is applied to the inbound session, the session will not be rebuilt but the
local inbound routing table will be cleared and needs to be rebuilt.
If a soft reconfiguration inbound is enabled, then the routing table can be rebuilt
based on the stored route update information. If a soft reconfiguration inbound is
disabled, then the local router will send a route refresh request to the neighbor to ask
for the route refresh.
When the inbound session undergoes a soft reset with the prefix filter option, and the
capability of the prefix-list is enabled, in the sending direction, then the local BGP will
send a ‘clear the routing table’ request, and notify the remote neighbor for the prefix
filter.
This is a way to notify the neighbor of the prefix filter whenever a change is made to
the prefix filter.
Example
In the following example, a soft reconfiguration is initiated for the inbound session
with the neighbor 10.100.0.1, and the outbound session is unaffected.
DXS-3600-32S#clear ip bgp 10.100.0.1 soft in
DXS-3600-32S#
Example
In the following example, the route refresh capability is enabled on BGP neighbor
routers. The existing outbound route filter (ORF) prefix list from the peer 172.16.10.2
is cleared, The new route refresh, which updates the ORF prefix list, is triggered.
DXS-3600-32S#clear ip bgp 172.16.10.2 soft in prefix-filter
DXS-3600-32S#
Example
In the following example, a hard reset is initiated for sessions with all routers in the
autonomous system numbered 35700.
DXS-3600-32S#clear ip bgp 35700
DXS-3600-32S#
Summary of Contents for DXS-3600-16S
Page 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Page 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Page 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Page 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Page 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Page 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Page 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...