background image

S e n d   c o m m e n t s   t o   n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m

-SM-118

Cisco Nexus 3000 Series NX-OS System Management Command Reference

OL-29557-04

Chapter       System Management Commands

mode tap-aggregation

mode tap-aggregation

To allow the attachment of an ACL with a Tap Aggregation policy to an interface, use the 

mode 

tap-aggregation

 command. To disallow the attachment of such a policy to an interface, use the 

no

 form 

of this command.

mode tap-aggregation

no mode tap-aggregation

Syntax Description

This command has no arguments or keywords.

Command Default

None

Command Modes

Interface configuration mode

Command History

Usage Guidelines

You can use this command on all Cisco Nexus 3000 Series and Cisco Nexus 3100 Series switches.

To be able to apply an ACL with a Tap Aggregation policy on an interface, you must run the 

mode 

tap-aggregation

 command.

Examples

This example shows how to enable mode tap-aggregation and apply the ACL on an interface:

switch# 

configure terminal

switch(config)# 

interface ethernet1/2

switch(config-if)# 

mode tap-aggregation

switch(config-if)# 

ip port access-group test in

Related Commands

Release

Modification

6.0(2)U2(3)

This command was introduced.

Command

Description

ip port access-group

Applies an ACL to an interface.

Summary of Contents for Nexus 3000 series

Page 1: ...isco com Cisco has more than 200 offices worldwide Addresses phone numbers and fax numbers are listed on the Cisco website at www cisco com go offices Cisco Nexus 3000 Series NX OS System Management Command Reference First Published April 2011 Last Modified September 2015 Text Part Number OL 29557 04 ...

Page 2: ...ESSED OR IMPLIED INCLUDING WITHOUT LIMITATION THOSE OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING USAGE OR TRADE PRACTICE IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT SPECIAL CONSEQUENTIAL OR INCIDENTAL DAMAGES INCLUDING WITHOUT LIMITATION LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY ...

Page 3: ... and Changed Information 115 System Management Commands 11 abort Call Home 12 abort session 13 action cli 14 action counter 16 action event default 18 action policy default 110 action reload 112 action snmp trap 114 action syslog 116 alert group Call Home 118 callhome 120 callhome send diagnostic 121 callhome test 122 clear counters mpls strip 123 clear logging logfile 125 clear logging nvram 126 ...

Page 4: ... ERSPAN 142 destination ip ERSPAN 144 destination interface ERSPAN 145 destination profile Call Home 146 diagnostic bootup level 149 duplicate message throttle Call Home 150 email contact Call Home 151 enable Call Home 152 event cli 154 event counter 155 event fanabsent 157 event fanbad 158 event manager applet 159 event manager environment 160 event manager policy 161 event manager policy interna...

Page 5: ...st 189 ip domain lookup 191 ip domain name 192 ip host 194 ip name server 195 ip port access group session 197 logging abort 198 logging commit 199 logging console 1100 logging distribute 1101 logging event 1102 logging event port 1103 logging ip access list cache entries num_entries 1104 logging ip access list cache interval seconds 1105 logging ip access list cache threshold num_packets 1106 log...

Page 6: ...oadcast 1135 ntp broadcastdelay 1136 ntp commit 1137 ntp disable 1138 ntp distribute 1139 ntp logging 1140 ntp master 1142 ntp multicast 1144 ntp multicast client 1146 ntp peer 1148 ntp server 1149 ntp source 1150 ntp source interface 1151 ntp sync retry 1152 ntp trusted key 1153 periodic inventory Call Home 1154 phone contact Call Home 1156 ptp 1157 ptp announce 1158 ptp delay request minimum int...

Page 7: ...89 show callhome transport email 1191 show callhome user def cmds 1192 show diagnostic bootup level 1193 show diagnostic result 1194 show event manager environment 1195 show event manager event types 1197 show event manager history events 1200 show event manager policy state 1202 show event manager script system 1204 show event manager system policy 1205 show forwarding mpls stats 1208 show hardwa...

Page 8: ...tp authentication status 1237 show ntp logging status 1238 show ntp peers 1239 show ntp peer status 1240 show ntp pending diff 1241 show ntp pending peers 1242 show ntp session status 1243 show ntp status 1244 show ntp source 1245 show ntp source interface 1246 show ntp statistics 1247 show ntp status 1248 show ntp trusted keys 1249 show ptp brief 1250 show ptp clock 1251 show ptp clock foreign ma...

Page 9: ...ions 1284 show snmp trap 1285 show snmp user 1286 show startup config 1287 show startup config callhome 1288 show startup config eem 1289 show startup config exclude provision 1291 show startup config ptp 1292 show startup config vtp 1294 show tech support callhome 1295 shut ERSPAN 1296 site id Call Home 1297 snmp server community 1298 snmp server contact 1300 snmp server context 1301 snmp server ...

Page 10: ...d Reference OL 29557 04 snmp trap link status 1318 source SPAN ERSPAN 1320 source ip ERSPAN 1322 streetaddress Call Home 1323 switching mode store forward 1324 switchport mode monitor buffer limit 1325 switch priority Call Home 1326 tag 1327 terminal event manager bypass 1329 transport email Call Home 1330 verify session 1332 vrf ERSPAN 1333 ...

Page 11: ...ation is for experienced network administrators who configure and maintain Cisco Nexus Series switches Document Conventions Command descriptions use these conventions Screen examples use these conventions Convention Description boldface font Commands and keywords are in boldface italic font Arguments for which you supply values are in italics Elements in square brackets are optional x y z Optional...

Page 12: ...1 prod_release_notes_list html Installation and Upgrade Guides The installation and upgrade guides are available at the following URL http www cisco com en US products ps11541 prod_installation_guides_list html Command References The command references are available at the following URL http www cisco com en US products ps11541 prod_command_reference_list html Technical References The technical re...

Page 13: ...report an error or omission please send your comments to nexus3k docfeedback cisco com We appreciate your feedback Obtaining Documentation and Submitting a Service Request For information on obtaining documentation using the Cisco Bug Search Tool BST submitting a service request and gathering additional information see What s New in Cisco Product Documentation at http www cisco com c en us td docs...

Page 14: ...Se n d c o m m e n t s t o n ex u s 3 k d o c f e e d b a ck c i s c o c o m 4 Cisco Nexus 3000 Series NX OS System Management Command Reference OL 29557 04 ...

Page 15: ...and Changed Information Feature Description Changed in Release Where Documented Precision time protocol The sync interval range is now 2 to 4 7 0 3 I2 1 ptp sync interval Precision time protocol The announce timeout range is now 2 to 4 7 0 3 I2 1 ptp announce Show monitor session The number of TCAM entries available for ACL SPAN has been reduced by 6 entries 7 0 3 I2 1 show monitor session show lo...

Page 16: ...ource session in the show monitor session session number command 6 0 2 U5 1 show monitor session MPLS output statistics The MPLS output statistics are displayed in show forwarding mpls stats command 6 0 2 U5 1 show forwarding mpls stats MPLS Stripping This feature was introduced 6 0 2 U2 5 clear counters mpls strip clear mpls strip label dynamic mpls strip dest mac mpls strip mpls strip label mpls...

Page 17: ...oll interval sflow data source sflow max datagram size sflow max sampled size sflow sampling rate show sflow show sflow statistics Syslog Thresholds for System Resources This feature was introduced 5 0 3 U3 2 filter access group Store and Forward Switching This feature was introduced 5 0 3 U3 1 switching mode store forward Scheduler This feature was introduced 5 0 3 U3 1 clear scheduler logfile fe...

Page 18: ...absent event fanbad event manager applet event manager environment event manager policy event manager policy internal event memory event oir event policy default event snmp event storm control event syslog event sysmgr event temperature event track show event manager environment show event manager event types show event manager history events show event manager policy state show event manager scri...

Page 19: ...nitor session shut ERSPAN source SPAN ERSPAN source ip ERSPAN vrf ERSPAN show monitor session show running config monitor Precision Time Protocol PTP This feature was introduced 5 0 3 U2 2 clear ptp counters clock protocol feature ntp ptp ptp announce ptp delay request minimum interval ptp domain ptp priority1 ptp priority2 ptp source ptp sync interval ptp vlan show ntp trusted keys show ptp clock...

Page 20: ...r access group Domain Name System DNS This feature was introduced You can configure a DNS host server or name and enable the DNS lookup feature 5 0 3 U1 1 ip domain list ip domain lookup ip domain name ip host ip name server show hardware forwarding memory health summary Network Time Protocol NTP This feature was introduced You can configure NTP peers and servers 5 0 3 U1 1 mpls strip dest mac ntp...

Page 21: ...tic callhome test commit Call Home contract id Call Home customer id Call Home destination profile Call Home duplicate message throttle Call Home email contact Call Home enable Call Home ntp trusted key phone contact Call Home show callhome show callhome destination profile show callhome transport email show callhome user def cmds show running config callhome show startup config callhome show tech...

Page 22: ...ble traps link snmp server globalEnforcePriv snmp server host snmp server location snmp server mib community map snmp server tcp session snmp server user snmp trap link status show snmp community show snmp context show snmp engineID show snmp group show snmp host show snmp sessions show snmp trap show snmp user Virtual forwarding and routing VRF This feature was introduced You can configure VRF VR...

Page 23: ...lear mpls strip label dynamic clear ntp statistics commit session diagnostic bootup level ip access list session ip port access group session logging abort logging commit logging console logging distribute logging event logging event port logging logfile logging module logging monitor logging server logging timestamp show diagnostic bootup level show diagnostic result show hardware forwarding memo...

Page 24: ...how logging onboard show logging pending show logging pending diff show logging session status show logging server show logging status show logging timestamp verify session Remote Monitoring RMON This feature was introduced You can configure RMON alarms on a Cisco NX OS switch 5 0 3 U1 1 rmon alarm rmon event rmon hcalarm show rmon Table 1 New and Changed Information Feature Description Changed in...

Page 25: ... Nexus 3000 Series NX OS System Management Command Reference OL 29557 04 System Management Commands This chapter describes the Cisco NX OS system management commands available on Cisco Nexus 3000 Series switches ...

Page 26: ...nts or keywords Command Default None Command Modes Callhome configuration mode Command History Usage Guidelines Use this command if you are the CFS lock owner or if you are logged into the device that holds the CFS lock Examples This example shows how to discard Call Home configuration changes switch config callhome abort switch config callhome Related Commands Release Modification 5 0 3 U1 1 This...

Page 27: ...is command has no arguments or keywords Command Default None Command Modes Session configuration mode Command History Examples This example shows how to abort the current configuration session switch configure session MySession1 switch config s abort switch Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Description commit Commits a session configure session Cr...

Page 28: ...red switch configure terminal switch config event manager applet cli applet switch config applet action 1 1 cli show version switch config applet Related Commands label num1 num2 Unique identifier that can be any string value Actions are sorted and run in an ascending alphanumeric sequence using the label as the sort key The range for num1 is from 1 to 16 and the range for num2 is from 0 to 9 loca...

Page 29: ...on reload Specifies the action of reloading the Cisco Nexus 3000 Series software when an Embedded Event Manager EEM applet is triggered action snmp trap Specifies the generation of a Simple Network Management Protocol SNMP trap when an Embedded Event Manager EEM applet is triggered action syslog Configures a syslog message to generate when an Embedded Event Manager EEM applet is triggered Command ...

Page 30: ...ered switch configure terminal switch config event manager applet counter applet switch config applet action 1 2 counter name count1 value variable op dec switch config applet label num1 num2 Unique identifier that can be any string value Actions are sorted and run in an ascending alphanumeric sequence using the label as the sort key The range for num1 is from 1 to 16 and the range for num2 is fro...

Page 31: ...Specifies that the default action for the event is to be performed when an Embedded Event Manager EEM applet is triggered action policy default Enables the default action of the policy being overridden action reload Specifies the action of reloading the Cisco Nexus 3000 Series software when an Embedded Event Manager EEM applet is triggered action snmp trap Specifies the generation of a Simple Netw...

Page 32: ...lt statement to the EEM policy or EEM does not allow the CLI command to execute You can use the terminal event manager bypass command to allow all EEM policies with CLI matches to execute the CLI command This command does not require a license Examples This example shows how to specify that the default action for the event is to be performed when an EEM applet is triggered switch configure termina...

Page 33: ...lt action of the policy being overridden action reload Specifies the action of reloading the Cisco Nexus 3000 Series software when an Embedded Event Manager EEM applet is triggered action snmp trap Specifies the generation of a Simple Network Management Protocol SNMP trap when an Embedded Event Manager EEM applet is triggered action syslog Configures a syslog message to generate when an Embedded E...

Page 34: ...figure terminal switch config event manager applet default applet switch config applet action 1 0 policy default switch config applet Related Commands label num1 num2 Unique identifier that can be any string value Actions are sorted and run in an ascending alphanumeric sequence using the label as the sort key The range for num1 is from 1 to 16 and the range for num2 is from 0 to 9 Release Modifica...

Page 35: ...ce OL 29557 04 Chapter System Management Commands action policy default action snmp trap Specifies the generation of a Simple Network Management Protocol SNMP trap when an Embedded Event Manager EEM applet is triggered action syslog Configures a syslog message to generate when an Embedded Event Manager EEM applet is triggered Command Description ...

Page 36: ... the Cisco Nexus 3000 Series switch software when an EEM applet is triggered switch configure terminal switch config event manager applet reload applet switch config applet action 1 5 reload switch config applet Related Commands label num1 num2 Unique identifier that can be any string value Actions are sorted and run in an ascending alphanumeric sequence using the label as the sort key The range f...

