Page 376 / 757 Scroll up to view Page 371 - 375
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
372
DGS-3627:admin# create ipv6route 3004::/64 Intface_1 3000::4
Command: create ipv6route 3004::/64 Intface_1 3000::4
Success.
DGS-3627:admin#
To add an IP tunnel route entry:
DGS-3627:admin# create ipv6route default ip_tunnel ip6_tn
Command: create ipv6route default ip_tunnel ip6_tn
Success.
DGS-3627:admin#
delete ipv6route
Purpose
Delete static IPv6 route entries or specified static route entry from Switch’s IPv6 routing table
Syntax
delete ipv6route [[default |<ipv6networkaddr>] [<ipif_name 12> <ipv6addr> |
<ipv6addr> | ip_tunnel <tunnel_name 12>] | all]
Description
Delete a static IPv6 route. If the next hop is a global address, it is not needed to specify the
interface name of the next hop. If the next hop is a link local address, then the interface name
of the next hop must be specified.
Parameters
default
- Specify that the route to be deleted is a default route.
ipv6networkaddr
- The destination network of the route.
ipif_name
- The interface name of the next hop, with the maximum of 12 characters.
ipv6addr
- The next hop address of the default route.
tunnel_name
- The tunnel name of the next hop. When this option is specified, it is indicated
that this route to be deleted is an IP tunnel route.
all
- All static IPv6 routes will be deleted.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
Delete a static IPv6 route specified by network address:
DGS-3627:admin# delete ipv6route 3004::/64 Intface_1 3000::4
Command: delete ipv6route 3004::/64 Intface_1 3000::4
Success.
DGS-3627:admin#
show ipv6route
Purpose
Display the Switch’s current IPv6 routing table or specified route entries.
Syntax
show ipv6route {<ipv6networkaddr>} {[static | ripng | ospfv3]}
Description
Display IPv6 routes in the switch. If this command is not specified by address or route
protocol, it will display all the route entries in the routing table. And if this command specified
by address or route protocol, it will display the specified IPv6 route entries.
Parameters
ipv6networkaddr
- The destination network of the route.
static
- Display the static route entries.
Page 377 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
373
show ipv6route
ripng
- Display the RIPng route entries.
ospfv3
- Display the OSPFv3 route entries.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
Show the IPv6 route entries without specified address or route protocol:
DGS-3627:admin# show ipv6route
Command: show ipv6route
IPv6 Prefix: ::/0
Protocol: Static
Metric: 1
Next Hop
:
3000::2
IPIF
:
Intface_1
IPv6 Prefix: 3000::/64
Protocol: Local
Metric: 1
Next Hop
:
::
IPIF
:
Intface_1
IPv6 Prefix: 3004::/64
Protocol: Static
Metric: 1
Next Hop
:
3000::4
IPIF
:
Intface_1
IPv6 Prefix: 3005::/64
Protocol: RIPng
Metric: 1
Next Hop
:
3000::5
IPIF
:
Intface_1
IPv6 Prefix: 4000::/64
Protocol: Local
Metric: 1
Next Hop
:
::
IPIF
:
Intface_2
IPv6 Prefix: 4005::/64
Protocol: RIPng
Metric: 1
Next Hop
:
4000::5
IPIF
:
Intface_2
Total Entries: 6
DGS-3627:admin#
Page 378 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
374
49
IPV6 TUNNEL COMMANDS
Industry is in the early stages of large scale IPv6 production deployment, and first-generation products need to make
tradeoffs between available IPv6 services. Although the success of IPv6 will ultimately depend on the new applications
that run over IPv6, there might be organizations or hosts within organizations that will continue to use IPv4 indefinitely.
A key part of the IPv6 design is its ability to integrate into and coexist with existing IPv4 networks. It is expected that IPv4
and IPv6 hosts will need to coexist for a substantial time during the steady migration from IPv4 to IPv6, and the
development of transition strategies, tools, and mechanisms has been part of the basic IPv6 design from the start.
The IPv6 tunneling mechanism is one of the strategies for solving the transition from IPv4 to IPv6. This document
describes three types of IPv6 tunnels: IPv6 Manually Configured tunnels, Automatic 6to4 Tunnels and ISATAP Tunnels.
The IPv6 Tunnel commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command
Parameters
create ip_tunnel
<tunnel_name 12>
delete ip_tunnel
<tunnel_name 12>
config ip_tunnel manual
<tunnel_name 12> {ipv6address <ipv6networkaddr> | source <ipaddr> |
destination <ipaddr>}(1)
config ip_tunnel 6to4
<tunnel_name 12> {ipv6address <ipv6networkaddr> | source <ipaddr >}(1)
config ip_tunnel isatap
<tunnel_name 12> {ipv6address <ipv6networkaddr> | source <ipaddr>}(1)
show ip_tunnel
{<tunnel_name 12>}
enable ip_tunnel
{<tunnel_name 12>}
disable ip_tunnel
{<tunnel_name 12>}
Each command is listed, in detail, in the following sections.
create ip_tunnel
Purpose
Used to create an IPv6 tunnel interface.
Syntax
create ip_tunnel < tunnel_name 12>
Description
The create ip_tunnel command is used to create an IPv6 tunnel interface on the Switch.
Parameters
<tunnel_name 12>
- IPv6 Tunnel interface name, maximum of 12 characters.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create an IPv6 tunnel interface (Tunnel name is “tn2”.):
DGS-3627:admin# create ip_tunnel tn2
Command: create ip_tunnel tn2
Success.
DGS-3627:admin#
Page 379 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
375
delete ip_tunnel
Purpose
Used to delete an IPv6 tunnel interface.
Syntax
delete ip_tunnel < tunnel_name 12>
Description
The delete ip_tunnel command is used to delete a specific IPv6 tunnel on the switch.
Parameters
<tunnel_name 12>
- IPv6 Tunnel interface name, maximum of 12 characters.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete an IPv6 tunnel interface (Tunnel name is “tn2”):
DGS-3627:admin# delete ip_tunnel tn2
Command: delete ipif tunnel tn2
Success.
DGS-3627:admin#
config ip_tunnel manual
Purpose
This command is used to configure an IPv6 manual tunnel.
Syntax
config ip_tunnel manual <tunnel_name 12> {ipv6address <ipv6networkaddr> | source
<ipaddr> | destination <ipaddr>}(1)
Description
The config ip_tunnel manual command is used to configure an existing IPv6 tunnel as an
IPv6 manual tunnel on the switch. If this tunnel has previously been configured in another
mode, the tunnel’s information will still exist in the database. However, whether the tunnel’s
former information is invalid or not, will depend on the current mode.
IPv6 Manual tunnels are simple point-to-point tunnels that can be used within a site or
between sites.
Parameters
< tunnel_name 12>
- IPv6 Tunnel interface name, maximum of 12 characters.
ipv6address <ipv6networkaddr>
- The IPv6 address assigned to this IPv6 tunnel interface.
IPv6 processing would be enabled on this IPv6 tunnel interface when an IPv6 address is
configured. This IPv6 address is not connected with tunnel source or destination IPv4
address.
source <ipaddr>
- The source IPv4 address of this IPv6 tunnel interface. It is used as the
source address for packets in this IPv6 tunnel.
destination <ipaddr>
- The destination IPv4 address of this IPv6 tunnel interface. It is used as
the destination address for packets in this IPv6 tunnel. It is not required for 6to4 and ISATAP
tunnels.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure an IPv6 manual tunnel (Tunnel name is “tn2”, Tunnel source IPv4 address is 1.0.0.1, Tunnel destination
IPv4 address is 1.0.0.2, Tunnel IPv6 address is 2001::1/64):
Page 380 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
376
DGS-3627:admin# config ip_tunnel manual tn2 source 1.0.0.1 destination 1.0.0.2
Command: config ip_tunnel manual tn2 source 1.0.0.1 destination 1.0.0.2
Success.
DGS-3627:admin# config ip_tunnel manual tn2 ipv6address 2001::1/64
Command: config ip_tunnel manual tn2 ipv6address 2001::1/64
Success.
DGS-3627:admin#
config ip_tunnel 6to4
Purpose
Used to configure an IPv6 6to4 tunnel.
Syntax
config ip_tunnel 6to4 <tunnel_name 12> {ipv6address <ipv6networkaddr> | source
<ipaddr >}(1)
Description
The config ip_tunnel 6to4 command is used to configure an existing IPv6 tunnel as an IPv6
6to4 tunnel on the switch. If this tunnel has previously been configured in another mode, the
tunnel’s information will still exist in the database. However, whether the tunnel’s former
information is invalid or not will depend on the current mode. A maximum of one IPv6 6to4
tunnel can exist on the system.
IPv6 6to4 tunnels are point-to-multipoint tunnels that can be used to connect isolated IPv6
sites. Each IPv6 site has at least one connection to a shared IPv4 network and this IPv4
network could be the global Internet or a corporate backbone. The key requirement is that
each site has a globally unique IPv4 address, which is used to construct a 48-bit globally
unique 6to4 IPv6 prefix (It starts with the prefix 2002::/16).
Parameters
<tunnel_name 12>
- IPv6 Tunnel interface name, maximum of 12 characters.
ipv6address <ipv6networkaddr>
- The IPv6 address assigned to this IPv6 tunnel interface.
IPv6 processing would be enabled on this IPv6 tunnel interface when an IPv6 address is
configured. The 32 bits following the initial 2002::/16 prefix correspond to an IPv4 address
assigned to the tunnel source.
source <ipaddr>
- The source IPv4 address of this IPv6 tunnel interface. It is used as the
source address for packets in this IPv6 tunnel. The tunnel destination IPv4
address is
extracted from the remote tunnel endpoint’s IPv6 6to4 address that starts with the prefix
2002::/16.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure an IPv6 6to4 tunnel (Tunnel name is “tn2”, Tunnel source IPv4 address is 10.0.0.1, Tunnel IPv6 address is
2002:a00:1::1/64):
DGS-3627:admin# config ip_tunnel 6to4 tn2 source 10.0.0.1
Command: config ip_tunnel 6to4 tn2 source 10.0.0.1
Success.
DGS-3627:admin# config ip_tunnel 6to4 tn2 ipv6address 2002:a00:1::1/64
Command: config ip_tunnel 6to4 tn2 ipv6address 2002:a00:1::1/64
Success.
DGS-3627:admin#

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top