NCLU: What's New and Different

Follow

The following changes were made to the network command line utility (NCLU) for Cumulus Linux 3.3. The following commands have been added, updated or removed from the new version of Cumulus Linux:

New Commands

New Command Notes
net commit confirm Adds a requirement that the user confirms the change before committing.
net add bgp evpn neighbor <bgppeer> allowas-in <1-10>  
net add bond <interface> bond downdelay <0-65535>  
net add bond <interface> bond mode balance-xor  
net add bond <interface> bond updelay <0-65535>  

net add bond <interface> bridge arp-suppress on

 

net add bond <interface> bridge learning (<interface-on-off-list>|off)

 
net add bond <interface> bridge multicast-flood off  
net add bond <interface> bridge unicast-flood off  

net add (bond <interface>|interface <interface>|vlan <number-range-list>|loopback lo) ospf6 instance-id <0-255>

 
net add (bond <interface>|interface <interface>|vlan <number-range-list>|loopback lo) ospf area (<ipv4>|<0-4294967295>)  
net add bond <interface> ip-forward off  
net add bridge bridge igmp-version 3  
net add bridge bridge mld-version 2  

net add bridge bridge vlan-protocol 802.1ad

 
net add bridge bridge vlan-stats off  
net add bridge stp off Disables STP on the bridge

net (add|del) bgp debug updates [in|out]

 

net (add|del) bgp debug zebra

 

net (add|del) bgp evpn advertise-all-vni

 
net (add|del) bgp evpn neighbor <bgppeer> activate  
net (add|del) bgp evpn neighbor <bgppeer> route-reflector-client  
net (add|del) bgp evpn vni <1-16777215>  

net (add|del) bgp evpn vni <1-16777215> rd <rd>

 
 net (add|del) bgp evpn vni <1-16777215> route-target (both|export|import) <route-target>  

net (add|del) bgp [vrf <text>] cluster-id (<ipv4>|<1-4294967295>)

 

net (add|del) bgp [vrf <text>] [ipv4 unicast] redistribute (connected|kernel|ospf|pim|static|table|table <1-65535>) metric <0-4294967295>

 

net (add|del) bgp [vrf <text>] ipv6 unicast redistribute (connected|kernel|ospf6|static|table|table <1-65535>)

 
net (add|del) bgp [vrf <text>] [ipv4 unicast] redistribute (connected|kernel|ospf|pim|static|table|table <1-65535>) route-map <route-map>  

net (add|del) bgp [vrf <text>] ipv6 unicast redistribute (connected|kernel|ospf6|static|table|table <1-65535>) metric <0-4294967295>

 
net (add|del) bgp [vrf <text>] ipv6 unicast redistribute (connected|kernel|ospf6|static|table|table <1-65535>) metric <0-4294967295> route-map <route-map>  
net (add|del) bgp [vrf <text>] ipv6 unicast redistribute (connected|kernel|ospf6|static|table|table <1-65535>) route-map <route-map>  

net (add|del) bgp [vrf <text>] route-map delay-timer <0-600>

 
net (add|del) bgp [vrf <text>] timers <0-65535> <0-65535>  

net (add|del) (bond <interface>|interface <interface>|vlan <number-range-list>|loopback lo) ospf6 passive

 
net (add|del) (bond <interface>|interface <interface>|vlan <number-range-list>|loopback lo) pim sm  
net (add|del) (bond <interface>|interface <interface>|vlan <number-range-list>|loopback lo) pim use-source <ipv4>  
net (add|del) (bond <interface>|interface <interface>|vlan <number-range-list>) ospf authentication message-digest  
net (add|del) (bond <interface>|interface <interface>|vlan <number-range-list>) ospf message-digest-key <1-255> md5 <text>  

net (add|del) msdp mesh-group <text> (member|source) <ipv4>

 
net (add|del) ospf6 area <ipv4> stub [no-summary]  
net (add|del) ospf6 timers throttle spf <0-600000> <0-600000> <0-600000>  
net (add|del) routing enable password <text>  

