- clear bgp
- clear bgp dampening
- clear bgp flap-statistics
- cl ear bgp policy statistics aggregate-address
- cl ear bgp policy statistics dampening
- cl ear bgp policy statistics neighbor
- cl ear 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
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to clear all BGP entries:
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
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to clear BGP route flap dampening information:
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
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to clear BGP route 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
Summary address. The format is x. x. x. x or x. x. x. x / length. The range is from 1 to 32. |
|
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to clear policy statistics for an aggregate address:
Related Commands
|
|
---|---|
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
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to clear policy statistics for dampening:
Related Commands
|
|
---|---|
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
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to clear policy statistics for an aggregate address:
Related Commands
|
|
---|---|
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
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to clear policy statistics for RIP:
Related Commands
|
|
---|---|
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
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to clear all BGP entries for the IPv4 address family:
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
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to clear BGP route flap dampening information:
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
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to clear BGP route 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.
no client-to-client reflection
Syntax Description
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
|
|
---|---|
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:
Related Commands
|
|
---|---|
Places the router in address family configuration mode for configuring routing sessions that use standard IPv4 address prefixes. |
|
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
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to configure the confederation identifier:
Related Commands
|
|
---|---|