Syntax Description

Clears policy statistics for the Open Shortest Path First (OSPF) protocol.

rip

Clears policy statistics for the Routing Information Protocol (RIP).

static

Clears policy statistics for IP static routes.

id

For the eigrp keyword, an EIGRP instance name from which routes are to be redistributed. The value takes the form of a string. You can enter a decimal number, but Cisco Nexus 6000 stores it internally as a string.

For the ospf keyword, an OSPF instance name from which routes are to be redistributed. The value takes the form of a string. You can enter a decimal number, but Cisco Nexus 6000 stores it internally as a string.

vrfvrf-name

(Optional) Specifies a particular virtual routing and forwarding (VRF) instance. The VRF name is an alphanumeric string of up to 32 characters.

Syntax Description

(Optional) Neighbor from the selected address family. The format is A.B.C.D for IPv4.

prefix

(Optional) Prefix from the selected address family. The format is A.B.C.D/length for IPv4.

vrfvrf-name

(Optional) Specifies a particular virtual routing and forwarding (VRF) instance. The VRF name can be any case-sensitive, alphanumeric string up to 32 characters.

all

(Optional) Clears the BGP information from all VRF entries.

default

(Optional) Clears the BGP information from the default VRF.

management

(Optional) Clears the BGP information from the management VRF.

Command Default

None

Command Modes

Any command mode

Command History

Release

Modification

6.0(2)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

Release

Modification

6.0(2)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

Command

Description

address-family (BGP router)

Places the router in address family configuration mode for configuring routing sessions that use standard IPv4 address prefixes.

show ip bgp

Displays entries in the BGP routing table.

confederation

To configure the confederation parameters for the Border Gateway Protocol (BGP), use the confederation command.

confederation {identifier | peers} as-number

Syntax Description

identifier

Sets the routing domain confederation autonomous system (AS) number.

peers

Sets the peer AS numbers for a BGP confederation.

as-number

Autonomous system number. The AS number can be a 16-bit integer or a 32-bit integer in the form of <higher 16-bit decimal number>.<lower 16-bit decimal number>.