Page 37: ...erence OL 29557 04 Chapter System Management Commands action reload action snmp trap Specifies the generation of a Simple Network Management Protocol SNMP trap when an Embedded Event Manager EEM applet is triggered action syslog Configures a syslog message to generate when an Embedded Event Manager EEM applet is triggered Command Description ...

Page 38: ...e when an EEM applet is triggered switch configure terminal switch config event manager applet snmp applet switch config applet action 1 7 snmp trap strdata EEM detected server failure switch config applet label num1 num2 Unique identifier that can be any string value Actions are sorted and run in an ascending alphanumeric sequence using the label as the sort key The range for num1 is from 1 to 16...

Page 39: ...d action counter Sets or modifies a named counter when an Embedded Event Manager EEM applet is triggered action event default Specifies that the default action for the event is to be performed when an Embedded Event Manager EEM applet is triggered action policy default Enables the default action of the policy being overridden action reload Specifies the action of reloading the Cisco Nexus 3000 Ser...

Page 40: ...uire a license label num1 num2 Unique identifier that can be any string value Actions are sorted and run in an ascending alphanumeric sequence using the label as the sort key The range for num1 is from 1 to 16 and the range for num2 is from 0 to 9 priority Optional Specifies the priority level of the syslog messages If this keyword is not selected all syslog messages are set at the informational p...

Page 41: ...cli Configures a virtual shell VSH command string to be executed when an Embedded Event Manager EEM applet is triggered action counter set or modify a named counter when an Embedded Event Manager EEM applet is triggered action event default Specifies that the default action for the event is to be performed when an Embedded Event Manager EEM applet is triggered action policy default Enables the def...

Page 42: ...that show output with the Call Home message You can assign a maximum of five user defined CLI show commands to an alert group You must enclose the show command in double quotes Only valid show commands are accepted alert Alert group The alert group can be one of the following All All alert groups Cisco TAC Cisco TAC events Configuration Configuration events Diagnostic Diagnostic events EEM EEM eve...

Page 43: ... destination profiles Short text destination profiles do not support additional show commands because they only allow 128 bytes of text Examples This example shows how to add a show command output to a Call Home message sent for an alert group switch config callhome alert group configuration user def cmd show running config switch config callhome Related Commands Command Description copy running c...

Page 44: ...bal configuration mode Command History Usage Guidelines You must configure the e mail phone and street address information for Call Home You can optionally configure the contract ID customer ID site ID and switch priority information Examples This example shows how to enter callhome configuration mode switch configure terminal switch config callhome switch config callhome Related Commands Release ...

Page 45: ...one Command Modes Callhome configuration mode Command History Usage Guidelines You can generate a test message to test your Call Home communications using the callhome send diagnostic command Examples This example shows how to configure Call Home to send test messages to all configured destinations switch configure terminal switch config callhome switch config callhome callhome send diagnostic swi...

Page 46: ...d destinations switch callhome test trying to send test callhome message successfully sent test callhome message switch This example shows how to send a Call Home inventory message to all configured destinations switch callhome test inventory trying to send test callhome inventory message successfully sent test callhome inventory message switch Related Commands inventory Optional Specifies that a ...

Page 47: ...counters mpls strip switch show mpls strip labels MPLS Strip Labels Total 15000 Static 2 Legend Static Label Interface where label was first learned Idle Age Seconds since last use SW Counter Packets received in Software HW Counter Packets switched in Hardware Label Interface Idle Age SW Counter HW Counter 4096 Eth1 44 15 0 0 8192 Eth1 44 17 0 0 12288 Eth1 44 15 0 0 16384 Eth1 44 39 0 0 20480 Eth1...

Page 48: ...t Command Reference OL 29557 04 Chapter System Management Commands clear counters mpls strip mpls strip label Adds or deletes static MPLS labels mpls strip label age Configures MPLS label aging clear mpls strip label dynamic Clears dynamic label entries show mpls strip labels Displays MPLS label configuration Command Description ...

Page 49: ...ntents of the log file use the clear logging logfile command clear logging logfile Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to clear the logging logfile switch clear logging logfile switch Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Description s...

Page 50: ...am To clear the NVRAM logs use the clear logging nvram command clear logging nvram Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to clear the NVRAM logs switch clear logging nvram switch Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Description show log...

Page 51: ...ging onboard environmental history switch This example shows how to clear the OBFL exception log entries switch clear logging onboard exception log switch This example shows how to clear the OBFL boot uptime device version obfl history entries switch clear logging onboard obfl log switch This example shows how to clear the OBFL stack trace entries switch clear logging onboard stack trace switch Re...

Page 52: ...nt logging session use the clear logging session command clear logging session Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to clear the current logging session switch clear logging session switch Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Descripti...

Page 53: ...arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to clear dynamic label entries switch config sh mpls strip labels MPLS Strip Labels Total 2 Static 0 Legend Static Label Interface where label was first learned Idle Age Seconds since last use SW Counter Packets received in Software HW Counter Packets switched in Hardware Label Interf...

Page 54: ...ed Idle Age Seconds since last use SW Counter Packets received in Software HW Counter Packets switched in Hardware Label Interface Idle Age SW Counter HW Counter switch config Related Commands Command Description mpls strip Enables the MPLS stripping feature mpls strip dest mac Configures the destination MAC address for stripped egress frames mpls strip label Adds or deletes static MPLS labels mpl...

Page 55: ...ork Time Protocol NTP session use the clear ntp session command clear ntp session Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to discard the NTP distribution session in progress switch clear ntp session switch Related Commands Release Modification 5 0 3 U1 1 This command was introduced Com...

Page 56: ...tics command clear ntp statistics all peers io local memory Syntax Description Command Default None Command Modes EXEC mode Command History Examples This example shows how to discard the NTP I O statistics switch clear ntp statistics io switch Related Commands all peers Clears all peer transaction statistics io Clears I O statistics local Clears local statistics memory Clears memory statistics Rel...

Page 57: ...d Modes EXEC mode Command History Usage Guidelines This command does not require a license Examples This example shows how to clear all PTP counters switch clear ptp counters all switch Related Commands all Clears all PTP counters interface Clears PTP counters from an interface ethernet slot port Clears PTP counters from an IEEE 802 3z Ethernet interface The slot number is from 1 to 255 and the po...

Page 58: ... command clear scheduler logfile Syntax Description This command has no arguments or keywords Defaults None Command Modes Global configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how clear the scheduler log file switch configure terminal switch config clear schedueler logfile switch config Related Commands Release Modification 5...

Page 59: ... Total Samples clear hardware rate limiter sflow To clear Total Packets clear hardware rate limiter sflow Syntax Description This command has no arguments or keywords Defaults None Command Modes Global configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how clear the sFlow statistics switch configure terminal switch config clear s...

Page 60: ...yntax Description Command Default None Command Modes Global configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to set the synchronization protocol for the clock to PTP switch configure terminal switch config clock protocol ptp switch config Related Commands none Specifies that the clock can be set manually ntp Specifies that ...

Page 61: ... commit Syntax Description This command has no arguments or keywords Command Default None Command Modes Callhome configuration mode Command History Examples This example shows how to commit CFS Call Home configuration changes switch configure terminal switch config callhome switch config callhome commit switch config callhome Related Commands Release Modification 5 0 3 U1 1 This command was introd...

Page 62: ...x Description This command has no arguments or keywords Command Default None Command Modes Session configuration mode Command History Examples This example shows how to commit the current session switch configure session MySession switch config s commit switch config s Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Description configure session Creates a confi...

Page 63: ... You can configure the customer identification information that Cisco Smart Call Home should use The service agreement includes the customer identification information such as the customer ID contract ID and site ID Examples This example shows how to configure the contract number for the customer switch configure terminal switch config callhome switch config callhome contract id 12095134 1706 swit...

Page 64: ...ines You can configure the customer identification information that Cisco Smart Call Home should use The service agreement includes the customer identification information such as the customer ID contract ID and site ID Examples This example shows how to configure a customer number switch configure terminal switch config callhome switch config callhome customer id AXC 1203 switch config callhome R...

Page 65: ... description to a user policy switch configure terminal switch config event manager applet monitorShutdown switch config applet description Monitors interface shutdown This example shows how to remove the policy description switch config applet no description Monitors interface shutdown switch config applet Related Commands policy description Policy description The description can be any case sens...

Page 66: ...in the configuration to describe what certain SPAN sessions are used for The description appears in the output of the show monitor session and show running config monitor commands Examples This example shows how to add a description for a SPAN session switch configure terminal switch config monitor session 9 type local switch config monitor description A Local SPAN session switch config monitor Th...

Page 67: ...ement Command Reference OL 29557 04 Chapter System Management Commands description SPAN ERSPAN show monitor session Displays SPAN session configuration information show running config monitor Displays the running configuration information of a SPAN session source SPAN session Configures a source SPAN port Command Description ...

Page 68: ...can configure only one destination IP address for an ERSPAN source session This command does not require a license Examples This example shows how to configure an ERSPAN destination IP address switch configure terminal switch config monitor session 1 type erspan source switch config erspan src destination ip 192 0 3 1 switch config erspan src Related Commands ip_address IPv4 address in the format ...

Page 69: ...sly configured as a switchport monitor This command does not require a license Examples This example shows how to configure an ERSPAN destination interface switch configure terminal switch config monitor session 1 type erspan destination switch config erspan dst destination interface ethernet 1 5 switch config erspan dst Related Commands ethernet Specifies the Ethernet interface slot port Ethernet...

Page 70: ...messages full txt destination Configures a destination profile for plain text messages short txt destination Configures a destination profile for short text message message level level Specifies the Call Home message severity level The range is from 0 to 9 with 0 being the lowest urgency and 9 the highest urgency message size size Specifies the maximum message size The range is as follows full txt...

Page 71: ...ength of a Call Home message sent to the e mail addresses in this destination profile Note You cannot modify or delete the CiscoTAC 1 destination profile email address E mail address in email address format The address can be a maximum of 255 alphanumeric characters and cannot contain white spaces for example personname companyname com http url Specifies the HTTP or HTTPS URL The url can be a maxi...

Page 72: ...Configuration email addr myname somecompany com message level 3 transport method email switch config callhome Related Commands Table 1 1 Call Home Message Severity Level Call Home Level Keyword Description 9 Catastrophic Network wide catastrophic failure 8 Disaster Significant network impact 7 Fatal System is unusable 6 Critical Critical conditions that indicate that immediate attention is needed ...

Page 73: ...odes Global configuration mode Command History Examples This example shows how to configure the bootup diagnostics level to trigger the complete diagnostics switch configure terminal switch config diagnostic bootup level complete switch config This example shows how to remove the bootup diagnostics level configuration switch configure terminal switch config no diagnostic bootup level complete swit...

Page 74: ...keywords Command Default None Command Modes Callhome configuration mode Command History Usage Guidelines By default the switch limits the number of duplicate messages received for the same event If the number of duplicate messages sent exceeds 30 messages within a 2 hour time frame then the switch discards further messages for that alert type Examples This example shows how to enable duplicate ale...

Page 75: ...Command Modes Callhome configuration mode Command History Examples This example shows how to configure an e mail address switch configure terminal switch config callhome switch config callhome email contact abc xyz com switch config callhome Related Commands email address E mail address The address can be a maximum of 255 alphanumeric characters in e mail address format and cannot contain spaces R...

Page 76: ...ail server You must configure the contact name SNMP server contact phone and street address information before you enable Call Home Examples This example shows how to enable the Cisco Smart Call Home service switch configure terminal switch config callhome switch config callhome enable contact email address is not configured callhome can not be enabled on the switch because necessary configuration...

Page 77: ...S System Management Command Reference OL 29557 04 Chapter System Management Commands enable Call Home Related Commands Command Description copy running config startup config Saves this configuration change email contact Configures the e mail address show callhome Displays a summary of the Call Home configuration ...

Page 78: ...ode Command History Usage Guidelines This command does not require a license Examples This example shows how to specify a CLI command for the EEM applet to match switch configure terminal switch config event manager applet eventcli applet switch config applet event cli match shutdown count 10 switch config applet tag tag Optional Identifies this specific event when multiple events are included in ...

Page 79: ...p to 28 characters entry val value Specifies the value with which the contents of the current counter are compared to decide if a counter event should be raised The range is from 1 to 2147483647 entry op op Compares the contents of the current counter value with the entry value using the specified operator eq Equal to ge Greater than or equal to gt Greater than le Less than or equal to lt Less tha...

Page 80: ...ines This command does not require a license Examples This example shows how to specify an event criteria for an EEM applet that is run when the defined critical_errors counter exceeds the entry value switch configure terminal switch config event manager applet eventcntr applet switch config applet event counter name critical_errors entry val 3 entry op gt switch config applet Release Modification...

Page 81: ... fan number time interval Syntax Description Defaults None Command Modes Embedded event manager configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to specify that an EEM applet runs when a fan absent event occurs switch configure terminal switch config event manager applet absent applet switch config applet event fanabsent ti...

Page 82: ...d fan number time interval Syntax Description Defaults None Command Modes Embedded event manager configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to specify that an EEM applet runs when a fan bad event occurs switch configure terminal switch config event manager applet bad applet switch config applet event fanbad time 1200 ...

Page 83: ...amples This example shows how to register an applet and enter the applet configuration mode switch configure terminal switch config event manager applet monitorShutdown switch config applet This example shows how to remove the applet configuration switch config applet no event manager applet monitorShutdown switch config applet Related Commands applet name Name of the applet The applet name can be...

