Huawei:VRP: Difference between revisions

From Cheatsheet
Jump to navigationJump to search
No edit summary
Line 2: Line 2:


== Checks ==
== Checks ==
Commands available within User view mode.
<syntaxhighlight lang="bash">
# Display the configuration of the current mode (Any mode, including Interface configuration mode)
display this


<syntaxhighlight lang="bash">
# Show basic system information (User view mode)
# Show basic system information  
display version
display version


# Show the current configuration
# Show the current configuration
display current-configuration
display current-configuration
</syntaxhighlight>
</syntaxhighlight>


Line 19: Line 18:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
# Enter System view mode (configuration)
# Enter System view mode to perform switch configuration
system-view
system-view


Line 27: Line 26:
# Use the "run" command to execute a User view mode command within System view mode
# Use the "run" command to execute a User view mode command within System view mode
run display version
run display version
# Enter interface 10GE1/0/40
interface 10GE1/0/40
</syntaxhighlight>
</syntaxhighlight>

Revision as of 15:11, 22 August 2023


Checks

# Display the configuration of the current mode (Any mode, including Interface configuration mode)
display this

# Show basic system information (User view mode)
display version

# Show the current configuration
display current-configuration

Commands

Basics

# Enter System view mode to perform switch configuration
system-view

# Quit the current view or quit the session if in User view mode
quit

# Use the "run" command to execute a User view mode command within System view mode
run display version

# Enter interface 10GE1/0/40
interface 10GE1/0/40