Dell Networking SONiC: Open Shortest Path First (OSPF)
Resumen: In dit artikel wordt uitleg gegeven over Open Shortest Path First (OSPF) in Dell Networking SONiC. In dit artikel wordt een switch gebruikt waarop Dell SONiC 4.1 wordt uitgevoerd.
Instrucciones
|
Vereisten
Standaard interfacenaamgeving wordt gebruikt om de concepten te demonstreren. Zie het Dell artikel 202172 de Dell Networking S-serie: Basic Interface Configuration - SONiC 4.0 voor meer informatie over interfacenaamgeving
|
Index
Open eerst
het kortste padOSPFv2
inschakelenOSPF inschakelen op interfaces
OSPF-router-ID
configurerenOSPF-authenticatietype
op gebiedsniveau configurerenOSPF-interfaceniveau authenticatietype en -sleutels
configurerenPassieve OSPF-interfaces
configurerenVirtuele OSPF-koppelingen
configurerenSneltoetsen
voor OSPF-gebieden configurerenOSPF RFC-compatibiliteit
configurerenLogboekregistratie
van OSPF-nabijheid configurerenOSPF LSA-timers
configurerenOSPF SPF throttle timers
configurerenMax-metrische advertenties
voor OSPF configurerenOSPF-routeafstanden
configurerenConfigure OSPF auto cost reference bandwidth
Configureer het OSPF-stubgebied en de bijbehorende parameters
OSPF inter-area summary routefilters
configurerenHerverdeling
OSPF-route configurerenOSPF-standaardrouteoorsprong
configurerenOSPF-interfaceparameters
configurerenOpdrachten voor het weergeven van operationele gegevens OSPFOSPFv2 correct opnieuw opstarten
Open eerst het kortste pad
Open Shortest Path First Protocol (OSPF) is een IGRP (Link State Interior Gateway Routing Protocol), zoals beschreven in RFC2328.
OSPF beschrijft link-state informatie in een bericht dat bekend staat als een Link State Advertisement (LSA), dat vervolgens wordt doorgegeven aan alle andere routers in een link-state routing-domein, door middel van een proces dat flooding wordt genoemd. Elke OSPF-router bouwt dus een Link State Database (LSDB) op van alle link-state berichten. Uit deze verzameling LSA's in de LSDB kan elke router vervolgens het kortste pad naar een andere router berekenen, op basis van een gemeenschappelijke statistiek, met behulp van het Shortest Path First-algoritme van Edgar Djikstra.
Enterprise SONiC maakt gebruik van FRR-pakketten voor het uitvoeren van routeringsprotocollen. OSPFv2 is ook een aanpassing van een op maat gemaakt FRR-softwarepakket. De OPSFv2-routeringsdaemon bevindt zich in de BGP docker-container, samen met andere routeringsprotocoldaemons, zoals BGP, statische route.
Ondersteunde OSPFv2-mogelijkheden:
- OSPF-configuratie op Ethernet-, loopback-, VLAN- en poortkanaal IPv4-interfaces
- OSPFv2-configuratie op standaard en door de gebruiker gedefinieerde VRF's
- Meerdere OSPF-gebieden en stub-gebieden
- Type-1 tot Type-5 LSA's
- Virtuele koppelingen en passieve interfaces
- BFD op OSPF-interfacesessies
- MD-wachtwoordversleuteling (Platte tekst en Message Digest)
- Type-3 Samenvatting Filteren en vervangen van LSA-voorvoegsels
- Herdistributie van route naar OSPFv2, van routetype BGP, static, connected, kernel en default-route
- Filteren op basis van routekaarten in routeherverdeling
- OSPF ECMP-routes
- 50K externe route en 5K intern routevoorvoegsel
OSPFv2 inschakelen
Schakel OSPFv2 in door een OSPF-router in een VRF te configureren. Gebruik deze opdracht om OSPFv2 te configureren binnen een VRF. Als u OSPF configureert, wordt de modus gewijzigd in de OSPF-routerconfiguratiemodus.
Als u OSPF wereldwijd wilt inschakelen, stelt u standaard vrf in:
DELLSONiC(conf)# router ospf |
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(conf)# router ospf |
Of schakel OSPF in, niet-standaard vrf:
DELLSONiC(conf)# router ospf vrf Vrf-name |
- Vrf-naam - VRF-naamreeks
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(conf)# router ospf vrf Vrf-blue |
Bekijk de OSPF-routerdetails:
DELLSONiC# show ip ospf
VRF Name: default
OSPF Routing Process, Router ID: 10.10.201.1
Supports only single TOS (TOS0) routes
This implementation conforms to RFC2328
RFC1583Compatibility flag is disabled
OpaqueCapability flag is disabled
Graceful-Restart is disabled
Initial SPF scheduling delay 0 millisec(s)
Minimum hold time between consecutive SPFs 50 millisec(s)
Maximum hold time between consecutive SPFs 5000 millisec(s)
Hold time multiplier is currently 1
SPF algorithm last executed 1d2h7m51s ago
Last SPF duration 23 usecs
SPF timer is inactive
LSA minimum interval 5000 msecs
LSA minimum arrival 1000 msecs
Write Multiplier set to 20
Refresh timer 10 secs
Maximum multiple paths(ECMP) supported 256
Number of external LSA 0. Checksum Sum 0x00000000
Number of opaque AS LSA 0. Checksum Sum 0x00000000
Number of areas attached to this router: 1
Area ID: 0.0.0.0 (Backbone)
Number of interfaces in this area: Total: 1 , Active: 1
Number of fully adjacent neighbors in this area: 1
Area has no authentication
SPF algorithm executed 4 times
Number of LSA 3
Number of router LSA 2. Checksum Sum 0x0000ec6e
Number of network LSA 1. Checksum Sum 0x00001a25
Number of summary LSA 0. Checksum Sum 0x00000000
Number of ASBR summary LSA 0. Checksum Sum 0x00000000
Number of NSSA LSA 0. Checksum Sum 0x00000000
Number of opaque link LSA 0. Checksum Sum 0x00000000
Number of opaque area LSA 0. Checksum Sum 0x00000000 DELLSONiC# show ip ospf vrf Vrf-Blue
VRF Name: Vrf-Blue
OSPF Routing Process, Router ID: 0.0.0.0
Supports only single TOS (TOS0) routes
This implementation conforms to RFC2328
RFC1583Compatibility flag is disabled
OpaqueCapability flag is disabled
{output truncated} |
OSPF inschakelen op interfaces
Voordat u OSPF op een interface inschakelt, configureert u een IPv4-interface met een IP-adres erop en koppelt u de interface aan de vereiste VRF. Als u OSPF wilt inschakelen op een IPv4-interface, moet u een OSPF-gebieds-ID aan de interface koppelen. OSPF kan worden ingeschakeld op Ethernet-, VLAN-, Port Channel- en Loopback-interfaces.
Schakel OSPF-sessies tussen twee OSPF-routers in door OSPF in te schakelen op de interfaces die ze verbinden. Dergelijke verbindingsinterfaces moeten zich in de VRF bevinden waar de OSPF-router is geconfigureerd en moeten tot dezelfde gebieds-ID behoren.
Gebruik de opdracht interfacemodus om OSPF op een IPv4-interface in of uit te schakelen. Gebieds-ID kan elk 32-bits niet-ondertekend geheel getal zijn, in decimale notatie, of een Ipv4-achtige gestippelde notatie.
Schakel OSPF in op een interface met behulp van deze twee configuratietypen:
Door het OSPF-gebied te configureren in de interfaceconfiguratiemodus:
DELLSONiC(config-if-Vlan100)# ip ospf area area-id |
- area-id - OSPF-gebieds-ID in decimale of gestippelde notatie - A.B.C.D of 0..4294967295
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# interface Vlan 100
DELLSONiC(config-if-Vlan100)# ip ospf area 0
or
DELLSONiC(config-if-Vlan100)# ip ospf area 0.0.0.0 |
Door het netwerkadres van een interface te koppelen aan of te koppelen aan een OSPF-gebied in de OSPFv2-routerconfiguratiemodus:
DELLSONiC(config-router-ospf)# network network-prefix area area-id |
- network-prefix - A.B.C.D/mask
- area-id - OSPF-gebieds-ID in decimale of gestippelde notatie - A.B.C.D of 0..4294967295
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# router ospf
DELLSONiC(config-router-ospf)# network 10.10.150.0/24 area 0.0.0.0
or
DELLSONiC(config-router-ospf)# network 10.10.150.0/24 area 0 |
Binnen een VRF moet de gebruiker een van de bovenstaande configuratietypen gebruiken, dat wil zeggen dat beide configuratietypen niet tegelijkertijd zijn toegestaan binnen een VRF.
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# interface Vlan 100
DELLSONiC(config-if-Vlan100)# ip vrf forwarding Vrf-Blue
DELLSONiC(config-if-Vlan100)# ip ospf area 0
or
DELLSONiC(config-if-Vlan100)# ip ospf area 0.0.0.0
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# router ospf vrf Vrf-Blue
DELLSONiC(config-router-ospf)# network 10.10.150.0/24 area 0.0.0.0
DELLSONiC(config-router-ospf)# network 10.10.150.0/24 area 0 |
Bekijk de OSPF-sessies
DELLSONiC# show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface RXmtL RqstL DBsmL 10.10.150.2 1 Full/DR 32.346s 10.10.150.2 Vlan100:10.10.150.1 0 0 0 |
OSPF-router-ID configureren
Configureer OSPFv2 Router Identifier expliciet voor elke OSPF-router binnen een VRF. De configuratie van de router-ID is optioneel. Als u een router-ID configureert, kiest de software die router-ID als OSPF-router-ID.
Wanneer de router-ID niet is geconfigureerd, wordt de router-ID geselecteerd volgens onderstaande voorkeur.
- Meest recent gebruikte router-id-waarde; (dit kan gebeuren wanneer de gebruiker de configuratie van de router-ID ongedaan maakt).
- Door FRR aanbevolen waarde van router-id. FRR kiest de router-id in onderstaande volgorde.
- FRR Global Mode geconfigureerde router-id-waarde, indien van toepassing.
- Hoogste IPv4-adreswaarde onder SONiC fysieke en Loopback interface IPv4-adressen.
U configureert:
DELLSONiC(config-router-ospf)# ospf router-id router-id |
Verwijderen:
DELLSONiC(config-router-ospf)# no ospf router-id router-id |
- router-id - OSPF-router-ID in decimale of gestippelde indeling
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# router ospf
DELLSONiC(config-router-ospf)# ospf router-id 1.1.1.1 |
OSPF-authenticatietype op gebiedsniveau configureren
U kunt het OSPFv2-authenticatietype per gebied configureren. Wanneer verificatie is geconfigureerd, gebruiken alle interfaces die binnen dat gebied zijn geconfigureerd het geconfigureerde verificatietype. Als er een authenticatietype voor de interfacemodus is geconfigureerd, heeft dat authenticatietype voor de interfacemodus voorrang op configuratie op gebiedsniveau.
Verificatietype is Geen als het niet door de gebruiker is geconfigureerd. De gebruiker kan verificatie van het type platte tekst of verificatie van het type Message Digest inschakelen. Wanneer het authenticatietype voor een gebied wordt geconfigureerd, moet de gebruiker de bijbehorende authenticatiesleutels (wachtwoorden) configureren op alle OSPF-interfaces die tot dat gebied behoren.
Gebruik deze routermodusopdracht om OSPF-authenticatie voor een gebied te configureren of de configuratie ongedaan te maken.
U configureert:
DELLSONiC(config-router-ospf)# area area-id authentication [message-digest] |
Verwijderen:
DELLSONiC(config-router-ospf)# no area area-id authentication [message-digest] |
- area-id - OSPF-gebieds-ID in decimale of gestippelde notatie - A.B.C.D of 0..4294967295
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# router ospf
DELLSONiC(config-router-ospf)# area 0 authentication
or
DELLSONiC(config-router-ospf)# area 0 authentication message-digest |
OSPF-interfaceniveau authenticatietype en -sleutels configureren
Configureer het OSPFv2-verificatietype en de verificatiesleutels of -wachtwoorden voor afzonderlijke OSPF-interfaces. Als het niet door de gebruiker is geconfigureerd, is het verificatietype geen. De gebruiker kan verificatie van het type platte tekst of verificatie van het type Message Digest inschakelen. Wanneer authenticatietype is geconfigureerd voor een interface, moet de gebruiker de bijbehorende authenticatiesleutels (wachtwoorden) configureren voor die OSPF-interface.
Verificatie in platte tekst kan maximaal acht tekens lang zijn. De MD5-authenticatiesleutel (Message Digest) mag maximaal 16 tekens lang zijn. Het MD5-verificatietype kan maximaal 255 verificatiesleutels per interface en interface-IP accepteren. Elke MD5-verificatiesleutel wordt uniek geïdentificeerd door een verificatiesleutel-id met een waardebereik van 1 en 255. Verificatiesleutels worden versleuteld opgeslagen.
Gebruik deze opdracht voor de interfacemodus om OSPF-berichtverificaties te configureren of de configuratie ongedaan te maken.
U configureert:
DELLSONiC(config-if-Eth1/47)# ip ospf authentication [null | message-digest] [if-ip-addr]
DELLSONiC(config-if-Eth1/47)# ip ospf authentication-key key [if-ip-addr]
DELLSONiC(config-if-Eth1/47)# ip ospf message-digest-key key-id md5 key [if-ip-addr] |
Verwijderen:
DELLSONiC(config-if-Eth1/47)# no ip ospf authentication [null | message-digest] [if-ip-addr]
DELLSONiC(config-if-Eth1/47)# no ip ospf authentication-key [if-ip-addr]
DELLSONiC(config-if-Eth1/47)# no ip ospf message-digest-key key-id md5 [if-ip-addr] |
- key - Authentication key password (tekenreeks van maximaal 8 of 16 tekens)
- key-id - MD5 authenticatiesleutel Identifier (1 tot 255)
- if-ip-addr - Interface IP address - A.B.C.D
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# interface Eth 1/47
DELLSONiC(config-if-Eth1/47)# ip ospf authentication
DELLSONiC(config-if-Eth1/47)# ip ospf authentication-key dellospfpswrd
DELLSONiC(config-if-Eth1/47)# ip ospf authentication 10.10.3.2
DELLSONiC(config-if-Eth1/47)# ip ospf authentication-key dellospfpswrd 10.10.3.2
DELLSONiC(config-if-Eth1/47)# ip ospf authentication message-digest
DELLSONiC(config-if-Eth1/47)# ip ospf message-digest-key 1 md5 dellospfpswrd
DELLSONiC(config-if-Eth1/47)# ip ospf message-digest-key 2 md5 dellospfpswrd
DELLSONiC(config-if-Eth1/47)# ip ospf authentication null |
Passieve OSPF-interfaces configureren
Configureer passieve OSPFv2-interfaces met behulp van routermodusconfiguraties. Op een passieve interface activeert OSPF geen OSPF hello of start OSPF-sessies niet. Passieve interfaces worden geadverteerd als een stub-link in de router-LSA. Als u alle OSPF-interfaces standaard als passieve interfaces wilt configureren, voert u de standaardoptie passieve interface in. Als u alle of opgegeven interfaces opnieuw wilt activeren, gebruikt u de opdracht no passive-interface.
U configureert:
DELLSONiC(config-router-ospf)# passive-interface {default | Eth | Loopback | PortChannel | Vlan } [if-ip-addr] |
Verwijderen:
DELLSONiC(config-router-ospf)# no passive-interface {default | Eth | Loopback | PortChannel | Vlan } [if-ip-addr] |
- Eth | Loopback | PortChannel | Vlan - interfacenaam
- if-ip-addr - Interface IP address - A.B.C.D
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# router ospf
DELLSONiC(config-router-ospf)# passive-interface default
DELLSONiC(config-router-ospf)# no passive-interface Eth 1/47 |
Virtuele OSPF-koppelingen configureren
OSPFv2 Virtuele koppelingen worden gebruikt om backbone-routers te verbinden over een niet-backbonegebied. Het gebied waardoor de virtuele koppeling wordt geconfigureerd, ook wel transitgebied genoemd, moet volledige routeringsinformatie hebben. De transitzone kan geen stompgebied zijn. U moet virtuele koppelingen configureren op beide eindbackbone-routers.
Virtuele koppelingen configureren met behulp van OSPF-routermodusconfiguraties, zoals hieronder. De opdracht Single Virtual Link biedt opties voor het configureren van alle parameters die betrekking hebben op de virtuele koppeling. Virtuele koppelingen kunnen een wachtwoord in duidelijke tekst, wachtwoorden op basis van berichtsamenvattingen of helemaal geen wachtwoord hebben. Wanneer het wachtwoord voor leesbare tekst en berichtsamenvatting is geconfigureerd, moeten de bijbehorende parameters authenticatiesleutel of berichtsamenvattingssleutel worden geconfigureerd. De verificatiesleutel (wachtwoord) wordt versleuteld opgeslagen in configuraties. De Gebruiker moet altijd het werkelijke wachtwoord opgeven tijdens het configureren van authenticatiesleutels.
U configureert:
DELLSONiC(config-router-ospf)# area area-id virtual-link remote-id [ authentication [ null | message-digest ] | authentication-key key | message-digest-key key-id md5 key | dead-interval time-value | hello-interval time-value | retransmit-interval time-value | transmit-delay time-value ] |
Verwijderen:
DELLSONiC(config-router-ospf)# no area area-id virtual-link remote-id [ authentication [ null | message-digest ] | authentication-key key | message-digest-key key-id md5 key | dead-interval time-value | hello-interval time-value | retransmit-interval time-value | transmit-delay time-value ] |
- area-id - OSPF-gebieds-ID in decimale of gestippelde notatie - A.B.C.D of 0..4294967295
- remote-id - Externe router-ID in gestippeld formaat - A.B.C.D
- key - Authentication key password (tekenreeks van maximaal 8 of 16 tekens)
- key-id - MD5 authenticatie key identifier (1 tot 255)
- tijd-waarde - Tijdsintervalwaarde in seconden (1 tot 65535)
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# router ospf
DELLSONiC(config-router-ospf)# area 19 virtual-link 1.1.1.9
DELLSONiC(config-router-ospf)# area 19 virtual-link 1.1.1.9 authentication
DELLSONiC(config-router-ospf)# area 19 virtual-link 1.1.1.9 authentication-key dellospfpswrd
DELLSONiC(config-router-ospf)# area 19 virtual-link 1.1.1.9 authentication
message-digest
DELLSONiC(config-router-ospf)# area 19 virtual-link 1.1.1.9
message-digest-key 19 md5 dellospfpswrd
DELLSONiC(config-router-ospf)# area 19 virtual-link 1.1.1.9 authentication null
DELLSONiC(config-router-ospf)# area 19 virtual-link 1.1.1.9 dead-interval 60
DELLSONiC(config-router-ospf)# area 19 virtual-link 1.1.1.9 hello-interval 20
DELLSONiC(config-router-ospf)# area 19 virtual-link 1.1.1.9 retransmit-interval 15
DELLSONiC(config-router-ospf)# area 19 virtual-link 1.1.1.9 transmit-delay 10 |
OSPF ABR-type configureren
OSPF router ABR kan van het type Cisco, IBM, snelkoppeling of standaard zijn. De typen "Cisco" en "IBM" zijn gelijkwaardig. De OSPF-standaard voor ABR-gedrag staat niet toe dat een ABR routes door niet-backbone-gebieden in overweging neemt wanneer de verbindingen met de backbone zijn uitgeschakeld, zelfs niet als er andere ABR's zijn in aangehechte niet-backbone-gebieden die nog steeds de backbone kunnen bereiken - deze beperking bestaat voornamelijk om ervoor te zorgen dat routeringslussen worden vermeden.
Met het ABR-type "Cisco" of "IBM", de standaard in deze release, wordt deze beperking opgeheven, waardoor een ABR samenvattingen kan overwegen die zijn geleerd van andere ABR's via niet-backbone-gebieden, en dus als laatste redmiddel door niet-backbone-gebieden kan routeren wanneer, en alleen wanneer, backbone-links niet beschikbaar zijn.
De opdracht ospf abr-type wordt gebruikt om het ABR-type te configureren of ongedaan te maken, zoals hieronder weergegeven.
U configureert:
DELLSONiC(config-router-ospf)# ospf abr-type [ cisco | ibm | shortcut | standard ] |
Verwijderen:
DELLSONiC(config-router-ospf)# no ospf abr-type [ cisco | ibm | shortcut | standard ] |
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# router ospf
DELLSONiC(config-router-ospf)# ospf abr-type standard |
Sneltoetsen voor OSPF-gebieden configureren
OSPF Backbone-gebied is verantwoordelijk voor de routeringsverdeling tussen niet-backbone-gebieden. Het ruggengraatgebied moet aaneengesloten zijn, maar dit impliceert niet altijd een fysieke nabijheid. U kunt backbone area routerverbindingen tot stand brengen met behulp van virtuele verbindingen.
Door het snelkoppelingstype te configureren, kunt u snelkoppelingsroutes naar het backbonegebied in- of uitschakelen. Wanneer het snelkoppelingstype standaard is, wordt het gebied alleen gebruikt voor snelkoppelingen als ABR geen koppeling met het backbonegebied heeft of als deze koppeling verloren is gegaan. Wanneer het type snelkoppeling 'inschakelen' is, wordt het gebied gebruikt voor sluiproutes elke keer dat de route die er doorheen gaat goedkoper is. Wanneer het snelkoppelingstype 'uitgeschakeld' is, wordt het gebied nooit door ABR gebruikt voor het afsnijden van routes.
Configureer of deconfigureer de snelkoppelingstypen voor het OSPFv2-gebied in de OSPF-routerconfiguratiemodus.
U configureert:
DELLSONiC(config-router-ospf)# area area-id shortcut {default | enable | disable} |
Verwijderen:
DELLSONiC(config-router-ospf)# no area area-id shortcut |
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# router ospf
DELLSONiC(config-router-ospf)# area 1 shortcut enable |
OSPF RFC-compatibiliteit configureren
OSPFv2 RFC2328, de opvolger van RFC1583, stelt volgens paragraaf G.2 (wijzigingen) in paragraaf 16.4 een wijziging voor in het padvoorkeursalgoritme dat mogelijke routeringslussen voorkomt die mogelijk waren in de oude versie van OSPFv2. Meer specifiek vereist het dat interarea-paden en intra-area backbone-paden nu van gelijke voorkeur zijn, maar nog steeds beide de voorkeur hebben boven externe paden.
U configureert:
DELLSONiC(config-router-ospf)# compatible rfc1583 |
Verwijderen:
DELLSONiC(config-router-ospf)# no compatible rfc1583 |
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# router ospf
DELLSONiC(config-router-ospf)# compatible rfc1583 |
Logboekregistratie van OSPF-nabijheid configureren
Schakel OSPFv2-logboeken voor aangrenzende staten in door aangrenzende logboeken te configureren. Met het optionele detailargument worden alle wijzigingen in de aangrenzende status weergegeven.
U configureert:
DELLSONiC(config-router-ospf)# log-adjacency-changes [detail] |
Verwijderen:
DELLSONiC(config-router-ospf)# no log-adjacency-changes |
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli DELLSONiC# configure terminal DELLSONiC(config)# router ospf DELLSONiC(config-router-ospf)# log-adjacency-changes detail |
OSPF LSA-timers configureren
OSPFv2 LSA-vernieuwingsinterval, minimuminterval en throttle timer configureren:
Om te configureren:
DELLSONiC(config-router-ospf)# refresh timer refresh-time
DELLSONiC(config-router-ospf)# timers lsa min-arrival min-arr-time
DELLSONiC(config-router-ospf)# timers throttle lsa all throttle-time |
Verwijderen:
DELLSONiC(config-router-ospf)# no refresh timer DELLSONiC(config-router-ospf)# no timers lsa min-arrival DELLSONiC(config-router-ospf)# no timers throttle lsa all |
- refresh-time - Refresh time (10 tot 1800 seconds)
- min-arr-time - Minimale aankomsttijd (0 tot 600000 milliseconden)
- gaskleptijd - Gaskleptijd (0 tot 5000 milliseconden)
admin@DELLSONiC:~$ sonic-cli DELLSONiC# configure terminal DELLSONiC(config)# router ospf DELLSONiC(config-router-ospf)# refresh timer 40 DELLSONiC(config-router-ospf)# timers lsa min-arrival 30 DELLSONiC(config-router-ospf)# timers throttle lsa all 150 |
OSPF SPF throttle timers configureren
OSPFv2 SPF-algoritme throttle timers stellen de initiële vertraging, de initiële wachttijd en de maximale wachttijd in tussen het moment waarop de SPF wordt berekend en de gebeurtenis die de berekening heeft geactiveerd. De tijden worden opgegeven in milliseconden en moeten tussen 0 en 600000 milliseconden liggen.
De initiële vertraging geeft de minimale hoeveelheid tijd aan om de SPF-berekening uit te stellen. Daarom is het van invloed op hoe lang de SPF-berekening wordt uitgesteld na een gebeurtenis die plaatsvindt buiten de wachttijd van een eerdere SPF-berekening, en dient het ook als een minimale wachttijd.
Opeenvolgende SPF-berekeningen worden altijd gescheiden door ten minste 'hold-time' milliseconden. De hold-time is adaptief en wordt in eerste instantie ingesteld op de initiële hold-time die is geconfigureerd met het throttle-commando. Gebeurtenissen die optreden binnen de hold-time van de vorige SPF-berekening zorgen ervoor dat de hold-time wordt verhoogd met de initiële hold-time, begrensd door de maximum-hold-time die is geconfigureerd met de throttle-opdracht. Als de adaptieve wachttijd verstrijkt zonder dat er een SPF-triggerende gebeurtenis optreedt, wordt de huidige wachttijd teruggezet naar de oorspronkelijke wachttijd. U kunt de huidige wachttijd bekijken met behulp van de opdracht show ip ospf, waar deze wordt uitgedrukt als
een vermenigvuldiger van de initiële wachttijd.
U configureert:
DELLSONiC(config-router-ospf)# timers throttle spf initial-delay initial-hold-time max-hold-time |
Verwijderen:
DELLSONiC(config-router-ospf)# no timers throttle spf |
- initiële vertraging — Tijdwaarde (0 tot 600000 milliseconden)
- initial-hold-time — Tijdwaarde (0 tot 600000 milliseconden)
- max-hold-time — Tijdwaarde (0 tot 600000 milliseconden)
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# router ospf
DELLSONiC(config-router-ospf)# timers throttle spf 200 400 10000 |
In het bovenstaande voorbeeld is de initiële vertraging ingesteld op 200 ms, de initiële wachttijd is ingesteld op 400 ms en de maximale wachttijd op 10 seconden. Er zit dus altijd minimaal 200 ms tussen een gebeurtenis (waarvoor SPF-berekening vereist is) en de SPF-berekening. Verdere opeenvolgende SPF-berekeningen worden altijd gescheiden door 400 ms tot 10 seconden, de wachttijd neemt met 400 ms toe elke keer dat een SPF-triggering-gebeurtenis plaatsvindt binnen de wachttijd van de vorige SPF-berekening.
Max-metrische advertenties voor OSPF configureren
OSPFv2, volgens RFC 313, beschrijft zijn transitverbindingen in zijn router-LSA als oneindige afstand (max-metrisch), zodat andere routers het berekenen van transitpaden door de router vermijden terwijl ze nog steeds netwerken via de router kunnen bereiken.
Deze ondersteuning kan administratief (dat wil zeggen voor onbepaalde tijd) of voorwaardelijk worden ingeschakeld. Voorwaardelijke inschakeling van max-metrische router-LSA's kan gedurende een periode van seconden na het opstarten zijn.
Door dit gedurende een periode na het opstarten in te schakelen, kan OSPF eerst volledig convergeren zonder dat dit invloed heeft op bestaande routes die door andere routers worden gebruikt, terwijl alle aangesloten stub-links en/of herverdeelde routes nog steeds bereikbaar zijn.
Door deze functie administratief in te schakelen, kan er om welke reden dan ook voor onbepaalde tijd administratief worden ingegrepen. Als de configuratie wordt opgeslagen, wordt deze beheervorm van de opdracht stub-router ook opgeslagen. Als het systeem of de docker later opnieuw wordt opgestart, wordt de opdracht van kracht totdat de configuratie handmatig ongedaan wordt gemaakt.
U configureert:
DELLSONiC(config-router-ospf)# max-metric router-lsa administrative
DELLSONiC(config-router-ospf)# max-metric router-lsa on-startup time-value |
Verwijderen:
DELLSONiC(config-router-ospf)# no max-metric router-lsa administrative
DELLSONiC(config-router-ospf)# no max-metric router-lsa on-startup |
- tijd-waarde - Tijdwaarde (5 tot 86400 seconden)
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli DELLSONiC# configure terminal DELLSONiC(config)# router ospf DELLSONiC(config-router-ospf)# max-metric router-lsa administrative DELLSONiC(config-router-ospf)# max-metric router-lsa on-startup 60 |
OSPF-routeafstanden configureren
Wijs berekende OSPFv2-routes toe met door de gebruiker geconfigureerde routeringsafstanden binnen een router. U kunt de afstandswaarde configureren voor alle door OSPFv2 gegenereerde routes. Configuraties van afstandswaarden kunnen ook worden uitgevoerd op basis van de bron van de OSPF-route, zoals een route binnen het gebied, een route tussen gebieden en een externe route met betrekking tot de huidige router.
U configureert:
DELLSONiC(config-router-ospf)# distance distance-value
DELLSONiC(config-router-ospf)# distance ospf intra-area distance-value
DELLSONiC(config-router-ospf)# distance ospf inter-area distance-value
DELLSONiC(config-router-ospf)# distance ospf external distance-value |
Verwijderen:
DELLSONiC(config-router-ospf)# no distance
DELLSONiC(config-router-ospf)# no distance ospf intra-area
DELLSONiC(config-router-ospf)# no distance ospf inter-area
DELLSONiC(config-router-ospf)# no distance ospf external |
- afstandswaarde - Afstandswaarde voor alle soorten routes (1... 255)
admin@DELLSONiC:~$ sonic-cli DELLSONiC# configure terminal DELLSONiC(config)# router ospf DELLSONiC(config-router-ospf)# distance 25 DELLSONiC(config-router-ospf)# distance ospf intra-area 30 DELLSONiC(config-router-ospf)# distance ospf inter-area 30 DELLSONiC(config-router-ospf)# distance ospf external 60 |
Configure OSPF auto cost reference bandwidth
OSPFv2 berekent routekosten op basis van OSPF-interfacekosten. Interfacekosten kunnen handmatig worden geconfigureerd of automatisch worden berekend. Handmatig geconfigureerde interfacekosten hebben voorrang op automatisch berekende interfacekosten.
De automatische berekening van interfacekosten wordt uitgevoerd door een referentiebandbreedte en interface-/linkbandbreedte in overweging te nemen. De kosten van referentiebandbreedte worden beschouwd als kosten 1. De standaard referentiebandbreedte is 100 gigabyte. Linkbandbreedte wordt gekozen in de voorkeursvolgorde geconfigureerde linkbandbreedte of werkelijke linksnelheid of standaard linkbandbreedte (10G). De linkkosten worden als volgt berekend.
Linkkosten = (Referentiebandbreedte) / (Linkbandbreedte + 0,5)
Berekende linkkosten kunnen lager zijn dan 1, in zo'n geval worden ze altijd afgerond op linkkosten 1.
U configureert:
DELLSONiC(config-router-ospf)# auto-cost reference-bandwidth ref-bandwidth |
Verwijderen:
DELLSONiC(config-router-ospf)# no auto-cost reference-bandwidth |
- ref-bandwidth - Referentiebandbreedte (1 tot 4294967 megabits)
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# router ospf
DELLSONiC(config-router-ospf)# auto-cost reference-bandwidth 10000 |
Configureer het OSPF-stubgebied en de bijbehorende parameters
Configureer het OSPFv2-gebied als een stub-gebied met of zonder overzichtsroutes. Stubgebied is een gebied waar geen enkele router routes buiten OSPF veroorzaakt. Dit is dus een gebied waar alle externe routes bereikbaar worden geacht via ABR's. ABR's voor een dergelijk gebied hoeven dus geen AS-External LSA's of ASBR-Summary LSA's door te geven aan het gebied. Ze hoeven alleen de Network-Summary LSA's in zo'n gebied door te geven, samen met een standaardrouteoverzicht. Geen enkel samenvattingsstompgebied verhindert dat de ABR zelfs samenvattingen tussen gebieden in het gespecificeerde stompgebied injecteert.
U configureert:
DELLSONiC(config-router-ospf)# area area-id stub [no-summary]
DELLSONiC(config-router-ospf)# area area-id default-cost cost-value |
Verwijderen:
DELLSONiC(config-router-ospf)# no area area-id stub [no-summary]
DELLSONiC(config-router-ospf)# no area area-id default-cost |
- area-id - OSPF-gebieds-ID in decimale of gestippelde notatie - A.B.C.D of 0..4294967295
- Kostprijs-kwaliteitverhouding - standaardkosten (0 tot 16777215)
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli DELLSONiC# configure terminal DELLSONiC(config)# router ospf DELLSONiC(config-router-ospf)# area 1 stub DELLSONiC(config-router-ospf)# area 2 stub no-summary DELLSONiC(config-router-ospf)# area 2 default-cost 30 |
OSPF inter-area summary routefilters configureren
Beheer de OSPFv2 inter-area Summary LSA-routepropagatie bij een ABR met behulp van voorvoegsellijsten en bereiklijsten.
Gebruik de lijst met voorvoegsels om inkomende routes naar een gebied met een ABR uit te filteren. Gebruik op dezelfde manier de lijst met voorvoegsels om uitgaande routes uit een gebied te filteren.
Bereiklijsten kunnen ook worden gebruikt om advertenties van voorvoegsels uit een gebied te beheren. Met behulp van bereiklijsten is het mogelijk om zowel het voorvoegsel als de kosten of het te adverteren routevoorvoegsel te wijzigen. Deze optie vat intragebiedspaden van een opgegeven gebied samen in één Type-3 samenvatting-LSA die is aangekondigd voor andere gebieden. U kunt deze configuratie alleen in ABR gebruiken en u kunt alleen router-LSA's en netwerk-LSA's samenvatten.
U configureert:
DELLSONiC(config-router-ospf)# area area-id filter-list prefix prefix-list in
DELLSONiC(config-router-ospf)# area area-id filter-list prefix prefix-list out
DELLSONiC(config-router-ospf)# area area-id range ip-prefix
DELLSONiC(config-router-ospf)# area area-id range ip-prefix not-advertise
DELLSONiC(config-router-ospf)# area area-id range ip-prefix cost cost-value
DELLSONiC(config-router-ospf)# area area-id range ip-prefix advertise cost cost-value
DELLSONiC(config-router-ospf)# area area-id range ip-prefix substitute sub-ip-prefix |
Verwijderen:
DELLSONiC(config-router-ospf)# no area area-id filter-list prefix in
DELLSONiC(config-router-ospf)# no area area-id filter-list prefix out
DELLSONiC(config-router-ospf)# no area area-id range ip-prefix
DELLSONiC(config-router-ospf)# no area area-id range ip-prefix not-advertise
DELLSONiC(config-router-ospf)# no area area-id range ip-prefix cost
DELLSONiC(config-router-ospf)# no area area-id range ip-prefix advertise cost
DELLSONiC(config-router-ospf)# no area area-id range ip-prefix substitute |
- area-id - OSPF-gebieds-ID in decimale of gestippelde notatie - A.B.C.D of 0..4294967295
- prefix-list - naam van IPv4-prefixlijst
- ip-prefix - Samenvatting route address range prefix - A.B.C.D/mask
- Kostprijs-kwaliteitverhouding - Kostprijs-kwaliteitverhouding - <0..16777215>
- sub-ip-prefix - Address prefix - A.B.C.D/mask
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# router ospf
DELLSONiC(config-router-ospf)# area 0 filter-list prefix arealistin in
DELLSONiC(config-router-ospf)# area 0 filter-list prefix arealistout out |
Herverdeling OSPF-route configureren
OSPFv2 kan externe routes herdistribueren naar het OSPF-routeringsdomein. Herdistribueer BGP-routes, statische routes, verbonden routes en kernelroutes naar het OSPF-routeringsdomein. Beheer de herverdeling van routes met behulp van routekaarten naast de expliciet opgegeven kosten en het type statistieken.
U configureert:
DELLSONiC(config-router-ospf)# redistribute {kernel | connected | static| bgp} [metric metric-value| metric-type metric-type-value | route-map rmap-name}
DELLSONiC(config-router-ospf)# default-metric metric-value |
Verwijderen:
DELLSONiC(config-router-ospf)# no redistribute {kernel | connected | static | bgp} [metric | metric-type | route-map}
DELLSONiC(config-router-ospf)# no default-metric |
- metric-value - Routekosten naar toegepast op route (0 tot 16777214)
- metric-type-value - Metric-type (1 en 2)
- rmap-name - Naam van de routekaart die op routes moet worden toegepast
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli DELLSONiC# configure terminal DELLSONiC(config)# router ospf DELLSONiC(config-router-ospf)# redistribute bgp DELLSONiC(config-router-ospf)# redistribute static metric 20 metric-type 1 DELLSONiC(config-router-ospf)# redistribute bgp route-map ospf-rmap DELLSONiC(config-router-ospf)# redistribute bgp metric 20 metric-type 1 route-map ospfrmap DELLSONiC(config-router-ospf)# default-metric 30 |
Standaardrouteoorsprong OSPF configureren
Standaardroutes kunnen afkomstig zijn uit het OSPF-routeringsdomein. Met deze optie wordt een AS-External LSA gegenereerd waarin een standaardroute wordt beschreven naar alle gebieden met externe routering, van het opgegeven metrische en metrische type. Als de optie 'altijd' is opgegeven, wordt altijd de standaardroute geadverteerd, zelfs als er geen standaardroute in de routeringstabel aanwezig is.
U configureert:
DELLSONiC(config-router-ospf)# default-information originate [{ always | metric metric-value| metric-type metric-type-value | route-map rmap-name }] |
Verwijderen:
DELLSONiC(config-router-ospf)# no default-information originate [{ always | metric | metric-type | route-map }] |
- metric-value - Routekosten naar toegepast op route (0 tot 16777214)
- metric-type-value - Metric-type (1 en 2)
- rmap-name - Naam van de routekaart die op routes moet worden toegepast
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# router ospf
DELLSONiC(config-router-ospf)# default-information originate
DELLSONiC(config-router-ospf)# default-information originate always
DELLSONiC(config-router-ospf)# default-information originate route-map ospf-rmap
DELLSONiC(config-router-ospf)# default-information originate metric 20 metric-type 1 route-map ospfrmap |
OSPF-interfaceparameters configureren
Configureer OSPF-interfaceparameters in de SONiC-interfaceconfiguratiemodus. De interfaceconfiguratie omvat:
- Gebiedskoppeling met een interface
- Interfacetype, MTU
- Parameters voor berichtverificatie
- Intervalparameters sessietimer
- BFD
Interfaceparameters kunnen ook worden gekoppeld aan een specifiek interfaceadres van de interface door het IPv4-adres van de interface op te geven. Wanneer een interfaceadres is opgegeven, is een dergelijke configuratieparameter alleen van toepassing op de OSPF-sessie die is gekoppeld aan het bijbehorende interfaceadres.
U configureert:
DELLSONiC(config-if-Eth1/47)# ip ospf area area-id [if-ip-addr] |
Verwijderen:
DELLSONiC(config-if-Eth1/47)# no ip ospf area area-id [if-ip-addr] |
- area-id - OSPF-gebieds-ID in decimale of gestippelde notatie - A.B.C.D of 0..4294967295
- if-ip-addr - Interface IP-adres
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# int Eth 1/47
DELLSONiC(config-if-Eth1/47)# ip ospf area 10
DELLSONiC(config-if-Eth1/47)# ip ospf area 0.0.0.0 10.3.1.2 |
Configureer het OSPFv2-interfacenetwerktype in de OSPF-interfaceconfiguratiemodus. OSPF-interfacenetwerk is standaard van het netwerktype broadcast.
U configureert:
DELLSONiC(config-if-Eth1/47)# ip ospf network {broadcast | point-to-point} |
Verwijderen:
DELLSONiC(config-if-Eth1/47)# no ip ospf network {broadcast | point-to-point} |
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# int Eth 1/47
DELLSONiC(config-if-Eth1/47)# ip ospf network broadcast
DELLSONiC(config)# int Eth 1/8
DELLSONiC(config-if-Eth1/8)# ip ospf network point-to-point |
Configureer de OSPFv2-interfacesessieprioriteitsparameters in de OSPF-interfaceconfiguratiemodus. De router met de hoogste prioriteit komt meer in aanmerking om aangewezen router te worden. Als de waarde wordt ingesteld op 0, komt de router niet in aanmerking om Designated Router te worden. De standaardwaarde is 1.
U configureert:
DELLSONiC(config-if-Eth1/47)# ip ospf priority priority-value [if-ip-addr] |
Verwijderen:
DELLSONiC(config-if-Eth1/47)# no ip ospf priority [if-ip-addr] |
- prioriteitswaarde - sessieprioriteit (0 tot 255)
- if-ip-addr - Interface IP-adres
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# int Eth 1/47
DELLSONiC(config-if-Eth1/47)# ip ospf priority 10 |
OSPFv2-interfacesessieverificatieparameters configureren in OSPF-interfaceconfiguratiemodus:
Configureren:
DELLSONiC(config-if-Eth1/47)# ip ospf authentication [null | message-digest] [if-ip-addr]
DELLSONiC(config-if-Eth1/47)# ip ospf authentication-key key [if-ip-addr]
DELLSONiC(config-if-Eth1/47)# ip ospf message-digest-key key-id md5 key [if-ip-addr] |
Verwijderen:
DELLSONiC(config-if-Eth1/47)# no ip ospf authentication [null | message-digest] [if-ip-addr]
DELLSONiC(config-if-Eth1/47)# no ip ospf authentication-key [if-ip-addr]
DELLSONiC(config-if-Eth1/47)# no ip ospf message-digest-key key-id md5 [if-ip-addr] |
- if-ip-addr - Interface IPv4-adres
- key - Wachtwoord voor authenticatiesleutel (maximaal 8 of 16 tekens)
- key-id - MD5 authenticatiesleutel Identifier (1 tot 255)
- if-ip-addr - Interface IP-adres
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# interface Eth1/1
DELLSONiC(config-if-Eth1/1)# ip ospf authentication
DELLSONiC(config-if-Eth1/1)# ip ospf authentication-key ospfpswd
DELLSONiC(config)# interface Eth1/2
DELLSONiC(config-if-Eth1/2)# ip ospf authentication 10.10.3.2
DELLSONiC(config-if-Eth1/2)# ip ospf authentication-key ospfpswd 10.10.3.2
DELLSONiC(config)# interface Eth1/3
DELLSONiC(config-if-Eth1/3)# ip ospf authentication message-digest
DELLSONiC(config-if-Eth1/3)# ip ospf message-digest-key 1 md5 ospfpswd1
DELLSONiC(config-if-Eth1/3)# ip ospf message-digest-key 2 md5 ospfpswd2
DELLSONiC(config-if-Eth1/3)# ip ospf message-digest-key 9 md5 ospfpswd9
DELLSONiC(config)# interface Eth1/4
DELLSONiC(config-if-Eth1/4)# ip ospf authentication null |
Configureer de OSPFv2-interfacesessie BFD in de OSPF-interfaceconfiguratiemodus. OSPF-interface BFD is standaard uitgeschakeld.
U configureert:
DELLSONiC(config-if-Eth1/47)# ip ospf bfd |
Verwijderen:
DELLSONiC(config-if-Eth1/47)# no ip ospf bfd |
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# interface Eth1/1
DELLSONiC(config-if-Eth1/1)# ip ospf bfd |
Configureer de OSPFv2-interfacekosten in de OSPF-interfaceconfiguratiemodus. De kostprijswaarde wordt ingesteld op het metrische veld van router-LSA en wordt gebruikt voor SPF-berekening.
U configureert:
DELLSONiC(config-if-Eth1/47)# ip ospf cost cost-value [if-ip-addr] |
Verwijderen:
DELLSONiC(config-if-Eth1/47)# no ip ospf cost [if-ip-addr] |
- if-ip-addr - Interface IP-adres
- Kostprijs - Interfacekosten (1 tot 65535)
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# interface Eth1/1
DELLSONiC(config-if-Eth1/1)# ip ospf cost 50 |
Configure OSPFv2 interface session MTU ignore under OSPF interface configuration mode. MTU wordt niet standaard genegeerd. MTU-waarden van OSPF-sessie-interface-einden moeten overeenkomen als MTU-negeren niet is geconfigureerd. Het configureren van MTU-negeren biedt geen garantie voor het opzetten van de sessie wanneer er een groot aantal OSPF-routevoorvoegsels aanwezig zijn en het LSA-bericht van de router deze niet binnen de MTU-grootte kan accommoderen.
U configureert:
DELLSONiC(config-if-Eth1/47)# ip ospf mtu-ignore [if-ip-addr] |
Verwijderen:
DELLSONiC(config-if-Eth1/47)# no ip ospf mtu-ignore [if-ip-addr] |
- if-ip-addr - Interface IP-adres
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# interface Eth1/1
DELLSONiC(config-if-Eth1/1)# ip ospf mtu-ignore |
Configureer de OSPFv2-interfacesessie hallo timers in de OSPF-interfaceconfiguratiemodus. Indien geconfigureerd, wordt het Hello-pakket elke timerwaarde seconden verzonden op de opgegeven interface. Deze waarde moet hetzelfde zijn voor alle routers die op een gemeenschappelijk netwerk zijn aangesloten. De standaardwaarde is 10 seconden.
U configureert:
DELLSONiC(config-if-Eth1/47)# ip ospf hello-interval time-interval [if-ip-addr] |
Verwijderen:
DELLSONiC(config-if-Eth1/47)# no ip ospf hello-interval [if-ip-addr] |
- if-ip-addr - Interface IP-adres
- tijdsinterval - Timerwaarden (1 tot 65535 seconden)
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# interface Eth1/1
DELLSONiC(config-if-Eth1/1)# ip ospf hello-interval 15 |
Configureer de OSPFv2-interfacesessievertragingstimers voor verzenden in de OSPF-interfaceconfiguratiemodus. Indien geconfigureerd, moet de leeftijd van LSA's tijdens het verzenden met deze waarde worden verhoogd. De standaardwaarde is 1 seconde.
U configureert:
DELLSONiC(config-if-Eth1/47)# ip ospf transmit-delay time-interval [if-ip-addr] |
Verwijderen:
DELLSONiC(config-if-Eth1/47)# no ip ospf transmit-delay [if-ip-addr] |
- if-ip-addr - Interface IP-adres
- tijdsinterval - Timerwaarde (1 tot 65535 seconden)
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# interface Eth1/1
DELLSONiC(config-if-Eth1/1)# ip ospf transmit-delay 20 |
Configureer OSPFv2-interfacesessies voor opnieuw verzenden intervaltimers in de OSPF-interfaceconfiguratiemodus. Deze waarde wordt gebruikt bij het opnieuw verzenden van pakketten Database Description en Link State Request. De standaardwaarde is 5 seconden.
U configureert:
DELLSONiC(config-if-Eth1/47)# ip ospf retransmit-interval time-interval [if-ip-addr] |
Verwijderen:
DELLSONiC(config-if-Eth1/47)# no ip ospf retransmit-interval [if-ip-addr] |
- if-ip-addr - Interface IP-adres
- tijdsinterval - Timerwaarde (2 tot 65535 seconden)
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# interface Eth1/1
DELLSONiC(config-if-Eth1/1)# ip ospf retransmit-interval 25 |
Configureer het dode interval van de OSPFv2-interface in de OSPF-interfaceconfiguratiemodus. De waarde van de OSPF-router wordt gebruikt voor de sessie-wachttijd of de inactiviteitstimer. Deze waarde moet hetzelfde zijn voor alle routers die op een gemeenschappelijk netwerk zijn aangesloten. De standaardwaarde is 40 seconden. Als 'minimaal' wordt gespecificeerd in plaats van expliciete wachttijd, dan wordt het dead-interval ingesteld op 1 seconde en moet men een hello-multiplier opgeven. De hello-multiplier geeft aan hoeveel Hello's er per seconde verstuurd moeten worden. De vermenigvuldigingswaarde kan variëren van 1 (elke 500 ms) tot 10 (elke 50 ms). Men kan dus 1s convergentietijd hebben voor OSPF. Als dit formulier is opgegeven, wordt het hallo-interval dat wordt geadverteerd in Hello-pakketten ingesteld op 0 en wordt het hello-interval op ontvangen Hello-pakketten niet aangevinkt, dus de hello-multiplier hoeft NIET hetzelfde te zijn voor meerdere routers op een gemeenschappelijke link.
U configureert:
DELLSONiC(config-if-Eth1/47)# ip ospf dead-interval time-interval [if-ip-addr]
DELLSONiC(config-if-Eth1/47)# ip ospf dead-interval minimal hello-multiplier multiplier [if-ip-addr] |
Verwijderen:
DELLSONiC(config-if-Eth1/47)# no ip ospf dead-interval [if-ip-addr]
DELLSONiC(config-if-Eth1/47)# no ip ospf dead-interval minimal hello-multiplier [if-ip-addr] |
- if-ip-addr - Interface IP-adres
- tijdsinterval - Timerwaarde (1 tot 65535 seconden)
- multiplier - Dode interval hallo vermenigvuldigingswaarde (1 tot 10 seconden)
Voorbeeld:
admin@DELLSONiC:~$ sonic-cli
DELLSONiC# configure terminal
DELLSONiC(config)# interface Eth1/1
DELLSONiC(config-if-Eth1/1)# ip ospf dead-interval 60
DELLSONiC(config-if-Eth1/1)# ip ospf dead-interval minimal hello-multiplier 4 |
Opdrachten voor het weergeven van operationele gegevens van OSPF
SONiC biedt een beeldschermopdracht om de operationele status van de OSPF-router, OSPF-sessies en OSPF-interfaces weer te geven.
Bekijk de informatie over de OSPF-router
show ip ospf [vrf vrf-name] |
- vrf-naam - VRF-naam
Voorbeeld:
DELLSONiC# show ip ospf
OSPF Routing Process, Router ID: 1.1.1.1
Supports only single TOS (TOS0) routes
This implementation conforms to RFC2328
RFC1583Compatibility flag is enabled
OpaqueCapability flag is disabled
Initial SPF scheduling delay 0 millisec(s)
Minimum hold time between consecutive SPFs 50 millisec(s)
Maximum hold time between consecutive SPFs 5000 millisec(s)
Hold time multiplier is currently 1
time is 92031756
SPF algorithm last executed 1065d4h22m ago
Last SPF duration 0.0s
SPF timer is inactive
LSA minimum interval 5000 msecs
LSA minimum arrival 1000 msecs
Write Multiplier set to 20
Refresh timer 10 secs
Number of external LSA 0. Checksum Sum 0x0
Number of opaque AS LSA 0. Checksum Sum 0x0
Number of areas attached to this router: 2
Area ID: 0.0.0.0 (Backbone)
Number of interfaces in this area: Total: 1 , Active: 1
Number of fully adjacent neighbors in this area: 1
Area has no authentication
SPF algorithm executed 8 times
Number of LSA 3
Number of router LSA 2. Checksum Sum 0x40f64b4000000000
Number of network LSA 1. Checksum Sum 0x40d5adc000000000
Number of summary LSA 0. Checksum Sum 0x0
Number of ASBR summary LSA 0. Checksum Sum 0x0
Number of NSSA LSA 0. Checksum Sum 0x0
Number of opaque link LSA . Checksum Sum 0x
Number of opaque area LSA 0. Checksum Sum 0x0
Area ID: 0.0.0.1
Number of interfaces in this area: Total: 1 , Active: 1
Number of fully adjacent neighbors in this area: 0
Area has no authentication
SPF algorithm executed 1 times
Number of LSA 2
Number of router LSA 0. Checksum Sum 0x0
Number of network LSA 0. Checksum Sum 0x0
Number of summary LSA 2. Checksum Sum 0x40f1f61000000000
Number of ASBR summary LSA 0. Checksum Sum 0x0
Number of NSSA LSA 0. Checksum Sum 0x0
Number of opaque link LSA . Checksum Sum 0x
Number of opaque area LSA 0. Checksum Sum 0x0 |
Bekijk de OSPF neighbor informatie
show ip ospf [vrf vrf-name ] neighbor [detail | if-name | nbr-ip ] |
- vrf-naam - VRF-naam
- if-name - OSPF-interfacenaam
- nbr-ip - Neighbor router ID
Voorbeeld:
DELLSONiC# show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface RXmtL
RqstL DBsmL
10.59.142.247 1 Full/Backup 37.343s 64.1.1.2 Eth 1/2:64.1.1.1 0
0 0
DELLSONiC# show ip ospf neighbor Eth1/3 | no-more
Neighbor ID Pri State Dead Time Address Interface RXmtL
RqstL DBsmL
2.2.2.2 1 Full/Backup 38.245s 64.1.1.2 Eth 1/4:64.1.1.1 0
0 0
DELLSONiC# show ip ospf neighbor detail
Neighbor 10.59.142.247, interface address 64.1.1.2
In the area 0.0.0.0 via interface Eth 1/2
Neighbor priority is 1, State is Full, 6 state changes
Most recent state change statistics:
Progressive change 7h3m25s ago
DR is 64.1.1.1, BDR is 64.1.1.2
Options 2 *|-|-|-|-|-|E|-
Dead timer due in 30.687s
Database Summary List 0
Link State Request List 0
Link State Retransmission List 0
Thread Inactivity Timer on
Thread Database Description Retransmission off
Thread Link State Request Retransmission on
Thread Link State Update Retransmission on
Leaf1# show ip ospf neighbor 2.2.2.2
Neighbor 2.2.2.2, interface address 64.1.1.2
In the area 0.0.0.0 via interface Eth 1/2
Neighbor priority is 1, State is Full, 5 state changes
Most recent state change statistics:
Progressive change 0h1m11s ago
DR is 64.1.1.1, BDR is 64.1.1.2
Options 2 *|-|-|-|-|-|E|-
Dead timer due in 33.203s
Database Summary List 0
Link State Request List 0
Link State Retransmission List 0
Thread Inactivity Timer on
Thread Database Description Retransmision off
Thread Link State Request Retransmission on
Thread Link State Update Retransmission on |
Informatie over de OSPF-interface weergeven
show ip ospf interface [if-name | traffic ] |
- if-name - OSPF-interfacenaam
Voorbeeld:
DELLSONiC# show ip ospf interface
VRF Name: default
Eth 1/2 is up
ifindex 128, MTU 9100 bytes, BW 25000 Mbit UP,BROADCAST,RUNNING,MULTICAST
Internet Address 64.1.1.1/24, Broadcast 64.1.1.255, Area 0.0.0.0
MTU mismatch detection: enabled
Router ID 10.59.143.131, Network Type BROADCAST, Cost: 4
Transmit Delay is 1 sec, State DR, Priority 1
Backup Designated Router (ID) 10.59.142.247, Interface Address 64.1.1.2
Saved Network-LSA sequence number 0x8000000f
Multicast group memberships: OSPFAllRouters OSPFDesignatedRouters
Timer intervals configured, Hello 10s, Dead 40s, Wait 40s, Retransmit 5
Hello due in 9.023s
Neighbor Count is 1, Adjacent neighbor count is 1
DELLSONiC# show ip ospf interface Eth 1/3
VRF Name: default
Eth 1/4 is up
ifindex 926, MTU 9100 bytes, BW 25000 Mbit UP,BROADCAST,RUNNING,MULTICAST
Internet Address 65.1.1.1/24, Broadcast 65.1.1.255, Area 0.0.0.1
MTU mismatch detection: enabled
Router ID 1.1.1.1, Network Type BROADCAST, Cost: 4
Transmit Delay is 1 sec, State DR, Priority 1
Backup Designated Router (ID) 2.2.2.2, Interface Address 65.1.1.2
Multicast group memberships: OSPFAllRouters OSPFDesignatedRouters
Timer intervals configured, Hello 10s, Dead 40s, Wait 40s, Retransmit 5
Hello due in 7.957s
Neighbor Count is 1, Adjacent neighbor count is 1
DELLSONiC# show ip ospf interface traffic
Interface HELLO DB-Desc LS-Req LS-Update LS-Ack
Rx/Tx Rx/Tx Rx/Tx Rx/Tx Rx/Tx
-----------------------------------------------------------------------------------------
---
Eth 1/2 2563/2563 3/3 1/1 17/30 29/16
Leaf1# show ip ospf interface traffic Eth1/3
Interface HELLO DB-Desc LS-Req LS-Update LS-Ack
Rx/Tx Rx/Tx Rx/Tx Rx/Tx Rx/Tx
-----------------------------------------------------------------------------------------
Eth1/3 19/22 2/3 1/1 3/3 2/2 |
Bekijk de informatie van de OSPF-database
show ip ospf [vrf vrf-name ] database [asbr-summary | external | network | router | summary | opaque-link] |
- vrf-naam — VRF-naam
Voorbeeld:
DELLSONiC# show ip ospf database
VRF Name: default
OSPF Router with ID (5.5.5.5)
Router Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# CkSum Link count
3.3.3.3 3.3.3.3 988 0x80000003 0x04ec 1
5.5.5.5 5.5.5.5 988 0x80000008 0x6f6b 1
Net Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# CkSum
10.10.10.2 5.5.5.5 988 0x80000002 0xcc38
Link-Local Opaque-LSA (Area 0.0.0.0)
Opaque-Type/Id ADV Router Age Seq# CkSum
3.0.0.0 3.3.3.3 89 0x80000001 0x4a24
DELLSONiC# show ip ospf database network
VRF Name: default
OSPF Router with ID (10.59.143.131)
Net Link States (Area 0.0.0.0)
LS age: 1602
Options: 0x2 : *|-|-|-|-|-|E|-
LS Flags: 0x3
LS Type: network-LSA
Link State ID: 64.1.1.1 (address of Designated Router)
Advertising Router: 10.59.143.131
LS Seq Number: 8000000f
Checksum: 0x1c70
Length: 32
Network Mask: /24
Attached Router: 10.59.142.247
Attached Router: 10.59.143.131
DELLSONiC# show ip ospf database summary
VRF Name: default
OSPF Router with ID (1.1.1.1)
Summary Link States (Area 0.0.0.0)
LS age: 468
Options: 0x2 : *|-|-|-|-|-|E|-
LS Flags: 0x11
LS Type: summary-LSA
Link State ID: 65.1.1.0 (summary Network Number)
Advertising Router: 1.1.1.1
LS Seq Number: 80000001
Checksum: 0x0e04
Length: 28
Network Mask: /24
TOS: 0 Metric: 4
LS age: 429
Options: 0x2 : *|-|-|-|-|-|E|-
LS Flags: 0x6
LS Type: summary-LSA
Link State ID: 65.1.1.0 (summary Network Number)
Advertising Router: 2.2.2.2
LS Seq Number: 80000002
Checksum: 0xed1f
Length: 28
Network Mask: /24
TOS: 0 Metric: 4
Summary Link States (Area 0.0.0.1)
LS age: 468
Options: 0x2 : *|-|-|-|-|-|E|-
LS Flags: 0x11
LS Type: summary-LSA
Link State ID: 64.1.1.0 (summary Network Number)
Advertising Router: 1.1.1.1
LS Seq Number: 80000001
Checksum: 0x1bf7
Length: 28
Network Mask: /24
TOS: 0 Metric: 4
LS age: 429
Options: 0x2 : *|-|-|-|-|-|E|-
LS Flags: 0x6
LS Type: summary-LSA
Link State ID: 64.1.1.0 (summary Network Number)
Advertising Router: 2.2.2.2
LS Seq Number: 80000002
Checksum: 0xfa13
Length: 28
Network Mask: /24
TOS: 0 Metric: 4
DELLSONiC# show ip ospf database asbr-summary
VRF Name: default
OSPF Router with ID (1.1.1.1)
ASBR-Summary Link States (Area 0.0.0.0)
LS age: 38
Options: 0x2 : *|-|-|-|-|-|E|-
LS Type: summary-LSA
Link State ID: 2.2.2.2 (AS Boundary Router address)
Advertising Router: 1.1.1.1
LS Seq Number: 80000001
Checksum: 0x0b41
Length: 28
Network Mask: /0
TOS: 0 Metric: 4
DELLSONiC# show ip ospf database external
VRF Name: default
OSPF Router with ID (1.1.1.1)
AS External Link States
LS age: 52
Options: 0x2 : *|-|-|-|-|-|E|-
LS Flags: 0x6
LS Type: AS-external-LSA
Link State ID: 25.1.1.1 (External Network Number)
Advertising Router: 2.2.2.2
LS Seq Number: 80000001
Checksum: 0x0892
Length: 36
Network Mask: /32
Metric Type: 2 (Larger than any link state path)
TOS: 0
Metric: 20
Forward Address: 0.0.0.0
External Route Tag: 0
DELLSONiC# show ip ospf database self-originate
VRF Name: default
OSPF Router with ID (1.1.1.1)
Router Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# CkSum Link count
1.1.1.1 1.1.1.1 777 0x80000004 0x7b42 1
Net Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# CkSum
64.1.1.1 1.1.1.1 777 0x80000001 0x8581
Summary Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# CkSum Route
65.1.1.0 1.1.1.1 816 0x80000001 0x0e04 65.1.1.0/24
ASBR-Summary Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# CkSum
2.2.2.2 1.1.1.1 360 0x80000001 0x0b41
Router Link States (Area 0.0.0.1)
Link ID ADV Router Age Seq# CkSum Link count
1.1.1.1 1.1.1.1 776 0x80000004 0x8d2e 1
Net Link States (Area 0.0.0.1)
Link ID ADV Router Age Seq# CkSum
65.1.1.1 1.1.1.1 776 0x80000001 0x788d
Summary Link States (Area 0.0.0.1)
Link ID ADV Router Age Seq# CkSum Route
64.1.1.0 1.1.1.1 816 0x80000001 0x1bf7 64.1.1.0/24
DELLSONiC# show ip ospf database network adv-router 1.1.1.1
VRF Name: default
OSPF Router with ID (1.1.1.1)
Net Link States (Area 0.0.0.0)
LS age: 886
Options: 0x2 : *|-|-|-|-|-|E|-
LS Flags: 0x3
LS Type: network-LSA
Link State ID: 64.1.1.1 (address of Designated Router)
Advertising Router: 1.1.1.1
LS Seq Number: 80000001
Checksum: 0x8581
Length: 32
Network Mask: /24
Attached Router: 1.1.1.1
Attached Router: 2.2.2.2
Net Link States (Area 0.0.0.1)
LS age: 886
Options: 0x2 : *|-|-|-|-|-|E|-
LS Flags: 0x3
LS Type: network-LSA
Link State ID: 65.1.1.1 (address of Designated Router)
Advertising Router: 1.1.1.1
LS Seq Number: 80000001
Checksum: 0x788d
Length: 32
Network Mask: /24
Attached Router: 1.1.1.1
Attached Router: 2.2.2.2
DELLSONiC# show ip ospf database opaque-link
VRF Name: default
OSPF Router with ID (5.5.5.5)
Link-Local Opaque-LSA (Area 0.0.0.0)
LS age: 94
Options: 0x66 : *|O|-|-|-|-|E|-
LS Flags: 0x6
LS Type: Link-Local Opaque-LSA
Link State ID: 3.0.0.0 (Link-Local Opaque-Type/ID)
Advertising Router: 3.3.3.3
LS Seq Number: 80000001
Checksum: 0x4a24
Length: 44 |
Bekijk de OSPF route-informatie
show ip ospf [ vrf vrf-name ] route |
- vrf-naam - VRF-naam
Voorbeeld:
DELLSONiC# show ip ospf vrf Vrf1 route | no-more
VRF Name: Vrf1
============ OSPF network routing table ============
N 101.1.1.0/24 [10] area: 0.0.0.0
directly attached to Vlan101
============ OSPF router routing table =============
============ OSPF external routing table =========== |
OSPFv2 correct opnieuw opstarten
Wanneer routers die deelnemen aan OSPF opnieuw worden opgestart, is er een periode van verkeersverlies totdat de routers weer online komen en de routes opnieuw leren.
RFC 3623 specificeert de verbetering van Graceful Restart in OSPF als volgt:
- De router die een correcte herstart probeert uit te voeren, is afkomstig van link-local Opaque-LSA's (Grace-LSA's), die aankondigt dat het van plan is om binnen een bepaalde tijd of respijtperiode een correcte herstart uit te voeren.
- Tijdens de respijtperiode blijven de buren de herstartende router in hun LSA's aankondigen alsof deze volledig aaneengesloten is (dat wil zeggen, OSPF-buurstatus Full), maar alleen als de netwerktopologie statisch blijft (dat wil zeggen, de inhoud van de LSA's in de link-state database met LS-typen 1 tot 5 en 7 blijft ongewijzigd, en periodieke verversingen zijn toegestaan).
Graceful restart stelt de herstartende router in staat om zijn buren te informeren dat hij opnieuw gaat opstarten. Terwijl de buren op de hoogte worden gebracht van de situatie, blijven ze verkeer doorsturen naar het knooppunt dat opnieuw wordt gestart. Omdat de doorstuurtabel van het opnieuw opstartknooppunt behouden blijft tijdens correct opnieuw opstarten, wordt verkeersverlies vermeden.
Geplande onderbrekingen
Enterprise SONiC ondersteunt OSPF graceful restart alleen voor geplande storingen.
Correct opnieuw opstarten is ingeschakeld voor OSPF-instanties. De warme herstart van het systeem wordt geactiveerd met de opdracht warm opnieuw opstarten.
Opnieuw opstarten en hulpknooppunten
Bij een sierlijke herstart zijn er twee soorten apparaten die deelnemen aan het OSPF-netwerk. Ze worden opnieuw opgestart en hulpknooppunten.
Het knooppunt voor opnieuw opstarten is het apparaat dat correct opnieuw wordt opgestart zonder dat er verkeer verloren gaat. Wanneer het opnieuw opstartende knooppunt een correcte herstart uitvoert, overspoelt het link-local ondoorzichtige LSA's (grace-LSA's) op alle OSPF-interfaces. Deze genade-LSA's informeren de helper-router dat de buurman van plan is opnieuw op te starten.
Hulpknooppunten helpen het knooppunt opnieuw op te starten, zodat er geen verkeersverlies optreedt. Een hulpknooppunt controleert het netwerk op wijzigingen in de topologie. Als er geen wijziging in het netwerk is, blijft de helper zijn LSA's adverteren alsof het opnieuw opstartende knooppunt continu in werking is gebleven OSPF. De helper-LSA's blijven een nabijheid van het opnieuw opstartende knooppunt over het netwerksegment weergeven, ongeacht de synchronisatiestatus van het opnieuw opstartende knooppunt.
OSPFv2 configureren voor correcte herstart
Volg deze stappen om een correcte herstart te configureren:
1. Schakel correct herstarten in.
DELLSONiC(config-router-ospf)# graceful-restart [grace-period grace-period] |
- Respijtperiode - De respijtperiode waarvoor de buren of helpers het opnieuw opstartende knooppunt als dood beschouwen. Het bereik is van 1 tot 1800 seconden. De standaard respijtperiode is 120 seconden
2. Configureer de ondoorzichtige OSPFv2-capaciteit om de opnieuw opstartende router te helpen bij het starten van respijt-LSA's.
DELLSONiC (config-router-ospf)# capability opaque |
3. Configureer OSPFv2 graceful restart helper op het systeem voor alle of een specifieke router-ID. Doe dit op alle knooppunten die u gebruikt om de opnieuw opstartende router te helpen.
DELLSONiC (config-router-ospf)# graceful-restart helper enable [router-id] |
- router-id — Configureer ondersteuning voor correcte herstart voor een specifieke buur met behulp van de router-ID.
4. (Optioneel) Configureer de respijttijd op het hulpknooppunt. Deze configuratie bepaalt de tijdsperiode waarin de helper correct opnieuw opstarten ondersteunt.
DELLSONiC (config-router-ospf)# graceful-restart helper supported-grace-time grace-time |
- Respijttijd — Configureer de respijttijd. Het bereik is van 10 tot 1800 seconden. De standaardwaarde is 120 seconden.
5. (Optioneel) Strikte LSA-controle op het helperknooppunt configureren. Als deze opdracht is geconfigureerd, annuleert de helper correct opnieuw opstarten wanneer er een LSA-wijziging optreedt die van invloed is op de opnieuw opstartende router. Strikte LSA-controle is standaard ingeschakeld.
DELLSONiC (config-router-ospf)# graceful-restart helper strict-lsa-checking |
6. (Optioneel) Helpersupport alleen configureren voor geplande herstarts.
DELLSONiC (config-router-ospf)# graceful-restart helper planned-only |
Informatie over OSPFv2 correct opnieuw opstarten weergeven
Gebruik de volgende opdrachten om correct opnieuw opstarthulpinformatie weer te geven.
Bekijk algemene OSPF-informatie, inclusief of correct opnieuw opstarten en ondoorzichtige mogelijkheden zijn ingeschakeld.
sonic# show ip ospf
VRF Name: default
OSPF Routing Process, Router ID: 1.1.1.2
Supports only single TOS (TOS0) routes
This implementation conforms to RFC2328
RFC1583Compatibility flag is disabled
OpaqueCapability flag is enabled
Graceful-Restart is enabled
Stub router advertisement is configured
Enabled for 600s after start-up
Initial SPF scheduling delay 0 millisec(s)
Minimum hold time between consecutive SPFs 50 millisec(s)
Maximum hold time between consecutive SPFs 5000 millisec(s)
Hold time multiplier is currently 1
SPF algorithm last executed 19h39m37s ago
Last SPF duration 72320 usecs
SPF timer is inactive
LSA minimum interval 5000 msecs
LSA minimum arrival 0 msecs
Write Multiplier set to 20
Refresh timer 10 secs
Maximum multiple paths(ECMP) supported 256
Number of external LSA 0. Checksum Sum 0x00000000
Number of opaque AS LSA 0. Checksum Sum 0x00000000
Number of areas attached to this router: 1
Area ID: 0.0.0.0 (Backbone)
Number of interfaces in this area: Total: 224 , Active: 224
Number of fully adjacent neighbors in this area: 32
Area has simple password authentication
SPF algorithm executed 247 times
Number of LSA 6068
Number of router LSA 6. Checksum Sum 0x00020692
Number of network LSA 62. Checksum Sum 0x001ab353
Number of summary LSA 6000. Checksum Sum 0x0bc36229
Number of ASBR summary LSA 0. Checksum Sum 0x00000000
Number of NSSA LSA 0. Checksum Sum 0x00000000
Number of opaque link LSA 0. Checksum Sum 0x00000000
Number of opaque area LSA 0. Checksum Sum 0x00000000 |
Bekijk de OSPF-buurinformatie en details over de graceful restart helper.
sonic# show ip ospf neighbor detail
Neighbor 13.13.13.13, interface address 192.168.10.1
In the area 0.0.0.0 via interface Ethernet64
Neighbor priority is 1, State is Full, 6 state changes
Most recent state change statistics:
Progressive change 17h32m19s ago
DR is 192.168.10.1, BDR is 192.168.10.2
Options 66 *|O|-|-|-|-|E|-
Dead timer due in 0.717s
Database Summary List 0
Link State Request List 0
Link State Retransmission List 0
Thread Inactivity Timer on
Thread Database Description Retransmision off
Thread Link State Request Retransmission on
Thread Link State Update Retransmission on
Graceful restart Helper info:
Graceful Restart HELPER Status: Inprogress
Graceful Restart grace period time: 250 (seconds).
Graceful Restart reason: Software restart |
Bekijk informatie over OSPF graceful restart helper.
sonic# show ip ospf graceful-restart helper
VRF Name: default
OSPF Router with ID (14.14.14.14)
Graceful restart helper support enabled.
Strict LSA check is enabled.
Helper supported for planned restarts only.
Supported Graceful restart interval: 1600(in seconds).
Enable Router List:
['13.13.13.13'] |
Bekijk gedetailleerde OSPF-helperinformatie over probleemloos opnieuw opstarten.
sonic# show ip ospf graceful-restart helper detail
VRF Name: default
OSPF Router with ID (14.14.14.14)
Graceful restart helper support enabled.
Strict LSA check is enabled.
Helper supported for planned restarts only.
Supported Graceful restart interval: 1600(in seconds).
Enable Router List:
['13.13.13.13']
Number of Active neighbours in graceful restart: 4
Neighbour 1:
Address: 192.168.10.1
Routerid: 13.13.13.13
Received Grace period: 250(in seconds).
Actual Grace period: 250(in seconds).
Remaining GraceTime: 245(in seconds).
Graceful Restart reason: Software restart.
Neighbour 2:
Address: 192.168.20.1
Routerid: 13.13.13.13
Received Grace period: 250(in seconds).
Actual Grace period: 250(in seconds).
Remaining GraceTime: 245(in seconds).
Graceful Restart reason: Software restart.
Neighbour 3:
Address: 192.168.30.1
Routerid: 13.13.13.13
Received Grace period: 250(in seconds).
Actual Grace period: 250(in seconds).
Remaining GraceTime: 245(in seconds).
Graceful Restart reason: Software restart.
Neighbour 4:
Address: 192.168.40.1
Routerid: 13.13.13.13
Received Grace period: 250(in seconds).
Actual Grace period: 250(in seconds).
Remaining GraceTime: 245(in seconds).
Graceful Restart reason: Software restart. |