22.05.2017 Views

nx.os.and.cisco.nexus.switching.2nd.edition.1587143046

Nexus Switching 2nd Edition

Nexus Switching 2nd Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

congo# copy running-config startup-config<br />

----------------------------------------------------------<br />

-------<br />

! NX-OS:<br />

congo(config)# line vty<br />

congo(config)# session-limit 10<br />

congo(config)# exec-timeout 15<br />

congo# copy running-config startup-config<br />

NX-OS User Modes<br />

Cisco NX-OS CLI is divided into comm<strong>and</strong> modes, which define the actions available to<br />

the user. Comm<strong>and</strong> modes are “nested” <strong>and</strong> must be accessed in sequence. As you navigate<br />

from one comm<strong>and</strong> mode to another, an increasingly more specific set of comm<strong>and</strong>s<br />

becomes available. All comm<strong>and</strong>s in a higher comm<strong>and</strong> mode are accessible from lower<br />

comm<strong>and</strong> modes. For example, the show comm<strong>and</strong>s are available from any configuration<br />

comm<strong>and</strong> mode. Figure 1-1 shows how comm<strong>and</strong> access builds from the EXEC mode to the<br />

global configuration mode.<br />

Figure 1-1. NX-OS Comm<strong>and</strong> Access from EXEC Mode to Global Configuration Mode<br />

EXEC Comm<strong>and</strong> Mode<br />

When you first log in, Cisco NX-OS Software places you in EXEC mode. As demonstrated<br />

in Example 1-3, the comm<strong>and</strong>s available in EXEC mode include the show comm<strong>and</strong>s that<br />

display device status <strong>and</strong> configuration information, the clear comm<strong>and</strong>s, <strong>and</strong> other<br />

comm<strong>and</strong>s that perform actions that you do not save in the device configuration.<br />

Example 1-3. Cisco NX-OS EXEC Mode

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!