Cisco N5K-C5010P-BF Troubleshooting Guide - Page 12

Fabric Manager Tools and CLI Commands, NX-OS Tips, Displaying what is required from the configuration

Page 12 highlights

Fabric Manager Tools and CLI Commands Chapter 1 Troubleshooting Overview Send document comments to [email protected]. Fabric Manager Tools and CLI Commands This section highlights the tools and CLI commands that are commonly used to troubleshoot problems. These tools and commands are a portion of what you may use to troubleshoot your specific problem. The following chapters in this guide may describe additional tools and commands specific to the symptoms and possible problems covered in that chapter. NX-OS Tips Displaying what is required from the configuration switch# show running-config interface version 4.0(1a)N2(1) interface vfc29 no shutdown bind interface Ethernet1/29 interface fc2/3 no shutdown switchport speed 1000 switchport mode SD interface fc2/4 interface Ethernet1/1 speed 1000 Displaying within Config Mode With NX-OS, you can display required data from within the configuration mode, so there is no need to back out to the switch prompt. switch(config)# show run switch(config)# show interface brief Pipe command switch# show logging | egrep Egrep grep Grep head Stream Editor last Display last lines less Stream Editor no-more Turn-off pagination for command output sed Stream Editor wc Count words, lines, characters begin Begin with the line that matches count Count number of lines exclude Exclude lines that match include Include lines that match Cisco Nexus 5000 Series Troubleshooting Guide 1-4 OL-25300-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162

Send document comments to [email protected].
1-4
Cisco Nexus 5000 Series Troubleshooting Guide
OL-25300-01
Chapter 1
Troubleshooting Overview
Fabric Manager Tools and CLI Commands
Fabric Manager Tools and CLI Commands
This section highlights the tools and CLI commands that are commonly used to troubleshoot problems.
These tools and commands are a portion of what you may use to troubleshoot your specific problem.
The following chapters in this guide may describe additional tools and commands specific to the
symptoms and possible problems covered in that chapter.
NX-OS Tips
Displaying what is required from the configuration
switch#
show running-config interface
version 4.0(1a)N2(1)
interface vfc29
no shutdown
bind interface Ethernet1/29
interface fc2/3
no shutdown
switchport speed 1000
switchport mode SD
interface fc2/4
interface Ethernet1/1
speed 1000
Displaying within Config Mode
With NX-OS, you can display required data from within the configuration mode, so there is no need to
back out to the switch prompt.
switch(config)#
show run
switch(config)#
show interface brief
Pipe command
switch#
show logging |
egrep
Egrep
grep
Grep
head
Stream Editor
last
Display last lines
less
Stream Editor
no-more
Turn-off pagination for command output
sed
Stream Editor
wc
Count words, lines, characters
begin
Begin with the line that matches
count
Count number of lines
exclude
Exclude lines that match
include
Include lines that match