beautypg.com

Show ipv6 route – LevelOne GTL-2691 User Manual

Page 1455

background image

C

HAPTER

49

| IP Routing Commands

Global Routing Configuration

– 1455 –

If both static and dynamic paths have the same lowest cost, the first

route stored in the routing table, either statically configured or

dynamically learned via a routing protocol, will be used.

Static routes are included in RIP and OSPF updates periodically sent by

the router if this feature is enabled by the OSPFv3

redistribute

command (see

page 1524

).

E

XAMPLE

This example forwards all traffic for subnet 2001::/64 to the next hop

router 2001:DB8:2222:7272::254, using the default metric of 1.

Console(config)#ipv6 route 2001::/64 2001:DB8:2222:7272::254

Console(config)#

R

ELATED

C

OMMANDS

show ip route summary (1450)

show ipv6 route

This command displays information in the Forwarding Information Base

(FIB).

S

YNTAX

show ipv6 route [ipv6-address[/prefix-length] | database |

interface [tunnel tunnel-number | vlan vlan-id] | local | ospf |

rip | static]
ipv6-address - A full IPv6 address including the network prefix and

host address bits.
prefix-length - A decimal value indicating how many contiguous bits

(from the left) of the address comprise the prefix (i.e., the network

portion of the address).
database – All known routes, including inactive routes.
interface – Displays all routes that be accessed through this

interface.
local – Displays all entries for destinations attached directly to this

router.
ospf – Displays external routes imported from the Open Shortest

Path First (OSPF) protocol into this routing domain.
rip – Displays all entries learned through the Routing Information

Protocol (RIP).
static – Displays all static entries.
tunnel-number - Tunnel interface identifier. (Range: 1-16)
vlan-id - VLAN ID. (Range: 1-4093)