Ipv6 Address; Ipv6 Gateway - H3C S5830V2 Command Reference Manual

Switch series fundamentals
Hide thumbs Also See for S5830V2:
Table of Contents

Advertisement

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 127.
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.
<boot> system-view
[boot] interface m-eth0
[boot-m-eth0] ipv6 address 2001::1 64

ipv6 gateway

Use ipv6 gateway to specify an IPv6 gateway for the management Ethernet port.
Use undo ipv6 gateway to restore the default.
Syntax
ipv6 gateway link-local
213

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820v2

Table of Contents