Dell Networking SONiC OS L2- en L3-switchprofielen
Zusammenfassung: In dit artikel wordt uitgelegd hoe U L2- en L3-switchprofielconfiguratie in Dell Networking SONiC kunt configureren.
Dieser Artikel gilt für
Dieser Artikel gilt nicht für
Dieser Artikel ist nicht an ein bestimmtes Produkt gebunden.
In diesem Artikel werden nicht alle Produktversionen aufgeführt.
Weisungen
Index
Wat is het L2- en L3-switchprofiel in DELL SONIC?
Switchprofiel weergeven in switch en bestaande fabrieksinstellingen
Standaard switchprofiel wijzigen
Uitvoervoorbeeld
Wat is het L2- en L3-switchprofiel in DELL SONIC?
Dell Networking Sonic biedt ons de keuze uit twee switchprofielen: L2 en L3
- L3-switchprofielen geven ons een standaardconfiguratie die sterk lijkt op een routerconfiguratie. Bij een nieuwe installatie heeft Dell Sonic OS L3-switchprofielen.
- L2-switchprofielen geven ons een standaardconfiguratie die sterk lijkt op een Layer 2-switchconfiguratie
Er is geen verschil in configuratiepatronen L2- of L3-profiel. Het definieert de standaardconfiguratie van de switch als we een fabrieksinstelling of interface-standaard uitvoeren.
- Gebruik het L2-profiel voor schaalbare L2-implementaties om een grotere MAC-tabelgrootte te configureren.
- Gebruik het L3-profiel voor de meeste switchimplementaties om een grotere L3-tabelgrootte te configureren.
Het aantal VLAN-leden per systeem kan variëren tussen de L2- en L3-profielen, afhankelijk van het switchmodel en de DELL SONiC-release. Controleer de compatibiliteitsmatrix voor meer informatie.
In de onderstaande tabel wordt het verschil tussen het L2- en L3-profiel uitgelegd.
| L2-profiel (Layer 2-switch) | L3-profiel (Layer 3-router) |
|---|---|
| Het standaard Spanning Tree Protocol is Rapid-Pvst | Spanning Tree is standaard niet ingeschakeld |
| Vlan 1 is standaard aanwezig | In de standaardconfiguratie is er geen vlan |
| Alle interfaces zijn standaard toegangspoort van Vlan 1 | Alle poorten zijn standaard niet-switchport-interfaces |
| Alle interfaces worden standaard niet afgesloten | Alle interfaces worden standaard afgesloten |
| Verhoogt de L2-doorstuurtabel | Verhoogt de L3-routeringstabel |
| Het wijzigen van de UFT-modus voor routeschaal wordt niet ondersteund | Het wijzigen van de UFT-modus voor routeschaal wordt ondersteund |
LET OP: Bij het wijzigen van het standaardprofiel wordt de bestaande configuratie gewist en gaan de services omlaag. Zorg ervoor dat de wijziging wordt uitgevoerd tijdens downtime en dat er indien nodig een back-up van de configuratie wordt gemaakt.
Switchprofiel weergeven in switch en bestaande fabrieksinstellingen
Gebruik de volgende opdracht om het switchprofiel in de switch weer te geven.
Opdrachtsyntaxis
| Opdracht | Uitleg |
|---|---|
admin@SONIC:~$ sonic-cli |
Ga naar Dell Management Framework CLI |
SONIC# show switch-profiles |
Het switchprofiel weergeven in de switch en de bestaande fabrieksinstellingen |
Uitvoervoorbeeld
SONIC# show switch-profiles Factory Default: l3 Profile Name Description ------------------------------------------------------------- l2 Layer 2 Switch Configuration l3 Layer 3 Router Configuration
Standaard switchprofiel wijzigen
Gebruik de onderstaande opdracht om het standaardprofiel in de switch te wijzigen.
Opdrachtsyntaxis
| Opdracht | Uitleg |
|---|---|
admin@SONIC:~$ sonic-cli |
Ga naar Dell mf-cli |
SONIC# configure terminal |
De configuratiemodus activeren |
SONIC(config)# factory default profile l2 |
Wijzig het standaardprofiel in l2 (Switch). Typ l2 handmatig |
SONIC(config)# factory default profile l3 |
Wijzig het standaardprofiel in l3 (router). Typ l3 handmatig |
Voorbeeldresultaat
In het onderstaande voorbeeld wordt de switch gewijzigd in L2-profiel, een switchprofielSONIC(config)# factory default profile l2 Device configuration will be erased. You may lose connectivity. Continue? [y/N]: y System is not ready - Core services are down Applying factory default configuration. This may take 120--180 seconds and also result in a reboot. System is ready
In het onderstaande voorbeeld wordt de switch gewijzigd in L3-profiel, een routeringsprofiel
SONIC(config)# factory default profile l3 Device configuration will be erased. You may lose connectivity. Continue? [y/N]: y System is not ready - one or more services are not up Applying factory default configuration. This may take 120--180 seconds and also result in a reboot. System is ready
Betroffene Produkte
Enterprise SONiC Distribution, Dell EMC Networking N3200-ON, PowerSwitch S5212F-ON, PowerSwitch S5224F-ON, PowerSwitch S5232F-ON, PowerSwitch S5248F-ON, PowerSwitch S5296F-ON, PowerSwitch Z9100-ON, PowerSwitch Z9264F-ON, PowerSwitch Z9332F-ON
, PowerSwitch Z9432F-ON, PowerScale Switch S5232F
...
Artikeleigenschaften
Artikelnummer: 000209787
Artikeltyp: How To
Zuletzt geändert: 26 Sep. 2023
Version: 3
Antworten auf Ihre Fragen erhalten Sie von anderen Dell NutzerInnen
Support Services
Prüfen Sie, ob Ihr Gerät durch Support Services abgedeckt ist.