Cisco IOS IP Command Reference, Volume 2 of 4: Routing Protocols, Release 12.3 T
IP Routing Protocols Commands: C through H

Table Of Contents

capability lls

capability transit

capability vrf-lite

clear bgp nsap

clear bgp nsap dampening

clear bgp nsap external

clear bgp nsap flap-statistics

clear bgp nsap peer-group

clear ip bgp

clear ip bgp dampening

clear ip bgp external

clear ip bgp flap-statistics

clear ip bgp in prefix-filter

clear ip bgp peer-group

clear ip bgp table-map

clear ip bgp update-group

clear ip eigrp neighbors

clear ip eigrp vrf neighbor

clear ip ospf

clear ip ospf traffic

clear ip prefix-list

clear isis lsp-full

clear isis rib redistribution

compatible rfc1583

continue

dampening

default-information

default-information originate (BGP)

default-information originate (IS-IS)

default-information originate (OSPF)

default-information originate (RIP)

default-metric (BGP)

default-metric (EIGRP)

default-metric (OSPF)

default-metric (RIP)

discard-route

distance (IP)

distance bgp

distance eigrp

distance ospf

distribute-list in (BGP)

distribute-list in (IP)

distribute-list out (BGP)

distribute-list out (IP)

domain-password

eigrp log-neighbor-changes

eigrp log-neighbor-warnings

eigrp router-id

eigrp stub

exit peer-policy

exit peer-session

exit-address-family

export map

fast-flood

flash-update-threshold

hello padding

hostname dynamic


capability lls

To enable the use of the Link-Local Signalling (LLS) data block in originated OSPF packets and reenable OSPF nonstop forwarding (NSF) awareness, use the capability lls command in router configuration mode. To disable LLS and OSPF NSF awareness, use the no form of this command.

capability lls

no capability lls

Syntax Description

This command has no arguments or keywords.

Defaults

LLS is enabled.

Command Modes

Router configuration

Command History

Release
Modification

12.2(15)T

This command was introduced.


Usage Guidelines

You might want to disable NSF awareness by disabling the use of the LLS data block in originated OSPF packets. You might want to disable NSF awareness if the router has no applications using LLS.

If NSF is configured and you try to disable LLS, you will receive the error message, "OSPF Non-Stop Forwarding (NSF) must be disabled first."

If LLS is disabled and you try to configure NSF, you will receive the error message, "OSPF Link-Local Signaling (LLS) capability must be enabled first."

Examples

The following example disables LLS support and OSPF NSF awareness:

router ospf 2
 no capability lls

capability transit

To reenable Open Shortest Path First (OSPF) area capability transit after it has been disabled, use the capability transit command in router configuration mode. To disable OSPF area capability transit on all areas for a router process, use the no form of this command.

capability transit

no capability transit

Syntax Description

This command has no arguments or keywords.

Defaults

OSPF area transit capability is enabled.

Command Modes

Router configuration

Command History

Release
Modification

12.0(27)S

This command was introduced.

12.3(7)T

This command was integrated into Cisco IOS Release 12.3(7)T.

12.2(25)S

This command was integrated into Cisco IOS Release 12.2(25)S.


Usage Guidelines

OSPF area capability transit is enabled by default, allowing the OSPF Area Border Router to install better-cost routes to the backbone area through the transit area instead of the virtual links. If you want to retain a traffic pattern through the virtual-link path, you can disable capability transit by entering the no capability transit command. If paths through the transit area are discovered, they are most likely to be more optimal paths, or at least equal to, the virtual-link path. To reenable capability transit, enter the capability transit command.

If you need to verify whether OSPF area transit capability is enabled for a specific routing process, enter the show ip ospf command.

Examples

The following example shows how to disable OSPF area transit capability on all areas for a router process named ospf 1. A show ip ospf command is issued first to display the current areas that have area transit capability enabled. The no capability transit command is then entered to disable OSPF area transit capability on all areas for the router process ospf 1.

Router# show ip ospf

 Routing Process "ospf 1" with ID 10.1.1.1
 Supports only single TOS(TOS0) routes
 Supports opaque LSA
 Supports Link-local Signaling (LLS)
