HP MSR2000/3000/4000 Router Series Fundamentals Command Reference
187
Default
The management Ethernet port has no IPv4 gateway configured.
Views
Management Ethernet port view
Parameters
ip-address: Specifies an IPv4 gateway address in dotted decimal notation.
Usage guidelines
When the device needs to communicate with a device on a remote IPv4 network, you must specify an
IPv4 gateway for the management Ethernet port.
If you execute this command multiple times, the most recent configuration takes effect.
Changing or removing the IPv4 address of the management Ethernet port removes the port's IPv4
gateway configuration.
Examples
# Configure the management Ethernet port to use IPv4 gateway 192.168.1.5.
<boot> system-view
[boot] interface m-eth0
[boot-m-eth0] ip gateway 192.168.1.5
ipv6 address
Use ipv6 address to assign an IPv6 address to the management Ethernet port.
Use undo ipv6 address to restore the default.
Syntax
ipv6 address ipv6-address prefix-length
undo ipv6 address
Default
The management Ethernet port has no IPv6 address.
Views
Management Ethernet port view
Parameters
ipv6-address: Specifies an IPv6 address.
prefix-length: Specifies a prefix length in the range of 1 to 128.
Usage guidelines
The management Ethernet port can have only one IPv6 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 IPv6 address or removing
its IPv6 address activates it at the same time.
Examples
# Assign IPv6 address 2001::1/64 to the management Ethernet port.