{{page>:menu}}
====== Huawei ======
===== nastavení ip =====
system-view
[Quidway]interface Vlan-interface 1
[Quidway-Vlan-interface1]ip address 172.30.0.17 255.255.0.0
[Quidway]quit
save
The configuration will be written to the device.
Are you sure?[Y/N]y
Please input the file name(*.cfg)[flash:/vrpcfg.cfg]:
Now saving current configuration to the device.
Saving configuration. Please wait...
....
Configuration is saved to flash memory successfully.
Unit1 save configuration flash:/vrpcfg.cfg successfully
===== zobrazení konfigurace =====
display saved-configuration
display current-configuration
===== uživatel =====
[Quidway]local-user datron
New local user added.
[Quidway-luser-datron]level 3
authorization-attribute level 3 (3com switch)
[Quidway-luser-datron]password simple Heslo123
[Quidway-luser-datron]service-type telnet
===== sysname =====
[Quidway]sysname Quidway.14
===== interfaces status =====
[Quidway S6503]display brief interface
===== routing =====
[Quidway]ip route-static 0.0.0.0 0.0.0.0 10.10.30.30
===== trunk =====
Password:
sys
System View: return to User View with Ctrl+Z.
[Quidway S6503]interface GigabitEthernet 0/0/3
[Quidway S6503-GigabitEthernet0/0/3]port link-type trunk
[Quidway S6503-GigabitEthernet0/0/3]port trunk permit vlan 1 3
===== vty =====
[Quidway]user-interface vty 0 4
[Quidway-ui-vty0-4]user privilege level 3
[Quidway-ui-vty0-4]authentication-mode scheme
===== access vlan =====
[Quidway]interface Ethernet 1/0/2
[Quidway-Ethernet1/0/2]port access vlan 2
===== web rozhraní =====
system-view
[Quidway]web set-package http3.1.3-0043.web
===== plánovaný reload =====
schedule reboot
===== snmp =====
snmp-agent
snmp-agent community read datron
snmp-agent sys-info version v1
===== edge port =====
*ve výchozím stavu jsou všechny porty v režimu edge. Pro porty v trunku je dobré toto vypnout.
stp interface Gi1/0/1 edged-port enable
system-view
interface Gi1/0/1
stp edged-port enable