!Supports area transit capability
It is an area border router
 Initial SPF schedule delay 5000 msecs
 Minimum hold time between two consecutive SPFs 10000 msecs
 Maximum wait time between two consecutive SPFs 10000 msecs
 Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs
 LSA group pacing timer 240 secs
 Interface flood pacing timer 33 msecs
 Retransmission pacing timer 66 msecs
 Number of external LSA 8. Checksum Sum 0x02853F
 Number of opaque AS LSA 0. Checksum Sum 0x000000
 Number of DCbitless external and opaque AS LSA 0
 Number of DoNotAge external and opaque AS LSA 0
 Number of areas in this router is 2. 2 normal 0 stub 0 nssa
!Number of areas transit capable is 1
External flood list length 0
    Area BACKBONE(0)
        Number of interfaces in this area is 3
        Area has no authentication
        SPF algorithm last executed 00:02:21.524 ago
        SPF algorithm executed 11 times
        Area ranges are
        Number of LSA 49. Checksum Sum 0x19B5FA
        Number of opaque link LSA 0. Checksum Sum 0x000000
        Number of DCbitless LSA 0
        Number of indication LSA 0
        Number of DoNotAge LSA 38
        Flood list length 0
    Area 1
        Number of interfaces in this area is 3
       !This area has transit capability: Virtual Link Endpoint
        Area has no authentication
        SPF algorithm last executed 00:02:36.544 ago
        SPF algorithm executed 9 times
        Area ranges are
        Number of LSA 42. Checksum Sum 0x1756D5
        Number of opaque link LSA 0. Checksum Sum 0x000000
        Number of DCbitless LSA 0
        Number of indication LSA 0
        Number of DoNotAge LSA 0
        Flood list length 0

Router(config) router ospf 1
Router(router-config) no capability transit

Related Commands

Command
Description

show ip ospf

Displays general information about OSPF routing processes.


capability vrf-lite

To suppress the Provider Edge (PE) specific checks on a router when the OSPF process is associated with the VRF, use the capability vrf-lite command in router configuration mode. To restore the checks, use the no form of this command.

capability vrf-lite

no capability vrf-lite

Syntax Description

This command has no arguments or keywords.

Defaults

Disabled. PE specific checks are performed if the process is associated with VRF command modes.

Command Modes

Router configuration

Command History

Release
Modification

12.0(21)ST

This command was introduced.

12.0(22)S

This command was integrated into Cisco IOS Release 12.0(22)S.

12.2(8)B

This command was integrated into Cisco IOS Release 12.2(8)B.


Usage Guidelines

This command works only if the OSPF process is associated with the VRF.

When the OSPF process is associated with the VRF, several checks are performed when link-state advertisements (LSAs) are received. PE checks are needed to prevent loops when the PE is performing a mutual redistribution between OSPF and BGP interfaces.

Type-3 LSA received

The DN bit is checked. If the DN bit is set, the Type-3 LSA is not considered during the SPF calculation.

Type-5 or -7 LSA received

If the Tag in the LSA is equal to the VPN-tag, the Type-5 or-7 LSA is not considered during the SPF calculation.


In some situations, performing PE checks might not be desirable. The concept of VRFs can be used on a router that is not a PE router (that is, a router that is not running BGP). With the capability vrf-lite command, the checks can be turned off to allow correct population of the VRF routing table with routes to IP prefixes.

Examples

This example shows a router configured with multi-VRF.


router ospf 100 vrf grc
 capability vrf-lite

clear bgp nsap

To clear and then reset Connectionless Network Service (CLNS) network service access point (NSAP) Border Gateway Protocol (BGP) sessions, use the clear bgp nsap command in privileged EXEC mode.

clear bgp nsap {* | as-number | ip-address} [soft] [in | out]

Syntax Description

*

Clears and then resets all current BGP sessions.

as-number

Clears and then resets BGP sessions for BGP neighbors within the specified autonomous system.

ip-address

Clears the TCP connection to the specified BGP neighbor and removes all routes learned from the connection from the BGP table. The TCP connections are then reset.

soft

(Optional) Soft reset. Allows routing tables to be reconfigured and activated without clearing the BGP session.

in | out

(Optional) Triggers inbound or outbound soft reconfiguration. If the in or out option is not specified, both inbound and outbound soft reset are triggered.


Command Modes

Privileged EXEC

Command History

Release
Modification

12.2(8)T

This command was introduced.


