Ip Address - Mellanox Technologies Mellanox SX1018 Command Reference Manual

Ethernet managed blade switch
Hide thumbs Also See for Mellanox SX1018:
Table of Contents

Advertisement

ip address

ip address <IP address> <netmask>
no ip address
Sets the IP address and netmask of this interface.
The no form of the command clears the IP address and netmask of this interface.
Syntax Description
IP address
netmask
Default
0.0.0.0/0
Modes/Context
Config Interface Management
History
3.1.0000
Role
admin
Example
switch (config) # interface mgmt0
switch (config interface mgmt0) # ip address 10.10.10.10 255.255.255.0
switch (config interface mgmt0) # show interfaces mgmt0
Interface mgmt0 state
switch (config interface mgmt0) #
Related Commands
show interfaces <ifname>
Note
If DHCP is enabled on the specified interface, then the DHCP IP assignment will
hold until DHCP is disabled.
Admin up:
yes
Link up:
yes
IP address:
10.10.10.10
Netmask:
255.255.255.0
IPv6 enabled:
yes
Autoconf enabled:
no
Autoconf route:
yes
Autoconf privacy:
no
IPv6 addresses:
1
IPv6 address:
fe80::202:c9ff:fe5e:a5d8/64
Speed:
1000Mb/s (auto)
Duplex:
full (auto)
Interface type:
ethernet
Interface ifindex:
2
Interface source:
physical
MTU:
1500
HW address:
00:02:C9:5E:A5:D8
Comment:
RX bytes:
2946769856
RX packets:
44866091
RX mcast packets:
0
RX discards:
0
RX errors:
0
RX overruns:
0
RX frame:
0
IPv4 address
Subnet mask of IP address
TX bytes:
TX packets:
TX discards:
TX errors:
TX overruns:
TX carrier:
TX collisions:
TX queue len:
Mellanox Technologies
Rev 1.6.2
467577486
1385520
0
0
0
0
0
1000
25

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sx1018hp

Table of Contents