Page 84: ...age Guidelines This command does not require a license Examples This example shows how to configure an event manager variable for EEM switch configure terminal switch config event manager environment emailto admin abc com switch config This example shows how to remove the event manager variable switch config no event manager environment emailto admin abc com switch config Related Commands variable...

Page 85: ...Command Modes Global configuration mode Command History Usage Guidelines Before using the event manager policy command define a policy by using the virtual shell VSH script and copy the file to the system directory For information on how to define a policy see the Cisco Nexus 3000 Series NX OS System Management Configuration Guide This command does not require a license Examples This example shows...

Page 86: ...Defaults None Command Modes Global configuration mode Command History Usage Guidelines Before using the event manager policy internal command define a policy by using the virtual shell VSH script and copy the file to the system directory For information on how to define a policy see the Cisco Nexus 3000 Series NX OS System Management Configuration Guide This command does not require a license Exam...

Page 87: ...and event memory critical minor severe no event memory critical minor severe Syntax Description Defaults None Command Modes Embedded event manager configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to specify that an EEM applet runs when a memory threshold is exceeded switch configure terminal switch config event manager appl...

Page 88: ...ag Syntax Description Defaults None Command Modes Embedded event manager configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to specify that an EEM applet runs when an OIR occurs switch configure terminal switch config event manager applet cli event switch config applet event oir fan remove 1 switch config applet fan Specifies...

Page 89: ...escription Defaults None Command Modes Embedded event manager configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to configure an event in case a system policy is being overridden switch configure terminal switch config event manager applet cli event switch config applet event policy default count 15 time 1500 switch config ap...

Page 90: ...tiple events are included in the policy The tag name can be any alphanumeric string up to 29 characters oid value Specifies the SNMP OID values in the value argument as the event criteria The value of the data element must be in SNMP dotted notation An OID is defined as a type in the associated MIB and each type has an object value Monitoring of some OID types is supported When the oid keyword is ...

Page 91: ...ies that an exit comparison operator an exit object ID value and an exit time value must exist exit op op Optional Compares the contents of the current object ID with the exit value using the specified operator gt Greater than ge Greater than or equal to eq Equal to ne Not equal to lt Less than le Less than or equal to If there is a match an event is triggered and event monitoring is reenabled Not...

Page 92: ... System Management Commands event snmp Examples This example shows how to specify the event criteria for an EEM applet that is run by sampling SNMP object identifier values switch configure terminal switch config event manager applet snmp applet switch config applet event snmp oid 4 2 1 6 get type next entry op eq entry val 42 poll interval 30000 switch config applet ...

Page 93: ...he storm control event criteria use the no form of this command event storm control no event storm control Syntax Description This command has no arguments or keywords Defaults None Command Modes Embedded event manager configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to specify that an EEM applet runs when a storm control o...

Page 94: ...s Embedded event manager configuration mode Command History Usage Guidelines This command does not require a license occurs occurs Specifies an integer to be used for number of occurrences The range is from 1 to 65000 pattern pattern Specifies a regular expression to be used for matching The pattern can be any alphanumeric string up to 256 characters period period Specifies the time interval withi...

Page 95: ... Chapter System Management Commands event syslog Examples This example shows how to specify that an EEM applet runs when a syslog message is matched switch configure terminal switch config event manager applet cli event switch config applet event syslog period 120 pattern inteface ethernet 1 3 state down Configuration accepted successfully switch config applet ...

Page 96: ...ion mode Command History Usage Guidelines This command does not require a license memory Optional Specifies the memory alert event major major percent Optional Sets the major memory threshold The range is from 1 to 99 minor minor percent Optional Sets the minor memory threshold The range is from 1 to 99 clear clear percent Optional Sets the percentage of memory that needs to be cleared The range i...

Page 97: ... sysmgr Examples This example shows how to specify that an EEM applet runs when a syslog message is matched switch configure terminal switch config event manager applet cli event switch config applet event sysmgr memory major 34 minor 76 clear 10 Configuration error memroy threshold policy has to override the default syste policy of __sysmgr_policy_mem_alert switch config applet switch config appl...

Page 98: ...ults None Command Modes Embedded event manager configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to specify that an EEM applet runs when a temperature event occurs switch configure terminal switch config event manager applet temp applet switch config applet event temperature threshold major switch config applet module module...

Page 99: ...command does not require a license Examples This example shows how to specify that an EEM applet runs when the state of a tracked object changes switch configure terminal switch config event manager applet tracking applet switch config applet event track 20 state down switch config applet tag tag Optional Identifies this specific event when multiple events are included in the policy object id Trac...

Page 100: ... Syntax Description This command does not have any arguments or keywords Defaults Enabled Command Modes Global configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to enable NTP switch configure terminal switch config feature ntp This example shows how to disable NTP switch configure terminal switch config no feature ntp Relate...

Page 101: ...les network admin vdc admin Command History Usage Guidelines This command does not require a license Examples This example shows how to enable the PTP feature switch configure terminal switch config feature ptp switch config This example shows how to disable the PTP feature switch configure terminal switch config no feature ptp switch config Related Commands Release Modification 5 0 3 U2 1 This co...

Page 102: ...c i s c o c o m SM 78 Cisco Nexus 3000 Series NX OS System Management Command Reference OL 29557 04 Chapter System Management Commands feature ptp show ptp brief Displays the PTP status show ptp clock Displays the properties of the local clock Command Description ...

Page 103: ...re scheduler Syntax Description This command has no arguments or keywords Defaults Disabled Command Modes Global configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to enable the scheduler feature on a Cisco NX OS device switch configure terminal switch config feature scheduler This example shows how to disable the scheduler f...

Page 104: ...ow no feature sflow Syntax Description This command has no arguments or keywords Defaults Disabled Command Modes Global configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to enable the sFlow feature on a Cisco NX OS device switch configure terminal switch config feature sflow This example shows how to disable the sFlow featur...

Page 105: ... ingress traffic at a SPAN source port switch configure terminal switch config monitor session 2 switch config monitor filter access group acl1 switch config monitor source interface ethernet 1 16 This example shows how to configure a port channel SPAN source with ACL filtering switch configure terminal switch config monitor session 2 switch config monitor filter access group acl1 switch config mo...

Page 106: ...reshold is 90 percent Command Modes Global configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to set the port buffer information threshold to 80 percent for port 1 switch configure terminal switch config hardware profile buffer info port threshold front port 1 threshold 80 switch config Related Commands front port Specifies t...

Page 107: ... following customer configurations L2_Entry table with no static L2_entry table entries If the L2_Entry table entry is cleared the entry should be dynamically learned through the traffic pattern It should not be learned through IGMP or multicast L3_Entry_only host table Customers should not use the host table The hardware profile unicast enable host ecmp command should be enabled In this case the ...

Page 108: ...onfig hardware profile parity error l2 table clear switch config copy running config startup config switch config reload This example shows how to clear parity errors in a Layer 3 table switch configure terminal switch config hardware profile parity error l3 table clear switch config copy running config startup config switch config reload Related Commands Command Description reload Reloads the Cis...

Page 109: ...mand History Usage Guidelines You can use this command on all Cisco Nexus 3000 Series and Cisco Nexus 3100 Series switches Ensure that you run the copy running config to startup config command to save the configuration to startup and reload the switch to enable tap aggregation Examples This example shows how to configure Tap Aggregation globally on the switch switch configure terminal switch confi...

Page 110: ...ed in LPM table if possible Consider enabling ALPM mode When the ALPM Mode is enabled the following syslog message is displayed IPFIB 2 FIB_TCAM_RESOURCE_EXHAUSTION_HOST_IPV4_LPM_TABLE FIB TCAM exhausted for IPV4 routes in Host table IPV4 Host routes will be programmed in LPM table if possible Check show hardware profile status for table utilization To prevent confusion between the two syslog mess...

Page 111: ...t Command Reference OL 29557 04 Chapter System Management Commands hardware profile unicast syslog host table detail Related Commands Command Description copy running config startup config Copies the running configuration to the startup configuration file show running config Displays the information for the running configuration ...

Page 112: ...lt Command Modes Global session configuration mode Command History Examples This example shows how to create an IPv4 ACL for a configuration session switch configure session MySession1 switch config s ip access list myACL switch config s acl Related Commands Command Description reload Reloads the Cisco Nexus 3000 Series switch software ACL name Name of the IPv4 ACL The name can be up to 64 alphanu...

Page 113: ...P domain list for the default VRF switch configure terminal switch config ip domain list Mysite com switch config This example shows how to configure the IP domain list for the management VRF switch configure terminal switch config vrf context management switch config vrf ip domain list Mysite com switch config vrf This example shows how to configure the IP domain list for the default VRF to use t...

Page 114: ...s NX OS System Management Command Reference OL 29557 04 Chapter System Management Commands ip domain list switch config ip name server 192 0 2 1 switch config ip domain list Mysite2 com switch config Related Commands Command Description show hosts Displays information about the IP domain name configuration ...

Page 115: ...This command has no arguments or keywords Command Default None Command Modes Global configuration mode Command History Usage Guidelines Use the ip domain lookup command to enable DNS Examples This example shows how to configure the DNS server lookup feature switch configure terminal switch config vrf context management switch config vrf exit switch config ip domain name Mysite com use vrf manageme...

Page 116: ...re the IP domain name for the default VRF switch configure terminal switch config ip domain name Mysite com switch config This example shows how to configure the IP domain name for the management VRF switch configure terminal switch config vrf context management switch config vrf ip domain name Mysite com switch config vrf This example shows how to configure the IP domain name for the default VRF ...

Page 117: ...ystem Management Command Reference OL 29557 04 Chapter System Management Commands ip domain name Related Commands Command Description ip domain list Configures the IP domain list ip domain lookup Enables the Domain Name Server DNS lookup feature show hosts Displays information about the IP domain name configuration ...

Page 118: ...ription Command Default None Command Modes Global configuration mode Command History Usage Guidelines Use the ip host command to add a static host name to DNS Examples This example shows how to configure a static hostname switch configure terminal switch config ip host mycompany com 192 0 2 1 switch config Related Commands name Hostname The name can be any case sensitive alphanumeric string up to ...

Page 119: ...figure the IP name server for the default VRF switch configure terminal switch config vrf context management switch config vrf exit switch config ip domain name Mysite com use vrf management switch config ip name server 192 0 2 1 switch config This example shows how to configure the IP name server for the management VRF switch configure terminal switch config vrf context management switch config v...

Page 120: ...switch config ip domain name Mysite com use vrf management switch config ip name server 192 0 2 1 use vrf management switch config Related Commands Command Description ip domain list Defines a list of domains ip domain lookup Enables DNS based host name to address translation show hosts Displays information about the IP domain name configuration vrf context Creates a virtual routing and forwarding...

Page 121: ...mple shows how to apply an IPv4 ACL named ip acl 01 to the Ethernet interface 1 2 as a port ACL switch configure session MySession1 switch config s interface ethernet 1 2 switch config s if ip port access group ip acl 01 in switch config s if This example shows how to remove an IPv4 ACL named ip acl 01 from Ethernet interface 1 2 switch config s interface ethernet 1 2 switch config s if no ip port...

Page 122: ...one Command Modes Global configuration mode Command History Examples This example shows how to discard the changes made to the syslog server configuration switch configure terminal switch config logging distribute switch config logging abort switch config Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Description logging distribute Enables the distribution of ...

Page 123: ...cription This command has no arguments or keywords Command Default None Command Modes Global configuration mode Command History Examples This example shows how to commit the distribution of the syslog server configuration switch configure terminal switch config logging distribute switch config logging commit switch config Related Commands Release Modification 5 0 3 U1 1 This command was introduced...

Page 124: ...essages with a severity level of 4 warning or higher to the console session switch configure terminal switch config logging console 4 switch config Related Commands severity level Optional Number of the desired severity level at which messages should be logged Messages at or numerically lower than the specified level are logged Severity levels are as follows 0 emergency System unusable 1 alert Imm...

Page 125: ... Command Default Distribution is disabled Command Modes Global configuration mode Command History Examples This example shows how to enable the distribution of the syslog server configuration switch configure terminal switch config logging distribute switch config This example shows how to disable the distribution of the syslog server configuration switch configure terminal switch config no loggin...

Page 126: ...e shows how to log TRUNK interface events in a switch profile switch configure sync Enter configuration commands one per line End with CNTL Z switch config sync switch profile s5010 Switch Profile started Profile ID is 1 switch config sync sp logging event trunk status default switch config sync sp Related Commands link status Specifies to log all UP DOWN and CHANGE messages trunk status Specifies...

Page 127: ... Default None Command Modes Interface configuration mode Command History Examples This example shows how to log interface events switch configure terminal switch config interface ethernet 1 1 switch config if logging event port link status default switch config if Related Commands link status Specifies to log all UP DOWN and CHANGE messages trunk status Specifies to log all TRUNK status messages d...

Page 128: ...e range is from 0 to 1000000 entries The default value is 8000 entries logging ip access list cache entries num_entries Syntax Description Command Default None Command Modes Interface configuration mode Command History Examples This example shows how to log interface events switch configure terminal switch config logging ip access list cache entries 5000 switch config Related Commands num_entries ...

Page 129: ...it is removed from the cache The range is from 5 to 86400 seconds The default value is 300 seconds logging ip access list cache interval seconds Syntax Description Command Default None Command Modes Interface configuration mode Command History Examples This example shows how to log interface events switch configure terminal switch config logging ip access list cache interval 120 switch config Rela...