Usage Guidelines

The clear bgp nsap command is similar to the clear ip bgp command, except that it is NSAP address family-specific.

Use of the clear bgp nsap command allows a reset of the neighbor sessions with varying degrees of severity, depending on the specified keywords and arguments.

Use the * keyword to reset all neighbor sessions. The software will clear and then reset the neighbor connections. Use this form of the command in the following situations:

BGP timer specification change

BGP administrative distance changes

Use the soft out keywords to clear and reset only the outbound neighbor connections. Inbound neighbor sessions will not be reset. Use this form of the command in the following situations:

Additions or changes are made to the BGP-related access lists

BGP-related weights change

BGP-related distribution lists change

BGP-related route maps change

Use the in keyword to clear only the inbound neighbor connections. Outbound neighbor sessions will not be reset. Use this form of the command in the following situations:

BGP-related access lists change or get additions

BGP-related weights change

BGP-related distribution lists change

BGP-related route maps change

Examples

In the following example, the inbound session with the neighbor 172.20.16.6 is cleared without the outbound session being reset:

Router# clear bgp nsap 172.20.16.6 in

In the following example, a soft clear is applied to outbound sessions with the neighbors in autonomous system 65000 without the inbound session being reset:

Router# clear bgp nsap 65000 soft out

Related Commands

Command
Description

show bgp nsap

Displays entries in the BGP routing table for the NSAP address family.


clear bgp nsap dampening

To clear Border Gateway Protocol (BGP) route dampening information for the network service access point (NSAP) address family and unsuppress the suppressed routes, use the clear bgp nsap dampening command in privileged EXEC mode.

clear bgp nsap dampening [nsap-prefix]

Syntax Description

nsap-prefix

(Optional) NSAP prefix about which to clear dampening information. This argument can be up to 20 octets long.


Defaults

When the nsap-prefix argument is not specified, the clear bgp nsap dampening command clears route dampening information for the entire BGP routing table for the NSAP address family.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.2(8)T

This command was introduced.


Usage Guidelines

The clear bgp nsap dampening command is similar to the clear ip bgp dampening command, except that it is specific to the NSAP address family.

Examples

In the following example, route dampening information is cleared for the route to NSAP prefix 49.6001 and locally suppressed routes are unsuppressed:

Router# clear bgp nsap dampening 49.6001

Related Commands

Command
Description

bgp dampening

Enables BGP route dampening or changes various BGP route dampening factors.

show bgp nsap dampened-paths

Displays BGP dampened routes for the NSAP address family.


clear bgp nsap external

To clear all external BGP (eBGP) peers for the network service access point (NSAP) address family, use the clear bgp nsap external command in privileged EXEC mode.

clear bgp nsap external [soft] [in | out]

Syntax Description

soft

(Optional) Soft reset. Does not reset the session.

in | out

(Optional) Triggers inbound or outbound soft reconfiguration. If the in or out option is not specified, both inbound and outbound soft reset are triggered.


Command Modes

Privileged EXEC

Command History

Release
Modification

12.2(8)T

This command was introduced.


Usage Guidelines

The clear bgp nsap external command is similar to the clear ip bgp external command, except that it is specific to the NSAP address family.

Examples

In the following example, the inbound sessions with external BGP peers are cleared without the outbound sessions being reset:

Router# clear bgp nsap external soft in

Related Commands

Command
Description

clear bgp nsap

Resets an NSAP BGP connection by dropping all neighbor sessions.


clear bgp nsap flap-statistics

To clear Border Gateway Protocol (BGP) flap statistics for the network service access point (NSAP) address family, use the clear bgp nsap flap-statistics command in privileged EXEC mode.

clear bgp nsap flap-statistics [nsap-prefix] [regexp regexp | filter-list access-list-number]

Syntax Description

nsap-prefix

(Optional) NSAP prefix about which to clear dampening information. This argument can be up to 20 octets long.

regexp regexp

(Optional) Clears flap statistics for all the paths that match the regular expression.

filter-list access-list-number

(Optional) Clears flap statistics for all the paths that pass the access list. The acceptable access list number range is from 1 to 199.


Defaults

No statistics are cleared.

If no arguments or keywords are specified, the software clears flap statistics for all routes.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.2(8)T

This command was introduced.


Usage Guidelines

