Miftah Rahman (Go)-Blog
belajar jaringan komputer
Home About Me Cisco Voice Computer Network Theory File-File Latihan Huawei JunOS My Youtube Vid
Network Design Other Stuff Routing and Switching Configuration Security useful computer network links
ITIL 4 Overview Finally…A Youtube Channel
March 11, HCIA Cheat Sheet CLI Commands
2020 Miftah Rahman Huawei HCIA HCIA Leave a comment
Recently passed My HCIA Certified Instructor exam. Since I “grow up” with Cisco, I
made this cheat sheet table
Cisco vs Huawei CLI comparation
CISCO HUAWEI comment
Show Display
No Undo Delete command
Exit Quit Return to previous
system level
Enable System-view Enter privilege
mode/configuration
mode
Write or copy running- Save Save the configuration
config
Show running-config Display current- Show running-config
configuration
Show saved- Display save Show saved
configuration configuration
Show version Display version
Erase startup-config Reset startup- Delete saved
configuration configuration
Logging synchronous Undo terminal logging For uninterruptible CLI
text (eNSP still cant do it
correctly)
Banner motd $…$ Header login Notification message
information $…$ after connect to device
Banner login $…$ Header shell Notification message
information $…$ after login (cisco
“banner login” for before
login, cisco “banner
exec” for after login)
Boot config Startup saved- Select startup
[nvram:startup-config] configuration configuration
[flash:/new.zip]
Boot system Startup system- Select boot image
[flash:xxxx.bin] software
[flash:/vrpcfg.zip]
Copy tftp flash Tftp [target ip] get Retrieve file from tftp
[file_name]
Show ip route Display ip routing-table
Interface vlan 1 Interface vlanif 1 SVI – switch virtual
interface
Line vty 0 4 User interface vty 0 4 Initial telnet
configuration
Ip dhcp excluded- Dhcp enable Enable dhcp (disabled by
address [start_ip] default)
[end_ip] Dhcp server excluded-
ip-address [start_ip] Exclude ip address from
Ip dhcp pool [end_ip] DHCP allocation
[dhcp_group_name]
Ip pool [DHCP_POOL] Using DHCP global
Network configuration
[network_address] Network
[subnet_mask] [network_address] Specify ip address to
[subnet_mask] allocate
Dhcp server ip-range Choose interface for
[start_ip] [end_ip] sending ip address
(disabled by default)
Dhcp server mask
[subnet mask]
Interface giX/X
Dhcp select interface
Interface giX/X Dhcp relay server group DHCP relay
[DHCP_GROUP] configuration
Ip helper-address
Server [DHCP server
IP]
Interface giX/X
Dhcp select relay
Dhcp relay binding
server group
[DHCP_GROUP]
Interface giX/X Interface giX/X Make L2 port (switched
port) into L3 port
No switchport Undo portswitch (routed port)
Vlan 10 Vlan 10 or Vlan 10 creation
Vlan batch 2 10 or Vlan 2 and vlan 10
creation
Vlan batch 2 to 10
Vlan 2 to vlan 10
creation
Interface giX/X Interface giX/X Vlan association to
interface
Switchport access vlan Port default vlan 10
10
Interface giX/X Interface giX/X Change interface mode
(trunk or access)
Switchport mode trunk Port-link type trunk
Switchport trunk native Port trunk pvid vlan 1 Native vlan
vlan 1 configuration
Port trunk allow-pass
Switchport trunk vlan [vlan number]
allowed vlan [vlan
number]
Interface giX/X Interface eth-trunk 1 Configuring link
aggregation
Channel-group 1 mode Mode lacp (Etherchannel)
active
Interface giX/X
Eth-trunk 1
Interface giX/X.10 Interface giX/X.10 Sub-interface
configuration
Dot1q encapsulation 10 Dot1q termination vid
10 By default arp broadcast
is disabled
Arp broadcast enable
Router ospf 1 Ospf 1 Passive-interface
(disabling routing
Passive-interface giX/X Silent-interface giX/X process for that
interface)
Interface sX/X/X Interface sX/X/X Selecting protocol to use
on interface
Encapsulation ppp Link-protocol ppp
Access-list 1 permit Acl 2000 Basic Access-list (ACL)
192.168.1.1 0.0.0.0 (Cisco standard ACL)
Rule 5 permit source
192.168.1.1 0.0.0.0
Ip route 0.0.0.0 0.0.0.0 Ip route-static 0.0.0.0 Ip static default route
[next-hop ip] 0.0.0.0 [next-hop ip] configuration
Ipv6 unicast-routing Ipv6 Enable ipv6 features
Ipv6 router ospf Ospfv3 Enable ipv6 routing
OSPFv3
Interface giX/X Ipv6 enable
Ipv6 ospf 1 area 0 Interface giX/X
Ipv6 enable
Ospfv3 1 area 0
Leave a Reply
Enter your comment here...
This site uses Akismet to reduce spam. Learn how your comment data is processed.
ITIL 4 Overview Finally…A Youtube Channel