net (add|del) routing import-table <1-252> [distance <1-255>] [route-map <route-map>]

 
net (add|del) routing line vty exec-timeout <0-35791> <0-2147483>  
net (add|del) routing log syslog [alerts|critical|debugging|emergencies|errors|informational|notifications|warnings]  
net (add|del) routing mroute <ipv4/prefixlen> (<ipv4>|<interface>) [<1-255>] Configuring mroutes

net (add|del) routing zebra debug (events|fpm|kernel|mpls|nht|vxlan)

 
net (add|del) routing zebra debug packet [recv|send] [detailed]  
net (add|del) routing zebra debug rib [detailed]  
net (add|del) syslog host (ipv4 <ipv4>|ipv6 <ipv6>) port [udp|tcp] <number>  
net (add|del) time ntp server <text> [iburst]  
net (add|del) time ntp source <interface>  

net add dhcp relay6 downstream <interface> [<ipv6>]

 
net add dhcp relay6 upstream <interface> [<ipv6>]  

net add dhcp server6 <interface>

 
net add dhcp server <interface>  
net add dns nameserver (ipv4 <ipv4>|ipv6 <ipv6>) [vrf <interface>]  
net add loopback lo ip-forward off  
net add pim debug [events|trace|zebra]  
net add pim ssm prefix-list <prefix-list-v4>  

net add routing line vty

 
net add routing password <text>  
net add routing route <ipv4/prefixlen> (<ipv4>|<interface>|Null0|blackhole|reject) [<1-255>] [vrf <text>]  
net add routing route <ipv6/prefixlen> (<ipv6>|<interface>|Null0|blackhole|reject) [<1-255>] [vrf <text>]  
net add routing service integrated-vtysh-config  
net add time zone (LONG LIST OF TIME ZONES)  
net add vlan <number-range-list> ip-forward off Disable IP forwarding for VLANs
net add vrf <interface> ip-forward off Disable IP forwarding for VRFs

net add vxlan <interface> bridge arp-suppress on

 
net add vxlan <interface> bridge learning (<interface-on-off-list>|off)  
net add vxlan <interface> bridge multicast-flood off  
net add vxlan <interface> bridge unicast-flood off  
net add vxlan <interface> ip-forward off Disable IP forwarding for VXLANs
net commit permanent <wildcard> Flags the pre and post snapshots of the commit to ensure they are not compressed/removed.
net del all Delete all configurations and stops the IEEE 802.1X service
net del bgp evpn neighbor <bgppeer> allowas-in [<1-10>]  
net del bond <interface>  
net del bond <interface> bond downdelay [<0-65535>]  
net del bond <interface> bond mode [balance-xor]  
net del bond <interface> bond updelay [<0-65535>]  

net del bond <interface> bridge arp-suppress [on]

 
net del bond <interface> bridge learning [<interface-on-off-list>|off]  
net del bond <interface> bridge multicast-flood [off]  
net del bond <interface> bridge unicast-flood [off]  

net del (bond <interface>|interface <interface>|vlan <number-range-list>|loopback lo) ospf6 instance-id [<0-255>]

 
net del (bond <interface>|interface <interface>|vlan <number-range-list>|loopback lo) ospf area [<ipv4>|<0-4294967295>]  
net del bond <interface> ip-forward [off]  
net del bridge bridge igmp-version [3]  
net del bridge bridge mld-version [2]  

net del bridge bridge vlan-protocol [802.1ad]

 
net del bridge bridge vlan-stats [off]  
net del bridge stp off  

net del dhcp relay6 downstream [<interface>]

 
net del dhcp relay6 upstream [<interface>]  

net del dhcp server6 [<interface>]

 
net del dhcp server [<interface>]  
net del dns nameserver (ipv4 <ipv4>|ipv6 <ipv6>)  
net del loopback lo ip-forward [off]  
net del pim debug (events|trace|zebra)  
net del pim ssm prefix-list [<prefix-list-v4>]  

