Skip to main content

Huawii

moin

Anzeigebefehle ("display")

PurposeCommand
System informationdisplay version
Current configurationdisplay current-configuration
MAC address tabledisplay mac-address
Interface status (brief)display interface brief
Interface detailsdisplay interface GigabitEthernet0/0/1
VLAN informationdisplay vlan
ARP tabledisplay arp
Device/port/module statusdisplay device
IP source binding (if enabled)display ip source binding
Routing tabledisplay ip routing-table

Konfigurationsbefehle ("config" / system-view)

PurposeCommand
Enter configuration modesystem-view
Configure an interfaceinterface GigabitEthernet0/0/1
Create VLAN(s)vlan batch 10 20 30
Assign VLAN to portport default vlan 10
Set port modeport link-type access / port link-type trunk
Set IP address on interfaceip address 192.168.1.1 24
Enable DHCP / set pooldhcp enable + ip pool ...
Set static routeip route-static 0.0.0.0 0.0.0.0 192.168.1.254
Create user credentialslocal-user admin ...

Sicherheits- & Nutzerverwaltung

PurposeCommand
Create a userlocal-user admin password irreversible-cipher ...
Enable SSHstelnet server enable, ssh user ...
Configure AAA authenticationaaa, authentication-scheme, etc.
Enable port securityport-security enable

Dateisystem & Updates

PurposeCommand
View file systemdir, display startup
Save current configurationsave
Check software version/startupdisplay version, display startup
Copy files (e.g. firmware)copy, e.g., copy flash: tftp:

Diagnose & Debugging

PurposeCommand
Ping a hostping 192.168.1.1
Trace route to a hosttracert 192.168.1.1
View interface countersdisplay counters interface GigabitEthernet0/0/1
View log bufferdisplay logbuffer
Enable debuggingdebugging
Disable all debuggingundo debugging all