CLI Switch: Unterschied zwischen den Versionen

Aus Meine Wiki
Zur Navigation springen Zur Suche springen
Zeile 26: Zeile 26:
 
  SWITCH1# config  
 
  SWITCH1# config  
  
VLAN Anlegen
+
VLANs anlegen
  SWITCH1(config)# vlan 113 name zSERVER
+
  SWITCH1(config)# vlan 10 name zSERVER
 +
SWITCH1(config)# vlan 20 name zCLIENT
 +
SWITCH1(config)# vlan 30 name zWLANAP
  
 
Trunk-Port
 
Trunk-Port
 
  SWITCH1(config)# vlan 1 untagged 24
 
  SWITCH1(config)# vlan 1 untagged 24
 
+
  SWITCH1(config)# vlan 10 tagged 24
  SWITCH1(config)# vlan 203 tagged 24
+
  SWITCH1(config)# vlan 20, 30 tagged 24
 
 
  SWITCH1(config)# vlan 113, 606 tagged 24
 
  
 
Access-Ports
 
Access-Ports
  SWITCH1(config)# vlan 113 untagged 1-10
+
  SWITCH1(config)# vlan 10 untagged 1-10
 +
SWITCH1(config)# vlan 20 untagged 11-20
 +
SWITCH1(config)# vlan 20 untagged 21-30
  
 
  wr mem
 
  wr mem

Version vom 3. März 2023, 15:36 Uhr


HP 2920

HP 2920 Switch Series - Minimal Configuration Through the Console Port Connection


Anschließen über COM Port USB Micro Kabel an die Console.


Setup und Show Befehle:

setup
config 
show vlan
show config
show trunk
show vlan ports 20-24 detail

"Config" Befehle:

SWITCH1# config 

VLANs anlegen

SWITCH1(config)# vlan 10 name zSERVER
SWITCH1(config)# vlan 20 name zCLIENT
SWITCH1(config)# vlan 30 name zWLANAP

Trunk-Port

SWITCH1(config)# vlan 1 untagged 24
SWITCH1(config)# vlan 10 tagged 24
SWITCH1(config)# vlan 20, 30 tagged 24

Access-Ports

SWITCH1(config)# vlan 10 untagged 1-10
SWITCH1(config)# vlan 20 untagged 11-20
SWITCH1(config)# vlan 20 untagged 21-30
wr mem