The clear bgp nsap flap-statistics command is similar to the clear ip bgp flap-statistics command, except that it is specific to the NSAP address family.

The flap statistics for a route are also cleared when an NSAP BGP peer is reset. Although the reset withdraws the route, no penalty is applied in this instance even though route flap dampening is enabled.

Examples

In the following example, all of the flap statistics for paths that pass access list 3 are cleared:

Router# clear bgp nsap flap-statistics filter-list 3

Related Commands

Command
Description

bgp dampening

Enables BGP route dampening or changes various BGP route dampening factors.

show bgp nsap flap-statistics

Displays BGP flap statistics for the NSAP address family.


clear bgp nsap peer-group

To clear the Border Gateway Protocol (BGP) TCP connections to all members of a BGP peer group for the network service access point (NSAP) address family, use the clear bgp nsap peer-group command in privileged EXEC mode.

clear bgp nsap peer-group peer-group-name

Syntax Description

peer-group-name

Name of the NSAP BGP peer group.


Defaults

No BGP TCP connections are cleared.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.2(8)T

This command was introduced.


Usage Guidelines

The clear bgp nsap peer-group command is similar to the clear ip bgp peer-group command, except that it is specific to the NSAP address family.

Examples

In the following example, the BGP TCP connections are cleared for all members of the NSAP BGP peer group named internal:

Router# clear bgp nsap peer-group internal

Related Commands

Command
Description

neighbor peer-group (assigning members)

Configures a BGP neighbor to be a member of a peer group.


clear ip bgp

To reset Border Gateway Protocol (BGP) connections using hard or soft reconfiguration, use the clear ip bgp command in privileged EXEC mode.

clear ip bgp {* | all | ipv4 {multicast | unicast} as-number | ipv6 {multicast | unicast} as-number | vpnv4 {unicast} as-number | as-number | neighbor-address} [soft [in | out]]

Syntax Description

*

Specifies that all current BGP sessions will be reset.

all

(Optional) Specifies autonomous system peers for all address families.

ipv4 | ipv6 | vpn4

(Optional) Specifies the reset of IPv4, IPv6, or VPNn4 address family sessions.

multicast

(Optional) Specifies multicast address family sessions.

unicast

(Optional) Specifies unicast address family sessions.

as-number

Specifies that sessions with BGP peers in the specified autonomous system will be reset.

neighbor-address

Specifies that only the identified BGP neighbor will be reset. The value for this argument can be an IPv4 or IPv6 address.

soft

(Optional) Initiates a soft reset. Does not tear down the session.

in | out

(Optional) Initiates inbound or outbound reconfiguration. If either the in or out keywords are is not specified, both inbound and outbound sessions are reset.


Defaults

No default behavior or values

Command Modes

Privileged EXEC

Command History

Release
Modification

10.0

This command was introduced.

12.0(6)T

The dynamic inbound soft reset capability was added.

12.0(2)S

The dynamic inbound soft reset capability was added.


Usage Guidelines

The clear ip bgp command can be used to initiate a hard reset or soft reconfiguration. A hard reset tears down and rebuilds the specified peering sessions and rebuilds the BGP routing tables. A soft reconfiguration uses stored prefix information to reconfigure and activate BGP routing tables without tearing down existing peering sessions. Soft reconfiguration uses stored update information, at the cost of additional memory for storing the updates, to allow you to apply new BGP policy without disrupting the network. Soft reconfiguration can be configured for inbound or outbound sessions.

Generating Updates From Stored Information

To generate new inbound updates from stored update information (rather than dynamically) without resetting the BGP session, you must preconfigure the local BGP router using the neighbor soft-reconfiguration inbound command. This preconfiguration causes the software to store all received updates without modification regardless of whether an update is accepted by the inbound policy. Storing updates is memory intensive and should be avoided if possible.

Outbound BGP soft configuration has no memory overhead and does not require any preconfiguration. You can trigger an outbound reconfiguration on the other side of the BGP session to make the new inbound policy take effect.

Use this command whenever any of the following changes occur:

Additions or changes to the BGP-related access lists

Changes to BGP-related weights

Changes to BGP-related distribution lists

Changes to BGP-related route maps

Dynamic Inbound Soft Reset

The route refresh capability, as defined in RFC-2918, allows the local router to reset inbound routing tables dynamically by exchanging route refresh requests to supporting peers. The route refresh capability does not store update information locally for non-disruptive policy changes. It instead relies on dynamic exchange with supporting peers. Route refresh is advertised through BGP capability negotiation. All BGP routers must support the route refresh capability.

To determine if a BGP router supports this capability, use the show ip bgp neighbors command. The following message is displayed in the output when the router supports the route refresh capability:

Received route refresh capability from peer.

If all BGP routers support the route refresh capability, use the clear ip bgp {* | address | peer-group-name} in command. You need not use the soft keyword, because soft reset is automatically assumed when the route refresh capability is supported.


Note After configuring a soft reset (inbound or outbound), it is normal for the BGP routing process to hold memory. The amount of memory that is held depends on the size of routing tables and the percentage of the memory chunks that are utilized. Partially used memory chunks will be used or released before more memory is allocated from the global router pool.


Examples

In the following example, a soft reconfiguration is initiated for the inbound session with the neighbor 10.108.1.1, and the outbound session is unaffected:

Router# clear ip bgp 10.100.0.1 soft in

In the following example, a hard reset is initiated for sessions with all routers in the peer group named CORP:

Router# clear ip bgp CORP 

Related Commands

Command
Description

neighbor soft-reconfiguration

Configures the Cisco IOS software to start storing updates.

show ip bgp

Displays entries in the BGP routing table.


clear ip bgp dampening

To clear BGP route dampening information and to unsuppress suppressed routes, use the clear ip bgp dampening command in privileged EXEC mode.

clear ip bgp [ipv4 {multicast | unicast} | ipv6 {multicast | unicast} | vpnv4 {unicast}] dampening [neighbor-address] [ipv4-mask]

Syntax Description

ipv4 | ipv6 | vpn4

(Optional) Specifies the reset of IPv4, IPv6, or VPNn4 address family sessions.

multicast

(Optional) Specifies multicast address family sessions.

unicast

(Optional) Specifies unicast address family sessions.

neighbor-address

(Optional) IP address of the neighbor or network to clear dampening information. The value for this argument can be an IPv4 or IPv6 address.

ipv4-mask

(Optional) IPv4 network mask.


Defaults

When entering the neighbor-address argument, you will be prompted for an IPv4 address if no address family keyword is specified.

Command Modes

Privileged EXEC

Command History

Release
Modification

11.0

This command was introduced.


Usage Guidelines

The clear ip bgp dampening is used to cleared stored route dampening information. If no keywords or arguments are entered, route dampening information for the entire routing table is cleared.

Examples

The following example clears route dampening information for VPNv4 address family prefixes from network 192.168.10.0/24, and unsuppresses its suppressed routes.

Router# clear ip bgp vpnv4 unicast dampening 192.168.10.0 255.255.255.0 

Related Commands

Command
Description

bgp dampening

Enables BGP route dampening or configures BGP route dampening parameters.

clear ip bgp flap-statistics

Clears BGP route dampening flap-statistics.

set dampening

Sets set BGP route dampening parameters in a route map.

show ip bgp dampened-paths

Displays BGP dampened routes.


clear ip bgp external

To clear external Border Gateway Protocol (eBGP) peering sessions, use the clear ip bgp external command in privileged EXEC mode.

clear ip bgp external [ipv4 {multicast | unicast} | ipv6 {multicast | unicast} | vpnv4 {unicast}] [vrf name] [soft [in | out]]

Syntax Description

ipv4 | ipv6 | vpn4

(Optional) Specifies the reset of IPv4, IPv6, or VPNn4 address family sessions.

multicast

(Optional) Specifies multicast address family sessions.

unicast

(Optional) Specifies unicast address family sessions.

vrf name

(Optional) Specifies a VPN routing and forwarding instance.

soft

(Optional) Initiates a soft reset. Does not tear down the session.

in | out

(Optional) Initiates inbound or outbound reconfiguration. If either the in or out keywords are is not specified, both inbound and outbound sessions are reset.


Defaults

No default behavior or values

Command Modes

Privileged EXEC

Command History

Release
Modification

12.0(2)S

This command was introduced.


Usage Guidelines

The clear ip bgp external command is used to reset eBGP peering sessions. The usage guidelines for the clear ip bgp command apply to this command.

Examples

