0% found this document useful (0 votes)
25 views2 pages

Guide Huawei

Uploaded by

ahmed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views2 pages

Guide Huawei

Uploaded by

ahmed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Guide Huawei

Switch:
Bases de config:
<Huawei> (equivalent mode enable cisco, pas de config)
<Huawei>system-view (equivalent configure terminal cisco)
[Huawei] (mode configuration)

quit : return 1 level of hierarchy ( equivalent next fortigate)


return: return to enable mode (end fortigate)
save: in enable mode to copy current configuration to nvram (copy running-config startup-config de
cisco)
undo: to remove a live of configuration (example: undo ip address 192.168.10.1 24)

Show commands:
display ip interface brief (show system interface dans FGT)
display current-config (show full-configuration)
display this (show)
display ip routing-table (table de routage)
display vlan (table de vlans)
display eth-trunk (interfaces d’aggregation)

Configuration VLANs + Interfaces L2 + Inteface Vlan:

vlan batch 10 20 30 (creation vlan 10 20 30)


#
interface GigabitEthernet0/0/1
port link-type access (access port vlan 10)
port default vlan 10
display this (show config made in this interface)
#
interface GigabitEthernet0/0/2
port link-type trunk (trunk port)
port trunk pvid vlan 10 (native vlan 10)
port trunk allow-pass vlan 10 20 30 (vlans 10 20 30 sont permis)
#
#
interface Vlanif10 (Interface Vlan)
ip address 192.168.10.254 255.255.255.0
#
return
Route Statique:
ip route-static 0.0.0.0 0 192.168.10.1 (default route next-hop 192.168.10.1)

Interface Aggregation (for uplink):

interface Eth-Trunk1 (interface d’aggregation)


mode lacp-static
#
interface GigabitEthernet0/0/20 (membres de l’interface d’aggregaion)
eth-trunk 1
#
interface GigabitEthernet0/0/21
eth-trunk 1
#

User Creation:
aaa
local-user oussema password cipher <password>
local-user oussema privilege level 15
local-user oussema service-type ssh http
#
return

DHCP Server:

dhcp enable (activation service dhcp)


#
ip pool <name> (creation pool dhcp)
gateway-list 192.168.20.254 (default gw)
network 192.168.20.0 mask 255.255.255.0
lease day 0 hour 12 minute 0
dns-list 8.8.8.8
#
interface Vlanif10 (This MUST be a Layer 3 interface)
dhcp select global
#

You might also like