NCLU: What's New and Different in Cumulus Linux 3.5

Follow

The following changes were made to the Network Command Line Utility (NCLU) for Cumulus Linux 3.5. The following commands have been added, updated or removed from the new version of Cumulus Linux:

New Commands

 

New Command Notes
net commit [verbose] confirm <number-seconds> [description <wildcard>] Add a time period to confirm the commit.
net example voice-vlan An NCLU configuration example of the voice VLAN feature.
net add interface <interface> bridge voice-vlan <1-4094> [data-vlan <1-4094>]

Add a voice VLAN configuration. 
net del interface <interface> bridge voice-vlan [<1-4094>] [data-vlan <1-4094>]  Remove a voice VLAN configuration. 
net show bridge spanning-tree detail [json] Show more details for an STP configuration.
net add interface swp<n> storage-optimized Configure RDMA over Converged Ethernet (Mellanox switches only).
net del interface swp<n> storage-optimized Configure RDMA over Converged Ethernet (Mellanox switches only).

net add interface swp<n> storage-optimized pfc

Configure RDMA over Converged Ethernet (Mellanox switches only).

net del interface swp<n> storage-optimized pfc

Configure RDMA over Converged Ethernet (Mellanox switches only).

net add bond <interface> bridge l2protocol-tunnel (all|cdp|cdp,lacp|cdp,lacp,lldp|cdp,lacp,lldp,pvst|cdp,lacp,lldp,stp|cdp,lacp,pvst| cdp,lacp,pvst,stp|cdp,lacp,stp|cdp,lldp|cdp,lldp,pvst|cdp,lldp,pvst,stp|cdp,lldp,stp| cdp,pvst|cdp,pvst,stp|cdp,stp|lacp|lacp,lldp|lacp,lldp,pvst|lacp,lldp,pvst,stp| lacp,lldp,stp|lacp,pvst|lacp,pvst,stp|lacp,stp|lldp|lldp,pvst|lldp,pvst,stp|lldp,stp| pvst|pvst,stp|stp)