In the following example, a soft reconfiguration is configured for all inbound eBGP peering sessions:

Router# clear ip bgp external soft in 

In the following example, all outbound address family IPv4 multicast eBGP peering sessions are cleared:

Router# clear ip bgp external ipv4 multicast out

Related Commands

Command
Description

clear ip bgp

Resets a BGP connection or session.

neighbor soft-reconfiguration

Configures the Cisco IOS software to start storing updates.

show ip bgp

Displays entries in the BGP routing table.


clear ip bgp flap-statistics

To clear BGP route dampening flap statistics, use the clear ip bgp flap-statistics command in privileged EXEC mode.

clear ip bgp flap-statistics [neighbor-address [ipv4-mask]] [regexp regexp | filter-list extcom-number]

clear ip bgp [neighbor-address] [ipv4 {multicast | unicast} | ipv6 {multicast | unicast} | vpnv4 {unicast}] flap-statistics

Syntax Description

neighbor-address

(Optional) Clears flap statistics for the specified IP address. If this argument is placed before flap-statistics keyword, the router clears flap statistics for all paths from the specified neighbor or network. The value for this argument can be an IPv4 or IPv6 address.

ipv4-mask

(Optional) IPv4 network mask.

ipv4 | ipv6 | vpn4

(Optional) Specifies the reset of IPv4, IPv6, or VPNn4 address family sessions.

multicast

(Optional) Specifies multicast address family sessions.

unicast

(Optional) Specifies unicast address family sessions.

regexp regexp

(Optional) Clears flap statistics for all the paths that match the regular expression.

filter-list extcom-number

(Optional) Clears flap statistics for all the paths that pass the access list. The access list is specified using an extended community list number.


Defaults

When entering the neighbor-address argument, you will be prompted for an IPv4 address if no address family keyword is specified.

Command Modes

Privileged EXEC

Command History

Release
Modification

11.0

This command was introduced.


Usage Guidelines

The clear ip bgp flap-statistics command is used to clear the accumulated penalty for routes that are received on a router that has BGP dampening enabled. If no arguments or keywords are specified, flap statistics are cleared for all routes. Flap statistics are also cleared when the peer is stable for the half-life time period.

Examples

In the following example, all of the flap statistics are cleared for paths that pass filter list 3:

Router# clear ip bgp flap-statistics filter-list 3 

Related Commands

Command
Description

bgp dampening

Enables BGP route dampening or changes various BGP route dampening factors.

clear ip bgp dampening

Clears BGP route dampening information and to unsuppress suppressed routes.

set dampening

Sets set BGP route dampening parameters in a route map.

show ip bgp dampened-paths

Displays BGP dampened routes.


clear ip bgp in prefix-filter

To initiate an inbound soft reset to clear a BGP outbound route filter (ORF), use the clear ip bgp in prefix-filter command in privileged EXEC mode.

clear ip bgp ip-address | peer-group-name in prefix filter

Syntax Description

*

Clears all ORFs and resets all inbound BGP sessions.

ip-address

IP address of the peer to clear the ORF. The value for this argument can be an IPv4 or IPv6 address.

peer-group-name

Name of the peer group to clear ORFs.


Defaults

The prefix-filter keyword will be ignored and a normal inbound route refresh or soft reset will be performed if ORF capabilities have not been enabled locally or received from the sending BGP peer.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.0(11)ST

This command was introduced.

12.2(4)T

This command was integrated into Cisco IOS Release 12.2(4)T.

12.2(14)S

This command was integrated into Cisco IOS Release 12.2(14)S.

12.0(22)S

This command was integrated into Cisco IOS Release 12.0(22)S.


Usage Guidelines

The clear ip bgp in prefix-filter command is used to clear the existing ORF prefix list to trigger a new route refresh or soft reconfiguration, which updates the ORF prefix list. If the clear ip bgp in command is entered without the prefix-filter keyword, a normal route refresh is performed. This command should be used when inbound routing policy changes (other than a prefix list filter) occur, such as a route map change.

Examples

In the following example, an inbound soft reset is initiated to clear the BGP ORF received from the 192.168.0.1 neighbor:

Router# clear ip bgp 192.168.0.1 in prefix-filter 

Related Commands

Command
Description

dampening