Page 130: ...ult value is 0 packets which means that logging is not triggered by the number of packet matches logging ip access list cache threshold num_packets Syntax Description Command Default None Command Modes Interface configuration mode Command History Examples This example shows how to log interface events switch configure terminal switch config logging ip access list cache threshold 500000 switch conf...

Page 131: ...at have a severity level of 2 or higher switch configure terminal switch config logging level aaa 2 switch config This example shows how to enable error logging messages for the Precision Time Protocol PTP packets switch configure terminal switch config logging level ptp 3 facility Facility To apply the same severity level to all facilities use the all facility severity level Number of the desired...

Page 132: ... s c o c o m SM 108 Cisco Nexus 3000 Series NX OS System Management Command Reference OL 29557 04 Chapter System Management Commands logging level switch config Related Commands Command Description show logging level Displays the facility logging level configuration ...

Page 133: ...le called logfile to store system messages and set its severity level to 4 switch configure terminal switch config logging logfile logfile 4 switch config logfile name Name of the log file to be used to store system messages severity level Number of the desired severity level at which messages should be logged Messages at or numerically lower than the specified level are logged Severity levels are...

Page 134: ... f e e d b a ck c i s c o c o m SM 110 Cisco Nexus 3000 Series NX OS System Management Command Reference OL 29557 04 Chapter System Management Commands logging logfile Related Commands Command Description show logging logfile Displays the log file ...

Page 135: ...amples This example shows how to enable module log messages switch configure terminal switch config logging module switch config Related Commands severity level Optional Number of the desired severity level at which messages should be logged Messages at or numerically lower than the specified level are logged Severity levels are as follows 0 emergency System unusable 1 alert Immediate action neede...

Page 136: ...cure Shell SSH sessions Examples This example shows how to enable monitor log messages switch configure terminal switch config logging monitor switch config Related Commands severity level Optional Number of the desired severity level at which messages should be logged Messages at or numerically lower than the specified level are logged Severity levels are as follows 0 emergency System unusable 1 ...

Page 137: ...ptional Number of the desired severity level at which messages should be logged Messages at or numerically lower than the specified level are logged Severity levels are as follows 0 emergency System unusable 1 alert Immediate action needed 2 critical Critical condition default level 3 error Error condition 4 warning Warning condition 5 notification Normal but significant condition 6 informational ...

Page 138: ...a remote syslog server at a specified IPv4 address using the default outgoing facility switch configure terminal switch config logging server 192 168 2 253 switch config This example shows how to configure a remote syslog server at a specified hostname with severity level 5 or higher switch configure terminal switch config logging server syslogA 5 switch config Related Commands Command Description...

Page 139: ...configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to enable a source interface for the syslog server switch configure terminal switch config logging source interface ethernet 2 1 Related Commands ethernet slot port Specifies Ethernet as the source interface The range for the Ethernet option is from 1 to 253 loopback interfac...

Page 140: ... m m e n t s t o n ex u s 3 k d o c f e e d b a ck c i s c o c o m SM 116 Cisco Nexus 3000 Series NX OS System Management Command Reference OL 29557 04 Chapter System Management Commands logging source interface ...

Page 141: ...None Command Modes Global configuration mode Command History Usage Guidelines By default the units are seconds Examples This example shows how to set the logging time stamp units to microseconds switch configure terminal switch config logging timestamp microseconds switch config Related Commands microseconds Specifies the units to use for logging timestamps in microseconds The default units are se...

Page 142: ...as no arguments or keywords Command Default None Command Modes Interface configuration mode Command History Usage Guidelines You can use this command on all Cisco Nexus 3000 Series and Cisco Nexus 3100 Series switches To be able to apply an ACL with a Tap Aggregation policy on an interface you must run the mode tap aggregation command Examples This example shows how to enable mode tap aggregation ...

Page 143: ...d Modes Global configuration mode Command History Usage Guidelines When you change the origin IP address it impacts all the sessions Note On a Cisco Nexus 3000 Series switch only global origin IP address is supported This command does not require a license Examples This example shows how to configure the ERSPAN global origin IP address switch configure terminal switch config monitor erspan origin ...

Page 144: ...e Guidelines To ensure that you are working with a completely new session you can clear the desired session number or all SPAN sessions After you create an ERSPAN session you can describe the session and add interfaces and VLANs as sources and destinations This command does not require a license Examples This example shows how to create a SPAN session switch configure terminal switch config monito...

Page 145: ...witch config if switchport monitor switch config if no shutdown switch config if This example shows how to configure a typical SPAN destination trunk interface switch configure terminal switch config interface Ethernet1 2 switch config if switchport switch config if switchport mode trunk switch config if switchport monitor switch config if switchport trunk allowed vlan 10 12 switch config if no sh...

Page 146: ...mode Command History Examples This example shows how to configure the destination MAC address for egress frames switch configure terminal switch config mpls strip dest mac 1 1 1 Related Commands mac address Specifies the destination MAC address for egress frames that are stripped of their headers The MAC address can be specified in one of the following four forms E E E EE EE EE EE EE EE EE EE EE E...

Page 147: ...bal configuration mode Command History Examples This example shows how to enable MPLS stripping switch configure terminal switch config mpls strip switch config This example shows how to disable MPLS stripping switch configure terminal switch config no mpls strip switch config Related Commands Release Modification 6 0 2 U2 5 This command was introduced Command Description mpls strip label Adds or ...

Page 148: ...policy is configured The Tap aggregation policy is attached to an interface You can store up to 1025 static labels in an MPLS label table However the table can store up to 15000 labels including dynamic labels Examples This example shows how to add a static MPLS label switch configure terminal switch config mpls strip label 100 switch config This example shows how to delete a static MPLS label swi...

Page 149: ...how to delete all static MPLS labels switch configure terminal switch config no mpls strip label all Related Commands Command Description mpls strip Enables the MPLS stripping feature clear mpls strip label dynamic Clears dynamic label entries mpls strip label age Configures MPLS label aging mpls strip dest mac Configures the destination MAC address for stripped egress frames show mpls strip label...

Page 150: ...e Command History Examples This example shows how to configure label age for dynamic MPLS labels switch configure terminal switch config mpls strip label age 300 switch config Related Commands age Specifies the amount of time after which dynamic MPLS labels age out The value of the age can range from 1 to 10000000 seconds The default age is 1800 seconds Release Modification 6 0 2 U2 5 This command...

Page 151: ...ociations Examples This example shows how to form a server association with a server switch configure terminal switch config ntp server ntp cisco com switch config This example shows how to form a peer association with a peer switch configure terminal switch config ntp peer 192 168 10 0 switch config This example shows how to delete an association with a peer switch configure terminal switch confi...

Page 152: ...k c i s c o c o m SM 128 Cisco Nexus 3000 Series NX OS System Management Command Reference OL 29557 04 Chapter System Management Commands ntp Related Commands Command Description ntp distribute Enables CFS distribution for NTP show ntp Displays NTP information ...

Page 153: ...nd ntp abort Syntax Description This command has no arguments or keywords Command Default None Command Modes Global configuration mode Command History Examples This example shows how to abort the NTP configuration switch configure terminal switch config ntp abort switch config Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Description ntp distribute Enables CF...

Page 154: ...erve access group to be processed If the packet does not match the serve access group it goes to the next access group and so on This command also enables IPv6 access group processing This command does not require a license Examples This example shows how to configure a peer access group for NTP switch configure terminal switch config ntp access group peer Admin_Group_123 switch config This exampl...

Page 155: ...sco Nexus 3000 Series NX OS System Management Command Reference OL 29557 04 Chapter System Management Commands ntp access group switch config no ntp access group peer Admin_Group_123 switch config Related Commands Command Description show ntp access groups Displays the NTP access groups ...

Page 156: ...tication use the no form of this command ntp authenticate no ntp authenticate Syntax Description This command has no arguments or keywords Defaults Disabled Command Modes Global configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to enable NTP authentication switch config ntp authenticate switch config This example shows how t...

Page 157: ... Chapter System Management Commands ntp authenticate Related Commands Command Description ntp authentication key Configures an NTP authentication key ntp trusted key Configures one or more keys that a time source must provide in its NTP packets in order for the device to synchronize to it show ntp authentication status Displays the status of NTP authentication ...

Page 158: ...es not synchronize to a time source unless the source has one of these authentication keys and the key number is specified by the ntp trusted key command This command does not require a license Examples This example shows how to configure an NTP authentication key switch configure terminal switch config ntp authentication key 42 switch config This example shows how to remove the NTP authentication...

Page 159: ...and reliability requirements are modest your network is localized and the network has more than 20 clients We recommend that you use NTP broadcast or multicast associations in networks that have limited bandwidth system memory or CPU resources Note Time accuracy is marginally reduced in NTP broadcast associations because information flows only one way This command does not require a license Exampl...

Page 160: ...y Usage Guidelines Use NTP broadcast or multicast associations when time accuracy and reliability requirements are modest your network is localized and the network has more than 20 clients We recommend that you use NTP broadcast or multicast associations in networks that have limited bandwidth system memory or CPU resources Note Time accuracy is marginally reduced in NTP broadcast associations bec...

Page 161: ...ion in progress use the ntp commit command ntp commit Syntax Description This command has no arguments or keywords Command Default None Command Modes Global configuration mode Command History Examples This example shows how to commit changes to the active NTP configuration switch configure terminal switch config ntp commit switch config Related Commands Release Modification 6 0 2 U2 1 This command...

Page 162: ...the ntp disable command To reenable NTP use the no form of this command ntp disable ip ipv6 no ntp disable ip ipv6 Syntax Description Defaults Enabled Command Modes Interface configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to disable NTP switch ntp disable ip Disables IPv4 on the interface ipv6 Disables IPv6 on the interfa...

Page 163: ...the no form of this command ntp distribute no ntp distribute Syntax Description This command has no arguments or keywords Command Default Disabled Command Modes Global configuration mode Command History Examples This example shows how to distribute the active NTP configuration switch configure terminal switch config ntp distribute switch config Related Commands Release Modification 6 0 2 U2 1 This...

Page 164: ...of this command ntp logging no ntp logging Syntax Description This command has arguments or keywords Defaults Disabled Command Modes Global configuration mode config Command History Usage Guidelines This command does not require a license Examples This example shows how to enable NTP logging switch configure terminal switch config ntp logging switch config This example shows how to disable NTP log...

Page 165: ... m SM 141 Cisco Nexus 3000 Series NX OS System Management Command Reference OL 29557 04 Chapter System Management Commands ntp logging Related Commands Command Description show ntp logging status Displays the NTP logging status show ntp statistics Displays the NTP statistics ...

Page 166: ...cription Defaults None Command Modes Global configuration mode Command History Usage Guidelines This command enables the device to distribute time even when it is not synchronized to an existing time server This command does not require a license Examples This example shows how to configure the device to act as an authoritative NTP server switch configure terminal switch config feature ntp switch ...

Page 167: ...M 143 Cisco Nexus 3000 Series NX OS System Management Command Reference OL 29557 04 Chapter System Management Commands ntp master Related Commands Command Description show running config ntp Displays information about the NTP configuration that is currently running on the switch ...

Page 168: ...ds multicast packets through that interface periodically Use NTP broadcast or multicast associations when time accuracy and reliability requirements are modest your network is localized and the network has more than 20 clients We recommend that you use NTP broadcast or multicast associations in networks that have limited bandwidth system memory or CPU resources This command does not require a lice...

Page 169: ...ystem Management Command Reference OL 29557 04 Chapter System Management Commands ntp multicast Related Commands Command Description ntp multicast client Configures an NTP multicast client on an interface show running config ntp Displays information about the NTP configuration that is currently running on the switch ...

Page 170: ...ommand to configure an NTP multicast client on an interface The device then listens to NTP multicast messages and discards any messages that come from an interface for which multicast is not configured Use NTP broadcast or multicast associations when time accuracy and reliability requirements are modest your network is localized and the network has more than 20 clients We recommend that you use NT...

Page 171: ...ystem Management Command Reference OL 29557 04 Chapter System Management Commands ntp multicast client Related Commands Command Description ntp multicast Configures an NTP multicast server on an interface show running config ntp Displays information about the NTP configuration that is currently running on the switch ...

Page 172: ...on mode config Command History Usage Guidelines You can configure multiple peer associations This command does not require a license Examples This example shows how to configure an NTP peer switch config configure terminal switch config ntp peer 190 0 2 1 switch config This example shows how to remove an NTP peer switch configure terminal switch config no ntp peer 190 0 2 1 switch config Related C...

Page 173: ...guration mode config Command History Usage Guidelines This command does not require a license Examples This example shows how to configure an NTP server switch config configure terminal switch config ntp server 190 0 2 10 switch config This example shows how to remove an NTP server switch configure terminal switch config no ntp server 190 0 2 10 switch config Related Commands ip address IPv4 addre...

Page 174: ...ription Defaults None Command Modes Global configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to configure the NTP source switch config ntp source 192 0 2 3 This example shows how to remove the NTP source switch config no ntp source 192 0 2 3 Related Commands addr IPv4 or IPv6 address of the source The IPv4 address format is ...

Page 175: ...is command does not require a license Examples This example shows how to configure an NTP source interface switch config ntp source interface loopback 1 switch config This example shows how to remove an NTP source configuration switch config no ntp source interface loopback 1 switch config type Source interface interface numb er Source interface number for the source type ethernet Slot chassis num...

