Routing NSX: Verifica delle interfacce DLR

Summary: L'articolo serve a stabilire che i requisiti di base per un DLR siano soddisfatti e che funzionino come previsto.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions



Dopo aver stabilito che il DLR è stato creato o esiste, assicurarsi che tutte le interfacce logiche del DLR siano presenti e abbiano la configurazione corretta.

Procedimento:
Per verificare lo stato delle interfacce DLR dopo aver stabilito che DLR è stato creato o esiste, effettuare le seguenti operazioni:

  1. Dalla shell di NSX Manager, eseguire il comando seguente per ottenere l'ID del cluster:
show cluster all 
  1. Eseguire il seguente comando per ottenere l'ID host:
show cluster cluster-id 
  1. Eseguire il seguente comando per ottenere dlrID (nome Vdr):
show logical-router host hostID dlr all brief 
  1. Eseguire il seguente comando per ottenere informazioni riepilogative sullo stato di tutte le interfacce:
show logical-router host hostID dlr dlrID interface all brief 
  1. Eseguire il seguente comando per ottenere le informazioni sullo stato di tutte le interfacce o di un'interfaccia specifica:
show logical-router host hostID dlr dlrID interface (all | intName) verbose 

Esempio:
nsxmgr# show logical-router host hostID dlr dlrID interface all verbose 

VDR default+edge-1:1460487509 LIF Information :

Name:                570d45550000000a
Mode:                Routing, Distributed, Internal
Id:                  Vxlan:5000
Ip(Mask):            172.16.10.1(255.255.255.0)
Connected Dvs:       Compute_VDS
VXLAN Control Plane: Enabled
VXLAN Multicast IP:  0.0.0.1
State:               Enabled
Flags:               0x2388
DHCP Relay:          Not enabled

Name:                570d45550000000c
Mode:                Routing, Distributed, Internal
Id:                  Vxlan:5002
Ip(Mask):            172.16.30.1(255.255.255.0)
Connected Dvs:       Compute_VDS
VXLAN Control Plane: Enabled
VXLAN Multicast IP:  0.0.0.1
State:               Enabled
Flags:               0x2288
DHCP Relay:          Not enabled

Name:                570d45550000000b
Mode:                Routing, Distributed, Internal
Id:                  Vxlan:5001
Ip(Mask):            172.16.20.1(255.255.255.0)
Connected Dvs:       Compute_VDS
VXLAN Control Plane: Enabled
VXLAN Multicast IP:  0.0.0.1
State:               Enabled
Flags:               0x2388
DHCP Relay:          Not enabled

Name:                570d455500000002
Mode:                Routing, Distributed, Uplink
Id:                  Vxlan:5003
Ip(Mask):            192.168.10.2(255.255.255.248)
Connected Dvs:       Compute_VDS
VXLAN Control Plane: Enabled
VXLAN Multicast IP:  0.0.0.1
State:               Enabled
Flags:               0x2208
DHCP Relay:          Not enabled

 

Informazioni utili:

  • Il nome LIF è univoco per tutte le istanze DLR sull'host. Lo stesso vale sugli host e sul nodo controller master di DLR.
  • La "Mode" di LIF mostra se il LIF è in fase di routing o bridging e se è interno o uplink.
  • "Id" mostra il tipo di LIF e l'ID del servizio corrispondente (VXLAN e VNI o VLAN e VID).
  • Viene visualizzato "Ip(Mask)" per le LIF "Routing".
  • Se una LIF è connessa a una VXLAN in modalità ibrida o unicast, "VXLAN Control Plane" è impostata su "Enabled".
  • Per le LIF VXLAN in cui VXLAN è in modalità unicast, "VXLAN Multicast IP" viene visualizzato come "0.0.0.1"; in caso contrario, viene visualizzato l'indirizzo IP multicast effettivo.
  • "State" deve essere "Enabled" per le FIF indirizzate. Per il bridging delle LIF, lo stato è "Enabled" sull'host che esegue il bridging e "Init" su tutti gli altri host.
  • "Flag" è una rappresentazione sintetica dello stato della FIF e mostra se la LIF è:
    • Instradato o con bridging
    • Se la LIF VLAN è una DI
    • Se ha abilitato l'inoltro DHCP
    • Degno di nota è il flag 0x0100, che viene impostato quando un join VXLAN VNI è stato causato da DLR (anziché un host con una VM su tale VXLAN)
    • I flag vengono visualizzati in un formato più leggibile in modalità "breve".
nsxmgr# show logical-router host hostID dlr dlrID interface all brief

VDR default+edge-1 LIF Information :

State Legend: [A:Active], [d:Deleting], [X:Deleted], [I:Init],[SF-L:Soft Flush LIF]
Modes Legend: [B:Bridging],[E: Empty], [R:Routing],[S:Sedimented],[D:Distributed]
Modes Legend: [In:Internal],[Up:Uplink]

Lif Name             Id              Mode     State    Ip(Mask)
--------             --              -----    -----    --------
570d45550000000a     Vxlan:5001      R,D,In   A        172.16.10.1(255.255.255.0)
570d45550000000c     Vxlan:5003      R,D,In   A        172.16.30.1(255.255.255.0)
570d45550000000b     Vxlan:5002      R,D,In   A        172.16.20.1(255.255.255.0)
570d455500000002     Vxlan:5000      R,D,Up   A        192.168.10.5(255.255.255.248)

Affected Products

VxBlock and Vblock Systems

Products

ScaleIO
Article Properties
Article Number: 000206928
Article Type: How To
Last Modified: 16 Jun 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.