Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
28 views2 pages

Huawei Certification Note Commands 002

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 2

■ Vertical bars (|) separate alternative, mutually exclusive elements.

■ Square brackets ([ ]) indicate an optional element.


■ Braces ({ }) indicate a required choice.
■ Braces within brackets ([{ }]) indicate a required choice within an optional element.
■ > User View promt
■ ] System-view promt

- Example commands related to: Console, VTY lines & ACL


user-interface con 0 - Enter console user interface
authentication-mode aaa - Define authentication method for console line
history-command max-size 20 - Remember until 20 commands
idle-timeout 8 0 - Keep connection idle for 8 minutes, then disconnect
user-interface vty 0 4 - Enter VTY user interface
acl ADMINISTRACION inbound - Apply named ACL to inbound traffic on VTY line
authentication-mode aaa
history-command max-size 20
idle-timeout 8 0

acl name ADMINISTRACION 3999 - Creation of named ACL


rule 5 permit ip source 190.241.146.0 0.0.0.255 - Allow packets from 190.241.146.0/24
rule 10 permit ip source 172.30.255.5 0 - Allow packets from 172.30.255.5/32, Huawei represent wilcard 0.0.0.0 => 0
rule 15 deny ip - Deny any

user-interface vty 0 4 - Enter VTY user interface


user privilege level <0 - 15> - Defined privilege required to access via VTY line
set authentication password cipher - Set password for VTY line
Enter Password (<8-128>): muri123

- Example command related to: SVI, Loopbacks & physical interfaces


interface Vlanif400
description MNG_RACSA
ip address 172.30.255.6 255.255.255.252
#
interface loopback100
description PRUEBA_LOOPBACK
ip address 1.1.1.1 255.255.255.255
#
interface GigabitEthernet0/0/1
description to_PC1
port link-type access
port default vlan 300
port-security enable
#
interface GigabitEthernet0/0/2
description TEST_L3_Interface
undo negotiation auto
duplex full
speed 100
undo switch

- File system navigation & mng


_File/directory attributes (Attr): drwx
d: Directory
r: Read
w: Write
x: Execute
>cd - Change directory
>pwd - Print Word directory
>dir - View content of directory
>more - View file content
>mkdir - Make directory
>rmdir - Remove directory, must be empty
>copy - Copy file/directory
>move - Move file/directory
>rename - Rename file/directory
>delete ? - Delete file
/quiet - Delete file without confirm by user
/unreserved - Delete a file permanently
STRING<1-64> [drive][path][file name]
flash: Device name
>undelete ? - Recover file
STRING<1-64> [drive][path][file name]
flash: Device name
>reset recycle-bin - Permanently clear the recycle bin

>display current-configuration - It explains itself


>display saved-configuration - It explains itself
>compare configuration - Compare configuration files current-config vs saved-config (startud), display
differents
INTEGER<0-65535> - The line of current-configuration to begin comparing
STRING<5-48> - Specify configuration file to be compared, current-cofig vs xx-config
<cr> - Without argument, compare current-config vs startup-config
>display startup - View the current startup parameters
- ar220.cc, example VRP imagen
>save - Save the current configuration, default file -> “vrpcfg.zip”

You might also like