The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco NX-OS system management commands that begin with the letter C.
To enter the CLI Call home configuration mode, use the callhome command.
|
|
This example shows how to enter the Call home configuration mode:
switch(config)#
callhome
switch(config-callhome)#
To send a Call home message to all configured destinations, use the callhome send command.
callhome send [ configuration | diagnostic]
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to send a Call home configuration message:
switch(config)#
callhome send configuration
trying to send configuration callhome message
switch(config)#
|
|
---|---|
Sends a test message to all configured Call home destinations. |
|
To send a test message to all configured Call home destinations, use the callhome test command.
Sends a dummy callhome inventory to all configured Call home destinations. |
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to send a Call home test message:
switch(config)#
callhome test
trying to send test callhome message
switch(config)#
|
|
---|---|
Sends a configuration or diagnostic message to all configured Call home destinations. |
|
To configure the Cisco Discovery Protocol (CDP) version supported by the device, use the cdp advertise command. To remove the CDP configuration, use the no form of this command.
Global configuration mode (config)
if-ethernet-all configuration (config-if-ethernet-all)
if-gig-ether configuration (config-if-gig-ether)
if-eth-base (config-if-eth-base)
if-mgmt-ether (config-if-mgmt-ether)
|
|
This example shows how to configure the CDP version:
switch(
config)#
cdp advertise v2
switch(
config)
This example shows how to remove the CDP configuration:
switch(
config)#
no cdp advertise v2
switch(
config)
|
|
---|---|
To enable Cisco Discovery Protocol (CDP) on an interface, use the cdp enable command. To disable CDP, use the no form of this command.
Global configuration mode (config)
|
|
This example shows how to enable CDP on an interface:
switch(
config)#
cdp enable
switch(
config)#
This example shows how to disable CDP on an interface:
switch(
config)#
no cdp enable
|
|
---|---|
To configure a device ID format for Cisco Discovery Protocol (CDP), use the cdp format device-id command. To remove the device ID format, use the no form of this command.
cdp format device-id { mac-address | serial-number | system-name }
no cdp format device-id { mac-address | serial-number | system-name }
Specifies the chassis serial number or Organizationally Unique Identifier (OUI). |
|
Specifies the system name. The default is fully qualified domain name. |
Global configuration mode (config)
|
|
This example shows how to configure a device ID format for CDP:
switch(
config)#
cdp format device-id mac-address
switch(
config)#
This example shows how to remove the device ID format:
switch(
config)#
no cdp format device-id mac-address
switch(
config)#
|
|
---|---|
To configure the time that Cisco Discovery Protocol (CDP) holds onto neighbor information before refreshing it, use the cdp holdtime command. To remove the CDP hold time, use the no form of this command.
Global configuration mode (config)
|
|
This example shows how to configure a time that CDP holds onto neighbor information:
switch(
config)#
cdp holdtime 30
switch(
config)#
This example shows how to remove the CDP hold time:
switch(
config)#
no cdp holdtime 30
switch(
config)#
|
|
---|---|
To configure the Cisco Discovery Protocol (CDP) refresh time interval, use the cdp timer command. To remove the CDP refresh time interval configuration, use the no form of this command.
Global configuration mode (config)
|
|
This example shows how to configure the CDP refresh time interval:
switch(
config)#
cdp timer 45
switch(
config)#
This example shows how to remove the CDP refresh time interval:
switch(
config)#
no cdp timer 45
switch(
config)#
|
|
---|---|
Configures the time that CDP holds onto neighbor information before refreshing it. |
To globally enable Cisco Fabric Services (CFS) distribution for the device, use the cfs distribute command. To disable CFS distribution, use the no form of this command. To remove the CFS configuration, use the no form of this command.
|
|
This command does not require a license.
In order to distribute configuration information, CFS distribution must be enabled for both the device and the application.
CFS is enabled by default for the device. All devices in the fabric must have CFS enabled or they do not receive distributions.
If CFS distribution is disabled for an application, that application does not distribute any configuration and it does not accept a distribution from other devices in the fabric.
This example shows how to enable CFS distribution:
switch(config)#
cfs distribute
Displays the status of the specified application, including whether CFS distribution is enabled for the application. |
|
To globally configure the device to use Ethernet to distribute changes for all Cisco Fabric Services (CFS)-enabled applications, use the cfs eth command. To remove the CFS configuration, use the no form of this command.
Global configuration mode (config)
|
|
This example shows how to configure the device to use Ethernet to distribute changes for all CFS-enabled applications:
switch(
config)#
cfs eth distribute
switch(config)#
This example shows how to remove the CFS configuration:
switch(
config)#
no cfs eth distribute
switch(config)#
|
|
---|---|
To globally configure the device to use IPv4 to distribute changes for all Cisco Fabric Services (CFS)-enabled applications, use the cfs ipv4 command. To remove the CFS configuration, use the no form of this command.
cfs ipv4 [ mcast | distribute ]
no cfs ipv4 [ mcast | distribute ]
(Optional) Configures the IPv4 multicast address over which configuration changes are distributed. |
|
(Optional) Configures the device to use IPv4 to distribute changes in CFS-enabled applications. |
|
|
This command does not require a license.
CFS cannot distribute over both IPv4 and IPv6 from the same device.
In order to distribute configuration information, CFS distribution must be enabled for both the device and the application.
CFS is enabled by default for the device. All devices in the fabric must have CFS enabled or they do not receive distributions.
If CFS distribution is disabled for an application, that application does not distribute any configuration and it does not accept a distribution from other devices in the fabric.
CFS over IP must be disabled before you can change the multicast address.
This example shows how to first disable CFS distribution over IPv4 and then configure the IPv4 multicast address over which configuration changes are distributed:
switch(config)#
no cfs ipv4 distribute
This will prevent CFS from distributing over IPv4 network.
Are you sure? (y/n) [n]
y
switch(config)#
cfs ipv4 mcast-address 239.255.1.1
Distribution over this IP type will be affected
Change multicast address for CFS-IP ?
Are you sure? (y/n) [n]
y
To create a Cisco Fabric Services (CFS) region that limits the distribution scope of an application, use the cfs region command. To remove the region or the application, use the no form of this command.
|
|
If a feature is moved, that is, assigned to a new region, its scope is restricted to that region; it ignores all other regions for distribution or merging purposes.
You can set up a CFS region to distribute configurations for multiple applications. However, on a given device, only one CFS region at a time can distribute the configuration for a given application.
Once you assign an application to a CFS region, its configuration cannot be distributed within another CFS region.
If you remove an application from a region, and do not assign it into a different region, it is added to the default region, region 0.
If you attempt to add an application to the same region more than once, the following message appears:
Application already present in the same region.
In order to distribute configuration information, CFS distribution must be enabled for both the device and the application.
CFS is enabled by default for the device. All devices in the fabric must have CFS enabled or they do not receive distributions.
If CFS distribution is disabled for an application, then that application does not distribute any configuration and it does not accept a distribution from other devices in the fabric.
This example shows how to create region 4 and add the NTP application to it. When you create a region, the CLI places you into region configuration mode for that region, where you can then add an application.
switch(config-cfs-region)# callhome
switch(config-cfs-region)# show cfs region brief
---------------------------------------
To check the compactFlash, use the check logflash command.
network-admin
network-operator
vdc-admin
vdc-operator
|
|
To configure the rollback checkpoint, use the checkpoint command. To delete the checkpoint, use the no form of this command.
checkpoint { name | description description | file name }
network-admin
network-operator
vdc-admin
vdc-operator
|
|
If you use the checkpoint command without a name, Cisco NX-OS creates the file with the name auto-x, where x is a decimal number that increases each time you create an unnamed checkpoint file.
This example shows how to configure the rollback checkpoint:
|
|
---|---|
To clear a Call home Cisco Fabric Services (CFS) distribution session, use the clear callhome session command.
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to clear a Call home CFS distribution session:
switch(
config)#
clear callhome session
|
|
---|---|
Sends a configuration or diagnostic message to all configured Call home destinations. |
|
To clear Cisco Discovery Protocol (CDP) statistics on an interface, use the clear cdp command.
clear cdp { counters [ interface interface ] | table [ interface interface ]}
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to clear CDP statistics on an interface:
switch(
config)#
clear cdp counters
switch(
config)#
|
|
---|---|
To delete all checkpoint files in the database, use the clear checkpoint database command.
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to clear the checkpoint database:
|
|
---|---|
To clear the core files, use the clear cores command.
(Optional) Clears the core file on the logflash file system. |
network-admin
network-operator
vdc-admin
vdc-operator
|
|
---|---|
Use the show system cores command to display information about the core files.
This example shows how to clear the core file:
This example shows how to clear the core on the logflash file system:
|
|
---|---|
To clear the statistics for a Flexible NetFlow flow exporter, use the clear flow exporter command.
clear flow exporter { name exporter-name | exporter-name }
network-admin
network-operator
vdc-admin
vdc-operator
|
|
---|---|
You must have already enabled traffic monitoring with Flexible NetFlow using an exporter before you can use the clear flow exporter command.
This example clears the statistics for the flow exporter named NFC-DC-PHOENIX:
|
|
---|---|
To clear a Flexible NetFlow flow monitor, flow monitor cache, or flow monitor statistics and to force the export of the data in the flow monitor cache, use the clear flow monitor command.
clear flow monitor { name monitor-name | monitor-name } [ cache [ force-export ] | statistics ]
(Optional) Forces the export of the flow monitor cache statistics. |
|
network-admin
network-operator
vdc-admin
vdc-operator
|
|
---|---|
You must enable Flexible NetFlow monitor before you can use the clear flow monitor command.
Use the clear flow monitor monitor-name cache command to remove all entries from the flow monitor cache. These entries will not be exported and the data gathered in the cache is lost.
The statistics for the cleared cache entries are maintained.
Use the clear flow monitor monitor-name force-export command to remove all entries from the flow monitor cache and exports them to all flow exporters that are assigned to the flow monitor. This process can result in an short term increase in the CPU utilization.
Use the clear flow monitor monitor-name statistics command to clear the statistics and cache entries for this flow monitor.
The Current entries statistic is not cleared because this statistic indicates how many entries are in the cache.
This example shows how to clear the statistics and cache entries for the flow monitor named NFC-DC-PHOENIX:
This example shows how to clear the statistics and cache entries for the flow monitor named NFC-DC-PHOENIX and forces an export:
This example shows how to clear the cache for the flow monitor named NFC-DC-PHOENIX and forces an export:
This example shows how to clear the statistics for the flow monitor named NFC-DC-PHOENIX:
|
|
---|---|
To clear the NetFlow hardware IP flow, use the clear hardware flow ip command.
clear hardware flow ip [{{ vdc vdc_id } | { monitor name } | { profile profile-id } | { vlan vlan-id } | { interface if-type if-number }}] [ instance inst ] [ force-export ] [ module num ]
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to clear the NetFlow hardware IP flow:
switch(
config)#
|
|
---|---|
Displays information about NetFlow hardware IP / IPV6 flows. |
To clear all the entries from the Optimized ACL Logging (OAL) cache and send them to the syslog, use the clear logging ip access-list cache command.
clear logging ip access-list cache
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to clear all the entries from the OAL cache and send them to the syslog:
|
|
---|---|
To clear messages from the logging file, use the clear logging logfile command.
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to clear messages from the logging file:
|
|
---|---|
To clear the NVRAM logs, use the clear logging nvram command.
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to clear the NVRAM logs:
|
|
---|---|
To clear the onboard failure logging (OBFL) entries in the persistent log, use the clear logging onboard command.
clear logging onboard [ counter-stats] [ environmental-history ] [ error-stats ] [ exception-log ] [ interrupt-stats ] [ module num ] [ obfl-log ] [ stack-trace ]
(Optional) Clears the OBFL information for a specific module. |
|
(Optional) Clears the OBFL (boot-uptime/device-version/obfl-history). |
|
network-admin
network-operator
vdc-admin
vdc-operator
|
|
---|---|
This example shows how to clear the OBFL environmental history entries:
This example shows how to clear the OBFL error statistics:
This example shows how to clear the OBFL exception-log entries:
This example shows how to clear the OBFL interrupt statistics:
This example shows how to clear the OBFL information for a specific module:
This example shows how to clear the OBFL (boot-uptime/device-version/obfl-history) entries:
This example shows how to clear the OBFL stack trace entries:
|
|
---|---|
To clear the current logging session, use the clear logging session command.
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to clear the current logging session:
|
|
---|---|
To clear the Network Time Protocol (NTP) session, use the clear ntp session command.
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to clear the NTP session:
switch(
config)#
clear ntp session
To clear the Network Time Protocol (NTP) statistics, use the clear ntp statistics command.
clear ntp statistics { all-peers | io | local | memory }
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to clear statistics for all NTP peers:
switch(
config)#
clear ntp statistics all-peers
|
|
---|---|
To clear the NVRAM, use the clear nvram command.
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to clear NVRAM:
switch(
config)#
clear nvram
To clear NetFlow hardware IPv4 entries, use the clear platform flow ip command.
clear platform flow ip [ type ] [ force-export ] [ module mod-num ]
network-admin
network-operator
vdc-admin
vdc-operator
|
|
---|---|
This example shows how to specify a forced export of the cleared data to a collector:
This example shows how to clear the NetFlow statistics for a module:
|
|
---|---|
To delete a log file on a log flash, use the clear processes log archive command.
clear processes log archive [ file file-number ]
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to delete a log file on a log flash:
|
|
---|---|
To clear the Precision Time Protocol (PTP) packet counters, use the clear ptp counters command.
clear ptp counters { all | interface ethernet slot / port }
Clears PTP packet counters for an Ethernet interface. The slot number is from 1 to 255 and the port number is from 1 to 128. |
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to clear PTP counters for all PTP interfaces:
|
|
---|---|
Displays PTP specific packet counters for all Ethernet interfaces or for a specified interface. |
To delete the Remote Network Monitoring (RMON) tables from a simple network management protocol (SNMP) notification, use the clear rmon command.
clear rmon { alarms | events | hcalarms | all-alarms }
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to delete RMON tables:
switch(
config)#
clear rmon alarms
switch(
config)#
|
|
---|---|
To clear the state information for a session, use the clear session state name command.
Name of the session. The name can be any case-sensitive, alphanumeric string up to 63 characters. |
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to clear the internal state for a configuration session:
|
|
---|---|
To delete Simple Network Management Protocol (SNMP) counters, use the clear snmp counters command.
|
|
This example shows how to delete SNMP counters:
switch(
config)#
clear snmp counters
switch(
config)#
To see if the counters have been reset, use the show command:
|
|
---|---|
To delete the Simple Network Management Protocol (SNMP) host configuration, use the clear snmp hostconfig command.
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to delete the SNMP host configuration:
switch(
config)#
clear snmp hostconfig
switch(
config)#
|
|
---|---|
To clear the device reset-reason history, use the clear system reset-reason command.
network-admin
network-operator
vdc-admin
vdc-operator
|
|
---|---|
This example shows how to clear the device reset-reason history:
|
|
---|---|
To configure the number of bytes or packets in a flow as a nonkey field and collect the counter values (number of bytes or packets seen) for a Flexible NetFlow flow record, use the collect counter command. To disable the use of the number of bytes or packets in a flow (counters) as a nonkey field for a Flexible NetFlow flow record, use the no form of this command.
collect counter { bytes [ long ] | packets [ long ]}
no collect counter { bytes [ long ] | packets [ long ]}
|
|
---|---|
The Flexible NetFlow commands that start with collect are used to configure nonkey fields for the flow monitor record and to enable capturing the values in the fields for the flow created with the record. The values in nonkey fields are added to flows to provide additional information about the traffic in the flows. A change in the value of a nonkey field does not create a new flow. In most cases, the values for nonkey fields are taken from only the first packet in the flow.
Use the collect counter packets command to configure a 32-bit counter that is incremented for each packet seen in the flow. For extremely long flow it is possible for this counter to wrap when it reaches the limit of 4 billion or more packets. When the flow monitor detects a scenario that could cause a wrap, the flow monitor with a normal cache type exports the flow and starts a new flow.
Use the collect counter packets long command to configure a 64-bit counter that is incremented for each packet seen in the flow. It is unlikely that a 64-bit counter will ever wrap.
This example shows how to enable collecting the total number of bytes from the flows as a nonkey field:
This example shows how to enable collecting the total number of bytes from the flows as a nonkey field using a 64 bit counter:
This example shows how to enable collecting the total number of packets from the flows as a nonkey field:
This example shows how to enable collecting the total number of packets from the flows as a nonkey field using a 64-bit counter:
To configure the flow direction or the flow sampler ID number as a nonkey field and collect their values for a Flexible NetFlow flow record, use the collect flow command. To disable the use of the flow direction or the flow sampler ID number as a nonkey field for a Flexible NetFlow flow record, use the no form of this command.
collect flow { direction | sampler }
no collect flow { direction | sampler }
|
|
---|---|
The Flexible NetFlow commands that start with collect are used to configure nonkey fields for the flow monitor record and to enable capturing the values in the fields for the flow created with the record. The values in nonkey fields are added to flows to provide additional information about the traffic in the flows. A change in the value of a nonkey field does not create a new flow. In most cases, the values for nonkey fields are taken from only the first packet in the flow.
Use the collect flow direction command to indicate the direction of the flow. Use this command when you configure a single flow monitor for input and output flows and to find and eliminate flows that are being monitored twice: once on input and once on output.
Use the collect flow sampler command to collect the ID of the flow sampler that is used to monitor the flow. Use this command when more than one flow sampler is being used with different sampling rates. The option sampler-table command exports option records with mappings of the flow sampler ID to the sampling rate so that the collector can calculate the scaled counters for each flow.
This example shows how to configure the direction of the flow nonkey that was monitored as a nonkey field:
This example shows how to configure an ID of the flow sampler that is assigned to the flow as a nonkey field and collects the ID of the flow sampler:
To configure the input or output interface as a nonkey field and collect the values for a Flexible NetFlow flow record, use the collect interface command. To disable the use of the input or output interface as a nonkey field for a Flexible NetFlow flow record, use the no form of this command.
collect interface { input | output }
no collect interface { input | output }
Configures the input interface as a nonkey field and collects the input interface from the flows. |
|
Configures the output interface as a nonkey field and collects the output interface from the flows. |
|
|
---|---|
The Flexible NetFlow commands that start with collect are used to configure nonkey fields for the flow monitor record and to enable capturing the values in the fields for the flow created with the record. The values in nonkey fields are added to flows to provide additional information about the traffic in the flows. A change in the value of a nonkey field does not create a new flow. In most cases, the values for nonkey fields are taken from only the first packet in the flow.
This example shows how to configure the input interface as a nonkey field and collect the input interface value:
This example shows how to configure the input interface as a nonkey field and collect the output interface value:
To configure a routing attribute as a nonkey field and collect the value of the field for a Flexible NetFlow flow record, use the collect routing command. To disable the use of a routing attribute as a nonkey field for a Flexible NetFlow flow record, use the no form of this command.
collect routing {{ destination | source } as [ peer ] | traffic-index | forwarding-status | next-hop address ipv4 [ bgp ]}
no c ollect routing {{ destination | source } as [ peer ] | traffic-index | forwarding-status | next-hop address ipv4 [ bgp ]}
|
|
---|---|
The Flexible NetFlow commands that start with collect are used to configure nonkey fields for the flow monitor record and to captures the values in the fields for the flow created with the record. The values in nonkey fields are added to flows to provide additional information about the traffic in the flows. A change in the value of a nonkey field does not create a new flow. In most cases, the values for nonkey fields are taken from only the first packet in the flow.
Use the collect routing source as [ peer ] command to collect the 16-bit AS number based on a lookup of the router's routing table using the source IP address. The optional peer keyword provides the expected next network, not the originating network.
Note The the 16-bit AS number is based on how packets are routed back from this router and the value might
not be accurate for asymmetrical routes.
Use the collect routing destination as [peer] command to collect the 16-bit AS number based on a lookup of the router's routing table using the destination IP address. The optional peer keyword provides the expected next network, not the destination network.
Use the collect routing source traffic-index command to collect the traffic index field based on the source AS for this flow. The traffic-index field is a value that is propagated through BGP.
Use the collect routing forwarding-status command to collect a field to indicate if the packets were successfully forwarded. The field is in two parts and may be up to 4 bytes in length. At this time, only the status field is used:
This example shows how to configure the 16-bit AS number based on a lookup of the router’s routing table using the source IP address as a nonkey field and collects the 16-bit AS number value:
This example shows how to configure the 16-bit AS number based on a lookup of the router’s routing table using the destination IP address as a nonkey field and collects the 16-bit AS number value:
This example shows how to configure the value in the traffic index field based on the source AS for a flow as a nonkey field and collects the value in the traffic index field value:
This example shows how to configure the forwarding status as a nonkey field and collects the forwarding status value:
To configure the TIMESTAMP SYS-UPTIME field as a nonkey field and collect the values in them for a Flexible NetFlow flow record, use the collect timestamp sys-uptime command. To disable the use of the TIMESTAMP SYS-UPTIME field as a nonkey for a Flexible NetFlow flow record, use the no form of this command.
collect timestamp sys-uptime { first | last }
no collect timestamp sys-uptime { first | last }
|
|
---|---|
The Flexible NetFlow commands that start with collect are used to configure nonkey fields for the flow monitor record and to enable capturing the values in the fields for the flow created with the record. The values in nonkey fields are added to flows to provide additional information about the traffic in the flows. A change in the value of a nonkey field does not create a new flow. In most cases, the values for nonkey fields are taken from only the first packet in the flow.
This example shows how to configure timestamps based on the sys-uptime for the time that the first packet was seen from the flows as a nonkey field and collects the sys-uptime for the time that the first packet was seen from the flows:
This example shows how to configure timestamps based on the sys-uptime for the time that the most recent packet was seen from the flows as a nonkey field and collects the sys-uptime for the time that the most recent packet was seen from the flows:
To configure a Transmission Control Protocol (TCP) field as a nonkey field and collect the value in it for a Flexible NetFlow flow record, use the collect transport tcp flags command. To disable the use of a TCP field as a nonkey field for a Flexible NetFlow flow record, use the no form of this command.
no collect transport tcp flags
|
|
---|---|
The Flexible NetFlow commands that start with collect are used to configure nonkey fields for the flow monitor record and to enable capturing the values in the fields for the flow created with the record. The values in nonkey fields are added to flows to provide additional information about the traffic in the flows. A change in the value of a nonkey field does not create a new flow. In most cases, the values for nonkey fields are taken from only the first packet in the flow.
This example shows how to configure the TCP flags as a nonkey field:
To distribute a Cisco Fabric Services (CFS) configuration, use the commit command.
|
|
The commit command results in the distribution of the CFS configuration to the running configuration of all CFS-enabled devices in the fabric.
You can only use the commit command on the specific device where the fabric lock was acquired.
Configuration changes that have not been committed yet (still saved as a working copy) are not in the running configuration and do not display in the output of show commands.
An empty commit is allowed to distribute a current configuration if you want to make sure that all devices are synchronized.
This example shows how to commit a CFS configuration and verify that the commit was successful:
|
|
---|---|
Displays information about the CFS configuration session status for an application. |
To validate and apply the commands in the Session Manager configuration session, use the commit command.
(Optional) Displays a detailed version of the results of the commit command. |
|
|
The commit command results in a validation of the entire Session Manager configuration, and, if valid, the configuration is applied to the device,
This example shows how to commit a Session Manager configuration:
|
|
---|---|
Exits session configuration mode without committing the commands. |
|
Displays information about the Session Manager configuration session. |
To enter a maintenance profile configuration session to create a custom maintenance mode profile or a custom normal mode profile, use the configure maintenance profile command. To delete the existing maintenance mode profile or normal mode profile, use the no form of this command. Starting with Cisco NX-OS Release 7.3(0)D1(1), we recommend not using the configure profile [ maintenance-mode | normal-mode ] type admin command and we strongly recommend using the configure maintenance profile [ maintenance-mode | normal-mode ] command.
configure maintenance profile [ maintenance-mod e | normal-mode ]
no configure maintenance profile [ maintenance-mode | normal-mode ]
Enters the maintenance profile configuration session for a maintenance mode profile. |
|
Enters the maintenance profile configuration session for a normal mode profile. |
Global configuration mode (config)
|
|
This example shows how to enter a maintenance profile configuration session for a maintenance mode profile:
This example shows how to enter a maintenance profile configuration session for a normal mode profile:
This example shows how to delete a maintenance profile:
To create or modify an access control list (ACL) configuration session with the Session Manager feature, use the configure session command.
Name of the session. The name can be any case-sensitive, alphanumeric string up to 63 characters. |
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to create an ACL configuration session:
|
|
---|---|
Displays information about the Session Manager configuration sessions. |
To enter the configuration session for the maintenance mode profile file, use the configure profile maintenance-mode type admin command.
configure profile maintenance-mode type admin
|
|
This example shows how to create a maintenance mode profile file:
To enter the configuration session for the normal mode profile file, use the configure profile normal-mode type admin command.
configure profile normal-mode type admin
|
|
This example shows how to create a normal mode profile file:
To specify a service agreement contract ID in Call home, use the contract-id command. To remove it, use the no form of this command.
contract-id contract_id_number
Contract number for this device from the service agreement. The contract number can be up to 255 alphanumeric characters in free format. |
|
|
This example shows how to configure a service agreement contract ID in Call home:
To configure a Simple Network Management Protocol (SNMP) port-monitor counter, use the counter command. To remove the port-monitor counter configuration, use the no form of this command.
counter { invalid-crc [ poll-interval poll-interval { absolute rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ] | delta rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ]}] | invalid-words [ poll-interval poll-interval { absolute rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ] | delta rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ]}] | link-loss [ poll-interval poll-interval { absolute rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ] | delta rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ]}] | protocol-error [ poll-interval poll-interval { absolute rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ] | delta rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ]}] | rx-performance [ poll-interval poll-interval { absolute rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ] | delta rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ]}] | signal-loss [ poll-interval poll-interval { absolute rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ] | delta rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ]}] | sync-loss [ poll-interval poll-interval { absolute rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ] | delta rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id] }] | tx-performance [ poll-interval poll-interval { absolute rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ] | delta rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ]}]}
no counter { invalid-crc [ poll-interval poll-interval { absolute rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ] | delta rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ]}] | invalid-words [ poll-interval poll-interval { absolute rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ] | delta rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ]}] | link-loss [ poll-interval poll-interval { absolute rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ] | delta rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ]}] | protocol-error [ poll-interval poll-interval { absolute rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ] | delta rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ]}] | rx-performance [ poll-interval poll-interval { absolute rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ] | delta rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ]}] | signal-loss [ poll-interval poll-interval { absolute rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ] | delta rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ]}] | sync-loss [ poll-interval poll-interval { absolute rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ] | delta rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id] }] | tx-performance [ poll-interval poll-interval { absolute rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ] | delta rising-threshold rising-threshold event event-id [ falling-threshold falling-threshold event event-id ]}]}
Port-monitor configuration (config-port-monitor)
|
|
This example shows how to configure an SNMP counter:
This example shows how to remove an SNMP counter configuration:
switch(
config)#
no counter invalid-crc poll-interval 30 absolute rising-threshold 10000000 event 100
|
|
---|---|
To specify a service agreement customer ID in Call home, use the customer-id command. To remove it, use the no form of this command.
customer-id contract_id_number
Customer number for this device from the service agreement. The customer number can be up to 255 alphanumeric characters in free format. |
|
|
This example shows how to configure a service agreement customer ID in Call home: