Commandes Basiques
- Passez en mode Super Administateur : system-view
- Affichez la configuration du Switch : display current-configuration
- Configurez une interface : interface Ethernet 1/0/1
- Quittez un mode : quit
- Sauvegarde de la configuration courante : save
- Attribuez un nom au switch : sysname NouveauNom
- Revenez sur une action : undo
- Redémarrez : reboot
Commandes Avancer
Création d'un VLAN :
system-view
vlan NumeroVlan
name NomDuVlan
port Ethernet 1/0/x to Ethernet 1/0/x
quit
system-view
vlan NumeroVlan
name NomDuVlan
port Ethernet 1/0/x to Ethernet 1/0/x
quit
Création du TRUNK :
system-view
interface Ethernet 1/0/x
port link-type trunk
port trunk
permit vlan all
quit
system-view
interface Ethernet 1/0/x
port link-type trunk
port trunk
permit vlan all
quit
Création d'un Stack
Switch 1 = TEST1 et Switch 2 = TEST2
Sur TEST1 :
system-view
irf member 1 renumber 1
quit
save force
reboot
Sur TEST2 :
system-view
irf member 1 renumber 2
quit
save force
reboot
Sur TEST1 :
system-view
irf member 1 renumber 1
quit
save force
reboot
Sur TEST2 :
system-view
irf member 1 renumber 2
quit
save force
reboot
Sur TEST1 :
system-view
interface GigabitEthernet 1/0/xx
shutdown
quit
interface GigabitEthernet 1/0/yy
shutdown
quit
quit
system-view
irf-port 1/1
port group interface GigabitEthernet 1/0/xx
quit
irf-port 1/2
port group interface GigabitEthernet 1/0/yy
quit
save
system-view
interface GigabitEthernet 1/0/xx
undo shutdown
quit
interface GigabitEthernet 1/0/yy
undo shutdown
quit
quit
save
Sur TEST2 :
system-view
interface GigabitEthernet 2/0/xx
shutdown
quit
interface GigabitEthernet 2/0/yy
shutdown
quit
quit
system-view
irf-port 2/1
port group interface GigabitEthernet 2/0/xx
quit
irf-port 2/2
port group interface GigabitEthernet 2/0/yy
quit
save
system-view
interface GigabitEthernet 2/0/xx
undo shutdown
quit
interface GigabitEthernet 2/0/yy
undo shutdown
quit
quit
save
system-view
interface GigabitEthernet 1/0/xx
shutdown
quit
interface GigabitEthernet 1/0/yy
shutdown
quit
quit
system-view
irf-port 1/1
port group interface GigabitEthernet 1/0/xx
quit
irf-port 1/2
port group interface GigabitEthernet 1/0/yy
quit
save
system-view
interface GigabitEthernet 1/0/xx
undo shutdown
quit
interface GigabitEthernet 1/0/yy
undo shutdown
quit
quit
save
Sur TEST2 :
system-view
interface GigabitEthernet 2/0/xx
shutdown
quit
interface GigabitEthernet 2/0/yy
shutdown
quit
quit
system-view
irf-port 2/1
port group interface GigabitEthernet 2/0/xx
quit
irf-port 2/2
port group interface GigabitEthernet 2/0/yy
quit
save
system-view
interface GigabitEthernet 2/0/xx
undo shutdown
quit
interface GigabitEthernet 2/0/yy
undo shutdown
quit
quit
save