Huawei:VRP: Difference between revisions
From Cheatsheet
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
== Checks == | == Checks == | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
# Display the configuration of the current | # Display the configuration of the current view (can be used in any view, including Interface view) | ||
display this | display this | ||
# Show basic system information (User view | # Show basic system information (User view) | ||
display version | display version | ||
| Line 18: | Line 18: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
# Enter System view | # Enter System view to perform switch configuration | ||
system-view | system-view | ||
# Quit the current view or quit the session if in User view | # Quit the current view or quit the session if in User view | ||
quit | quit | ||
# Use the "run" command to execute a User view | # Use the "run" command to execute a User view command within System view mode | ||
run display version | run display version | ||
# Enter interface 10GE1/0/40 | # Enter Interface view for interface 10GE1/0/40 | ||
interface 10GE1/0/40 | interface 10GE1/0/40 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 15:12, 22 August 2023
Checks
# Display the configuration of the current view (can be used in any view, including Interface view) display this # Show basic system information (User view) display version # Show the current configuration display current-configuration
Commands
Basics
# Enter System view to perform switch configuration system-view # Quit the current view or quit the session if in User view quit # Use the "run" command to execute a User view command within System view mode run display version # Enter Interface view for interface 10GE1/0/40 interface 10GE1/0/40