Ip Address; Ip Gateway - HP MSR Series Command Reference Manual

Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

Examples
# Enter management Ethernet port view.
<boot> system-view
[boot] interface m-eth0
[boot-m-eth0]
Related commands
quit

ip address

Use ip address to assign an IPv4 address to the management Ethernet port.
Use undo ip address to restore the default.
Syntax
ip address ip-address { mask-length | mask }
undo ip address
Default
The management Ethernet port has no IPv4 address.
Views
Management Ethernet port 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 1 to 31.
mask: Specifies the subnet mask in dotted decimal notation.
Usage guidelines
The management Ethernet port can have only one IPv4 address. If you execute this command multiple
times, the most recent configuration takes effect.
When the management Ethernet port is manually shut down, assigning it an IPv4 address or removing
its IPv4 address activates it at the same time.
The IP address assigned to the management Ethernet port 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 port.
<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 port.
Use undo ip gateway to restore the default.
193

Advertisement

Table of Contents
loading

Table of Contents