Page 176: ... Protocol NTP servers use the ntp sync retry command ntp sync retry Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to retry synchronization with the configured NTP servers switch ntp sync retry switch Related Commands Release Modification 6 0 2 U2 1 This command was introduced Command Descrip...

Page 177: ...ription Defaults None Command Modes Global configuration mode Command History Usage Guidelines This command provides protection against accidentally synchronizing the device to a time source that is not trusted This command does not require a license Examples This example shows how to configure an NTP trusted key switch configure terminal switch config ntp trusted key 42 switch config This example...

Page 178: ...Guidelines The switch generates two Call Home notifications periodic configuration messages and periodic inventory messages Examples This example shows how to configure a periodic inventory notification to generate every 5 days switch configure terminal switch config callhome switch config callhome periodic inventory notification interval 5 switch config callhome This example shows how to disable ...

Page 179: ...d Reference OL 29557 04 Chapter System Management Commands periodic inventory Call Home Related Commands Command Description copy running config startup config Saves this configuration change show callhome Displays Call Home configuration information show running config callhome Displays the running configuration information for Call Home ...

Page 180: ...is example shows how to configure a phone number for the primary person responsible for the device switch configure terminal switch config callhome switch config callhome phone contact 1 800 123 4567 switch config callhome Related Commands phone no Phone number in international phone number format such as 1 800 123 4567 The phone number can be a maximum of 17 alphanumeric characters and cannot con...

Page 181: ...nable PTP on an interface switch configure terminal switch config interface ethernet 1 5 switch config if ptp switch config if This example shows how to disable PTP on an interface switch configure terminal switch config interface ethernet 1 5 switch config if no ptp switch config if Related Commands Release Modification 5 0 3 U2 2 This command was introduced Command Description feature ptp Enable...

Page 182: ...e switch and configured the source IP address for PTP communication This command does not require a license Examples This example shows how to configure the interval between PTP announce messages on an interface switch configure terminal switch config interface ethernet 1 5 switch config if ptp announce interval 1 switch config if This example shows how to remove the interval configuration for PTP...

Page 183: ...ture ptp Enables or disables PTP on the device ptp Enables or disables PTP on an interface ptp delay request minimum interval Configures the minimum interval allowed between PTP delay request messages when the port is in the master state ptp source Configures the source IP address for all PTP packets ptp sync interval Configures the interval between PTP synchronization messages on an interface ptp...

Page 184: ...figuration mode Command History Usage Guidelines Make sure that you have globally enabled PTP on the switch and configured the source IP address for PTP communication This command does not require a license Examples This example shows how to configure the minimum interval allowed between PTP delay request messages switch configure terminal switch config interface ethernet 1 5 switch config if ptp ...

Page 185: ...quest minimum interval ptp announce Configures the interval between PTP announce messages on an interface or the number of PTP intervals before a timeout occurs on an interface ptp source Configures the source IP address for all PTP packets ptp sync interval Configures the interval between PTP synchronization messages on an interface ptp vlan Configures the PTP VLAN value on an interface Command D...

Page 186: ...se Examples This example shows how to configure a domain number for the PTP clock switch configure terminal switch config ptp domain 6 switch config This example shows how to remove the PTP domain configuration switch configure terminal switch config no ptp domain 6 switch config Related Commands domain_number Domain number The range is from 0 to 128 Release Modification 5 0 3 U2 2 This command wa...

Page 187: ...es This example shows how to configure the priority1 value when advertising the PTP clock switch configure terminal switch config ptp priority1 10 switch config This example shows how to remove the priority1 value when advertising the PTP clock switch configure terminal switch config no ptp priority1 10 switch config Related Commands priority number Priority number The range is from 0 to 255 Relea...

Page 188: ...mples This example shows how to configure the priority2 value when advertising the PTP clock switch configure terminal switch config ptp priority2 1 switch config This example shows how to remove the priority2 value configuration for use when advertising the PTP clock switch configure terminal switch config no ptp priority2 1 switch config Related Commands priority number Priority number The range...

Page 189: ...the global source for all the PTP packets switch configure terminal switch config ptp source 192 0 1 1 switch config This example shows how to remove the global source configuration for all the PTP packets switch configure terminal switch config no ptp source 192 0 1 1 switch config Related Commands ip_address IPv4 address of the source vrf Specifies the virtual routing and forwarding VRF instance...

Page 190: ...c i s c o c o m SM 166 Cisco Nexus 3000 Series NX OS System Management Command Reference OL 29557 04 Chapter System Management Commands ptp source show ptp brief Displays the PTP status show ptp clock Displays the properties of the local clock Command Description ...

Page 191: ...s 3000 Series switch must be synchronized on the Slave port with a sync log interval value of less than or equal to 3 Any Master ports on the switch that are connected to downlink Cisco Nexus 3000 Series switches must be configured for a sync log interval value that is less than or equal to 3 This command does not require a license Examples This example shows how to configure the interval between ...

Page 192: ...n feature ptp Enables or disables PTP on the switch ptp Enables or disables PTP on an interface ptp announce Configures the interval between PTP announce messages on an interface or the number of PTP intervals before a timeout occurs on an interface ptp delay request minimum interval Configures the minimum interval allowed between PTP delay request messages when the port is in the master state ptp...

Page 193: ...TP communication Use this command only on Layer 2 Ethernet interfaces 1 Gigabit 10 Gigabit 40 Gigabit or port channel members By default VLAN 1 is used to generate the PTP messages on an interface You must explicitly configure the following VLANs to generate PTP messages on interfaces nondefault access VLANs on an access port nondefault native VLANs on a trunk port This command does not require a ...

Page 194: ... disables PTP on the switch ptp Enables or disables PTP on an interface ptp announce Configures the interval between PTP announce messages on an interface or the number of PTP intervals before a timeout occurs on an interface ptp delay request minimum interval Configures the minimum interval allowed between PTP delay request messages when the port is in the master state ptp sync interval Configure...

Page 195: ...story alarm no Alarm number The range is from 1 to 65535 MIB obj MIB object to monitor The MIB object must be an existing SNMP MIB object in standard dot notation for example 1 3 6 1 2 1 2 2 1 17 83886080 sample interval Sample interval at which the switch collects a sample value of the MIB object The range is from 1 to 700000 seconds absolute Specifies the sample type as absolute delta Specifies ...

Page 196: ...cation and logs the rising alarm event This rising alarm will not occur again until the delta sample for the error counter drops below the falling threshold You can associate a particular event to each RMON alarm RMON supports the following event types SNMP notification Sends an SNMP risingAlarm or fallingAlarm notification when the associated alarm triggers Log Adds an entry in the RMON log table...

Page 197: ...s command respectively You can reuse the same event with multiple RMON alarms Examples This example shows how to configure an RMON event switch configure terminal switch config rmon event 1 owner test switch config Related Commands event index Event or action that the switch takes when an alarm rising or falling triggers The event index range is from 0 to 65535 description string Optional Specifie...

Page 198: ...i s c o c o m SM 174 Cisco Nexus 3000 Series NX OS System Management Command Reference OL 29557 04 Chapter System Management Commands rmon event snmp server user Configures an SNMP user show rmon Displays information about RMON alarms and events Command Description ...

Page 199: ...ard dot notation for example 1 3 6 1 2 1 2 2 1 17 83886080 sample interval Sample interval at which the switch collects a sample value of the MIB object The range is from 1 to 700000 seconds absolute Specifies the sample type as absolute delta Specifies the sample type as delta startupalarm Configures the startup alarm type startup alarm type Startup alarm type The range is from 1 to 3 where 1 is ...

Page 200: ...occur again until the delta sample for the error counter drops below the falling threshold You can associate a particular event to each high capacity RMON alarm RMON supports the following event types SNMP notification Sends an SNMP risingAlarm or fallingAlarm notification when the associated high capacity alarm triggers Log Adds an entry in the RMON log table when the associated high capacity ala...

Page 201: ...any case sensitive alphanumeric string up to 32 characters password Indicates the remote user is entering a password for authentication 0 Indicates the password is in clear text 7 Indicates the password is encrypted password Remote user s password A password can be any case sensitive alphanumeric string up to 64 characters job name job name Places you into job configuration mode for the specified ...

Page 202: ...hen copies the file from bootflash to a TFTP server The filename is created using the current timestamp and switch name switch config scheduler job name backup cfg switch config job cli var name timestamp TIMESTAMP copy running config bootflash SWITCHNAME cfg timestamp copy bootflash SWITCHNAME cfg timestamp tftp 1 2 3 4 vrf management switch config job end switch config This example shows how to ...

Page 203: ...o sflow agent ip ip address Syntax Description Defaults None Command Modes Global configuration Command History Usage Guidelines You must specify a valid IP address to enable sFlow functionality This command does not require a license Examples This example shows how to configure the IPv4 address of the sFlow Agent switch config sflow agent ip 192 0 2 3 switch config copy running config startup con...

Page 204: ...ort You must use the vrf default option if the sFlow data collector is on the network connected to the front panel ports This command does not require a license Examples This example shows how to configure the IPv4 address of the sFlow data collector that is connected to the management port switch configure terminal switch config sflow collector ip 192 0 2 5 vrf management switch config copy runni...

Page 205: ...ctor port Syntax Description Defaults None Command Modes Global configuration Command History Usage Guidelines This command does not require a license Examples This example shows how to configure the destination port for the sFlow datagrams switch configure terminal switch config sflow collector port 7000 switch config copy running config startup config 100 switch config Related Commands collector...

Page 206: ...oll interval Syntax Description Defaults None Command Modes Global configuration Command History Usage Guidelines A sampling interval of 0 disables counter sampling This command does not require a license Examples This example shows how to configure the sFlow poll interval for an interface switch configure terminal switch config sflow counter poll interval 100 switch config copy running config sta...

Page 207: ...you have already configured the port channel and you know the port channel number This command does not require a license Examples This example shows how to configure Ethernet ports 5 through 12 for the sFlow sampler switch configure terminal switch config sflow data source interface ethernet 1 5 12 switch config copy running config startup config 100 switch config This example shows how to config...

Page 208: ... e d b a ck c i s c o c o m SM 184 Cisco Nexus 3000 Series NX OS System Management Command Reference OL 29557 04 Chapter System Management Commands sflow data source Command Description feature sflow Enables sFlow show sflow Displays sFlow information ...

Page 209: ...ze no sflow max datagram size datagram size Syntax Description Defaults None Command Modes Global configuration Command History Usage Guidelines This command does not require a license Examples This example shows how to configure sFlow maximum datagram size switch configure terminal switch config sflow maximum datagram size 2000 switch config copy running config startup config 100 switch config Re...

Page 210: ...pled size sampling size Syntax Description Defaults None Command Modes Global configuration Command History Usage Guidelines This command does not require a license Examples This example shows how to configure the maximum sampling size for the sFlow Agent switch configure terminal switch config sflow maximum sampled size 200 switch config copy running config startup config Related Commands samplin...

Page 211: ...tax Description Defaults None Command Modes Global configuration Command History Usage Guidelines A sampling rate of 0 disables sampling This command does not require a license Examples This example shows how to set the sampling rate to 50 000 switch configure terminal switch config sflow sampling rate 50000 switch config copy running config startup config Related Commands sampling rate sFlow samp...

Page 212: ...s email contact person s phone number street addr site id customer id contract id ac12 switch priority 7 duplicate message throttling enabled periodic inventory enabled periodic inventory time period 7 days periodic inventory timeofday 08 00 HH MM Distribution Disabled switch Related Commands pending Optional Displays the Call Home configuration changes in the pending Cisco Fabric Services CFS dat...

Page 213: ...ation profile information maximum message size 2500000 message format full txt message level 0 transport method email email addresses configured url addresses configured alert groups configured all short_txt destination profile information maximum message size 4000 message format short txt message level 0 transport method email Output truncated switch profile Optional Displays information about a ...

Page 214: ...ut a specific Call Home destination profile switch show callhome destination profile profile CiscoTAC 1 CiscoTAC 1 destination profile information maximum message size 5000000 message level 0 transport method email email addresses configured url addresses configured alert groups configured cisco tac switch Related Commands Command Description destination profile Creates a user defined Call Home de...

Page 215: ... Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the transport configuration for Call Home switch show callhome transport email from email addr DCBU 5020 02 cisco com reply to email addr junk kunk com smtp server 192 168 1 236 smtp server port 25 switch Related Commands Release Modificatio...

Page 216: ...mds command show callhome user def cmds Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the user defined CLI show commands added to an alert group switch show callhome user def cmds User configured commands for alert groups alert group configuration user def cmd show running config ...

Page 217: ...tup level command show diagnostic bootup level Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the current bootup diagnostic level switch show diagnostic bootup level Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Description diagnostic bootup l...

Page 218: ...ult None Command Modes EXEC mode Command History Examples This example shows how to display the diagnostic results for a specific module switch show diagnostic result module 1 Related Commands module Specifies the module for which diagnostic results are displayed module no Module number Valid values are 1 to 3 all Displays the diagnostic results for all modules Release Modification 5 0 3 U1 1 This...

Page 219: ...nfigured environment variables switch show event manager environment emailto emailto admin abc com switch Related Commands variable name Name of the environment variable The variable name can be any alphanumeric string up to 29 characters all Displays information about all the configured environment variables Release Modification 5 0 3 U3 1 This command was introduced Command Description show even...

Page 220: ...agement Command Reference OL 29557 04 Chapter System Management Commands show event manager environment show event manager system policy Displays information about the predefined system policies show startup config eem Displays information about the startup configuration for the Embedded Event Manager EEM Command Description ...

