IPv6 routing configuration using the CLI
enable <ipv6addr-prefix> [next-
hop <value> ] [port <value> ] [vlan
<value> ] [tunnel <value> ]
info
preference <preference>
<ipv6addr-prefix> [next-hop
<value> ] [port <value> ] [vlan
<value> ] [tunnel <value> ]
160
Configuration — IPv6 Routing
Variable
Enables a static route.
• ipv6addr-prefix is the IP address and prefix for the
route destination as a string 0–46 characters.
• next-hop <value> is the IP address of the next-hop
router–the next router at which packets must arrive
on this route. The string length is 0–46 characters.
• port <value> is the slot/port number.
• vlan <value> is the VLAN ID in the range of 1–4094.
• tunnel <value> is the tunnel ID value in the range of
1–2147477248. When you select a tunnel, you must
provide the VLAN, port, and next hop. You must
configure an IPv6 tunnel first.
Displays characteristics of the created static route.
Modifies static route preference.
• preference configures the route preference in the
range of 1–255.
• ipv6addr-prefix is the IP address and prefix for the
route destination as a string 0–46 characters.
• next-hop <value> is the IP address of the next-hop
router–the next router at which packets must arrive
on this route. The string length is 0–46 characters.
• port <value> is the slot/port number.
• vlan <value> is the VLAN ID in the range of 1–4094.
• tunnel <value> is the tunnel ID value in the range of
1-5000. When you select a tunnel, you must provide
the VLAN, port, and next hop. You must configure
an IPv6 tunnel before you enter this value.
Important:
A black hole route is a route with an invalid next hop,
so the switch drops data packets destined to this
network. When you specify a route preference, be
sure that you configure the preference value
appropriately so that when the black hole route is
used, it is elected as the best route.
Value
November 2010