Configuration Netgear GS108T par CLI

Connexion

  • Se connecter par telnet ou nc sur le port 60000 de l’adreese IP du switch

  • Taper admin en réponse au message de prompt

  • Indiquer le mot de passe du switch

  • Entrer la commande enable

  • Puis enter pour indiquer un mot de passe vide

telnet IP 60000

Trying IP...
Connected to HOST
Escape character is '^]'.

(Broadcom FASTPATH Switching)
Applying Interface configuration, please wait ...admin
Password:********
(Broadcom FASTPATH Switching) >enable
Password: (vide)

(Broadcom FASTPATH Switching) #show interface 0/2


Packets Received Without Error................. 20021
Packets Received With Error.................... 0
Broadcast Packets Received..................... 1260
Packets Transmitted Without Errors............. 16908
Transmit Packet Errors......................... 0
Collision Frames............................... 0
Time Since Counters Last Cleared............... 0 day 0 hr 22 min 42 sec�c��ȁ��

(Broadcom FASTPATH Switching) #show interface 3/1


Packets Received Without Error................. 116213
Packets Received With Error.................... 0
Broadcast Packets Received..................... 82
Packets Transmitted Without Errors............. 44507
Transmit Packet Errors......................... 0
Collision Frames............................... 0
Time Since Counters Last Cleared............... 0 day 0 hr 23 min 2 sec�c��ȁ��

Interfaces

Sur le GS108T, les interfaces vont de 0/1 à 0/8 pour les 8 ports et de 3/1 à 3/4 pour les 4 aggrégations possibles.

Config VLAN

  • créer le VLAN

    (Vlan)#vlan database
    (Vlan)#vlan 200
    (Vlan)#vlan name 200 "TEST"
    (Vlan)#exit
    
  • configuration interface

    #config
    (Config)#interface 0/1
    (Interface 0/1)#description 'interface 1'
    (Interface 0/1)#vlan pvid 200
    (Interface 0/1)#vlan participation include 200
    (Interface 0/1)#vlan tagging 200
    (Interface 0/1)#vlan acceptframe vlanonly
    (Interface 0/1)#vlan ingressfilter
    (Interface 0/1)#exit
    (Config)#
    
  • supprimer le VLAN

    (Vlan)#vlan database
    (Vlan)#no vlan 200
    (Vlan)#exit