3.6 Novell IPv6 Commands

This section explains the commands that can be used to set up the Novell IPv6 stack.

3.6.1 Interface - Related Commands

This section covers the following:

Bind Protocol

Syntax

bind protocol_name board_name addr address len prefixlen

Description:

Binds a communication protocol to a network board.

Example:

bind ip6 ce 100bbind ip6 ce 100b addr 3ffe::1 len 64

IP6 Configuration Display

Syntax

ip6config

Description:

Displays the board configuration, which includes all types of IPv6 addresses configured to various boards and the corresponding preferred and valid lifetimes.

Example:

ip6config

Unbind Protocol

Syntax:

unbind rt6add protocol_name board_name

Description:

Unbinds a communication protocol from a board

Example:

unbind ip6 ce 100b

3.6.2 Routing Commands

This section covers the following:

Forwarding Capability Status Display

Syntax

ip6router

Description:

Displays the current status.

Example:

Displays the current status as "IP6Forwarding is ON"/ "IP6Forwarding is OFF"

Route Addition

Syntax

Rt6add IP6_Destination_Prefix Gateway_Address %Interface_Name Prefix_Length

Description:

Adds an IPv6 Route to the IPv6 Routing Table. The Interface Name uses the default. Does not need to be specified for a global address.

Example:

Rt6add 3ffe:88::1234 fe80::8%CE100_1_EII 64

Rt6add 3ffd:: 3ffe:88::1234 64

To add a default route, give the unspecified address (::) as the IPv6Destination Prefix and the prefix length as 0 (zero). For example:

rt6add:: fe80::9%CE100B_1_EII 0

Route Deletion

Syntax

Rt6add IP6_Destination_Prefix %Interface_Name Prefix_Length

Description:

Deletes an IPv6 Route from the IPv6 Routing Table. The interface name uses the default. Does not need to be specified for a global address.

Example:

Rt6del fe80::8%CE100B_1_EII 64

Rt6add 3ffe:88::1234 64

To delete a default router:

rt6del :: 0

Routing Table Display

Syntax

Rt6Table

Description:

Displays the Routing Table.

Example:

rt6table

3.6.3 Tunnel Commands

This section covers the following:

Configured Tunnel Creation

Syntax

tun6bind tunnelname local_IPv6_address remote_IPv6_address local_IPv4_address remote_IPv4_address

Description:

Creates one end of a tunnel.

Example:

tun6bind test-tunnel 3ffe::1 3ffe::2 172.16.1.1 172.16.1.10

Configured Tunnel Deletion

Syntax

tun6unbind tunnelname

Description:

Deletes a tunnel.

Example:

tun6unbind test-tunnel

Configured Tunnel Information Display

Syntax

Tun6List -t tunnel_name

Tun6List -n number_of_tunnels_to_display_at_a_time

Description:

Displays the bound tunnels and the tunnel information.

Example:

Tun6List (Displays all the bound tunnels one by one)

Tun6List -t test-tunnel (Displays details of test-tunnel alone)

Tun6List -n 5 (Displays tunnel info five at a time)

Current Automatic Tunneling Status Display

Syntax

ip6autotunnel

Description:

Displays the status of Automatic Tunneling capability as "Auto Tunneling is ON" or "Auto Tunneling is OFF". Set this feature to On (in the ip6.cfg file) to automatically create corresponding compatible addresses for all the bound IPv4 addresses, thereby enabling the use of automatic tunneling with these addresses.

Set this feature to Off (in the ip6.cfg file) to automatically unbind all the compatible addresses created.

Default = On.

Example:

ip6autotunnel

3.6.4 General Commands

Default Router List Display

Syntax

dfr6list

Description:

Displays the information about the default routers learned dynamically.

Destination Cache Display

Syntax

dc6list

Description:

Lists of destination cache Entries.

Destination Cache Flush

Syntax

dc6flush

Description:

Flushes the destination cache of the system.

Neighbor Cache Display

Syntax

nc6list

Description:

Displays the neighbor cache entries.

Neighbor Cache Entry Deletion

Syntax

nc6del IP6Address Board_Name

Description:

Deletes the neighbor cache entry for the specified neighbor of the specified interface.

Neighbor Cache Flush

Syntax

nc6flush

Description:

Flushes the neighbor cache entries of the system.

Prefix List Display

Syntax

pf6list

Description:

Displays the prefix information learned from routers.