Page 221: ... event manager event types command show event manager event types variable name all module slot Syntax Description Defaults None Command Modes Any command mode Command History Usage Guidelines This command does not require a license variable name Optional Displays information about the specified event type all Optional Displays information about all the event types module slot Optional Displays in...

Page 222: ...Description gsync and vdc create events from standby Event Parameters vdc_no srv_name Publisher sysmgr Default Action collect information about sysmgr state Name HAP_Reset Description HAP Reset in VDC Event Parameters vdc_no srv_name Publisher sysmgr Default Action collect information about sysmgr state in that vdc Name Plugin_Events Description load Plugin related events Event Parameters vdc_no s...

Page 223: ...t manager environment Displays information about the configured environment variables show event manager history events Displays the history of events for all policies show event manager policy state Displays information about a system policy show event manager script system Displays information about the script policies show running config eem Displays information about the running configuration ...

Page 224: ...detail severity catastrophic switch Related Commands detail Optional Displays information about all the event parameters maximum num events Optional Specifies the maximum number of events to be displayed The range is from 1 to 500 severity Optional Displays the history of only those events whose severity is greater than or equal to the specified severity catastrophic Optional Displays the history ...

Page 225: ...y events show event manager script system Displays information about the script policies show running config eem Displays information about the running configuration for the Embedded Event Manager EEM show event manager system policy Displays information about the predefined system policies show startup config eem Displays information about the startup configuration for the Embedded Event Manager ...

Page 226: ...ager policy state __pfm_fanabsent_any_singlefan Policy __pfm_fanabsent_any_singlefan Cfg count 300 Hash Count Policy will trigger if 0 10 290 more event s occur switch config Related Commands system policy name Name of the internal system policy The policy name can be any alphanumeric string up to 29 characters Release Modification 5 0 3 U3 1 This command was introduced Command Description show ev...

Page 227: ...gement Command Reference OL 29557 04 Chapter System Management Commands show event manager policy state show event manager system policy Displays information about the predefined system policies show startup config eem Displays information about the startup configuration for the Embedded Event Manager EEM Command Description ...

Page 228: ...tem all switch Related Commands policy name Name of the system script policy all Displays all the available system script policies Release Modification 5 0 3 U3 1 This command was introduced Command Description show event manager environment Displays information about the configured environment variables show event manager event types Displays information about the event manager event types show e...

Page 229: ...rmation about the predefined system policies use the show event manager system policy command show event manager system policy system policy name all Syntax Description Defaults None Command Modes Any command mode Command History Usage Guidelines This command does not require a license system policy name Name of the system policy all Displays all policies including advanced and the policies that c...

Page 230: ...Disable the port Overridable Yes Name __pfm_fanabsent_any_singlefan Description Syslog when fan is absent Overridable Yes Name __pfm_fanbad_any_singlefan Description Syslog when fan goes bad Overridable Yes Name __pfm_mem Description Generate a syslog Overridable No Name __pfm_power_over_budget Description Syslog warning for insufficient power overbudget Overridable Yes Name __pfm_tempev_major Des...

Page 231: ...riables show event manager event types Displays information about the event manager event types show event manager history events Displays the history of events for all policies show event manager policy state Displays information about a system policy show event manager script system Displays information about the script policies show running config eem Displays information about the running conf...

Page 232: ...ce Out Label Table Id Prefix Tunnel id Label 3001 0x80000001 2000 1 255 201 1 128 2000 1111 2121 1111 1111 1111 1111 1 Po21 Pop Label HH 100028 Refcount 1 Input Pkts 4372931 Input Bytes 559735168 Output Pkts 4372936 Output Bytes 542244064 3002 0x80000001 2000 1 255 202 2 128 2000 1111 2121 1111 1111 1111 1111 1 Po21 Pop Label HH 100026 Refcount 1 Input Pkts 4371209 Input Bytes 559514752 Output Pkt...

Page 233: ...ummary of parity error counts encountered for ASIC memory tables switch show hardware forwarding memory health summary Parity error counters Total parity error detections 7 Total parity error corrections 7 Total TCAM table parity error detections 1 Total TCAM table parity error corrections 1 Total SRAM table parity error detections 6 Total SRAM table parity error corrections 6 Parity error summary...

Page 234: ...nd show hosts Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the IP addresses of the DNS servers that are used to resolve hostnames switch show hosts Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Description ip domain list Defines a list of do...

Page 235: ...sole logging configuration use the show logging console command show logging console Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the console logging configuration switch show logging console Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Des...

Page 236: ...o display the logging configuration use the show logging info command show logging info Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the logging configuration switch show logging info Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Description...

Page 237: ...e use the show logging last command show logging last number Syntax Description Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the last 42 lines of the log file switch show logging last 42 Related Commands number Enters the number of lines to display from 1 to 9999 Release Modification 5 0 3 U1 1 This command was introduced Command Descripti...

Page 238: ...This example shows how to display the logging severity level configuration switch show logging level Facility Default Severity Current Session Severity aaa 3 3 aclmgr 3 3 afm 3 3 altos 3 3 auth 0 0 authpriv 3 3 bootvar 5 5 callhome 2 2 capability 2 2 capability 2 2 cdp 2 2 cert_enroll 2 2 cfs 3 3 snip vdc_mgr 6 6 vlan_mgr 2 2 vmm 5 5 vshd 5 5 xmlma 3 3 zschk 2 2 0 emergencies 1 alerts 2 critical 3...

Page 239: ...h_port_channel 5 5 0 emergencies 1 alerts 2 critical 3 errors 4 warnings 5 notifications 6 information 7 debugging switch This example shows how to display the Address Resolution Protocol ARP logging severity level configuration switch show logging level arp Facility Default Severity Current Session Severity arp 2 2 0 emergencies 1 alerts 2 critical 3 errors 4 warnings 5 notifications 6 informatio...

Page 240: ...les This example shows how to display the messages in the log file that were timestamped within the span shown switch show logging logfile start time 2008 mar 11 12 10 00 Related Commands start time yyyy mmm dd hh mm ss Optional Specifies a start time in the format yyyy mmm dd hh mm ss Use three characters for the month mmm field digits for the year yyyy and day dd fields and digits separated by c...

Page 241: ...he module logging configuration use the show logging module command show logging module Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the module logging configuration switch show logging module Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command De...

Page 242: ...itor logging configuration use the show logging monitor command show logging monitor Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the monitor logging configuration switch show logging monitor Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Des...

Page 243: ...ow logging nvram command show logging nvram last number lines Syntax Description Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the last 20 messages in the NVRAM log switch show logging nvram last 20 Related Commands last number lines Optional Specifies the number of lines to display The number of lines is from 1 to 100 Release Modification ...

Page 244: ...wing format mm dd yy HH MM SS environmental history Displays the OBFL environmental history exception log Displays the OBFL exception log kernel trace Displays the OBFL kernel trace information obfl history Displays the OBFL history information obfl logs Displays the OBFL technical support log information stack trace Displays the OBFL kernel stack trace information starttime Displays the OBFL logs...

Page 245: ...ines of text that match more sophisticated regular expression syntax than grep Grep searches for lines of text that match one or many regular expressions and outputs only the matching lines A num Prints the specifies number of lines of context after every matching line Range 1 to 999 B num Prints the specifies number of lines of context before every matching line Range 1 to 999 c Prints a total co...

Page 246: ...logged to files stored in nonvolatile memory When the onboard hardware is started up a first record is made for each area monitored and becomes a base value for subsequent records The OBFL feature provides a circular updating scheme for collecting continuous records and archiving older historical records ensuring accurate data about the system Data is recorded in one of two formats continuous info...

Page 247: ...to display the OBFL kernel stack trace information switch show logging onboard stack trace The show logging onboard stack trace command displays the following information Time in seconds Time in microseconds Error description string Current process name and identification Kernel jiffies Stack trace Related Commands Command Description clear logging onboard Clears the OBFL entries in the persistent...

Page 248: ...configuration use the show logging pending command show logging pending Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the pending changes to the syslog server configuration switch show logging pending Related Commands Release Modification 5 0 3 U1 1 This command was introduced Com...

Page 249: ...anges of the syslog server configuration use the show logging pending diff command show logging pending diff Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the pending differences of the syslog server configuration switch show logging pending diff Related Commands Release Modificat...

Page 250: ...logging session status use the show logging session status command show logging session status Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the logging session status switch show logging session status Related Commands Release Modification 5 0 3 U1 1 This command was introduced C...

Page 251: ...syslog server configuration use the show logging server command show logging server Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the syslog server configuration switch show logging server Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Descrip...

Page 252: ...tatus command show logging status Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the logging status switch show logging status Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Description logging distribute Enables the distribution of the syslog ...

Page 253: ...tamp configuration use the show logging timestamp command show logging timestamp Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the logging time stamp configuration switch show logging timestamp Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command De...

Page 254: ... Default None Command Modes EXEC mode Command History Examples This example shows how to display information about SPAN session 1 switch show monitor session 1 session 1 type erspan source state up vrf name default destination ip 90 1 1 1 ip ttl 255 ip dscp 0 acl name acl name not specified origin ip 200 1 1 1 global source intf rx Eth1 9 tx Eth1 9 both Eth1 9 source VLANs session Optional Number ...

Page 255: ...pecified source intf rx tx both source VLANs rx 5 tx both filter VLANs filter not specified source fwd drops destination ports switch This example shows how to display a range of SPAN sessions switch show monitor session range 1 4 This example shows how to display the information about an ERSPAN session on a switch that runs Cisco NX OS Release 5 0 3 U2 2 switch show monitor session 1 session 1 ty...

Page 256: ...System Management Command Reference OL 29557 04 Chapter System Management Commands show monitor session Related Commands Command Description monitor session Displays the contents of the startup configuration file show running config monitor Displays the running configuration information for SPAN and ERSPAN sessions ...

Page 257: ... first learned Idle Age Seconds since last use SW Counter Packets received in Software HW Counter Packets switched in Hardware Label Interface Idle Age SW Counter HW Counter 4096 Eth1 53 1 15 1 210 4097 Eth1 53 1 15 1 210 4098 Eth1 53 1 15 1 210 4099 Eth1 53 1 7 2 219 4100 Eth1 53 1 7 2 219 4101 Eth1 53 1 7 2 219 4102 Eth1 53 1 39 1 206 4103 Eth1 53 1 39 1 206 4104 Eth1 53 1 39 1 206 4105 Eth1 53 ...

Page 258: ... learned Idle Age Seconds since last use SW Counter Packets received in Software HW Counter Packets switched in Hardware Label Interface Idle Age SW Counter HW Counter 300 None User 403 0 0 100 None User 416 0 0 25000 None User 869 0 0 20000 None User 869 0 0 21000 None User 869 0 0 Related Commands Command Description mpls strip Enables the MPLS stripping feature mpls strip dest mac Configures th...

Page 259: ... ntp access groups command show ntp access groups Syntax Description This command has no arguments or keywords Defaults None Command Modes EXEC mode Command History Usage Guidelines This command does not require a license Examples This example shows how to display the NTP access group configuration switch show ntp access groups Access List Type Admin_Group_123 Peer switch Related Commands Release ...

Page 260: ... no arguments or keywords Defaults None Command Modes EXEC mode Command History Usage Guidelines This command does not require a license Examples This example shows how to display the NTP authentication keys switch show ntp authentication keys Auth key MD5 String 3 cisco 42 Nice_Key 34567 nexus7k switch Related Commands Release Modification 6 0 2 U 2 1 This command was introduced Command Descripti...

Page 261: ...ommand show ntp authentication status Syntax Description This command has no arguments or keywords Defaults None Command Modes EXEC mode Command History Usage Guidelines This command does not require a license Examples This example shows how to display the NTP authentication status switch show ntp authentication status Authentication enabled switch Related Commands Release Modification 6 0 2 U 2 1...

Page 262: ...ntax Description This command has no arguments or keywords Defaults None Command Modes EXEC mode Command History Usage Guidelines This command does not require a license Examples This example shows how to display the NTP logging status switch show ntp logging status NTP logging enabled switch Related Commands Release Modification 6 0 2 U 1 This command was introduced Command Description ntp loggin...

Page 263: ...t Network Time Protocol NTP peers use the show ntp peers command show ntp peers Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display information about NTP peers switch show ntp peers Related Commands Release Modification 6 0 2 U2 1 This command was introduced Command Description show ntp...

Page 264: ...of the Network Time Protocol NTP peers use the show ntp peer status command show ntp peer status Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the peer status for NTP switch show ntp peer status Related Commands Release Modification 6 0 2 U2 1 This command was introduced Command D...

Page 265: ...ing diff command show ntp pending diff Syntax Description This command has no arguments or keywords Defaults None Command Modes EXEC mode Command History Usage Guidelines This command does not require a license Examples This example shows how to display the differences between the pending NTP configuration and the active NTP configuration switch show ntp pending diff switch Related Commands Releas...

Page 266: ... peers command show ntp pending peers Syntax Description This command has no arguments or keywords Defaults None Command Modes EXEC mode Command History Usage Guidelines This command does not require a license Examples This example shows how to display the pending NTP configuration changes on all peers switch show ntp pending peers switch Related Commands Release Modification 6 0 2 U 2 1 This comm...

Page 267: ...d has no arguments or keywords Defaults None Command Modes Any command mode Command History Usage Guidelines This command does not require a license Examples This example shows how to display the NTP session status switch show ntp session status Last Action Time Stamp Thu Aug 1 16 22 00 20 Last Action Distribution Enable Last Action Result Success Last Action Failure Reason none switch Related Com...

