This knowledge base has moved to the documentation site. Please visit the knowledge base here for the most up to date content. This site is no longer maintained.

Cumulus Linux vs Cisco NX-OS: Configuring Front Panel Switch Ports

Follow

Defining a Switch Port

Cumulus Linux Cisco Nexus 3000 Series
Define the swp1 (switch port 1) interface:
cumulus@switch:~$ net add bridge bridge ports swp1
cumulus@switch:~$ cat /etc/network/interfaces
auto bridge
iface bridge
  bridge-ports swp1
Define the ethernet interface (that is, switch slot 1/port 1):
switch# configure terminal 
switch(config)# interface ethernet 1/1 
switch(config-if)# switchport

Adding an IP Address

Cumulus Linux Cisco Nexus 3000 Series
Add an IP address to a switch port:
cumulus@switch:~$ net add interface swp1 ip address [ipv4-address/mask]
cumulus@switch:~$ cat /etc/network/interfaces auto swp1 iface swp1 address [ipv4-address/mask]
Add an IP address to a switch port:
switch# configure terminal
switch(config)# interface ethernet 1/1 
switch(config-if)# no switchport
switch(config-if)# ip address [ipv4-address/subnet-mask]

Setting Speed, Duplex, MTU, and Auto-negotiation of an Interface

Cumulus Linux Cisco Nexus 3000 Series
Set speed/duplex/mtu/auto-negotiation:
cumulus@switch:~$ net add interface swp1 link duplex half
cumulus@switch:~$ net add interface swp1 link speed [speed]
cumulus@switch:~$ net add interface swp1 mtu [1500 - 9216]
cumulus@switch:~$ net add interface swp1 link autoneg [on|off]
cumulus@switch:~$ cat /etc/network/interfaces
auto swp1
iface swp1
    link-speed [speed] 
    link-duplex half (default is full) 
    mtu [1500 - 9216] 
    link-autoneg [on|off]
Set speed/duplex/mtu/auto-negotiation on ethernet 1/1:
switch# configure terminal
switch(config)# interface ethernet 1/1
switch(config-if)# speed [speed]
switch(config-if)# duplex [full|half]
switch(config-if)# mtu [1500 - 9216]
switch(config-if)# [no] negotiate auto

Comments

This support portal has moved

Cumulus Networks is now part of the NVIDIA Networking Business Unit! The NVIDIA Cumulus Global Support Services (GSS) team has merged its operations with the NVIDIA Mellanox support services team.

You can access NVIDIA Cumulus support content from the Mellanox support portal.

You open and update new cases on the Mellanox support portal. Any previous cases that have been closed have been migrated to the Mellanox support portal.

Cases that are still open on the Cumulus portal will continue to be managed on the Cumulus portal. Once these cases close, they will be moved to the Mellanox support portal.

Powered by Zendesk