Sunday 17 June 2012

SOMETHING MORE ABOUT THE IPv6

Enabling IPv6


In this post I am going to discuss something more about the IPv6 networks.


The switch’s implementation of IPv6 is disabled by default. To enable IPv6, use
the command:
      ENABLE IPV6


To disable IPv6, use the command:
      DISABLE IPV6


Any IPv6 configuration which the switch has performed dynamically will be
preserved between disabling and re-enabling IPv6. For example, any addresses
which have been configured will still be present.

To display information about IPv6 settings, use the command:
              SHOW IPV6


To display IPv6 counters, use the command:
        SHOW IPV6 COUNTER

Because the switch implements IPv6 as a dual stack, implementing IPv6 does
not affect IPv4 functionality


IPv6 Interfaces and Addresses


The switch supports the addition of IPv6 addresses directly to Point-to-Point
Protocol (PPP) and Virtual Local Area Network (VLAN) interfaces and
indirectly to virtual interfaces, when the tunnel is created.

As with IPv4 addresses, a proportion of the leftmost bits of the IPv6 address
can be the address of a subnet, rather than a host. This subnet part of the
address is called the prefix. The prefix is specified by following the IPv6 address
with a slash (/) and the length of the prefix in bits:


           IPV6ADDRESS=ipv6add/prefix-length

*This syntax is referred to as slash notation.

To create an IPv6 logical interface, and associate it with an interface, use the
command:

CREATE IPV6 INTERFACE=interface [DUPTRANS=1..16]
[RETRANS=0..4294967295]


where interface is an interface name formed by concatenating an interface and
an interface instance (e.g. ppp1, vlan1).


As part of the creation process, the switch will perform stateless address
autoconfiguration to assign an IPv6 address to the interface, by adding the
interface’s MAC address to the reserved IPv6 prefix fe80::. These addresses are
only link-local addresses, which are sufficient for communication among
devices on the same link. Several interfaces can be given the same link-local
address, as specified in RFC 2373 “IP Version 6 Addressing Architecture”.


The DUPTRANS parameter sets the number of neighbour solicitation messages
that the switch will send during the Duplicate Address Detection process. The
RETRANS parameter sets the number of times the switch will resend each
Router Advertisement message. Lossy links can be partially compensated for
by increasing these counters.

If the switch is used as a host instead of a router, it will still be able to use
stateless address autoconfiguration to generate a link-local address. However,
it will be unable to receive router advertisements, and therefore unable to
autoconfigure a global address. If it is necessary to give the switch a global
IPv6 address, it must be added manually.

To add another IPv6 address manually to the interface, or to create the interface
and manually add the IPv6 address to it at the same time, use the command:

ADD IPV6 INTERFACE=interface
IPADDRESS=ipv6add/prefix-length [FILTER=0..99]
[PREFERRED=1..4294967295|INFINITE]
[PRIORITYFILTER=200..299] [PUBLISH={YES|NO}]
[TYPE={ANYCAST|UNICAST}] [VALID=1..4294967295|INFINITE]

An interface can only have one link-local address at a time. If a new link-local
address is added on an IPv6 interface, the interface will use the new link-local

address. The link-local address of a static tunnel cannot be changed after the
tunnel has been created . The link-local address of an interface cannot be changed while
PIM6 is attached to it. The PIM6 interface must first be deleted, using the
command:

DELETE PIM6 INTERFACE 

If the address is an anycast address , the
TYPE parameter allows it to be distinguished from a unicast address.

To change the address or other parameters of the interface, use the command:

SET IPV6 INTERFACE=interface
IPADDRESS=ipv6add/prefix-length [FILTER=0..99]
[PREFERRED=1..4294967295|INFINITE]
[PRIORITYFILTER=200..299] [PUBLISH={YES|NO}]
[VALID=1..4294967295|INFINITE]


To destroy an IPv6 interface, use the command:

DESTROY IPV6 INTERFACE=interface

To delete an address from an interface, use the command:

DELETE IPV6 INTERFACE=interface IPADDRESS=ipv6add

Deleting a link-local address on an interface will cause the interface to revert
back to its original auto-configured link-local address. An interface’s autoconfigured
IPv6 link-local address cannot be deleted, except by destroying the
interface.

To display information about the configured interfaces, use the command:
SHOW IPV6 INTERFACE[=interface]

To display information about IPv6 multicast addresses, use the command:
SHOW IPV6 MULTICAST

To associate an IPv6 address with the name of a host, use the command:
ADD IPV6 HOST=name IPADDRESS=ipv6add

To disassociate the IPv6 address and the host name, use the command:
DELETE IPV6 HOST=name
To display information about the host name table, use the command:
SHOW IPV6 HOST

This is all abot the IPv6 interfaces and addresses....... in my next post i will explain something more about the IPv6 networks....

enjoy.....