CLI Switch: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
6vffdh (Diskussion | Beiträge) |
6vffdh (Diskussion | Beiträge) |
||
Zeile 33: | Zeile 33: | ||
SWITCH1(config)# vlan 20 name zCLIENT | SWITCH1(config)# vlan 20 name zCLIENT | ||
SWITCH1(config)# vlan 30 name zWLANAP | SWITCH1(config)# vlan 30 name zWLANAP | ||
+ | SWITCH1(config)# wr mem | ||
Trunk-Port erstellen | Trunk-Port erstellen | ||
Zeile 38: | Zeile 39: | ||
SWITCH1(config)# vlan 10 tagged 24 | SWITCH1(config)# vlan 10 tagged 24 | ||
SWITCH1(config)# vlan 20, 30 tagged 24 | SWITCH1(config)# vlan 20, 30 tagged 24 | ||
+ | SWITCH1(config)# wr mem | ||
Access-Ports erstellen | Access-Ports erstellen | ||
Zeile 43: | Zeile 45: | ||
SWITCH1(config)# vlan 20 untagged 11-20 | SWITCH1(config)# vlan 20 untagged 11-20 | ||
SWITCH1(config)# vlan 20 untagged 21-30 | SWITCH1(config)# vlan 20 untagged 21-30 | ||
+ | SWITCH1(config)# wr mem | ||
− | wr mem | + | Andere Variante "config" interface oder Gruppe: |
+ | |||
+ | SWITCH1(config)# interface 31-40 | ||
+ | SWITCH1(eth-31-40)# untagged vlan 10 | ||
+ | SWITCH1(eth-31-40)# tagged vlan 20 | ||
+ | SWITCH1(eth-31-40)# tagged vlan 30 | ||
+ | SWITCH1(eth-31-40)# wr mem | ||
+ | SWITCH1(eth-31-40)# exit | ||
+ | SWITCH1(config)# |
Version vom 3. März 2023, 15:43 Uhr
HP 2920
- Anschließen über COM Port USB Micro Kabel an die Console.
Setup und Show Befehle:
SWITCH1# setup
SWITCH1# config
SWITCH1# show vlan
SWITCH1# show config
SWITCH1# show trunk
SWITCH1# show vlan ports 20-24 detail SWITCH1# show vlan ports 3 detail SWITCH1# show vlan ports trk2 detail SWITCH1# show vlan ports all 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 SWITCH1(config)# wr mem
Trunk-Port erstellen
SWITCH1(config)# vlan 1 untagged 24 SWITCH1(config)# vlan 10 tagged 24 SWITCH1(config)# vlan 20, 30 tagged 24 SWITCH1(config)# wr mem
Access-Ports erstellen
SWITCH1(config)# vlan 10 untagged 1-10 SWITCH1(config)# vlan 20 untagged 11-20 SWITCH1(config)# vlan 20 untagged 21-30 SWITCH1(config)# wr mem
Andere Variante "config" interface oder Gruppe:
SWITCH1(config)# interface 31-40 SWITCH1(eth-31-40)# untagged vlan 10 SWITCH1(eth-31-40)# tagged vlan 20 SWITCH1(eth-31-40)# tagged vlan 30 SWITCH1(eth-31-40)# wr mem SWITCH1(eth-31-40)# exit SWITCH1(config)#