Page 268: ...scription This command has no arguments or keywords Defaults None Command Modes Any command mode Command History Usage Guidelines This command does not require a license Examples This example shows how to display the NTP distribution status switch config show ntp status Distribution Disabled Last operational state No session switch config Related Commands Release Modification 6 0 2 U 2 1 This comm...

Page 269: ...otocol NTP source use the show ntp source command show ntp source Syntax Description This command has no arguments or keywords Defaults None Command Modes Any command mode Command History Usage Guidelines This command does not require a license Examples This example shows how to display the NTP source information switch config show ntp source Related Commands Release Modification 6 0 2 U 2 1 This ...

Page 270: ...and has no arguments or keywords Defaults None Command Modes Any command mode Command History Usage Guidelines This command does not require a license Examples This example shows how to display the NTP source interface switch config show ntp source interface Source interface loopback1 switch config Related Commands Release Modification 6 0 2 U 2 1 This command was introduced Command Description sh...

Page 271: ...lay the statistics for NTP switch show ntp statistics local Related Commands io Displays the input output statistics local Displays the counters maintained by the local NTP memory Displays the statistics counters related to the memory code peer Displays the per peer statistics counter of a peer ipaddr address Displays statistics for the peer with the configured IPv4 or IPv6 address The IPv4 addres...

Page 272: ...distribution status use the show ntp status command show ntp status Syntax Description This command has no arguments or keywords Defaults Disabled Command Modes Any command mode Command History Usage Guidelines This command does not require a license Examples This example shows how to display the distribution status for NTP switch config show ntp status Distribution Enabled Last operational state ...

Page 273: ... Time Protocol NTP trusted keys use the show ntp trusted keys command show ntp trusted keys Syntax Description This command has no arguments or keywords Defaults None Command Modes Any command mode Command History Usage Guidelines This command does not require a license Examples This example shows how to display all the configured NTP trusted keys switch config show ntp trusted keys Trusted Keys 4...

Page 274: ...ense Examples This example shows how to display a brief status of the PTP interfaces switch show ptp brief PTP port status Port State Eth1 5 Disabled switch Related Commands Command Description ntp trusted keys Displays the configured NTP authentication keys Release Modification 5 0 3 U2 2 This command was introduced Command Description show ptp clock Displays the properties of the local clock sho...

Page 275: ...s example shows how to display the PTP clock information switch show ptp clock PTP Device Type Boundary clock Clock Identity 54 7f ee ff ff 2 47 81 Clock Domain 1 Number of PTP ports 0 Priority1 255 Priority2 255 Clock Quality Class 248 Accuracy 254 Offset log variance 65535 Offset From Master 0 Mean Path Delay 0 Steps removed 0 Local clock time Fri Sep 30 05 57 50 2011 switch Related Commands Rel...

Page 276: ... o m SM 252 Cisco Nexus 3000 Series NX OS System Management Command Reference OL 29557 04 Chapter System Management Commands show ptp clock show ptp port Displays the status of the PTP port show ptp time property Displays the properties of the PTP clock Command Description ...

Page 277: ... Command Modes Any command mode Command History Usage Guidelines This command does not require a license Examples This example shows how to display information about the state of foreign masters known to the PTP process switch show ptp clock foreign masters record This example shows how to display information about the state of foreign masters known to the PTP process for the Ethernet interface 1 ...

Page 278: ...ow ptp clock foreign masters record Related Commands Command Description show ptp brief Displays the PTP status show ptp clock Displays the properties of the local clock show ptp corrections Displays the last few PTP corrections show ptp parent Displays the properties of the PTP parent show ptp port Displays the status of the PTP port show ptp time property Displays the properties of the PTP clock...

Page 279: ... Any command mode Command History Usage Guidelines This command does not require a license Examples This example shows how to display the history of the PTP clock corrections on the Ethernet interfaces switch show ptp corrections Related Commands Release Modification 5 0 3 U2 2 This command was introduced Command Description show ptp brief Displays the PTP status show ptp clock Displays the proper...

Page 280: ...t None Command Modes Any command mode Command History Usage Guidelines This command does not require a license Examples This example shows how to display information about the parent and grand master of the PTP clock switch show ptp parent PTP PARENT PROPERTIES Parent Clock Parent Clock Identity 0 0 0 ff ff 0 0 0 Parent Port Number 0 Observed Parent Offset log variance N A Observed Parent Clock Ph...

Page 281: ...ent Related Commands Command Description show ptp brief Displays the PTP status show ptp clock Displays the properties of the local clock show ptp clock foreign masters record Displays the state of foreign masters known to the PTP process show ptp corrections Displays the last few PTP corrections show ptp port Displays the status of the PTP port show ptp time property Displays the properties of th...

Page 282: ...e Examples This example shows how to display information about the PTP port on the Ethernet interface 1 5 switch show ptp port interface ethernet 1 5 PTP Port Dataset Eth1 5 Port identity clock identity 0 5 73 ff ff ff 5b 1 Port identity port number 4 PTP version 2 Port state Disabled VLAN info 1 Delay request interval log mean 2 Peer mean path delay 0 Announce interval log mean 1 Sync interval lo...

Page 283: ...elated Commands Command Description show ptp brief Displays the PTP status show ptp clock Displays the properties of the local clock show ptp clock foreign masters record Displays the state of foreign masters known to the PTP process show ptp corrections Displays the last few PTP corrections show ptp parent Displays the properties of the PTP parent show ptp time property Displays the properties of...

Page 284: ...e Examples This example shows how to display the PTP clock properties switch show ptp time property PTP CLOCK TIME PROPERTY Current UTC Offset valid 0 Current UTC Offset 0 Leap59 0 Leap61 0 Time Traceable 0 Frequency Traceable 0 PTP Timescale 0 Time Source 0xa0 Internal Oscillator switch Related Commands Release Modification 5 0 3 U2 2 This command was introduced Command Description show ptp brief...

Page 285: ... delta samples last value was 216340 Rising threshold is 0 assigned to event 3 Falling threshold is 0 assigned to event 0 On startup enable rising alarm Number of Failed Attempts is 0 switch This example shows how to display the RMON events configured on the switch switch show rmon events Event 5 is active owned by admin Description is myRMONEvent Event firing causes nothing last fired never switc...

Page 286: ...ries NX OS System Management Command Reference OL 29557 04 Chapter System Management Commands show rmon Related Commands Command Description rmon alarm Creates RMON alarms rmon event Creates RMON events rmon hcalarm Creates RMON high capacity alarms show running config Displays the running configuration ...

Page 287: ...ig Command show running config Time Fri May 28 10 30 02 2010 version 5 0 3 U1 1 feature telnet feature private vlan username adminbackup password 5 role network operator username admin password 5 1 gLP0Z4 z nA4fMnTcHmdSgQ3ENakm 1 role network admin ip domain lookup hostname switch slot 1 snmp server user admin network admin auth md5 0xd727e3e4ed39de2f32841ffa24e4234c priv 0xd727e3e4ed39de2f32841ff...

Page 288: ...my acl 10 deny ip any 10 0 0 1 32 20 deny ip 10 1 1 1 32 any class map type control plane match any copp arp class map type control plane match any copp bpdu class map type control plane match any copp default class map type control plane match any copp dhcp class map type control plane match any copp filtermatch class map type control plane match any copp icmp snip class map type control plane ma...

Page 289: ...escription Command Default Displays only the configured information Command Modes EXEC mode Command History Examples This example shows how to display the Call Home running configuration switch show running config callhome This example shows how to display the entire Call Home running configuration including the default values switch show running config callhome all Related Commands all Optional D...

Page 290: ...g config eem Command show running config eem Time Thu Feb 23 01 53 06 2012 version 5 0 3 U5 1 event manager environment emailto admin abc com event manager applet default applet action 1 1 cli show version action 1 2 counter name count1 value variable op dec event manager applet eventcli applet event oir fan remove 1 event manager applet monitorShutdown description Monitors interface shutdown even...

Page 291: ...ent variables show event manager event types Displays information about the event manager event types show event manager history events Displays the history of events for all policies show event manager policy state Displays information about a system policy show event manager script system Displays information about the script policies show event manager system policy Displays information about t...

Page 292: ...ows how to display the running configuration without the offline preprovisioned interfaces switch show running config exclude provision Command show running config exclude provision Time Fri May 28 10 35 32 2010 version 5 0 3 U1 1 feature telnet feature private vlan username adminbackup password 5 role network operator username admin password 5 1 gLP0Z4 z nA4fMnTcHmdSgQ3ENakm 1 role network admin ...

Page 293: ...ion Related Commands Command Description copy running config startup config Copies the running configuration to the startup configuration provision Preprovisions a module in a slot show provision Displays the preprovisioned module information show startup config exclude provision Displays the startup configuration without the preprovisioning information for offline interfaces slot Configures a cha...

Page 294: ...OS Release 5 0 3 U2 1 switch show running config interface ethernet 1 5 Command show running config interface Ethernet1 5 Time Fri Aug 26 04 12 01 2011 version 5 0 3 U2 1 interface Ethernet1 5 speed auto switch Related Commands all Optional Displays all the default and configured information ethernet slot port Specifies the Ethernet interface and the slot number and port number The slot number is ...

Page 295: ... running SPAN and ERSPAN configuration switch show running config monitor Command show running config monitor Time Wed Sep 28 19 11 41 2011 version 5 0 3 U2 2 monitor session 1 type erspan source description ERSPAN source session vrf default destination ip 192 0 2 1 ip ttl 5 ip dscp 3 source interface Ethernet1 5 both mtu 1000 no shut monitor session 3 type erspan destination description ERSPAN de...

Page 296: ...exus 3000 Series NX OS System Management Command Reference OL 29557 04 Chapter System Management Commands show running config monitor Related Commands Command Description monitor session Configures SPAN or ERSPAN sessions show monitor session Displays information about SPAN or ERSPAN sessions ...

Page 297: ...tion Command Modes EXEC mode Command History Examples This example shows how to display the PTP running configuration switch show running config ptp Command show running config ptp Time Wed Aug 24 08 09 22 2011 version 5 0 3 U2 2 feature ptp ptp domain 1 ptp source 192 0 2 1 ptp priority1 10 ptp priority2 20 interface Ethernet1 5 ptp ptp vlan 5 ptp delay request minimum interval 2 switch This exam...

Page 298: ...anagement Command Reference OL 29557 04 Chapter System Management Commands show running config ptp Related Commands Command Description copy running config startup config Copies the PTP running configuration information to the startup configuration file show startup config ptp Displays the startup configuration information ...

Page 299: ...w scheduler config config terminal feature scheduler scheduler logfile size 16 end switch Related Commands config Displays the scheduler configuration information internal Provides the internal scheduler information as specified mem stats Optional Provides the scheduler internal memory information as specified job Displays the job information as specified name jobname Optional Displays information...

Page 300: ... m SM 276 Cisco Nexus 3000 Series NX OS System Management Command Reference OL 29557 04 Chapter System Management Commands show scheduler Command Description scheduler Configures maintenance jobs feature scheduler Enables the scheduler feature for scheduling maintenance jobs ...

Page 301: ...istory Usage Guidelines This command does not require a license Examples This example shows how to configure sFlow information switch config feature sflow switch config sflow sampling rate 5000 switch config sflow max sampled size 200 switch config sflow counter poll interval 100 switch config sflow max datagram size 2000 switch config sflow collector ip 192 0 2 vrf management switch config sfow c...

Page 302: ...d has no arguments or keywords Defaults None Command Modes Global command mode Command History Usage Guidelines This command does not require a license Examples This example shows how to configure sFlow information switch config feature sflow statistics Total Packets 7157396604 Total Samples 40759311 Processed Samples 40759347 Dropped Samples 0 Sent Datagrams 6823652 Dropped Datagrams 4 Related Co...

Page 303: ...strings configured on the switch use the show snmp community command show snmp community Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the SNMP community strings switch show snmp community Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Descrip...

Page 304: ... Management Protocol SNMP contexts configured on the switch use the show snmp context command show snmp context Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the SNMP contexts switch show snmp context Related Commands Release Modification 5 0 3 U1 1 This command was introduced Com...

Page 305: ... This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Usage Guidelines An SNMP engine is a copy of SNMP that can reside on a local or remote device SNMP passwords are localized using the SNMP engine ID of the authoritative SNMP engine Examples This example shows how to display the SNMP engine ID switch show snmp engineID Related Commands Release Mo...

Page 306: ...agement Protocol SNMP groups configured on the switch use the show snmp group command show snmp group Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the SNMP groups switch show snmp group Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Descripti...

Page 307: ... Simple Network Management Protocol SNMP host information use the show snmp host command show snmp host Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the SNMP host switch show snmp host Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Descriptio...

Page 308: ...ork Management Protocol SNMP sessions use the show snmp sessions command show snmp sessions Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the SNMP sessions switch show snmp sessions Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Description sh...

Page 309: ...Management Protocol SNMP link trap generation information use the show snmp trap command show snmp trap Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the SNMP traps switch show snmp trap Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Descripti...

Page 310: ...w snmp user command show snmp user Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the SNMP users configured on the switch switch show snmp user This example shows how to display information about a specific SNMP user switch show snmp user admin Related Commands Release Modification...

Page 311: ... from the startup configuration file switch show startup config Command show startup config Time Fri May 28 11 05 41 2010 Startup config saved at Fri May 28 11 05 35 2010 version 5 0 3 U1 1 feature telnet feature private vlan username adminbackup password 5 role network operator username admin password 5 1 gLP0Z4 z nA4fMnTcHmdSgQ3ENakm 1 role network admin ip domain lookup hostname switch slot 1 s...

