- clear bgp
- clear bgp dampening
- clear bgp flap-statistics
- clear bgp policy statistics aggregate-address
- clear bgp policy statistics dampening
- clear bgp policy statistics neighbor
- clear bgp policy statistics redistribute
- clear ip bgp
- clear ip bgp dampening
- clear ip bgp flap-statistics
- client-to-client reflection
- confederation
C Commands
This chapter describes the Cisco NX-OS Border Gateway Protocol (BGP) commands that begin with C.
clear bgp
To clear Border Gateway Protocol (BGP) routes from the BGP table, use the clear bgp command.
clear bgp {ipv4 {multicast | unicast} | all} {neighbor | * | as-number | peer-template name | prefix} [vrf vrf-name]
Syntax Description
Command Default
None
Command Modes
Any command mode
Command History
|
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
Usage Guidelines
This command requires the LAN Enterprise Services license.
Examples
This example shows how to clear all BGP entries:
switch# clear bgp all *
clear bgp dampening
To clear Border Gateway Protocol (BGP) route flap dampening information, use the clear bgp dampening command.
clear bgp {ipv4 {unicast | multicast} | all} dampening [neighbor | prefix] [vrf vrf-name | all | default | management]
Syntax Description
Command Default
None
Command Modes
Any command mode
Command History
|
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
Usage Guidelines
This command requires the LAN Enterprise Services license.
Examples
This example shows how to clear BGP route flap dampening information:
switch# clear bgp all dampening
clear bgp flap-statistics
To clear Border Gateway Protocol (BGP) route flap statistics, use the clear bgp flap-statistics command.
clear bgp {ipv4 {multicast | unicast} | all} flap-statistics [neighbor | prefix] [vrf vrf-name | all | default | management]
Syntax Description
Command Default
None
Command Modes
Command HistoryAny command mode
|
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
Usage Guidelines
This command requires the LAN Enterprise Services license.
Examples
This example shows how to clear BGP route flap statistics:
switch# clear bgp ipv4 multicast flap-statistics
clear bgp policy statistics aggregate-address
To clear policy statistics for the Border Gateway Protocol (BGP) topology table, use the clear bgp policy statistics aggregate address command.
clear bgp policy statistics aggregate-address prefix {advertise-map | suppress-map}
Syntax Description
Command Default
None
Command Modes
Command HistoryAny command mode
|
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
Usage Guidelines
This command requires the LAN Enterprise Services license.
Examples
This example shows how to clear policy statistics for an aggregate address:
switch# clear bgp policy statistics aggregate-address 192.0.2.0/8
Related Commands
|
|
---|---|
show bgp policy statistics |
Displays BGP policy statistics. |
clear bgp policy statistics dampening
To clear policy statistics for the Border Gateway Protocol (BGP) dampening, use the clear bgp policy statistics dampening command.
clear bgp policy statistics dampening
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
Command HistoryAny command mode
|
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
Usage Guidelines
This command requires the LAN Enterprise Services license.
Examples
This example shows how to clear policy statistics for dampening:
switch# clear bgp policy statistics dampening
Related Commands
|
|
---|---|
show bgp policy statistics |
Displays BGP policy statistics. |
clear bgp policy statistics neighbor
To clear policy statistics for the Border Gateway Protocol (BGP) neighbor, use the clear bgp policy statistics neighbor command.
clear bgp policy statistics neighbor prefix [default-originate | {filter-list | prefix-list | route-map} {in | out}]
Syntax Description
Command Default
None
Command Modes
Command HistoryAny command mode
|
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
Usage Guidelines
This command requires the LAN Enterprise Services license.
Examples
This example shows how to clear policy statistics for an aggregate address:
switch# clear bgp policy statistics neighbor 192.0.2.1 filter-list in
Related Commands
|
|
---|---|
show bgp policy statistics |
Displays BGP policy statistics. |
clear bgp policy statistics redistribute
To clear policy statistics for the Border Gateway Protocol (BGP) topology table, use the clear bgp policy statistics redistribute command.
clear bgp policy statistics redistribute {direct | eigrp id | ospf id | rip id | static} [vrf {vrf-name | all | default | management}]
Syntax Description
Command Default
None
Command Modes
Command HistoryAny command mode
|
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
Usage Guidelines
This command requires the LAN Enterprise Services license.
Examples
This example shows how to clear policy statistics for RIP:
switch# clear bgp policy statistics redistribute rip 201
Related Commands
|
|
---|---|
show bgp policy statistics |
Displays BGP policy statistics. |
clear ip bgp
To clear Border Gateway Protocol (BGP) routes from the BGP table, use the clear ip bgp command.
clear ip bgp {ipv4 {unicast | multicast} | all} {neighbor | * | as-number | peer-template name | prefix} [vrf vrf-name | all | default | management]
Syntax Description
Command Default
None
Command Modes
Command HistoryAny command mode
|
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
Usage Guidelines
This command requires the LAN Enterprise Services license.
Examples
This example shows how to clear all BGP entries for the IPv4 address family:
switch# clear ip bgp *
clear ip bgp dampening
To clear Border Gateway Protocol (BGP) route flap dampening information, use the clear ip bgp dampening command.
clear ip bgp [ipv4 {unicast | multicast} | all] dampening [neighbor | prefix]
[vrf vrf-name | all | default | management]
Syntax Description
Command Default
None
Command Modes
Command HistoryAny command mode
|
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
Usage Guidelines
This command requires the LAN Enterprise Services license.
Examples
This example shows how to clear BGP route flap dampening information:
switch# clear ip bgp dampening
clear ip bgp flap-statistics
To clear Border Gateway Protocol (BGP) route flap statistics, use the clear ip bgp flap-statistics command.
clear ip bgp flap-statistics [neighbor | prefix] [vrf vrf-name | all | default | management]
Syntax Description
Command Default
None
Command Modes
Command HistoryAny command mode
|
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
Usage Guidelines
This command requires the LAN Enterprise Services license.
Examples
This example shows how to clear BGP route flap statistics:
switch# clear ip bgp flap-statistics
client-to-client reflection
To enable or restore route reflection from a Border Gateway Protocol (BGP) route reflector to clients, use the client-to-client reflection command. To disable client-to-client route reflection, use the no form of this command.
client-to-client reflection
no client-to-client reflection
Syntax Description
This command has no arguments or keywords.
Command Default
Client-to-client route reflection is enabled by default; when a route reflector is configured, the route reflector reflects routes from a client to other clients.
Command Modes
Router address-family configuration mode
Command History
|
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
Usage Guidelines
By default, the clients of a route reflector are not required to be fully meshed and the routes from a client are reflected to other clients. However, if the clients are fully meshed, route reflection is not required. In this case, use the no client-to-client reflection command to disable client-to-client reflection.
Examples
This example shows how to configure a router as a route reflector:
switch(config)# router bgp 50000
switch(config-router)# address-family ipv4 multicast
switch(config-router-af)# client-to-client reflection
switch(config-router-af)#
Related Commands
confederation
To configure the confederation parameters for the Border Gateway Protocol (BGP), use the confederation command.
confederation {identifier | peers} as-number
Syntax Description
Command Default
None
Command Modes
Command HistoryRouter configuration mode
Router VRF mode
|
|
5.0(3)N1(1) |
This command was introduced. |
Usage Guidelines
This command requires the LAN Enterprise Services license.
Examples
This example shows how to configure the confederation identifier:
switch# configure terminal
switch(config)# router bgp 65536.33
switch(config-router)# confederation identifier 65536.33
Related Commands
|
|
---|---|
show bgp |
Displays information about BGP. |