Enables outbound route filter (ORF) capability exchange and advertise ORF capabilities to a BGP peer.

show ip bgp neighbors

Displays information about the TCP and BGP connections to neighbors.


clear ip bgp peer-group

To clear all the members of a BGP peer group, use the clear ip bgp peer-group command in privileged EXEC mode.

clear ip bgp [all | ipv4 {multicast | unicast} | ipv6 {multicast | unicast} | vpnv4 {unicast}] peer-group name [soft [in | out]]

Syntax Description

all

(Optional) Specifies autonomous system peers for all address families.

ipv4 | ipv6 | vpn4

(Optional) Specifies the reset of IPv4, IPv6, or VPNn4 address family sessions.

multicast

(Optional) Specifies multicast address family sessions.

unicast

(Optional) Specifies unicast address family sessions.

peer-group name

Initiates a reset for members of the specified peer group.

soft

(Optional) Initiates a soft reset. Does not tear down the session.

in | out

(Optional) Initiates inbound or outbound reconfiguration. If either the in or out keywords are is not specified, both inbound and outbound sessions are reset.


Defaults

No default behavior or values

Command Modes

Privileged EXEC

Command History

Release
Modification

11.0

This command was introduced.


Usage Guidelines

The clear ip bgp peer-group command is used to reset peering sessions for BGP peer groups. The usage guidelines for the clear ip bgp command apply to this command.

Examples

In the following example, all members of the BGP peer group named INTERNAL are cleared:

Router# clear ip bgp peer-group INTERNAL

Related Commands

Command
Description

clear ip bgp

Resets a BGP connection or session.

neighbor peer-group (assigning members)

Configures a BGP neighbor to be a member of a peer group.


clear ip bgp table-map

To refresh table-map configuration information in the Border Gateway Protocol (BGP) routing table, use the clear ip bgp table-map command in privileged EXEC mode.

clear ip bgp [ipv4 {multicast | unicast} | ipv6 {multicast | unicast} | vpnv4 {unicast}] table-map

Syntax Description

ipv4 | ipv6 | vpn4

(Optional) Specifies the reset of IPv4, IPv6, or VPNn4 address family sessions.

multicast

(Optional) Specifies multicast address family sessions.

unicast

(Optional) Specifies unicast address family sessions.


Defaults

No default behavior or values

Command Modes

Privileged EXEC

Command History

Release
Modification

12.2(14)S

This command was introduced.

12.0(21)S

This command was integrated into Cisco IOS Release 12.0(21)S.

12.1(13)E

This command was integrated into Cisco IOS Release 12.1(13)E.

12.2(13)T

This command was integrated into Cisco IOS Release 12.2(13)T.


Usage Guidelines

The clear ip bgp table-map command is used to clear or refresh table-map configuration information in BGP routing tables. This command can be used to clear traffic-index information configured with the BGP Policy Accounting feature.

Examples

In the following example, a table map is configured and a traffic index is set. The new policy is applied after the clear ip bgp table-map command is entered.

Router(config)# route-map SET_BUCKET permit 10 
Router(config-route-map)# match community 1 
Router(config-route-map)# set traffic-index 2 
Router(config-route-map)# exit
Router(config)# router bgp 50000 
Router(config-router)# address-family ipv4 
Router(config-router-af)# table-map SET_BUCKET 
Router(config-router-af)# end
Router# clear ip bgp table-map

Related Commands

Command
Description

bgp-policy

Enables BGP policy accounting or policy propagation on an interface.

table-map

Modifies metrics and tag values when the IP routing table is updated with BGP learned routes.


clear ip bgp update-group

T o clear Border Gateway Protocol (BGP) update-group member sessions, use the clear ip bgp update-group command in privileged EXEC mode.

clear ip bgp [all | ipv4 {multicast | unicast} | ipv6 {multicast | unicast}] update-group [index-group | neighbor-address]

Syntax Description

all

(Optional) Specifies autonomous system peers for all address families.

ipv4 | ipv6 | vpn4

(Optional) Specifies the reset of IPv4, IPv6, or VPNn4 address family sessions.

multicast

(Optional) Specifies multicast address family sessions.

unicast

(Optional) Specifies unicast address family sessions.

index-group

(Optional) Specifies that the update group with corresponding index number will be reset. The range of update-group index numbers is from 1 to 4294967295.