Ipv6 Address - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

ipv6 address

Syntax
ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length }
undo ipv6 address [ ipv6-address prefix-length | ipv6-address/prefix-length ]
View
Interface view
Parameters
ipv6-address: IPv6 address.
prefix-length: Prefix length of an IPv6 address, in the range of 1 to 128.
Description
Use the ipv6 address command to configure a site-local address or global unicast address manually
for an interface.
Use the undo ipv6 address command to remove the manually configured interface address.
By default, no site-local address or global unicast address is configured for an interface.
Note that:
An H3C S3100 Ethernet switch can have IPv6 unicast addresses configured on only one VLAN
interface. Only one global unicast address or one site-local address can be configured for an
interface.
You will remove all IPv6 addresses except the automatically configured link-local address if you
carry out the undo ipv6 address command without any parameter specified.
Examples
# Set the aggregatable global IPv6 unicast address of VLAN-interface 1 to 2001::1 with prefix length 64.
Method I:
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] ipv6 address 2001::1/64
Method II:
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Vlan-interface 1
[Sysname-Vlan-interface1] ipv6 address 2001::1 64
ipv6 address auto link-local
Syntax
ipv6 address auto link-local
undo ipv6 address auto link-local
1-26

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents