- capability additional-paths
- 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 forwarding route
- clear forwarding inconsistency
- clear hardware ip verify
- clear hardware ip verify address
- clear hardware ip verify length
- clear hardware proxy layer-3 counters
- clear ip adjacency statistics
- clear ip arp
- clear ip bgp
- clear ip bgp dampening
- clear ip bgp flap-statistics
- clear ip eigrp accounting
- clear ip eigrp neighbors
- clear ip eigrp policy statistics redistribute
- clear ip eigrp redistribution
- clear ip eigrp traffic
- clear ip interface statistics
- clear ip mbgp
- clear ip mbgp dampening
- clear ip mbgp flap-statistics
- clear ip ospf neighbor
- clear ip ospf policy statistics
- clear ip ospf redistribution
- clear ip ospf statistics
- clear ip ospf traffic
- clear ip rip policy statistics redistribute
- clear ip rip statistics
- clear ip route
- clear ip traffic
- clear ip wccp
- clear ipv6 adjacency statistics
- clear ipv6 eigrp accounting
- clear ipv6 eigrp neighbors
- clear ipv6 eigrp route-map statistics redistribute
- clear ipv6 eigrp redistribution
- clear ipv6 eigrp traffic
- clear ipv6 icmp interface statistics
- clear ipv6 nd interface statistics
- clear ipv6 neighbor
- clear ipv6 route
- clear ipv6 traffic
- clear isis adjacency
- clear isis ip route-map statistics redistribute
- clear isis redistribution
- clear isis route-map statistics distribute
- clear isis statistics
- clear isis traffic
- clear ospfv3 neighbor
- clear ospfv3 policy statistics
- clear ospfv3 statistics
- clear ospfv3 traffic
- clear route-map pbr-statistics
- clear sockets statistics
- clear vrrp
- confederation
C Commands
This chapter describes the Cisco NX-OS unicast routing commands that begin with the letter C.
capability additional-paths
To configure BGP to advertise the capability of sending and receiving additional paths to and from the BGP peers, use the capability additional-paths command. To disable the capability additional-path, use the no form of this command.
capability additional-paths { receive | send } [ disable ]
Syntax Description
Defaults
Command Modes
neighbor address-family configuration mode
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to configure BGP to advertise the capability to send and receive additional paths to the BGP peer:
clear bgp
To clear Border Gateway Protocol (BGP) routes from the BGP table, use the clear bgp command.
clear bgp {{ ipv4 | ipv6 } { unicast | multicast } | all } { neighbor | * | as-number | peer-template name | prefix } [ vrf vrf-name ]
Syntax Description
Defaults
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 | ipv6 } { unicast | multicast } | all } dampening [ neighbor | prefix ] [ vrf vrf-name ]
Syntax Description
Defaults
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 flap-statistics [ neighbor | prefix ] [ vrf vrf-name ]
Syntax Description
Defaults
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 length range is from 1 to 32. |
|
Defaults
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
Defaults
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
(Optional) Clears policy statistics for the default originate policy. |
|
Defaults
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 command.
clear bgp policy statistics redistribute { direct | eigrp id | isis id | ospf id | rip id | static } [ vrf { vrf-name | * }]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clear policy statistics for RIP:
Related Commands
|
|
|
|---|---|
clear forwarding route
To clear forwarding information, use the clear forwarding route command.
clear forwarding { ip | ipv4 | ipv6 } route [ * | prefix ] [ vrf vrf-name ]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clears a route from the FIB:
clear forwarding inconsistency
To clear the Layer 3 inconsistency checker for the Forwarding Information Base (FIB), use the clear forwarding inconsistency command.
clear forwarding inconsistency [ ip | ipv4 | ipv6 ] [ unicast ] [ vrf vrf-name ] [ module { slot | all }]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clear the Layer 3 inconsistency checker for all modules:
Related Commands
|
|
|
|---|---|
clear hardware ip verify
To clear IP packet verification, use the clear hardware ip verify command. To disable IP packet verification, use the no form of this command.
clear hardware ip verify { checksum | fragment | protocol | tcp tiny-frag | version }
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Use the clear hardware ip verify command to clear packet verification tests on IPv4 and IPv6 packets based on checksum or fragments.
Examples
This example shows how to clear fragmented IPv4 or IPv6 packet tests:
Related Commands
|
|
|
|---|---|
Configures IPv4 and IPv6 packet verification checks based on addresses. |
|
clear hardware ip verify address
To clear packet verification tests on IP addresses, use the clear hardware ip verify address command. To disable packet verification tests, use the no form of this command.
clear hardware ip verify address { destination zero | identical | reserved | source {broadcast | multicast }}
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Use the clear hardware ip verify address command to clear packet verification tests on IPv4 and IPv6 packets based on addresses.
Examples
This example shows how to clear broadcast IPv4 packet tests:
Related Commands
|
|
|
|---|---|
Configures IPv4 and IPv6 packet verification checks based on checksum or fragments. |
|
clear hardware ip verify length
To clear IPv4 packet verification tests based on packet length, use the clear hardware ip verify length command. To disable the tests, use the no form of this command.
clear hardware ip verify length { consistent | maximum { max-frag | max-tcp | udp } | minimum }
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Use the clear hardware ip verify length command to clear packet verification tests on IPv4 and IPv6 packets based on packet length.
Examples
This example shows how to clear minimum-length IPv4 packet tests:
Related Commands
|
|
|
|---|---|
Configures IPv4 packet verification checks based on checksum or fragments. |
|
Configures IPv4 and IPv6 packet verification checks based on addresses. |
|
clear hardware proxy layer-3 counters
To clear proxylayer 3 counters information, use the clear hardware proxy layer-3 counters command.
clear hardware proxy layer-3 counters
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clear brief proxy layer 3 counters information:
Related Commands
|
|
|
|---|---|
Displays detail information on the proxylayer 3 functionality. |
clear ip adjacency statistics
To clear adjacency statistics, use the clear ip adjacency statistics command.
Syntax Description
Defaults
Command Modes
network-admin
network-operator
vdc-admin
vdc-operator
Command History
|
|
|
Usage Guidelines
Examples
This example shows how to clear the adjacency statistics:
Related Commands
|
|
|
|---|---|
clear ip arp
To clear the Address Resolution Protocol (ARP) information, use the clear ip arp command.
clear ip arp [ ip-addr | interface ] [force-delete | statistics ] [ vrf vrf-name ]
Syntax Description
Defaults
Command Modes
network-admin
network-operator
vdc-admin
vdc-operator
Command History
|
|
|
Usage Guidelines
Examples
This example shows how to clear the ARP table:
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 ] { neighbor | * | as-number | peer-template name | prefix } [ vrf vrf-name ]
Syntax Description
Defaults
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 }} dampening [ neighbor | prefix ] [ vrf vrf-name ]
Syntax Description
Defaults
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 ]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clear BGP route flap statistics:
clear ip eigrp accounting
To clear the prefix accounting information for the Enhanced Interior Gateway Routing Protocol (EIGRP) processes, use the clear ip eigrp accounting command.
clear ip eigrp [ instance-tag ] accounting [ vrf { vrf-name | * }]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clear the EIGRP accounting information:
clear ip eigrp neighbors
To remove and reestablish the Enhanced Interior Gateway Routing Protocol (EIGRP) neighbor entries from the appropriate table, use the clear ip eigrp neighbors command in EXEC mode.
clear ip eigrp [ instance-tag ] neighbors [ * | ip-address | interface-type interface-instance ] [ soft ] [ vrf { vrf-name | * }]
Syntax Description
Defaults
When no autonomous system number, interface, or VRF instance is specified, all EIGRP neighbor entries are cleared from the table.
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clear all EIGRP entries for neighbors on Ethernet interface 2/1:
Related Commands
|
|
|
|---|---|
clear ip eigrp policy statistics redistribute
To clear policy statistics for routes redistributed into show ip rip policy statistics redistribute Enhanced Interior Gateway Routing Protocol (EIGRP) topology table, use the clear ip eigrp policy statistics redistribute command.
clear ip eigrp policy statistics redistribute { bgp id | direct | eigrp id | isis id | ospf id | rip id | static } [ vrf { vrf-name | * }]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
This command was removed and replaced by the clear ip eigrp route-map statistics command. |
Usage Guidelines
Examples
This example shows how to clear policy statistics for RIP:
Related Commands
|
|
|
|---|---|
clear ip eigrp redistribution
To clear redistribution information for Enhanced Interior Gateway Routing Protocol (EIGRP), use the clear ip eigrp redistribution command.
clear ip eigrp redistribution [ vrf { vrf-name | * }]
Syntax Description
(Optional) Specifies a particular virtual routing and forwarding (VRF) instance. The VRF name is an alphanumeric string of up to 32 characters. |
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clear redistribution information:
Related Commands
|
|
|
|---|---|
clear ip eigrp traffic
To clear the Enhanced Interior Gateway Routing Protocol (EIGRP) traffic statistics, use the clear ip eigrp traffic command.
clear ip eigrp [ instance-tag ] traffic [ vrf { vrf-name | * }]
Syntax Description
Defaults
This command clears information for the default VRF if no VRF is specified.
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clear the EIGRP traffic statistics:
clear ip interface statistics
To clear IP interface statistics, use the clear ip interface statistics command.
Syntax Description
Defaults
Command Modes
network-admin
network-operator
vdc-admin
vdc-operator
Command History
|
|
|
Usage Guidelines
Examples
This example shows how to clear the IP interface statistics:
Related Commands
|
|
|
|---|---|
clear ip mbgp
To clear Multiprotocol Border Gateway Protocol (MBGP) routes from the BGP table, use the clear ip mbgp command.
clear ip mbgp { neighbor | * | as-number | peer-template name | prefix } [ vrf vrf-name ]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clear all MBGP entries for the IPv4 address family:
clear ip mbgp dampening
To clear Multiprotocol Border Gateway Protocol (MBGP) route flap dampening information, use the clear ip mbgp dampening command.
clear ip mbgp dampening { neighbor | prefix} [ vrf vrf-name ]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clear MBGP route flap dampening information:
clear ip mbgp flap-statistics
To clear Multiprotocol Border Gateway Protocol (MBGP) route flap statistics, use the clear ip mbgp flap-statistics command.
clear ip mbgp flap-statistics { neighbor | prefix} [ vrf vrf-name ]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clear MBGP route flap statistics:
clear ip ospf neighbor
To clear neighbor statistics and reset adjacencies for Open Shortest Path First (OSPF), use the clear ip ospf neighbor command.
clear ip ospf [ instance-tag ] neighbor { * | neighbor-id | interface-type number | loopback number | port-channel number } [ vrf vrf-name ]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Use the clear ip ospf neighbor command to clear neighbor information from the show ip ospf neighbor command. Use the instance-tag argument to clear the neighbor details from one OSPF instance. If you do not use the instance -tag argument, Cisco NX-OS clears the neighbor details from all OSPF instances. Use the show ip ospf neighbor command to find the neighbor ID.
Examples
This example shows how to clear all OSPF neighbor details for neighbor 192.0.2.1 for instance tag 201:
This example shows how to clear all OSPF neighbor details for all OSPF instances:
This example shows how to clear all OSPF neighbor details for all neighbors on Ethernet interface 1/2 for OSPF instance 202:
Related Commands
|
|
|
|---|---|
Displays details for OSPF neighbors including the neighbor ID. |
clear ip ospf policy statistics
To clear policy statistics for Open Shortest Path First (OSPF), use the clear ip ospf policy statistics command.
clear ip ospf [ instance-tag ] policy statistics { area area-id filter-list { in | out } | redistribute { bgp autonomous-system | direct | eigrp id | isis id | ospf id | rip id | static }} [ vrf vrf-name ]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Use the clear ip ospf statistics command to learn the policy statistics shown in the show ip ospf policy statistics command. Use the instance-tag argument to clear the policy statistics from one OSPF instance. If you do not specify the instance tag.
Cisco NX-OS clears the policy statistics from all OSPF instances. Use the show ip ospf policy statistics command to to view the statistics that you are clearing.
Examples
This example shows how to clear all OSPF policy statistics for area 99 inbound filtered routes for OSPF 201:
This example shows how to clear all OSPF policy statistics for all BGP redistributed routes for OSPF 202:
Related Commands
|
|
|
|---|---|
clear ip ospf redistribution
To clear redistribution information for Open Shortest Path First (OSPF), use the clear ip ospf redistribution command.
clear ip ospf redistribution [ vrf { vrf-name | * }]
Syntax Description
(Optional) Specifies a particular virtual routing and forwarding (VRF) instance. The VRF name is an alphanumeric string of up to 32 characters. |
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clear redistribution information:
Related Commands
|
|
|
|---|---|
clear ip ospf statistics
To clear Open Shortest Path First (OSPF) event statistics, use the clear ip ospf statistics command.
clear ip ospf [ instance-tag ] statistics [ vrf vrf-name ]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Use the clear ip ospf statistics command to clear the event statistics from one or more OSPF instances. If you do not specify the instance-tag argument, Cisco NX-OS clears statistics from all OSPF instances. Use the show ip ospf statistics command to to view the statistics that you are clearing.
Examples
This example shows how to clear all OSPF event statistics:
Related Commands
|
|
|
|---|---|
clear ip ospf traffic
To clear Open Shortest Path First (OSPF) traffic statistics, use the clear ip ospf traffic command.
clear ip ospf [ instance-tag ] traffic [ interface ] [ vrf vrf-name ]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Use the clear ip ospf traffic command to clear the traffic statistics from one or more OSPF instances. If you do not specify the instance-tag argument, Cisco NX-OS clears traffic statistics from all OSPF instances. Use the show ip ospf traffic statistics command to to view the statistics that you are clearing.
Examples
This example shows how to clear OSPF traffic statistics for OSPF 100:
Related Commands
|
|
|
|---|---|
clear ip rip policy statistics redistribute
To clear policy statistics for routes redistributed into the the Routing Information Protocol (RIP) topology table, use the clear ip rip policy statistics redistribute command in any mode.
clear ip rip policy statistics redistribute { bgp id | direct | eigrp id | isis id | ospf id | ospfv3 id | static } [ vrf vrf-name ]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clear policy statistics for EIGRP:
Related Commands
|
|
|
|---|---|
clear ip rip statistics
To clear the the Routing Information Protocol (RIP) statistics, use the clear ip rip statistics command in any mode.
clear ip rip statistics [ interface type instance ] [ vrf vrf-name ]
Syntax Description
(Optional) Specifies the interface to clear topology entries. |
|
(Optional) Specifies a particular virtual routing and forwarding (VRF) instance. The VRF name is up to 32 alphanumeric characters. |
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clear all RIP statistics:
Related Commands
|
|
|
|---|---|
Displays database and interface entry information for the RIP process. |
clear ip route
To clear individual routes from the unicast RIB, use the clear ip route command.
clear ip route [ * | addr | prefix ] [ vrf vrf-name ]
Syntax Description
(Optional) Clears this prefix. The format is x.x.x.x/length. |
|
(Optional) Specifies the virtual router context (VRF) name. The name can be any case-sensitive, alphanumeric string up to 63 characters. |
Defaults
Command Modes
network-admin
network-operator
vdc-admin
vdc-operator
Command History
|
|
|
Usage Guidelines
Use the clear ip route command to clear individual routes from the route table.
Note
The * keyword is severely disruptive to routing.
Examples
This example shows how to clear the individual route:
Related Commands
|
|
|
|---|---|
clear ip traffic
To clear IP traffic information, use the clear ip traffic command.
Syntax Description
Defaults
Command Modes
network-admin
network-operator
vdc-admin
vdc-operator
Command History
|
|
|
Usage Guidelines
Examples
This example shows how to clear the IP traffic information:
Related Commands
|
|
|
|---|---|
clear ip wccp
To remove Web Cache Communication Protocol (WCCP) statistics (counts) maintained on the router for a particular service, use the clear ip wccp command.
clear ip wccp [ vrf vrf-name ] { service-number | web-cache }
Syntax Description
Defaults
Command Modes
network-admin
network-operator
vdc-admin
vdc-operator
Command History
|
|
|
This command has been deprecated from 5.2(0) to 6.1(0) onwards. |
|
Usage Guidelines
Examples
This example shows how to clear the WCCP statistics for the web cache service:
Related Commands
|
|
|
|---|---|
clear ipv6 adjacency statistics
To clear adjacency statistics, use the clear ipv6 adjacency statistics command.
clear ipv6 adjacency statistics
Syntax Description
Defaults
Command Modes
network-admin
network-operator
vdc-admin
vdc-operator
Command History
|
|
|
Usage Guidelines
Examples
This example shows how to clear the adjacency statistics:
Related Commands
|
|
|
|---|---|
clear ipv6 eigrp accounting
To clear the prefix accounting information for the Enhanced Interior Gateway Routing Protocol (EIGRP) for IPv6 processes, use the clear ipv6 eigrp accounting command.
clear ipv6 eigrp [ instance-tag ] accounting [ vrf { vrf-name | * }]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clear the EIGRP accounting information:
clear ipv6 eigrp neighbors
To remove and reestablish the Enhanced Interior Gateway Routing Protocol (EIGRP) for IPv6 neighbor entries from the appropriate table, use the clear ipv6 eigrp neighbors command in EXEC mode.
clear ipv6 eigrp [ instance-tag ] neighbors [ * | ipv6-address | interface-type interface-instance ] [ soft ] [ vrf { vrf-name | * }]
Syntax Description
Defaults
Clears all instances if no instance is specified. Clears the default VRF if no VRF is specified.
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clear all EIGRP entries for neighbors on Ethernet interface 2/1:
Related Commands
|
|
|
|---|---|
clear ipv6 eigrp route-map statistics redistribute
To clear statistics for routes redistributed into the Enhanced Interior Gateway Routing Protocol (EIGRP) for IPv6 topology table, use the clear ipv6 eigrp route-map statistics redistribute command.
clear ipv6 eigrp route-map statistics redistribute { bgp id | direct | eigrp id | isis id | ospfv3 id | rip id | static } [ vrf { vrf-name | * }]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clear policy statistics for RIP:
Related Commands
|
|
|
|---|---|
clear ipv6 eigrp redistribution
To clear redistribution information for Enhanced Interior Gateway Routing Protocol (EIGRP), use the clear ipv6 eigrp redistribution command.
clear ipv6 eigrp redistribution [ vrf { vrf-name | * }]
Syntax Description
(Optional) Specifies a particular virtual routing and forwarding (VRF) instance. The VRF name is an alphanumeric string of up to 32 characters. |
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clear redistribution information:
Related Commands
|
|
|
|---|---|
clear ipv6 eigrp traffic
To clear the Enhanced Interior Gateway Routing Protocol (EIGRP) for IPv6 traffic statistics, use the clear ipv6 eigrp traffic command.
clear ipv6 eigrp [ instance-tag ] traffic [ vrf { vrf-name | * }]
Syntax Description
Defaults
This command clears information for the default VRF if no VRF is specified.
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clear the EIGRP traffic statistics:
clear ipv6 icmp interface statistics
To clear statistics about ICMPv6, use the clear ipv6 icmp interface statistics command.
clear ipv6 icmp interface statistics [ type number ]
Syntax Description
(Optional) Interface type. Use ? to see the list of supported interfaces. |
|
Defaults
Command Modes
network-admin
network-operator
vdc-admin
vdc-operator
Command History
|
|
|
Usage Guidelines
Examples
This example shows how to clear the ICMPv6 statistics:
Related Commands
|
|
|
|---|---|
clear ipv6 nd interface statistics
To clear information about Neighbor Discovery (ND), use the clear ipv6 nd interface statistics command.
clear ipv6 nd interface statistics [ type number ]
Syntax Description
(Optional) Interface type. Use ? to see the list of supported interfaces. |
|
Defaults
Command Modes
network-admin
network-operator
vdc-admin
vdc-operator
Command History
|
|
|
Usage Guidelines
Examples
This example shows how to clear the ND information:
Related Commands
|
|
|
|---|---|
clear ipv6 neighbor
To clear IPv6 neighbors, use the clear ipv6 neighbor command.
clear ipv6 neighbor [ type number ] [ force-clear ] [ vrf vrf-nam e]
Syntax Description
Defaults
Command Modes
network-admin
network-operator
vdc-admin
vdc-operator
Command History
|
|
|
Usage Guidelines
Use the clear ipv6 neighbor command to clear the IPv6 adjacency table.
Examples
This example shows how to clear the IPv6 neighbors:
Related Commands
|
|
|
|---|---|
clear ipv6 route
To clear individual routes from the unicast RIB, use the clear ipv6 route command.
clear ipv6 route [ * | addr | prefix ] [ vrf vrf-name ]
Syntax Description
(Optional) Clears this prefix. The format is A:B::C:D/length. |
|
(Optional) Specifies the virtual router context (VRF) name. The name can be any case-sensitive, alphanumeric string up to 63 characters. |
Defaults
Command Modes
network-admin
network-operator
vdc-admin
vdc-operator
Command History
|
|
|
Usage Guidelines
Use the clear ipv6 route command to clear individual routes from the route table.
Note
The * keyword is severely disruptive to routing.
Examples
This example shows how to clear the individual route:
Related Commands
|
|
|
|---|---|
clear ipv6 traffic
To clear IPv6 traffic information, use the clear ipv6 traffic command.
Syntax Description
Defaults
Command Modes
network-admin
network-operator
vdc-admin
vdc-operator
Command History
|
|
|
Usage Guidelines
Examples
This example shows how to clear the IPv6 traffic information:
Related Commands
|
|
|
|---|---|
clear isis adjacency
To clear adjacency information for Intermediate-System-to-Intermediate System (IS-IS), use the clear isis adjacency command.
clear isis [ instance-tag ] adjacency [ * | interface | system-id sid ] [ vrf vrf-name ]
Syntax Description
Defaults
Command Modes
network-admin
network-operator
vdc-admin
vdc-operator
Command History
|
|
|
Usage Guidelines
Examples
This example shows how to clear all the adjacency information:
Related Commands
|
|
|
|---|---|
clear isis ip route-map statistics redistribute
To clear statistics for route redistribution for Intermediate-System-to-Intermediate System (IS-IS), use the clear isis ip route-map statistics redistribute command.
clear isis [ instance-tag ] ip route-map statistics redistribute { bgp id | direct | eigrp id | isis id | ospf id | rip id | static } [ vrf vrf-name ]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to display policy statistics for redistributed routes:
Related Commands
|
|
|
|---|---|
clear isis redistribution
To clear redistribution information for Intermediate-System-to-Intermediate System (IS-IS), use the clear isis redistribution command.
clear isis [ instance-tag ] redistribution [ vrf { vrf-name | all }]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clear the redistribution information:
Related Commands
|
|
|
|---|---|
clear isis route-map statistics distribute
To clear statistics for route distribution between level-1 and level-2 areas for Intermediate-System-to-Intermediate System (IS-IS), use the clear isis route-map statistics distribute command.
clear isis [ instance-tag ] [ ip | ipv6 ] route-map statistics distribute [ level-1 | level-2 ] into [ level-1 | level-2 ] [ vrf vrf-name ]
Syntax Description
Defaults
Command Modes
network-admin
network-operator
vdc-admin
vdc-operator
Command History
|
|
|
Usage Guidelines
Examples
This example shows how to clear the distribution information:
Related Commands
|
|
|
|---|---|
clear isis statistics
To clear statistics for Intermediate-System-to-Intermediate System (IS-IS), use the clear isis statistics command.
clear isis [ instance-tag ] statistics [ * | interface ] [ vrf vrf-name ]
Syntax Description
Defaults
Command Modes
network-admin
network-operator
vdc-admin
vdc-operator
Command History
|
|
|
Usage Guidelines
Examples
This example shows how to clear the IS-IS statistics:
Related Commands
|
|
|
|---|---|
clear isis traffic
To clear traffic statistics for Intermediate-System-to-Intermediate System (IS-IS), use the clear isis traffic command.
clear isis [ instance-tag ] traffic [ * | interface ] [ vrf vrf-name ]
Syntax Description
Defaults
Command Modes
network-admin
network-operator
vdc-admin
vdc-operator
Command History
|
|
|
Usage Guidelines
Examples
This example shows how to clear the traffic statistics:
switch# clear isis traffic ethernet 7/45
Related Commands
|
|
|
|---|---|
clear ospfv3 neighbor
To clear neighbor statistics and reset adjacencies for Open Shortest Path First version 3 (OSPFv3), use the clear ospfv3 neighbor command.
clear ospfv3 [ instance-tag ] neighbor { * | neighbor-id | interface-type number | loopback number | port-channel number } [ vrf vrf-name ]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Use the clear ospfv3 neighbor command to clear neighbor information from the show ospfv3 neighbors command. Use the instance-tag argument to clear the neighbor details from one OSPFv3 instance. If you do not use the instance -tag argument, Cisco NX-OS clears the neighbor details from all OSPFv3 instances. Use the show ospfv3 neighbors command to find the neighbor ID.
Examples
This example shows how to clear all OSPFv3 neighbor details for neighbor 192.0.2.1 for instance tag 201:
This example shows how to clear all OSPFv3 neighbor details for all OSPFv3 instances:
This example shows how to clear all OSPFv3 neighbor details for all neighbors on Ethernet interface 1/2 for OSPFv3 instance 202:
Related Commands
|
|
|
|---|---|
Displays details for OSPFv3 neighbors including the neighbor ID. |
clear ospfv3 policy statistics
To clear policy statistics for Open Shortest Path First version 3 (osPFv3), use the clear ospfv3 policy statistics command.
clear ospfv3 [ instance-tag ] policy statistics { area area-id filter-list { in | out } | redistribute { bgp autonomous-system | direct | eigrp id | isis id | rip id | static }} [ vrf vrf-name ]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Use the clear ospfv3 statistics command to learn the policy statistics shown in the show ospfv3 policy statistics command. Use the instance-tag argument to clear the policy statistics from one OSPFv3 instance.
Cisco NX-OS clears the policy statistics from all OSPFv3 instances. Use the show ospfv3 policy statistics command to to view the statistics that you are clearing.
Examples
This example shows how to clear all OSPFv3 policy statistics for area 99 inbound filtered routes for OSPFv3 201:
This example shows how to clear all OSPFv3 policy statistics for all BGP redistributed routes for OSPFv3 202:
Related Commands
|
|
|
|---|---|
clear ospfv3 statistics
To clear Open Shortest Path First version 3 (OSPFv3) event statistics, use the clear ospfv3 statistics command.
clear ospfv3 [ instance-tag ] statistics [ vrf vrf-name ]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Use the clear ospfv3 statistics command to clear the event statistics from one or more OSPFv3 instances. If you do not specify the instance-tag argument, Cisco NX-OS clears statistics from all OSPFv3 instances. Use the show ospfv3 statistics command to to view the statistics that you are clearing.
Examples
This example shows how to clear all OSPFv3 event statistics:
Related Commands
|
|
|
|---|---|
clear ospfv3 traffic
To clear Open Shortest Path First version 3 (OSPFv3) traffic statistics, use the clear ospfv3 traffic command.
clear ospfv3 [ instance-tag ] traffic [ vrf vrf-name ]
Syntax Description
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Use the clear ospfv3 traffic command to clear the traffic statistics from one or more OSPFv3 instances. If you do not specify the instance-tag argument, Cisco NX-OS clears traffic statistics from all OSPFv3 instances. Use the show ospfv3 traffic statistics command to to view the statistics that you are clearing.
Examples
This example shows how to clear OSPFv3 traffic statistics for OSPFv3 100:
Related Commands
|
|
|
|---|---|
clear route-map pbr-statistics
To clear policy-based statistics for a route map, use the clear route-map pbr statistics command..
clear route-map name pbr-statistics
Syntax Description
Name of the route map. The name can be any alphanumeric string up to 63 characters. |
Defaults
Command Modes
Command History
|
|
|
Usage Guidelines
Use the clear route-map pbr-statistics command to clear policy-based routing statistics enabled by the route-map pbr-statistic s command.
Examples
This example shows how to clear the policy-based routing statistics for a route map:
Related Commands
|
|
|
|---|---|
clear sockets statistics
To clear the socket statistics, use the clear sockets statistics command.
clear sockets statistics [ all | raw | raw6 | tcp | tcp6 | udp | udp6 ]
Syntax Description
Defaults
Command Modes
network-admin
network-operator
vdc-admin
vdc-operator
Command History
|
|
|
Usage Guidelines
Examples
This example shows how to clear the TCP socket statistics:
Related Commands
|
|
|
|---|---|
clear vrrp
To clear the Virtual Router Redundancy Protocol (VRRP) statistics, use the clear vrrp command.
clear vrrp { statistics | [ ipv4 | vr id ] interface if-number }
Syntax Description
(Optional) Clears VRRP statistics in a VRRP group on an interface. |
|
(Optional) Clears VRRP statistics on an interface. Use ? to see a list of supported interfaces. |
Defaults
Command Modes
Command History
|
|
|
|---|---|
Usage Guidelines
Examples
This example shows how to clear VRRP statistics:
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
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>. |
Defaults
Command Modes
Router configuration
Router VRF mode
Command History
|
|
|
Usage Guidelines
Examples
This example shows how to configure the confederation identifier:
Related Commands
|
|
|
|---|---|
Feedback