Table Of Contents
C Commands
clear fabricpath isis adjacency
clear fabricpath isis statistics
clear fabricpath isis traffic
clear fabricpath oam loopback
clear fabricpath oam mtrace
clear fabricpath oam notification
clear fabricpath oam traceroute
C Commands
This chapter describes the Cisco NX-OS FabricPath commands that begin with C.
clear fabricpath isis adjacency
To clear the FabricPath Layer 2 Intermediate-System to Intermediate-System (IS-IS) adjacency state, use the clear fabricpath isis adjacency command.
clear fabricpath isis adjacency [ * | ethernet module/slot | port-channel port_channel_number |
system-id sid]
Syntax Description
*
|
(Optional) Specifies the IS-IS adjacencies on all interfaces.
|
ethernet
|
(Optional) Specifies the IS-IS adjacencies on an Ethernet interface.
|
module/slot
|
(Optional) Module and slot number. The module range is from 1 to 255 and the slot is from 1 to 128.
|
port-channel
|
(Optional) Specifies the IS-IS adjacencies on a port-channel interface.
|
port_channel_number
|
(Optional) Port-channel number. The range is from 1 to 4096.
|
system-id
|
(Optional) Specifies the system ID.
|
sid
|
(Optional) System ID in the form of XXXX.XXXX.XXXX.
|
Command Default
None
Command Modes
Privileged EXEC(#)
Command History
Release
|
Modification
|
5.2(1)N1(1)
|
This command was introduced.
|
Usage Guidelines
Note
If you enter the * variable, you will affect forwarding by entering this command and might interrupt traffic; this command tears down all adjacencies.
This command requires an Enhanced Layer 2 license.
Examples
This example shows how to clear the FabricPath Layer 2 adjacency state:
switch# clear fabricpath isis adjacency *
Related Commands
Command
|
Description
|
fabricpath domain default
|
Enables FabricPath Layer 2 IS-IS.
|
clear fabricpath isis statistics
To clear all FabricPath Intermediate System-to-Intermediate System (IS-IS) protocol statistics, use the clear fabricpath isis statistics command.
clear fabricpath isis statistics *
Syntax Description
*
|
Specifies the IS-IS adjacencies on all interfaces.
|
Command Default
None
Command Modes
Privileged EXEC(#)
Command History
Release
|
Modification
|
5.2(1)N1(1)
|
This command was introduced.
|
Usage Guidelines
This command requires an Enhanced Layer 2 license.
Examples
This example shows how to clear FabricPath IS-IS protocol statistics:
switch# clear fabricpath isis statistics *
Related Commands
Command
|
Description
|
fabricpath domain default
|
Enables FabricPath Layer 2 IS-IS.
|
clear fabricpath isis traffic
To clear Intermediate System-to-Intermediate System (IS-IS) traffic information, use the clear fabricpath isis traffic command.
clear fabricpath isis traffic [* | ethernet module/slot | port-channel port_channel_number]
Syntax Description
*
|
(Optional) Specifies the IS-IS traffic on all interfaces.
|
ethernet
|
(Optional) Specifies the IS-IS traffic on an Ethernet interface.
|
module/slot
|
(Optional) Module and slot number. The module range is from 1 to 255 and the port is from 1 to 128.
|
port-channel
|
(Optional) Specifies the IS-IS traffic on a port-channel interface.
|
port_channel_number
|
Port-channel number. The range is from 1 to 4096.
|
Command Default
None
Command Modes
Privileged EXEC (#)
Command History
Release
|
Modification
|
5.2(1)N1(1)
|
This command was introduced.
|
Usage Guidelines
This command requires an Enhanced Layer 2 license.
Examples
This example shows how to clear FabricPath IS-IS traffic information:
switch# clear fabricpath isis traffic *
Related Commands
Command
|
Description
|
fabricpath domain default
|
Enables FabricPath Layer 2 IS-IS.
|
clear fabricpath oam loopback
To clear information about fabricpath Operation, Administration, and Maintenance (OAM) loopback, use the clear fabricpath oam loopback command in privileged EXEC mode.
clear fabricpath oam loopback {database [session ses-hdl] | session ses-hdl | statistics | {session
ses-hdl | summary}}
Syntax Description
database
|
Clears information about fabricpath OAM loopback database.
|
session ses-hdl
|
(Optional) Clears information about fabricpath OAM loopback for a specific session. The range is from 1 to 65,535.
|
statistics
|
Clears information about fabricpath OAM loopback statistics.
|
summary
|
Clears information about fabricpath OAM loopback statistics summary.
|
Command Default
None
Command Modes
Privileged EXEC(#)
Command History
Release
|
Modification
|
7.0(0)N1(1)
|
This command was introduced.
|
Usage Guidelines
To clear statistics for all sessions, use the clear fabricpath oam loopback statistics command. To clear statistics for a particular session, use the clear fabricpath oam loopback statistics session command. To clear summary statistics, use the clear fabricpath oam loopback statistics summary command.
Examples
This example shows how to clear the fabricpath OAM loopback statistics:
switch# clear fabricpath oam loopback statistics
Related Commands
clear fabricpath oam mtrace
To clear information about fabricpath Operation, Administration, and Maintenance (OAM) mtrace, use the
clear fabricpath oam mtrace command in privileged EXEC mode.
clear fabricpath oam mtrace {database [session ses-hdl] | session ses-hdl statistics [summary]}
Syntax Description
database
|
Clears information about fabricpath OAM mtrace database.
|
session ses-hdl
|
(Optional) Clears information about fabricpath OAM mtrace for a specific session.
|
statistics
|
Clears information about fabricpath OAM mtrace statistics.
|
summary
|
(Optional) Clears information about fabricpath OAM mtrace statistics summary.
|
Command Default
None
Command Modes
Privileged EXEC(#)
Command History
Release
|
Modification
|
7.0(0)N1(1)
|
This command was introduced.
|
Usage Guidelines
Use this command to clear the loopback/traceroute/mtrace database and to clear the loopback/traceroute/mtrace statistics. Both of these tasks can be done on a per-session basis or across all sessions.
Examples
This example shows how to clear the fabricpath OAM mtrace statistics:
switch# clear fabricpath oam mtrace statistics
Related Commands
clear fabricpath oam notification
To clear information about fabricpath Operation, Administration, and Maintenance (OAM) mtrace, use the clear fabricpath OAM notification command in privileged EXEC mode.
clear fabricpath oam notification {database | statistics}
Syntax Description
database
|
Clears information about fabricpath OAM notification database.
|
statistics
|
Clears information about fabricpath OAM notification statistics.
|
Command Modes
Privileged EXEC(#)
Command History
Release
|
Modification
|
7.0(0)N1(1)
|
This command was introduced.
|
Usage Guidelines
Notifications are data packet errors. If a data packet cannot be forwarded due to TTL expiry, it generates a notification. Notifications are kept globally. The notification database contains entries for all data packets that generate notifications. There is a maximum of 500 entries.
Examples
This example shows how to clear the fabricpath OAM notification statistics:
switch# clear fabricpath oam notification statistics
Related Commands
clear fabricpath oam traceroute
To clear information about fabricpath Operation, Administration, and Maintenance (OAM) traceroute, use the clear fabricpath oam traceroute command in privileged EXEC mode.
clear fabricpath oam traceroute {database [session ses-hdl] | statistics [summary]}
Syntax Description
database
|
Clears information about fabricpath OAM traceroute database.
|
session ses-hdl
|
(Optional) Clears information about for fabricpath OAM traceroute for a specific session.
|
statistics
|
Clears information about fabricpath OAM traceroute statistics.
|
summary
|
(Optional) Clears information about fabricpath OAM traceroute statistics summary.
|
Command Modes
Privileged EXEC(#)
Command History
Release
|
Modification
|
7.0(0)N1(1)
|
This command was introduced.
|
Usage Guidelines
Examples
This example shows how to clear the fabricpath OAM traceroute statistics:
switch# clear fabricpath oam traceroute statistics
Related Commands