HP Mellanox SX1018 Mellanox MLNX-OS® User Manualfor SX1018HP Ethernet - Page 37
Default Gateway, In-Band Management
View all HP Mellanox SX1018 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 37 highlights
For all other systems (and software versions) DHCP is disabled by default. If a user connects through SSH, runs the wizard and turns off DHCP, the connection is immediately terminated as the management interface loses its IP address. Rev 1.6.9 # ssh [email protected] Mellanox MLNX-OS Switch Management Password: Mellanox Switch Mellanox configuration wizard Do you want to use the wizard for initial configuration? yes Step 1: Hostname? [switch-6287a4] Step 2: Use DHCP on mgmt0 interface? [yes] no # In such case the serial connection should be used. 4.1.4 Default Gateway In order to configure manually the default gateway, use the "ip route" command, with "0.0.0.0" as prefix and mask. The next-hop address must be within the range of one of the IP interfaces on the system. switch (config)# ip route 0.0.0.0 0.0.0.0 10.209.0.2 switch (config)# show ip route Destination Mask Gateway default 0.0.0.0 10.209.0.2 10.209.0.0 255.255.254.0 0.0.0.0 switch (config)# Interface mgmt0 mgmt0 Source static direct 4.1.5 In-Band Management In-band management is a management path passing through the data ports. In-band management can be created over one of the VLANs in the systems. The in-band management feature does not require any license. However, it works only for system profiles VPI and Ethernet. It cannot be enabled with IP Routing or IP Proxy-ARP. To set an in-band management channel: Step 1. Create a VLAN. Run: switch (config) # vlan 10 switch (config vlan 10) # Step 2. Create a VLAN interface. Run: switch (config) # interface vlan 10 create Step 3. Enter the VLAN interface configuration mode and configure L3 attributes. Run: switch (config) # interface vlan10 switch (config interface vlan10)#ip address 10.10.10.10 /24 Mellanox Technologies 37 Mellanox Technologies Confidential