net del routing route <ipv4/prefixlen> (<ipv4>|<interface>|Null0) [<1-255>] [vrf <text>]

 
net del routing route <ipv6/prefixlen> (<ipv6>|<interface>|Null0) [<1-255>] [vrf <text>]  
net del vlan <number-range-list> ip-forward [off]  
net del vrf <interface> ip-forward [off]  
net del vxlan <interface> bridge arp-suppress [on]  
net del vxlan <interface> bridge learning [<interface-on-off-list>|off]  
net del vxlan <interface> bridge multicast-flood [off]  
net del vxlan <interface> bridge unicast-flood [off]  
net del vxlan <interface> ip-forward [off]  
net example dot1x  

net pending [json]

 
net rollback description <wildcard-snapshot>  

net show bgp evpn import-rt

 
net show bgp evpn route  
net show bgp evpn route rd <rd>  
net show bgp evpn route rd <rd> mac <mac>  
net show bgp evpn route rd <rd> type (macip|multicast)  
net show bgp evpn route type (macip|multicast)  
net show bgp evpn route vni <1-16777215> mac <mac>  
net show bgp evpn route vni <1-16777215> multicast <ipv4>  
net show bgp evpn route vni <1-16777215> type (macip|multicast)  
net show bgp evpn route vni (all|<1-16777215>)  
net show bgp evpn summary [json]  
net show bgp evpn vni [<1-16777215>]  
net show clag macs [<mac>] [json]  

net show configuration dhcp

 
net show configuration dns  
net show configuration syslog  

net show debugs

 
net show evpn arp-cache vni <1-16777215>  
net show evpn arp-cache vni <1-16777215> ip <ip>  
net show evpn arp-cache vni <1-16777215> vtep <ipv4>  
net show evpn arp-cache vni all  
net show evpn mac vni <1-16777215>  
net show evpn mac vni <1-16777215> mac <mac>  
net show evpn mac vni <1-16777215> vtep <ipv4>  
net show evpn mac vni all  
net show evpn vni [<1-16777215>]  
net show interface <interface> detail  
net show interface pluggables [json]  
net show lldp [<interface>] [json]  

net show msdp mesh-group [json]

 
net show msdp peer [detail|<ipv4>] [json]  
net show msdp sa [detail] [json]  
net show msdp sa <ipv4> <ipv4-mcast-group> [json]  
net show msdp sa <ipv4> [json]  

net show pim group-type <ipv4-mcast-group> [json]

 
net show pim group-type [json]  
net show rollback description <wildcard-snapshot>  

net show time ntp servers

 
net show time [zone]  
net show vrf  

#quagga (add|del) routing import-table <1-252>

 
#quagga (add|del) routing import-table <1-252> distance <1-255>  

 

Changed Commands or Options

