Ipv6 Address - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Description
Use the dns server ipv6 command to configure an IPv6 address for a DNS server.
Use the undo dns server ipv6 command to remove the configured DNS server.
By default, no DNS server is configured.
Examples
# Configure the IPv6 address 2002::1 for a DNS server.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] dns server ipv6 2002::1

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
1-24

Advertisement

Table of Contents
loading

Table of Contents