1/20
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Rules for creating connected and local routes
1. Routers create IPv6 routes based on each unicast IPv6 address on an interface, as configured with the ipv6 address command, as follows:
A. The router creates a route for the
subnet(A connected route)
B. The router creates a host route
(/128 prefix length) for the router
IPv6 address (local interface)
2. Routers do not create routes based on the link-local address associated with the interface.
3. Routers remove the connected and local routes for an interface if the interface fails, and re-adds these routes when an interface is again in a working(up/up) state.
ipv6 route 2001:db8:1111:2::/64 s0/0/0
Statically creates a route to 2001:db8:1111:2::/64 out interface s0/0/0
show ipv6 route
Lists all IPv6 routes
show ipv6 route static
Lists only static ipv6 routes.
show ipv6 route {IPV6::ADDR}
Lists the route that the router would use when forwarding packets to a single address.
ipv6 route 2001:db8:1111:1::/64 2001:db8:1111:4::1
Creates a static route to 2001:db8:1111:1::/64 to the next hop address 2001:db8:1111:4::1
ipv6 route 2001:db8:1111:2::/64 s0/0/0 FE80::FF:FE00:2
Creates a static route to 2001:db8:1111:2::/64 using the link-local address of the next-hop route
(When using the link-local address of the next hop router, you must configure the outgoing interface as well.)
ipv6 route ::/0 s0/0/0
Creates a static default route out of interface s0/0/1
ipv6 router ospf 1
Defines a process id to allow the router to use OSPFv3.
(optionally, you can run the command "router-id 1.1.1.1" after creating the OSPFv3 process to manually create a router-id.)
ipv6 ospf {process-id} area {area-id}
ex. ipv6 ospf 1 area 0
Directly configures ospfv3 on an interface. (as opposed to the network command that is used to indirectly configure ospf on an interface for ospfv2)
Potential issue when configuring OSPFv3
If a router does not have an IPv4 address configured, then the router will not be able to automatically choose a router-id(uses the same rules as OSPFv2 for choosing a router-id).
This can easily be remedied with the router-id subcommand.
Steps to configure OSPFv3 on a router
1. ipv6 router ospf {process-id}
2. Ensure the router has a router-id. (Either by manually configuring it or by configuring an IPv4 address on the router)
3. ipv6 ospf {process-id} area {area-number} - Enables ospfv3 on an interface and sets the area number
passive-interface {TYPE_NUM}
ex. passive interface g0/0
ospfv3 subcommand>
Configures an interface to be passive.
show ipv6 ospf
Lists details about the OSPFv3 process.
show ipv6 protocols
Lists details about all sources of routing information
show ipv6 ospf interface
Lists details about OSPF enabled interfaces
show ipv6 ospf interface brief
Lists concise information about OSPFv3-enabled interfaces.
show ipv6 ospf neighbor
Lists details about ospfv3-enabled neighbors
show ipv6 ospf database
Lists the LSDB.
show ipv6 route ospf
Lists the OSPF-learned routes.