text
stringclasses
19 values
<<SYS>> You are a helpful and friendly, who knows how to program in cumulus Linux. you will be configuring Nivida devices using nv command to set their configuration. <</SYS>> <<SYS>> <s>[INST] On leaf01 : Assign an ip address to the loopback interface. [/INST] nv set interface lo ip address 10.255.255.1/32 nv set interface lo ip address 10.255.255.1/32 nv config apply </s> <</SYS>>
<<SYS>> You are a helpful and friendly, who knows how to program in cumulus Linux. you will be configuring Nivida devices using nv command to set their configuration. <</SYS>> <<SYS>> <s>[INST] On leaf02 : Assign an ip address to the loopback interface. [/INST] nv set interface lo ip address 10.255.255.2/32 nv set system hostname leaf02 nv config apply</s> <</SYS>>
<<SYS>> You are a helpful and friendly, who knows how to program in cumulus Linux. you will be configuring Nivida devices using nv command to set their configuration. <</SYS>> <<SYS>> <s>[INST] Verify loopback IP address configuration [/INST] net show interface lo</s> <</SYS>>
<<SYS>> You are a helpful and friendly, who knows how to program in cumulus Linux. you will be configuring Nivida devices using nv command to set their configuration. <</SYS>> <<SYS>> <s>[INST] On leaf01 : Create a bond with members swp49 and swp50. [/INST] nv set interface bond0 bond member swp49-50 nv config apply</s> <</SYS>>
<<SYS>> You are a helpful and friendly, who knows how to program in cumulus Linux. you will be configuring Nivida devices using nv command to set their configuration. <</SYS>> <<SYS>> <s>[INST] Check status of the bond between two switches. Verify that the bond is operational by checking the status of the bond and its members. [/INST] net show interface bonds</s> <</SYS>>
<<SYS>> You are a helpful and friendly, who knows how to program in cumulus Linux. you will be configuring Nivida devices using nv command to set their configuration. <</SYS>> <<SYS>> <s>[INST] On leaf01 : Create a bridge with vlans 10 and 20. [/INST] nv set bridge domain br_default vlan 10,20</s> <</SYS>>
<<SYS>> You are a helpful and friendly, who knows how to program in cumulus Linux. you will be configuring Nivida devices using nv command to set their configuration. <</SYS>> <<SYS>> <s>[INST] Add swp1 and bond0 as a member to the bridge. Note: The name bond0 is case sensitive in all places. [/INST] nv set interface swp1,bond0 bridge domain br_default</s> <</SYS>>
<<SYS>> You are a helpful and friendly, who knows how to program in cumulus Linux. you will be configuring Nivida devices using nv command to set their configuration. <</SYS>> <<SYS>> <s>[INST] Configure swp1 as an access port for vlan 10 [/INST] nv set interface swp1 bridge domain br_default access 10</s> <</SYS>>
<<SYS>> You are a helpful and friendly, who knows how to program in cumulus Linux. you will be configuring Nivida devices using nv command to set their configuration. <</SYS>> <<SYS>> <s>[INST] Commit the changes. [/INST] nv config apply</s> <</SYS>>
<<SYS>> You are a helpful and friendly, who knows how to program in cumulus Linux. you will be configuring Nivida devices using nv command to set their configuration. <</SYS>> <<SYS>> <s>[INST] On leaf02 : Repeat the same steps but use swp2 as the access port towards the server. [/INST] nv set bridge domain br_default vlan 10,20 nv set interface swp2,bond0 bridge domain br_default nv set interface swp2 bridge domain br_default access 20 nv config apply</s> <</SYS>>
<<SYS>> You are a helpful and friendly, who knows how to program in cumulus Linux. you will be configuring Nivida devices using nv command to set their configuration. <</SYS>> <<SYS>> <s>[INST] Verify the configuration on leaf01 by checking that swp1 and BOND0 are part of the bridge. [/INST] net show bridge vlan</s> <</SYS>>
<<SYS>> You are a helpful and friendly, who knows how to program in cumulus Linux. you will be configuring Nivida devices using nv command to set their configuration. <</SYS>> <<SYS>> <s>[INST] Verify the same configuration on leaf02 by checking that swp2 and BOND0 are part of the bridge. [/INST] net show bridge vlan</s> <</SYS>>
<<SYS>> You are a helpful and friendly, who knows how to program in cumulus Linux. you will be configuring Nivida devices using nv command to set their configuration. <</SYS>> <<SYS>> <s>[INST] On leaf01 : Create an SVI for vlan10. [/INST] nv set interface vlan10 ip address 10.0.10.2/24</s> <</SYS>>
<<SYS>> You are a helpful and friendly, who knows how to program in cumulus Linux. you will be configuring Nivida devices using nv command to set their configuration. <</SYS>> <<SYS>> <s>[INST] Create an SVI for vlan 20. [/INST] nv set interface vlan20 ip address 10.0.20.2/24</s> <</SYS>>
<<SYS>> You are a helpful and friendly, who knows how to program in cumulus Linux. you will be configuring Nivida devices using nv command to set their configuration. <</SYS>> <<SYS>> <s>[INST] On leaf01 : Apply a VRR address for vlan10. [/INST] nv set interface vlan10 ip vrr address 10.0.10.1/24 nv set interface vlan10 ip vrr mac-address 00:00:00:00:1a:10 nv set interface vlan10 ip vrr state up</s> <</SYS>>
<<SYS>> You are a helpful and friendly, who knows how to program in cumulus Linux. you will be configuring Nivida devices using nv command to set their configuration. <</SYS>> <<SYS>> <s>[INST] On leaf01 : Apply a VRR address for vlan20. [/INST] nv set interface vlan20 ip vrr address 10.0.20.1/24 nv set interface vlan20 ip vrr mac-address 00:00:00:00:1a:20 nv set interface vlan20 ip vrr state up</s> <</SYS>>
<<SYS>> You are a helpful and friendly, who knows how to program in cumulus Linux. you will be configuring Nivida devices using nv command to set their configuration. <</SYS>> <<SYS>> <s>[INST] On leaf01: Commit the changes. [/INST] nv config apply</s> <</SYS>>
<<SYS>> You are a helpful and friendly, who knows how to program in cumulus Linux. you will be configuring Nivida devices using nv command to set their configuration. <</SYS>> <<SYS>> <s>[INST] Create an SVI for vlan10. On leaf01 : Create an SVI for vlan 20. On leaf02 : Create an SVI for vlan 20. On leaf02 : Apply a VRR address for vlan10. On leaf02 : Apply a VRR address for vlan20. On leaf02 : Apply a VRR address for vlan20. [/INST] nv set interface vlan10 ip address 10.0.10.3/24 nv set interface vlan10 ip vrr address 10.0.10.1/24 nv set interface vlan10 ip vrr mac-address 00:00:00:00:1a:10 nv set interface vlan10 ip vrr state up nv set interface vlan20 ip address 10.0.20.3/24 nv set interface vlan20 ip vrr address 10.0.20.1/24 nv set interface vlan20 ip vrr mac-address 00:00:00:00:1a:20 nv set interface vlan20 ip vrr state up nv config apply</s> <</SYS>>
<<SYS>> You are a helpful and friendly, who knows how to program in cumulus Linux. you will be configuring Nivida devices using nv command to set their configuration. <</SYS>> <<SYS>> <s>[INST] Verify MAC address tables [/INST] net show bridge macs </s> <</SYS>>