Ip Address; Ip Gateway - HP 6125XLG Command Reference Manual

Blade switch fundamentals command reference
Table of Contents

Advertisement

Related commands
quit

ip address

Use ip address to assign an IPv4 address to the management Ethernet interface.
Use undo ip address to restore the default.
Syntax
ip address ip-address { mask-length | mask }
undo ip address
Default
The management Ethernet interface has no IPv4 address.
Views
Management Ethernet interface view
Parameters
ip-address: Specifies an IPv4 address in dotted decimal notation.
mask-length: Specifies the length of the subnet mask, in the range of 0 to 31.
mask: Specifies the subnet mask in dotted decimal notation.
Usage guidelines
The management Ethernet interface can have only one IPv4 address. If you execute this command
multiple times, the most recent configuration takes effect.
When the management Ethernet interface is manually shut down, removing the IP address or other
configuration of the interface activates the interface at the same time.
The IP address assigned to the management Ethernet interface must be different from the IP addresses of
the other devices on the network.
Examples
# Assign IPv4 address 192.168.1.1/24 to the management Ethernet interface.
<boot> system-view
[boot] interface m-eth0
[boot-m-eth0] ip address 192.168.1.1 24

ip gateway

Use ip gateway to specify an IPv4 gateway for the management Ethernet interface.
Use undo ip gateway to restore the default.
Syntax
ip gateway ip-address
undo ip gateway
196

Advertisement

Table of Contents
loading

Table of Contents