Tunnel one or more layer 2 protocols through a bond.
net add interface <interface> bridge l2protocol-tunnel (all|cdp|cdp,lacp|cdp,lacp,lldp|cdp,lacp,lldp,pvst|cdp,lacp,lldp,stp|cdp,lacp,pvst| cdp,lacp,pvst,stp|cdp,lacp,stp|cdp,lldp|cdp,lldp,pvst|cdp,lldp,pvst,stp|cdp,lldp,stp| cdp,pvst|cdp,pvst,stp|cdp,stp|lacp|lacp,lldp|lacp,lldp,pvst|lacp,lldp,pvst,stp| lacp,lldp,stp|lacp,pvst|lacp,pvst,stp|lacp,stp|lldp|lldp,pvst|lldp,pvst,stp|lldp,stp|pvst| pvst,stp|stp Tunnel one or more layer 2 protocols through an interface. 
net add vlan <number-range-list> hwaddress <mac> Add a MAC address to a VLAN.
net add vrf <interface> alias <wildcard>

Add an alias for a VRF.

net add vxlan <interface> bridge l2protocol-tunnel (all|cdp|cdp,lacp|cdp,lacp,lldp|cdp,lacp,lldp,pvst|cdp,lacp,lldp,stp|cdp,lacp,pvst| cdp,lacp,pvst,stp|cdp,lacp,stp|cdp,lldp|cdp,lldp,pvst|cdp,lldp,pvst,stp|cdp,lldp,stp| cdp,pvst|cdp,pvst,stp|cdp,stp|lacp|lacp,lldp|lacp,lldp,pvst|lacp,lldp,pvst,stp| lacp,lldp,stp|lacp,pvst|lacp,pvst,stp|lacp,stp|lldp|lldp,pvst|lldp,pvst,stp|lldp,stp| pvst|pvst,stp|stp) Tunnel one or more layer 2 protocols through a VXLAN. 
net del bond <interface> bridge l2protocol-tunnel [all|cdp|cdp,lacp|cdp,lacp,lldp|cdp,lacp,lldp,pvst|cdp,lacp,lldp,stp|cdp,lacp,pvst| cdp,lacp,pvst,stp|cdp,lacp,stp|cdp,lldp|cdp,lldp,pvst|cdp,lldp,pvst,stp|cdp,lldp,stp| cdp,pvst|cdp,pvst,stp|cdp,stp|lacp|lacp,lldp|lacp,lldp,pvst|lacp,lldp,pvst,stp| lacp,lldp,stp|lacp,pvst|lacp,pvst,stp|lacp,stp|lldp|lldp,pvst|lldp,pvst,stp|lldp,stp| pvst|pvst,stp|stp] Tunnel one or more layer 2 protocols through a bond. 

net del interface <interface> bridge l2protocol-tunnel [all|cdp|cdp,lacp|cdp,lacp,lldp|cdp,lacp,lldp,pvst|cdp,lacp,lldp,stp|cdp,lacp,pvst| cdp,lacp,pvst,stp|cdp,lacp,stp|cdp,lldp|cdp,lldp,pvst|cdp,lldp,pvst,stp|cdp,lldp,stp| cdp,pvst|cdp,pvst,stp|cdp,stp|lacp|lacp,lldp|lacp,lldp,pvst|lacp,lldp,pvst,stp| lacp,lldp,stp|lacp,pvst|lacp,pvst,stp|lacp,stp|lldp|lldp,pvst|lldp,pvst,stp|lldp,stp| pvst|pvst,stp|stp]

Tunnel one or more layer 2 protocols through an interface. 
net del vlan <number-range-list> hwaddress [<mac>] Add a MAC address to a VLAN.
net del vrf <interface> alias [<wildcard>] Add an alias for a VRF.
net del vxlan <interface> bridge l2protocol-tunnel [all|cdp|cdp,lacp|cdp,lacp,lldp|cdp,lacp,lldp,pvst|cdp,lacp,lldp,stp|cdp,lacp,pvst| cdp,lacp,pvst,stp|cdp,lacp,stp|cdp,lldp|cdp,lldp,pvst|cdp,lldp,pvst,stp|cdp,lldp,stp| cdp,pvst|cdp,pvst,stp|cdp,stp|lacp|lacp,lldp|lacp,lldp,pvst|lacp,lldp,pvst,stp| lacp,lldp,stp|lacp,pvst|lacp,pvst,stp|lacp,stp|lldp|lldp,pvst|lldp,pvst,stp|lldp,stp| pvst|pvst,stp|stp] Tunnel one or more layer 2 protocols through a VXLAN. 
net del hostname Delete the hostname.
net show bfd [detail] [json] Show the BFD configuration.
net show vrf vni [json] Show the VRF for a VNI.
net show bgp [vrf <text>] vni [json] Show the BGP configuration for a VNI.
net show bgp vrf <text> ipv4 unicast [<ipv4>|<ipv4/prefixlen>|summary] [json] Show an IPv4 unicast BGP configuration.
net show bgp vrf <text> ipv6 unicast [<ipv6>|<ipv6/prefixlen>|summary] [json]  Show an IPv6 unicast BGP configuration. 
net show bgp [l2vpn] evpn vrf-import-rt [json] Show the import route target for a VRF
net show evpn rmac vni [<1-16777215>] mac <mac> [json] Show remote MAC in EVPN. 
net show evpn rmac vni [<1-16777215>] [json] Show remote MAC in EVPN. 
net show evpn rmac vni all [json] Show remote MAC in EVPN. 
net show evpn next-hops vni [<1-16777215>] ip <ip> [json] Show next hops in EVPN. 
net show evpn next-hops vni [<1-16777215>] [json] Show next hops in EVPN.  
net show evpn next-hops vni all [json] Show next hops in EVPN.  
net show ospf [vrf <text>] border-routers Show the border routers in an OSPF network.
net show ospf [vrf <text>] interface traffic [<interface>] [json]  
net (add|del) vrf <text> vni <1-16777215> Add or delete VNIs from a VRF.
net add routing defaults datacenter  
net (add|del) bgp [vrf <text>] max-med administrative [<0-4294967295>  
net (add|del) bgp [vrf <text>] max-med on-startup <5-86400> [<0-4294967295>]  
net (add|del) bgp [vrf <text>] graceful-shutdown Gracefully shut down BGP.
net (add|del) bgp [vrf <text>] [ipv4 unicast|ipv4 labeled-unicast|ipv6 unicast|ipv6 labeled-unicast]
neighbor <bgppeer> as-override
Override the autonomous system number in a VRF on a BGP network.
net (add|del) bgp [vrf <text>] [l2vpn] evpn route-target (both|export|import) <route-target>  
net (add|del) (bond <interface>|interface <interface>|vlan
<number-range-list>|loopback lo) multicast boundary oil <prefix-list-v4>
 
net add dot1x dynamic-vlan [require]  
net del dot1x dynamic-vlan  
net show dot1x interface <interface> [json]  
net show dot1x interface <interface> details [json]  
net show dot1x interface summary [json]  

Changed Commands or Options

New Command Old Command Notes
net add interface <interface> clag backup-ip (<ipv4>|<ipv4> vrf <text>) net add interface <interface> clag backup-ip <ipv4> [vrf <text>]  
net add interface <interface> link autoneg (no|off|on|yes) net add interface <interface> link autoneg (on|yes) Disable auto-negotiation.
net add interface <interface> link speed (100|1000|10000|25000|40000|50000|100000) net add interface <interface> link speed (100|10000|25000|40000|50000|100000) Specify 1000 Mbps speed.
net del interface <interface> clag backup-ip [<ipv4>|<ipv4> vrf <text>] net del interface <interface> clag backup-ip [<ipv4> [vrf <text>]]  
net del interface <interface> link autoneg [no|off|on|yes] net del interface <interface> link autoneg [on|yes] Disable auto-negotiation. 
net del interface <interface> link speed [100|1000|10000|25000|40000|50000|100000] net del interface <interface> link speed [100|10000|25000|40000|50000|100000] Specify 1000 Mbps speed. 
net show ospf [vrf <text>] [json] net show ospf [json]  OSPF is now VRF-aware. 
net show ospf [vrf <text>] database (asbr-summary|external|network|nssa-external|opaque-area|opaque-as|opaque-link|router|summary) [<ipv4>|adv-router <ipv4-adv-router>|self-originate] net show ospf database (asbr-summary|external|network|nssa-external|opaque-area|opaque-as|opaque-link|router|summary) [<ipv4>|adv-router <ipv4-adv-router>|self-originate]  OSPF is now VRF-aware.
net show ospf [vrf <text>] database [max-age|self-originate] net show ospf database [max-age|self-originate] OSPF is now VRF-aware.
net show ospf [vrf <text>] interface [<interface>] [json] net show ospf interface [<interface>] [json] OSPF is now VRF-aware.
net show ospf [vrf <text>] neighbor [all|<interface>|<ipv4>|detail] [json] net show ospf neighbor [all|<interface>|<ipv4>|detail] [json]  OSPF is now VRF-aware.
net show ospf [vrf <text>] route net show ospf route  OSPF is now VRF-aware.
net (add|del) bgp [vrf <text>] [l2vpn] evpn advertise-all-vni net (add|del) bgp [l2vpn] evpn advertise-all-vni Specify a VRF. 
net (add|del) bgp [vrf <text>] [l2vpn] evpn advertise-default-gw net (add|del) bgp [l2vpn] evpn advertise-default-gw  Specify a VRF. 
net (add|del) bgp [vrf <text>] [l2vpn] evpn neighbor <bgppeer> activate net (add|del) bgp [l2vpn] evpn neighbor <bgppeer> activate  Specify a VRF. 
net add bgp [vrf <text>] [l2vpn] evpn neighbor <bgppeer> allowas-in <1-10> net add bgp [l2vpn] evpn neighbor <bgppeer> allowas-in <1-10>  Specify a VRF. 
net del bgp [vrf <text>] [l2vpn] evpn neighbor <bgppeer> allowas-in [<1-10>] net del bgp [l2vpn] evpn neighbor <bgppeer> allowas-in [<1-10>]  Specify a VRF. 
net (add|del) bgp [vrf <text>] [l2vpn] evpn neighbor <bgppeer> route-reflector-client net (add|del) bgp [l2vpn] evpn neighbor <bgppeer> route-reflector-client  Specify a VRF. 
net (add|del) bgp [vrf <text>] [l2vpn] evpn vni <1-16777215> net (add|del) bgp [l2vpn] evpn vni <1-16777215>  Specify a VRF. 
net (add|del) bgp [vrf <text>] [l2vpn] evpn vni <1-16777215> rd <rd> net (add|del) bgp [l2vpn] evpn vni <1-16777215> rd <rd>  Specify a VRF. 
net (add|del) bgp [vrf <text>] [l2vpn] evpn vni <1-16777215> route-target (both|export|import) <route-target> net (add|del) bgp [l2vpn] evpn vni <1-16777215> route-target (both|export|import) <route-target>  Specify a VRF. 
net (add|del) bgp [vrf <text>] [l2vpn] evpn vni <1-16777215> advertise-default-gw net (add|del) bgp [l2vpn] evpn vni <1-16777215> advertise-default-gw  Specify a VRF. 
net (add|del) ospf [vrf <text>] net del ospf OSPF is now VRF-aware.
net (add|del) ospf [vrf <text>] area (<ipv4>|<0-4294967295>) stub [no-summary] net (add|del) ospf area (<ipv4>|<0-4294967295>) stub [no-summary]  OSPF is now VRF-aware.
net (add|del) ospf [vrf <text>] default-information originate [always] net (add|del) ospf default-information originate [always]  OSPF is now VRF-aware.
net (add|del) ospf [vrf <text>] log-adjacency-changes [detail] net (add|del) ospf log-adjacency-changes [detail]  OSPF is now VRF-aware.
net (add|del) ospf [vrf <text>] network <ipv4/prefixlen> area (<ipv4>|<0-4294967295>) net (add|del) ospf network <ipv4/prefixlen> area (<ipv4>|<0-4294967295>)  OSPF is now VRF-aware.
net del ospf [vrf <text>] network <ipv4/prefixlen> net del ospf network <ipv4/prefixlen>  OSPF is now VRF-aware.
net (add|del) ospf [vrf <text>] passive-interface (default|<interface>) net (add|del) ospf passive-interface (default|<interface>)  OSPF is now VRF-aware.
net (add|del) ospf [vrf <text>] redistribute (bgp|connected|kernel|static|table|table <1-65535>) net (add|del) ospf redistribute (bgp|connected|kernel|static|table|table <1-65535>)  OSPF is now VRF-aware.
net (add|del) ospf [vrf <text>] redistribute (bgp|connected|kernel|static|table|table <1-65535>) metric <0-16777214> net (add|del) ospf redistribute (bgp|connected|kernel|static|table|table <1-65535>) metric <0-16777214>  OSPF is now VRF-aware.
net (add|del) ospf [vrf <text>] redistribute (bgp|connected|kernel|static|table|table <1-65535>) metric-type (1|2) net (add|del) ospf redistribute (bgp|connected|kernel|static|table|table <1-65535>) metric-type (1|2)  OSPF is now VRF-aware.
net (add|del) ospf [vrf <text>] redistribute (bgp|connected|kernel|static|table|table <1-65535>) route-map <route-map> net (add|del) ospf redistribute (bgp|connected|kernel|static|table|table <1-65535>) route-map <route-map>  OSPF is now VRF-aware.
net add ospf [vrf <text>] router-id <ipv4> net add ospf router-id <ipv4>  OSPF is now VRF-aware.
net del ospf [vrf <text>] router-id [<ipv4>] net del ospf router-id [<ipv4>]  OSPF is now VRF-aware.
net add ospf [vrf <text>] timers lsa min-arrival <0-600000> net add ospf timers lsa min-arrival <0-600000>  OSPF is now VRF-aware.
net del ospf [vrf <text>] timers lsa min-arrival [<0-600000>] net del ospf timers lsa min-arrival [<0-600000>]  OSPF is now VRF-aware.
net (add|del) ospf [vrf <text>] timers throttle spf <0-600000> <0-600000> <0-600000> net (add|del) ospf timers throttle spf <0-600000> <0-600000> <0-600000> OSPF is now VRF-aware.
net (add|del) snmp-server listening-address (localhost|localhost-v6) net (add|del) snmp-server listening-address localhost  Specify an IPv6 localhost. 
net (add|del) snmp-server listening-address (all|all-v6) net (add|del) snmp-server listening-address all  Specify an IPv6 localhost. 

Removed Commands or Options

No commands or options were removed in this release.

Have more questions? Submit a request

Comments

Powered by Zendesk