New Command Old Command Notes
net add bgp debug neighbor-events [<ip>|<interface>] net add bgp debug neighbor-events (<ip>|<interface>) The ip|interface values are now optional, rather than required.
net add bgp [vrf <text>] [ipv4 unicast|ipv6 unicast] maximum-paths [ibgp] <1-256> net add bgp [vrf <text>] [ipv4 unicast|ipv6 unicast] maximum-paths [ibgp] <1-64> Can specify up to 256 maximum paths now.
net add bgp [vrf <text>] [ipv4 unicast|ipv6 unicast] neighbor <bgppeer> allowas-in (<1-10>|origin) net add bgp [vrf <text>] [ipv4 unicast|ipv6 unicast] neighbor <bgppeer> allowas-in <1-10> Can nowspecify origin as well as a range of ASes to allow.
net (add|del) bond <interface> bond lacp-rate slow net (add|del) bond <interface> bond lacp-rate (0|1|slow) Can only specify an LACP rate of slow now
net add (bond <interface>|interface <interface>|vlan <number-range-list>|loopback lo) ospf6 cost <1-65535> net add (bond <interface>|interface <interface>|vlan <number-range-list> ospf6 cost <1-65535> Can specify loopback or a VLAN.
net (add|del) bgp [vrf <text>] [ipv4 unicast] redistribute (connected|kernel|ospf|pim|static|table|table <1-65535>) net (add|del) bgp [vrf <text>] [ipv4 unicast] redistribute (connected|kernel|ospf|pim|static|table) [route-map <route-map>]

Can specify table IDs

Cannot specify route maps any more (see the new command above)

net (add|del) bgp [vrf <text>] ipv6 unicast redistribute (connected|kernel|ospf6|static|table|table <1-65535>) route-map <route-map>

net (add|del) bgp [vrf <text>] ipv6 unicast redistribute (connected|kernel|ospf6|static|table) [route-map <route-map>]

Can specify table IDs, and the route-map value is now required, rather than optional.

net (add|del) ospf6 redistribute (bgp|connected|kernel|static|table|table <1-65535>) [route-map <route-map>] net (add|del) ospf6 redistribute (bgp|connected|kernel|static|table) [route-map <route-map>] Can specify table IDs
net (add|del) ospf debug zebra net (add|del) ospf debug zebra [interface|redistribute] Cannot debug interfaces or redistribute
net (add|del) ospf passive-interface (default|<interface>) net (add|del) ospf passive-interface <interface> Can specify the default

net (add|del) ospf redistribute (bgp|connected|kernel|static|table|table <1-65535>)

net (add|del) ospf redistribute (bgp|connected|kernel|static|table) [route-map <route-map>] Can specify table IDs
net (add|del) ospf redistribute (bgp|connected|kernel|static|table|table <1-65535>) metric <0-16777214> net (add|del) ospf redistribute (bgp|connected|kernel|static|table) [route-map <route-map>] Can specify redistribute metrics
net (add|del) ospf redistribute (bgp|connected|kernel|static|table|table <1-65535>) metric-type (1|2) net (add|del) ospf redistribute (bgp|connected|kernel|static|table) [route-map <route-map>] Can specify redistribute metric types
net (add|del) ospf redistribute (bgp|connected|kernel|static|table|table <1-65535>) route-map <route-map> net (add|del) ospf redistribute (bgp|connected|kernel|static|table) [route-map <route-map>] Can specify table IDs, must specify route map
net (add|del) ospf timers throttle spf <0-600000> <0-600000> <0-600000> net (add|del) ospf timers lsa min-arrival <0-600000> ???
net (add|del) pim debug packets [hello|joins|register] net (add|del) pim debug [events|packets|trace|zebra] New and different debug options
net (add|del) routing protocol (bgp|ospf|static|table) route-map <route-map> net (add|del) routing protocol (bgp|ospf|static) route-map <route-map> Cannot specify tables

net add interface <interface> link autoneg (no|off|on|yes)

net add interface <interface> link autoneg (on|yes) Can disable autonegotiation
net add ospf6 timers lsa min-arrival <0-600000> net add ospf6 timers throttle spf <0-600000> <0-600000> <0-600000>  
net add ospf timers lsa min-arrival <0-600000> net add ospf timers throttle spf <0-600000> <0-600000> <0-600000>  

net del bgp [vrf <text>] [ipv4 unicast|ipv6 unicast] maximum-paths [ibgp] [<1-256>]

net del bgp [vrf <text>] [ipv4 unicast|ipv6 unicast] maximum-paths [ibgp] [<1-64>] Can configure 256 max paths instead of 64
net del bgp [vrf <text>] [ipv4 unicast|ipv6 unicast] neighbor <bgppeer> allowas-in [<1-10>|origin] net del bgp [vrf <text>] [ipv4 unicast|ipv6 unicast] neighbor <bgppeer> allowas-in [<1-10>] Cannot specify origin
net del (bond <interface>|interface <interface>|vlan <number-range-list>) igmp version [2] net del (bond <interface>|interface <interface>|vlan <number-range-list>) igmp version [2|3] Cannot specify IGMP version 3
net del (bond <interface>|interface <interface>|vlan <number-range-list>|loopback lo) ospf6 cost [<1-65535>] net del (bond <interface>|interface <interface>|vlan <number-range-list>) ospf6 cost [<1-65535>] Can now specify the loopback interface
net del interface <interface> link autoneg [no|off|on|yes] net del interface <interface> link autoneg [on|yes]  
net del ospf6 timers lsa min-arrival [<0-600000>] net del ospf6 timers throttle spf [<0-600000> <0-600000> <0-600000>]  

net show bgp [vrf <text>] (<ipv4>|<ipv4/prefixlen>|<ipv6>|<ipv6/prefixlen>) [bestpath|multipath] [json]

net show bgp [vrf <text>] (<ipv4>|<ipv4/prefixlen>|<ipv6>|<ipv6/prefixlen>) [bestpath|multipath] JSON output option added
net show bgp [vrf <text>] neighbor [<bgppeer>] [json] net show bgp [vrf <text>] neighbor [<bgppeer>] JSON output option added
net show bgp [vrf <text>] [summary] [json] net show bgp [vrf <text>] [summary] JSON output option added
net show configuration [commands|files|acl|bgp|multicast|ospf|ospf6|interface <interface>] net show configuration [commands|files|acl|bgp|ospf|ospf6|interface <interface>] Multicast option added
net show pim neighbor [detail|<interface>|<ipv4>] [json] net show pim neighbor [detail|<ipv4>] [json] Interface option added
net show route [vrf <text>] [<ipv4>|<ipv4/prefixlen>|<ipv6>|<ipv6/prefixlen>|bgp|connected|json|kernel|ospf|ospf6|pim|rip|static|summary|supernets-only|table] net show route [vrf <text>] [<ipv4>|<ipv4/prefixlen>|<ipv6>|<ipv6/prefixlen>|bgp|connected|json|kernel|ospf|ospf6|pim|rip|static|summary|supernets-only|table] Kernel, PIM, RIP, supernets only, table added as options

 

Removed Commands or Options

Removed Command Notes
net add (bond <interface>|interface <interface>|vlan <number-range-list>) ospf6 instance-id <0-255>  
net add (bond <interface>|interface <interface>|vlan <number-range-list>) ospf area (<ipv4>|<0-4294967295>)  
net (add|del) bond <interface>  
net (add|del) (bond <interface>|interface <interface>|vlan <number-range-list>) ospf6 passive  
net (add|del) (bond <interface>|interface <interface>|vlan <number-range-list>) pim (sm|ssm)  
net (add|del) ospf6 area (<ipv4>|<0-4294967295>) stub [no-summary]  
net (add|del) ospf6 timers lsa min-arrival <0-600000>  

net (add|del) routing route <ipv4/prefixlen> (<ipv4>|<interface>|Null0|blackhole|reject) [<1-255>] [vrf <text>]

 
net (add|del) routing route <ipv6/prefixlen> (<ipv6>|<interface>|Null0|blackhole|reject) [<1-255>] [vrf <text>]  

net add interface <interface> bond downdelay <0-65535>

 
net add interface <interface> bond updelay <0-65535>  
net add interface <interface> bridge igmp-version 3  
net add interface <interface> bridge mld-version 2  

net add interface <interface> bridge vlan-protocol 802.1ad

 
net add interface <interface> bridge vlan-stats off  
net add pim rp <ipv4> Collapsed into command for configuring PIM with an IP address
net add vxlan <interface> Collapsed into other VXLAN commands

net del (bond <interface>|interface <interface>|vlan <number-range-list>) ospf6 instance-id [<0-255>]

 
net del (bond <interface>|interface <interface>|vlan <number-range-list>) ospf area [<ipv4>|<0-4294967295>]  

net del interface <interface> bond downdelay [<0-65535>]

 
net del interface <interface> bond updelay [<0-65535>]  
net del interface <interface> bridge igmp-version [3]  
net del interface <interface> bridge mld-version [2]  

net del interface <interface> bridge vlan-protocol [802.1ad]

 
net del interface <interface> bridge vlan-stats [off]  
net del pim rp [<ipv4>]  
net show msdp (peer|sa) [json] MSDP peers and source-active messages split out into separate commands (see above)
Have more questions? Submit a request

Comments

Powered by Zendesk