Page 312: ...nfig callhome Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the startup configuration for Call Home switch show startup config callhome Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Description copy running config startup config Saves this co...

Page 313: ...Examples This example shows how to display information about the startup configuration for EEM switch show startup config eem Command show startup config eem Time Thu Feb 23 02 05 51 2012 Startup config saved at Wed Feb 22 20 55 47 2012 version 5 0 3 U5 1 switch Related Commands Release Modification 5 0 3 U3 1 This command was introduced Command Description show event manager environment Displays ...

Page 314: ...Management Command Reference OL 29557 04 Chapter System Management Commands show startup config eem show running config eem Displays information about the running configuration for the Embedded Event Manager EEM show event manager system policy Displays information about the predefined system policies Command Description ...

Page 315: ...e provision Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the startup configuration without the offline preprovisioned interfaces switch show startup config exclude provision Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Description provision...

Page 316: ...mode Command History Examples This example shows how to display the PTP startup configuration switch show startup config ptp Command show startup config ptp Time Wed Aug 24 08 10 00 2011 Startup config saved at Wed Aug 24 08 09 56 2011 version 5 0 3 U2 2 feature ptp ptp domain 1 ptp source 192 0 2 1 ptp priority1 10 ptp priority2 20 interface Ethernet1 5 ptp ptp vlan 5 ptp delay request minimum in...

Page 317: ...System Management Command Reference OL 29557 04 Chapter System Management Commands show startup config ptp Related Commands Command Description copy running config startup config Copies the running configuration information to the startup configuration file ptp source Configures the global source IP for PTP packets ...

Page 318: ...ion This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the VTP configuration stored in the startup configuration file switch show startup config vtp Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Description copy running config startup config Copies the running confi...

Page 319: ...allhome command show tech support callhome Syntax Description This command has no arguments or keywords Command Default None Command Modes EXEC mode Command History Examples This example shows how to display the troubleshooting information for Call Home switch show tech support callhome Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Description show callhome D...

Page 320: ...ion configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to shut down an ERSPAN session switch configure terminal switch config monitor session 1 type erspan source switch config erspan src shut switch config erspan src This example shows how to enable an ERSPAN session switch configure terminal switch config monitor session 1 ...

Page 321: ...ines You can configure the customer identification information that Cisco Smart Call Home should use The service agreement includes the customer identification information such as the customer ID contract ID and site ID Examples This example shows how to configure a site number switch configure terminal switch config callhome switch config callhome site id 10020 1203 switch config callhome Related...

Page 322: ...nies the request SNMP drops the request and sends a system message See the Cisco Nexus 3000 Series NX OS Security Configuration Guide for more information on creating ACLs The ACL applies to both IPv4 and IPv6 over UDP and TCP After creating the ACL assign the ACL to the SNMP community Examples This example shows how to create an SNMP community string and assign an ACL to the community to filter S...

Page 323: ... a ck c i s c o c o m SM 299 Cisco Nexus 3000 Series NX OS System Management Command Reference OL 29557 04 Chapter System Management Commands snmp server community Related Commands Command Description show snmp community Displays the SNMP community strings ...

Page 324: ...stem contact sysContact string is set Command Modes Global configuration mode Command History Examples This example shows how to set an SNMP contact switch configure terminal switch config snmp server contact DialSystemOperatorAtBeeper 1235 switch config This example shows how to remove an SNMP contact switch configure terminal switch config no snmp server contact DialSystemOperatorAtBeeper 1235 s...

Page 325: ...History Usage Guidelines Use the snmp server context command to map between SNMP contexts and logical network entities such as protocol instances or VRFs Examples This example shows how to map the public1 context to the default VRF switch configure terminal switch config snmp server context public1 vrf default switch config context name SNMP context The name can be any alphanumeric string up to 32...

Page 326: ...o m SM 302 Cisco Nexus 3000 Series NX OS System Management Command Reference OL 29557 04 Chapter System Management Commands snmp server context Related Commands Command Description show snmp Displays the SNMP status show snmp context Displays information about SNMP contexts ...

Page 327: ... fcs fctrace fspf license notify license expiry notify license expiry warning notify licensefile missing notify no license for feature link rf redundancy_framework rmon fallingAlarm hcFallingAlarm hcRisingAlarm risingAlarm rscn snmp authentication storm control trap rate vsan zone default zone behavior change merge failure merge success request reject1 unsupp mem Syntax Description aaa Optional En...

Page 328: ...tional Specifies the Redundancy_Framework RF supervisor switchover MIB rmon Optional Enables notifications for rising falling and high capacity alarms fallingAlarm Optional Specifies the RMON falling alarm hcFallingAlarm Optional Specifies the high capacity RMON falling alarm hcRisingAlarm Optional Specifies the high capacity RMON rising alarm risingAlarm Optional Specifies the RMON rising alarm r...

Page 329: ...rminal switch config snmp server enable traps aaa switch config This example shows how to enable SNMP notifications for Storm Control switch configure terminal switch config snmp server enable traps storm control switch config This example shows how to specify the number of Storm Control traps per minute switch configure terminal switch config snmp server enable traps storm control trap rate 100 s...

Page 330: ... type can be one of the following keywords IETF extended linkDown Enables the Internet Engineering Task Force IETF extended link state down notification IETF extended linkUp Enables the IETF extended link state up notification cisco extended linkDown Enables the Cisco extended link state down notification cisco extended linkUp Enables the Cisco extended link state up notification connUnitPortStatu...

Page 331: ... no notification type arguments the default is to enable all notification types controlled by this command Examples This example shows how to enable the SNMP link trap notification on the switch switch configure terminal switch config snmp server enable traps link switch config This example shows how to disable the SNMP link trap notification on the switch switch configure terminal switch config n...

Page 332: ...is command has no arguments or keywords Command Default None Command Modes Global configuration mode Command History Usage Guidelines The snmp server enable traps command enables both traps and informs depending on the configured notification host receivers This command does not require a license Examples This example shows how to enable SNMP notifications on a VTP domain switch config snmp server...

Page 333: ...ion This command has no arguments or keywords Command Default The SNMP agent accepts SNMPv3 messages without authentication and encryption Command Modes Global configuration mode Command History Examples This example shows how to configure SNMP message encryption for all users switch configure terminal switch config snmp server globalEnforcePriv switch config This example shows how to remove SNMP ...

Page 334: ...with the notification operation The string can be a maximum of 32 alphanumeric characters We recommend that you define this string using the snmp server community command prior to using the snmp server host command filter vrf vrf name Specifies the virtual routing and forwarding VRF instance The name is case sensitive and can be a maximum of 32 alphanumeric characters default Specifies the default...

Page 335: ...can be sent again Therefore informs are more likely to reach their intended destination Examples This example shows how to sends the SNMP traps to the host specified by the IPv4 address 192 168 0 10 The community string is defined as my_acl_for_public switch configure terminal switch config snmp server community public use acl my_acl_for_public switch config snmp server host 192 168 0 10 my_acl_fo...

Page 336: ...yntax Description Command Default No system location string is set Command Modes Global configuration mode Command History Examples This example shows how to set a system location string switch configure terminal switch config snmp server location Building 3 Room 21 switch config This example shows how to remove the system location string switch configure terminal switch config no snmp server loca...

Page 337: ...n SNMPv2c community named my_acl_for_public to an SNMP context public1 switch configure terminal switch config snmp server mib community map my_acl_for_public context public1 switch config This example shows how to remove the mapping of an SNMPv2c community to an SNMP context switch configure terminal switch config no snmp server mib community map my_acl_for_public context public1 switch config Re...

Page 338: ...i s c o c o m SM 314 Cisco Nexus 3000 Series NX OS System Management Command Reference OL 29557 04 Chapter System Management Commands snmp server mib community map snmp server context Configures an SNMP context show snmp Displays the SNMP status Command Description ...

Page 339: ...rver tcp session auth Syntax Description Command Default Disabled Command Modes Global configuration mode Command History Examples This example shows how to enable one time authentication for SNMP over a TCP session switch configure terminal switch config snmp server tcp session auth switch config This example shows how to disable one time authentication for SNMP over a TCP session switch configur...

Page 340: ...roupname Optional Name of the group to which the user is associated The name can be a maximum of 32 alphanumeric characters auth Optional Specifies that an authentication level setting will be initiated for the session md5 Optional Specifies that the HMAC MD5 96 authentication level be used for the session sha Optional Specifies that the HMAC SHA 96 authentication level be used for the session aut...

Page 341: ...System Management Commands snmp server user switch config snmp server user authuser publicsecurity auth sha shapwd priv aes 128 switch config This example shows how to delete an SNMP user switch configure terminal switch config no snmp server user authuser switch config Related Commands Command Description show snmp user Displays information about one or more SNMP users ...

Page 342: ... on an individual interface You can use these limit notifications on a flapping interface an interface that transitions between up and down repeatedly You can use this command on the following interfaces Layer 2 interface Layer 3 interface Note Use the no switchport command to configure an interface as a Layer 3 interface Examples This example shows how to disable SNMP link state traps for a speci...

Page 343: ...eference OL 29557 04 Chapter System Management Commands snmp trap link status switch config interface ethernet 1 1 switch config if snmp trap link status switch config if Related Commands Command Description no switchport Configures an interface as a Layer 3 routed interface show snmp trap Displays the SNMP notifications enabled or disabled ...

Page 344: ...t traffic such as received Rx transmitted Tx or bidirectional both A source port can be an Ethernet port port channel SAN port channel or a VLAN port It cannot be a destination port For ERSPAN if you do not specify both rx or tx the source traffic is analyzed for both directions interface Specifies the interface type to use as the source SPAN port ethernet slot port Specifies the IEEE 802 3z Ether...

Page 345: ... a port channel SPAN source switch configure terminal switch config monitor session 2 switch config monitor source interface port channel 5 switch config monitor This example shows how to configure an ERSPAN source port to receive traffic on the port switch configure terminal switch config monitor session 1 type erspan source switch config erspan src source interface ethernet 1 5 rx switch config ...

Page 346: ...RSPAN destination configuration mode Command History Usage Guidelines An ERSPAN destination session supports only one source IP address Examples This example shows how to configure a source IP address for an ERSPAN session switch configure terminal switch config monitor session 1 type erspan destination switch config erspan dst source ip 192 0 2 1 switch config erspan dst Related Commands ip_addre...

Page 347: ...s Callhome configuration mode Command History Examples This example shows how to configure the street address for the primary person responsible for the switch switch configure terminal switch config callhome switch config callhome streetaddress 170 West Tasman Drive San Jose CA 95134 1706 switch config callhome Related Commands address Street address The address can be a maximum of 255 alphanumer...

Page 348: ...ching mode store forward Syntax Description This command has no arguments or keywords Defaults Disabled Command Modes Global configuration mode Command History Usage Guidelines Enabling store and forward switching mode might impact your port to port switching latency This command does not require a license Examples This example shows how to enable store and forward switching mode on a Cisco NX OS ...

Page 349: ...e configured on any physical interface When configuring a high SPAN buffer limit it may affect regular data plane traffic as they both use the same memory pool This command does not require a license Examples This example shows how to configure the SPAN buffer limit to 100 bytes switch configure terminal switch config interface ethernet 1 15 switch config if switchport monitor switch config if swi...

Page 350: ...ity priority value no switch priority Syntax Description Command Default Default priority is 7 Command Modes Callhome configuration mode Command History Examples This example shows how to configure the switch priority switch configure terminal switch config callhome switch config callhome switch priority 5 switch config callhome Related Commands priority value Switch priority value The range is fr...

Page 351: ...onfig applet tag one or two happens 1 in 10000 switch config applet action 1 0 cli show interface ethernet 3 1 Related Commands tag Tag name The tag name can be any alphanumeric string up to 29 characters and Optional Specifies to use boolean and logic andnot Optional Specifies to use boolean andnot logic or Optional Specifies to use boolean or logic happens Specifies the number of occurrences bef...

Page 352: ...bypass Syntax Description This command has no arguments or keywords Defaults None Command Modes Global configuration mode Command History Usage Guidelines This command does not require a license Examples This example shows how to specify the command line interface CLI events that match the Embedded Event Manager EEM policies to bypass the EEM events switch configure terminal switch config terminal...

Page 353: ...Call Home service switch configure terminal switch config callhome switch config callhome transport email smtp server 192 0 2 10 use vrf Red switch config callhome from Specifies the e mail from field for Call Home messages email addr E mail address The address can be a maximum of 255 alphanumeric characters and cannot include white spaces for example personname companyname com mail server Configu...

Page 354: ...callhome switch config callhome transport email smtp server 192 0 2 10 use vrf Red switch config callhome transport email from person example com switch config callhome transport email reply to person example com switch config callhome Related Commands Command Description copy running config startup config Saves this configuration change show callhome Displays Call Home configuration information s...

Page 355: ...uments or keywords Command Default None Command Modes Session configuration mode Command History Examples This example shows how to verify a session switch configure session MySession switch config s verify Failed to start Verification Session Database already locked Verify Commit in Progress switch config s Related Commands Release Modification 5 0 3 U1 1 This command was introduced Command Descr...

Page 356: ...istory Usage Guidelines This command does not require a license Examples This example shows how to configure a VRF instance for the ESRSPAN source switch configure terminal switch config monitor session 1 type erspan source switch config erspan src vrf default switch config erspan src Related Commands vrf_name Name of the VRF The VRF name can be any case sensitive alphanumeric string up to 32 char...

Reviews: