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 T.
To correlate multiple events in the policy, use the tag command.
tag tag {and | andnot | or} tag [and | andnot | or {tag}] {happens occurs in seconds}
|
|
This example shows how to correlate multiple events in the policy:
|
|
---|---|
To configure the template data timeout parameter for the NetFlow exporter, use the template data timeout command. To remove the template data timeout parameter, use the no form of this command.
no template data timeout [ time ]
NetFlow exporter version 9 configuration (config-flow-exporter-version-9)
|
|
This example shows how to configure the template data timeout parameter:
switch(config)#
flow exporter Netflow-Exporter-1
This example shows how to remove the template data timeout parameter configuration:
|
|
---|---|
To allow the CLI commands that match an Embedded Event Manager (EEM) policy to continue to run, use the terminal event-manager bypass command. To prevent such commands from running, use the no form of this command.
terminal no event-manager bypass
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to allow the CLI commands that match an EEM policy to continue to run:
This example shows how to prevent the CLI commands that match an EEM policy from running:
|
|
---|---|
Registers an Embedded Event Manager (EEM) policy with the EEM. |
To test the watchdog feature, use the test watchdog command.
network-admin
network-operator
vdc-admin
vdc-operator
|
|
This example shows how to test the watchdog feature:
|
|
---|---|
To configure up to five SMTP servers as the domain name server (DNS) names, IPv4 addresses, or IPv6 addresses for Call home, use the transport email mail-server command.
transport email mail-server ip-address
[ port port-number] [ priority priority - number] [ use-vrf vrf-name ]
network-admin
network-operator
vdc-admin
vdc-operator
|
|
You can configure up to five SMTP servers for Call home. The VRF specified in the transport email mail-server command is not used to send messages using HTTP. When CFS distribution is enabled, devices that run Release 4.2 or earlier releases accept only the transport email smtp-server command configurations while devices that run Release 5.0(1) or later releases accept both the transport email smtp-server and transport email mail-server command configurations.
When a device accepts both the transport email smtp-server and transport email mail-server commands, the transport email smtp-server command has a priority of 0, which is the highest. The server specified by this command is tried first followed by the servers specified by the transport email mail-server commands in order of priority.
This example shows how to configure multiple SMTP servers for Call home messages:
switch(config)#
callhome
switch(config-callhome)# transport email mail-server 172.21.34.193
switch(config-callhome)# transport email smtp-server 10.1.1.174
switch(config-callhome)# transport email mail-server 64.72.101.213 priority 60
switch(config-callhome)# transport email from person@company.com
Based on the configuration above, the SMTP servers would be tried in this order:
172.21.34.193 (priority 50, which is the default)
|
|
---|---|
Distributes the SMTP server configuration to devices that run Release 4.2 or earlier releases. |
To enable Smart Call Home to send all HTTP messages through the HTTP proxy server, use the transport http proxy enable command.
Call home configuration mode (config-callhome)
|
|
You can use this command only after the proxy server address has been configured.
The virtual routing and forwarding (VRF) instance used for transporting messages through the proxy server is the same as that configured using the transport http use-vrf command.
This example shows how to enable Smart Call Home to send all HTTP messages through the HTTP proxy server:
|
|
---|---|
Configures the HTTP proxy server domain name server (DNS) name, IPv4 address, or IPv6 address. |
|
Displays the transport-related configuration for Smart Call Home. |
To configure the HTTP proxy server domain name server (DNS) name, IPv4 address, or IPv6 address, use the transport http proxy server command.
transport http proxy server {ip-address | proxy-server-name} [port port-number]
(Optional) Specifies the port number. The range is from 1 to 65535. The default port number is 8080. |
Call home configuration mode (config-callhome)
|
|
This example shows how to configure the HTTP proxy server DNS name, IPv4 address, or IPv6 address:
|
|
---|---|
Enables Smart Call Home to send all HTTP messages through the HTTP proxy server. |
|
Displays the transport-related configuration for Smart Call Home. |
To configure the virtual routing and forwarding (VRF) instance used to send e-mail and other Call home messages over the Hypertext Transfer Protocol (HTTP), use the transport http use-vrf command.
transport http use-vrf vrf-name
Virtual routing and forwarding (VRF) name. The name can any alphanumeric string up to 255 characters. |
|
|
This example shows how to configure a VRF to send Call home messages using HTTP:
switch(config)#
callhome
|
|
---|---|
Configures multiple SMTP servers as the domain name server (DNS) names, IPv4 addresses, or IPv6 addresses for Call home. |
To configure a NetFlow exporter to transport over UDP, use the transport udp command. To remove the transport configuration, use the no form of this command.
no transport udp [ port-number ]
NetFlow exporter configuration (config-flow-exporter)
|
|
This example shows how to configure a NetFlow exporter to transport over UDP:
switch(config)#
flow exporter Netflow-Exporter-1
This example shows how to remove the UDP configuration:
switch(
config-flow-exporter)#
no
transport udp 200
switch(
config-flow-exporter)#
|
|
---|---|