Command Guide of MGSW-28240F
4.2.92 ipv6 route
Command:
Ipv6 route <X:X:X:X::X/<0-128>> {<X:X:X:X::X>, interface vlan <vlan_id>
<FE80::X:X:X >}
ipv6
IPv6 configuration commands
route
Add IP route
<X:X:X:X::X/<0-128>>
IPv6 prefix x:x::y/z
<X:X:X:X::X>
IPv6 unicast address (except link-local address) of next-hop
interface
Select an interface to configure
vlan
VLAN Interface
<vlan_id>
VLAN identifier(s): VID
<FE80::X:X:X>
IPv6 link-local address of next-hop
Default:
None
Usage Guide:
To configure
static route
for
IPv6
Example 1:
To configure
static route
as
below table
for
IPv6.
Switch# configure terminal
Switch (config)#
ipv6 route 2001::7788/128 2002::1
Example 2:
To configure
static route
as
below table
for
IPv6.
Switch# configure terminal
Switch (config)#
ipv6 route 2001::7788/128 interface vlan 1 fe80::1
-208-