Foundry Configuration Guide for the FESX, FSX, and FWSX
21 - 106
© Foundry Networks, Inc.
December 2005
You can specify a single neighbor or a peer group.
To close a neighbor session and thus flush all the routes exchanged by the Layer 3 Switch and the neighbor, enter
the following command:
FESX424 Router# clear ip bgp neighbor all
Syntax:
clear ip bgp neighbor all | <ip-addr> | <peer-group-name> | <as-num> [soft-outbound | soft [in | out]]
The
all
| <ip-addr> | <peer-group-name> | <as-num> specifies the neighbor. The <ip-addr> parameter specifies a
neighbor by its IP interface with the Layer 3 Switch. The <peer-group-name> specifies all neighbors in a specific
peer group. The <as-num> parameter specifies all neighbors within the specified AS. The
all
parameter specifies
all neighbors.
To resend routes to a neighbor without closing the neighbor session, enter a command such as the following:
FESX424 Router# clear ip bgp neighbor 10.0.0.1 soft out
Clearing and Resetting BGP4 Routes in the IP Route Table
To clear BGP4 routes from the IP route table and reset the routes, enter a command such as the following:
FESX424 Router# clear ip bgp routes
Syntax:
clear ip bgp routes [<ip-addr>/<prefix-length>]
NOTE:
The
clear ip bgp routes
command has the same effect as the
clear ip route
command, but applies only
to routes that come from BGP4.
Clearing Traffic Counters
You can clear the counters (reset them to 0) for BGP4 messages. To do so, use one of the following methods.
To clear the BGP4 message counter for all neighbors, enter the following command:
FESX424 Router# clear ip bgp traffic
Syntax:
clear ip bgp traffic
To clear the BGP4 message counter for a specific neighbor, enter a command such as the following:
FESX424 Router# clear ip bgp neighbor 10.0.0.1 traffic
To clear the BGP4 message counter for all neighbors within a peer group, enter a command such as the following:
FESX424 Router# clear ip bgp neighbor PeerGroup1 traffic
Syntax:
clear ip bgp neighbor all | <ip-addr> | <peer-group-name> | <as-num> traffic
The
all
| <ip-addr> | <peer-group-name> | <as-num> specifies the neighbor. The <ip-addr> parameter specifies a
neighbor by its IP interface with the Layer 3 Switch. The <peer-group-name> specifies all neighbors in a specific
peer group. The <as-num> parameter specifies all neighbors within the specified AS. The
all
parameter specifies
all neighbors.
Clearing Route Flap Dampening Statistics
To clear route flap dampening statistics, use the following CLI method.
NOTE:
Clearing the dampening statistics for a route does not change the dampening status of the route.
To clear all the route dampening statistics, enter the following command at any level of the CLI:
FESX424 Router# clear ip bgp flap-statistics
Содержание FastIron Edge Switch X424
Страница 36: ...Foundry Configuration Guide for the FESX FSX and FWSX 2 12 Foundry Networks Inc December 2005...
Страница 56: ...Foundry Configuration Guide for the FESX FSX and FWSX 3 20 Foundry Networks Inc December 2005...
Страница 70: ...Foundry Configuration Guide for the FESX FSX and FWSX 4 14 Foundry Networks Inc December 2005...
Страница 198: ...Foundry Configuration Guide for the FESX FSX and FWSX 8 38 Foundry Networks Inc December 2005...
Страница 316: ...Foundry Configuration Guide for the FESX FSX and FWSX 12 26 Foundry Networks Inc December 2005...
Страница 334: ...Foundry Configuration Guide for the FESX FSX and FWSX 13 18 Foundry Networks Inc December 22 2005...
Страница 350: ...Foundry Configuration Guide for the FESX FSX and FWSX 15 12 Foundry Networks Inc December 2005...
Страница 458: ...Foundry Configuration Guide for the FESX FSX and FWSX 18 18 Foundry Networks Inc December 2005...
Страница 712: ...Foundry Configuration Guide for the FESX FSX and FWSX 22 32 Foundry Networks Inc December 2005...
Страница 760: ...Foundry Configuration Guide for the FESX FSX and FWSX A 34 Foundry Networks Inc December 2005...
Страница 796: ...Foundry Configuration Guide for the FESX FSX and FWSX C 18 Foundry Networks Inc December 2005...
Страница 820: ...Foundry Configuration Guide for the FESX FSX and FWSX E 10 Foundry Networks Inc December 2005...