My Blog List

  • Majeshir Anupras Alankar - मराठी भाषा सौंदर्याने नटलेली आहे. तिला अनेक अलंकार प्राप्त आहेत. त्यापैकी अनुप्रास हा एक शब्दालंकार. एखाद्या वाक्यात किंवा कवितेच्या चरणामध्ये जेव्हा एका...
    3 years ago

Thursday, October 28, 2010

Understanding Nexus -- Part 5 -- CLI Prompt

Once you have successfully accessed the device, the CLI prompt displays in the terminal window of your console port or remote workstation as shown in the following example:
User Access Verification
login: admin
Password:
switch#

The NX-OX CLI shares a lot of concepts as IOS, so initial configuration is very simple. The commands can be abbreviated, the ‘?’ provides online help, and the key auto-fills command option.
EXEC Command Mode
switch#

Global Configuration Command Mode
switch# configure terminal
switch(config)#

Interface Configuration Command Mode
switch(config)# interface ethernet 2/2
switch(config-if)#
Subinterface Configuration Command Mode
switch(config)# interface ethernet 2/2.1
switch(config-subif)#

Exiting a Command Mode
switch(config-if)# exit 
switch(config)# 
 
switch(config-if)# end 
switch# 
 
switch(config-if)# ^z 
switch(config)# 


If you have to see the summary then,



Mode

Access Method

Prompt

Exit Method

EXEC

From the login prompt, enter your username and password.


switch#

To exit to the login prompt, use the exit command.

Global configuration

From EXEC mode, use the configure terminal command.


switch(config)#

To exit to EXEC mode, use the end or exit command or press Ctrl-Z.

Interface configuration

From global configuration mode, use an interface command and specify an interface with an interface command.


switch(config-if)#

To exit to global configuration mode, use the exit command.
To exit to EXEC mode, use the exit command or press Ctrl-Z.

Subinterface configuration

From global configuration mode, specify a subinterface with an interface command.


switch(config-subif)#

To exit to global configuration mode, use the exit command.
To exit to EXEC mode, use the end command or press Ctrl-Z.

VDC configuration

From global configuration mode, use the vdc command and specify a VDC name.


switch(config-vdc)#

To exit to global configuration mode, use the exit command.
To exit to EXEC mode, use the end command or press Ctrl-Z.

VRF configuration

From global configuration mode, use the vrf command and specify a routing protocol.


switch(config-vrf)#

To exit to global configuration mode, use the exit command.
To exit to EXEC mode, use the end command or press Ctrl-Z.

EXEC for a nondefault VDC

From EXEC mode, use the switchto vdc command and specify a VDC.


switch-vdc2#

To exit to the default VDC, use the exit command or the switchback command.

EXEC for a nondefault VRF

From EXEC mode, use the routing-context vrf command and specify a VRF.


switch%red#

To exit to the default VRF, use the routing-context vrf default command.

No comments:

Post a Comment