Version 2.0
Advanced Configuration
62
Mellanox Technologies
6.5
Configuring I/O Interfaces
NOTE: smb-mng
is the management interface via the switch. This management interface
is always there except when you work in inband management. Inband is when the device is
managed from the InfiniBand network. Out-of-band is when the device is managed from
the switch Fast Ethernet network.
if0
is the default interface, which cannot be deleted.
To configure I/O interfaces, run the following commands from the
10G> config
interface
menu:
Step 1
Run an
interface show
command to view interfaces and trunks (LAGs):
10G(config-if)# interface show
entry alias ip mask broadcast vlan pkey(hex) trunk
|-----|-------|-------------|-------------|----------------|----|------
1 smb-mng 172.28.1.36 255.255.0.0 172.28.255.255 no 0x7fff No port
2 if0 192.168.2.2 255.255.255.0 192.168.2.255 no 0x7fff P1-2
3 CP1 12.11.11.11 255.255.255.0 12.11.11.255 112 0x112 P1-2
4 net75 75.75.75.75 255.255.255.0 75.75.75.255 75 0x75
P1-2
Note that the Trunk (LAG mode) is set to P1-2.
(This command is available from both, the 10G
admin
or
config
menus).
Step 2
View the LAG mode status by running a
lag-mode show
command, as follows:
10G(config-if)# lag-mode show
LAG mode is: full LAG.
Step 3
From the
10G> config
interface
menu, set the LAG mode by running a
lag-mode set
command, as follows:
10G(config-if)# lag-mode set [full, separate]
Example:
10G(config-if)# lag-mode set separate
Changing LAG mode will remove its interfaces, VLAN tags and associated TFM rules.
It is necessary to reboot the system after this operation.
Are you sure you want to continue [yes/no] - Default value yes
Reboot is required after changing LAG mode.
Expected Result:
10G(config-if)# interface show all
entry alias ip mask broadcast vlan pkey(hex) trunk
|-----|-------|-------------|-------------|----------------|----|------
1 smb-mng 172.28.1.36 255.255.0.0 172.28.255.255 no 0x7fff No port
2 if0 192.168.2.2 255.255.255.0 192.168.2.255 no 0x7fff P1
Note that the Trunk (LAG mode) was changed to P1, P2.
(This command is available from both, the 10G
admin
or
config
menus).