Related NetVisor OS CLI commands



You can verify the mappings of OpenStack configurations on the NetVisor switch fabric by using the following NetVisor OS CLI commands:


  • admin-service-show
  • cluster-show
  • lldp-show
  • vlan-show


For example, below is a sample output for the admin-service-show command to check the web ports:


CLI (network-admin@switch-2) > admin-service-show


switch     if  ssh nfs web web-ssl web-ssl-port web-port snmp net-api icmp

--------  ---- --- --- --- ------- ------------ -------- ---- ------- ----

switch-2  mgmt  on  off on  off     443          80      off  off     on

switch-2  data  on  off on  off     443          80      off  off     on

switch-1  mgmt  on  off on  off     443          80      off  off     on

switch-1  data  on  off on  off     443          80      off  off     on


To change the web port details, use the  admin-service-modify if mgmt web  command:


CLI (network-admin@switch-2) > admin-service-modify if mgmt web



After you run the openstack network create command, verify the configuration on the NetVisor switch by using the cluster-show command. The cluster ports are added to the VLAN network. :


CLI (network-admin@aq-os-2) > cluster-show


switch   name           state  cluster-node-1 cluster-node-2 tid  mode   ports     remote-ports cluster-sync-        cluster-sync-

                                                                                                                  timeout(ms)         offline-count

-------- -------------- ------ -------------- -------------- ---- ------ --------- ------------ -------------- --------------

leo-os-1 Cluster-leo-os online leo-os-1       leo-os-2       8075 slave  23-26,272 23-26,272    2000                     3

leo-os-2 Cluster-leo-os online leo-os-1       leo-os-2       8075 master 23-26,272 23-26,272    2000                     3

aq-os-2  Cluster-aq-os  online aq-os-2        aq-os-1        7968 slave  27-30,272 27-30,272    2000                     3

aq-os-1  Cluster-aq-os  online aq-os-2        aq-os-1        7968 master 27-30,272 27-30,272    2000                     3



After  you run the openstack subnet create command, verify using the lldp-show command along with the controller node details on the switch:


CLI (network-admin@aq-os-1) > lldp-show sys-name server-os-4.pluribusnetworks.com


switch  local-port chassis-id        port-id           port-desc sys-name

------- ---------- ----------------- ----------------- --------- --------------------------------

aq-os-1 1          0c:c4:7a:6c:5c:52 00:12:c0:88:0c:36 enp4s0f0  server-os-4.pluribusnetworks.com

aq-os-1 2          0c:c4:7a:6c:5c:52 00:12:c0:88:0c:37 enp4s0f1  server-os-4.pluribusnetworks.com

aq-os-1 11         0c:c4:7a:6c:5c:52 0c:c4:7a:6c:5c:53 eno2      server-os-4.pluribusnetworks.com

aq-os-2 1          0c:c4:7a:6c:5c:52 00:12:c0:88:0c:38 ens73f0   server-os-4.pluribusnetworks.com

aq-os-2 2          0c:c4:7a:6c:5c:52 00:12:c0:88:0c:39 ens73f1   server-os-4.pluribusnetworks.com


In the above output, server-os-4.pluribusnetworks.com is the controller name and all the above ports are added to the VLAN network (VLAN 259 in this example). Verify using the vlan-show id 259 command:


CLI (network-admin@aq-os-2) > vlan-show id 259


switch   id  type   vxlan   replicators scope   description    active stats ports              untagged-ports active-edge-ports

-------- --- ------ -------- ---------- ------  -------        ------- ---- -----------       --------------- -------------- 

aq-os-2  259 public 11000259  none      cluster ostack-vlan-259 yes    no    0-2,27-30,272-273    none           273

leo-os-1 259 public 11000259  none      cluster ostack-vlan-259 yes    no    23-26,272            none           none

leo-os-2 259 public 11000259  none      cluster ostack-vlan-259 yes    no    23-26,272            none           none

aq-os-1  259 public 11000259  none      cluster ostack-vlan-259 yes    no    0-2,11,27-30,272-273 none           273


After you run the OpenStack server/port create, verify using the lldp-show command along with the compute node details on the switch: 


CLI (network-admin@aq-os-1) > lldp-show sys-name server-os-9.pluribusnetworks.com


switch   local-port chassis-id        port-id           port-desc sys-name

-------- ---------- ----------------- ----------------- --------- --------------------------------

leo-os-1 18         40:8d:5c:d6:20:e3 00:12:c0:80:30:23 enp1s0f1  server-os-9.pluribusnetworks.com

leo-os-2 18         40:8d:5c:d6:20:e3 00:12:c0:80:30:22 enp1s0f0  server-os-9.pluribusnetworks.com


In the above output, server-os-9.pluribusnetworks.com is the compute node name and the above ports are added to the VLAN network (VLAN 259 in this example). Verify using the vlan-show id 259 command:


CLI (network-admin@aq-os-2) > vlan-show id 259


switch   id  type   vxlan    replicators scope   description     active stats ports                untagged-ports active-edge-ports

-------- --- ------ -------- ----------- ------- --------------- ------ ----- -------------------- -------------- -----------------

aq-os-2  259 public 11000259 none        cluster ostack-vlan-259 yes    no    0-2,27-30,272-273    none           273

leo-os-1 259 public 11000259 none        cluster ostack-vlan-259 yes    no    18,23-26,272         none           18

leo-os-2 259 public 11000259 none        cluster ostack-vlan-259 yes    no    18,23-26,272         none           18

aq-os-1  259 public 11000259 none        cluster ostack-vlan-259 yes    no    0-2,11,27-30,272-273 none           273



For details on the above NetVisor OS commands, see the Configuration Guide for NetVisor OS and Command Reference Guides for NetVisor OS from the Pluribus Networks website.

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south