Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add captions to the code blocks

...

  • CumulusVX-leaf2:

    Code Block
    languagetext
    titleNCLU Commands
    cumulus@switch:~$ net add loopback lo ip address 10.2.1.2/32
    cumulus@switch:~$ net add interface swp1 ip address 10.2.1.2/32
    cumulus@switch:~$ net add interface swp2 ip address 10.2.1.2/32
    cumulus@switch:~$ net add interface swp3 ip address 10.4.2.1/24
    cumulus@switch:~$ net add interface swp1 ospf network point-to-point
    cumulus@switch:~$ net add interface swp2 ospf network point-to-point
    cumulus@switch:~$ net add ospf router-id 10.2.1.2
    cumulus@switch:~$ net add ospf network 10.2.1.2/32 area 0.0.0.0
    cumulus@switch:~$ net add ospf network 10.4.2.0/24 area 0.0.0.0
    cumulus@switch:~$ net pending
    cumulus@switch:~$ net commit
    Code Block
    languagetext
    title/etc/network/interfaces
    # The loopback network interface
    auto lo
      iface lo inet loopback
      address 10.2.1.2/32
    
    # The primary network interface
    auto eth0
      iface eth0 inet dhcp
    
    auto swp1
      iface swp1
      address 10.2.1.2/32
    
    auto swp2
      iface swp2
      address 10.2.1.2/32
    
    auto swp3
      iface swp3
      address 10.4.2.1/24
    Code Block
    languagetext
    title/etc/frr/frr.conf
    service integrated-vtysh-config 
    
    interface swp1
      ip ospf network point-to-point
    
    interface swp2
      ip ospf network point-to-point
    
    router-id 10.2.1.2
    
    router ospf
      ospf router-id 10.2.1.2                                                           
      network 10.2.1.2/32 area 0.0.0.0  
      network 10.4.2.0/24 area 0.0.0.0
  • CumulusVX-spine1:

    Code Block
    languagetext
    titleNCLU Commands
    cumulus@switch:~$ net add loopback lo ip address 10.2.1.3/32
    cumulus@switch:~$ net add interface swp1 ip address 10.2.1.3/32
    cumulus@switch:~$ net add interface swp2 ip address 10.2.1.3/32
    cumulus@switch:~$ net add interface swp3 ip address 10.4.3.1/24
    cumulus@switch:~$ net add interface swp1 ospf network point-to-point
    cumulus@switch:~$ net add interface swp2 ospf network point-to-point
    cumulus@switch:~$ net add ospf router-id 10.2.1.3
    cumulus@switch:~$ net add ospf network 10.2.1.3/32 area 0.0.0.0
    cumulus@switch:~$ net add ospf network 10.4.3.0/24 area 0.0.0.0
    cumulus@switch:~$ net pending
    cumulus@switch:~$ net commit
    Code Block
    languagetext
    title/etc/network/interfaces
    # The loopback network interface
    auto lo
      iface lo inet loopback
      address 10.2.1.3/32
    
    # The primary network interface
    auto eth0
      iface eth0 inet dhcp
    
    auto swp1
      iface swp1
      address 10.2.1.3/32
    
    auto swp2
      iface swp2
      address 10.2.1.3/32
    
    auto swp3
      iface swp3
    Code Block
    languagetext
    title/etc/frr/frr.conf
    service integrated-vtysh-config 
    
    interface swp1
      ip ospf network point-to-point
    
    interface swp2
      ip ospf network point-to-point
    
    router-id 10.2.1.3
    
    router ospf
      ospf router-id 10.2.1.3
      network 10.2.1.3/32 area 0.0.0.0
      network 10.4.3.0/24 area 0.0.0.0
  • CumulusVX-spine2:

    Code Block
    languagetext
    titleNCLU Commands
    cumulus@switch:~$ net add loopback lo ip address 10.2.1.4/32
    cumulus@switch:~$ net add interface swp1 ip address 10.2.1.4/32
    cumulus@switch:~$ net add interface swp2 ip address 10.2.1.4/32
    cumulus@switch:~$ net add interface swp3 ip address 10.4.4.1/24
    cumulus@switch:~$ net add interface swp1 ospf network point-to-point
    cumulus@switch:~$ net add interface swp2 ospf network point-to-point
    cumulus@switch:~$ net add ospf router-id 10.2.1.4
    cumulus@switch:~$ net add ospf network 10.2.1.4/32 area 0.0.0.0
    cumulus@switch:~$ net add ospf network 10.4.4.0/24 area 0.0.0.0
    cumulus@switch:~$ net pending
    cumulus@switch:~$ net commit
    Code Block
    languagetext
    title/etc/network/interfaces
    # The loopback network interface
    auto lo
      iface lo inet loopback
      address 10.2.1.4/32
    
    # The primary network interface
    auto eth0
      iface eth0 inet dhcp
    
    auto swp1
      iface swp1
      address 10.2.1.4/32
    
    auto swp2
      iface swp2
      address 10.2.1.4/32
    
    auto swp3
      iface swp3
    Code Block
    languagetext
    title/etc/frr/frr.conf
    service integrated-vtysh-config 
    
    interface swp1
      ip ospf network point-to-point
    
    interface swp2
      ip ospf network point-to-point
    
    router-id 10.2.1.4
    
    router ospf
      ospf router-id 10.2.1.4
      network 10.2.1.4/32 area 0.0.0.0
      network 10.4.4.0/24 area 0.0.0.0

...