Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch

Rev 1.6.2
Mellanox Technologies
395
ip address
ip address <ip-address> <mask>
no ip address <ip-address> <mask>
Enters user-defined description for the interface.
Syntax Description ip-address IPv4 address
mask There are two possible ways to the mask:
/length (i.e. /24)
Network address (i.e. 255.255.255.0)
Default 0.0.0.0/0
Modes/Context Config vlan interface
History 3.2.0230
Role admin
Example
switch (config interface vlan 10) # ip address 10.10.10.10 /24
switch (config interface vlan 10) # show interfaces vlan 10
Vlan 10
Admin state: Enabled
Operational state: Down (no up member port)
Mac Address: 00:02:c9:5d:e0:f0
Internet Address: 10.10.10.10/24
Broadcast address: 10.10.10.255
MTU: 1522 bytes
Description: my-ip-interface
switch (config) #
Related Commands interface vlan
Note