IPv6 Routing Protocol Configurations: Difference between revisions
RottenJeeves (talk | contribs) (Created page with "'''Setting up IPv6 protocols.''' ''All commands include an example address/es and router name/s.'' '''IPv6 ROUTING TYPES''' • Static • RIPng • IS-IS for IPv6 • O...") |
RottenJeeves (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
==Static Routing== | |||
{| class="wikitable" | |||
|- | |||
! Command | |||
! Description | |||
|- | |||
| '''ipv6 route''' ''ipv6-prefix/prefix-length'' | |||
{''ipv6-address'' | ''interface-type interface-number'' | |||
[''ipv6-address'']} [''administrative-distance''] | |||
[''administrative-multicast-distance'' | '''''unicast''''' | | |||
''' | '''''multicast'''''] ['''''tag''''' ''tag''] | ||
'''Example:''' | |||
Router(config)# ipv6 route ::/0 serial 2/0 | |||
| Configures a static IPv6 route | |||
*A static default IPv6 route is being configured on a | |||
serial interface. | |||
*See the syntax examples that immediately follow this | |||
table for specific uses of the ipv6 route command for | |||
configuring static routes. | |||
|} | |||
====Summary Steps==== | |||
#'''enable''' | |||
#'''configure terminal''' | |||
#'''ipv6 route''' ''ipv6-prefix/prefix-length'' {''ipv6-address'' | ''interface-type interface-number'' | |||
[''ipv6-address'']} [''administrative-distance''] [''administrative-multicast-distance'' | '''''unicast''''' | '''''multicast'''''] | |||
['''''tag''''' ''tag''] | |||
==RIPng== | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 27: | Line 43: | ||
! Description | ! Description | ||
|- | |- | ||
| | | '''ipv6 unicast-routing''' | ||
'''Example:''' | |||
| | Router(config)# ipv6 unicast-routing | ||
| Enables the forwarding of IPv6 unicast datagrams | |||
|- | |- | ||
| | | '''ipv6 rip''' ''name'' '''enable''' | ||
'''Example:''' | |||
| | Router(config-if)# ipv6 rip process1 enable | ||
| Enables the specified IPv6 RIP routing process on an | |||
interface | interface | ||
| | |- | ||
|'''maximum-paths''' ''number-paths'' | |||
'''Example:''' | |||
Router(config-router)# maximum-paths 1 | |||
|(Optional) Defines the maximum number of equal-cost | |||
routes that IPv6 RIP can support | |||
*The number-paths argument is an integer from 1 to 64. | |||
The default for RIP is four paths. | |||
|- | |- | ||
|'''ipv6 router rip''' ''word'' | |||
'''Example:''' | |||
Router(config)# ipv6 router rip process1 | |||
|Configures an IPv6 RIP routing process and enters router | |||
configuration mode for the IPv6 RIP routing process. | |||
*Use the word argument to identify a specific IPv6 RIP | |||
routing process | |||
|- | |- | ||
| | |'''ipv6 rip''' ''name'' '''default-information''' {'''only''' \ | ||
'''originate'''} ['''metric''' ''metric-value''] | |||
'''Example:''' | |||
Router(config-if)# ipv6 rip process1 | |||
default-information originate | |||
|(Optional) Originates the IPv6 default route (::/0) into the | |||
| | specified RIP routing process updates sent out of the | ||
specified interface. | |||
|} | |} | ||
''' | ====Summary Steps==== | ||
#'''enable''' | |||
#'''configure terminal''' | |||
#'''ipv6 router rip''' ''word'' | |||
#'''maximum-paths''' ''number-paths'' | |||
#'''exit''' | |||
#'''interface''' ''type number'' | |||
#'''ipv6 rip''' ''name'' '''default-information''' {'''only''' | '''originate'''} ['''metric''' ''metric-value''] | |||
==IS-IS== | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 104: | Line 126: | ||
interface. | interface. | ||
configuration mode | configuration mode | ||
|} | |||
==OSPFv3== | |||
{| class="wikitable" | |||
|- | |||
! Command | |||
! Description | |||
|- | |- | ||
|'''router ospfv3''' ''[process-id]'' | |||
'''Example:''' | |||
Router(config)# router ospfv3 1 | |||
|Enables OSPFv3 router configuration mode for the IPv4 or | |||
IPv6 address family. | |||
|- | |||
|'''area''' area-ID ['''default-cost''' | '''nssa''' | '''stub'''] | |||
'''Example:''' | |||
Router(config-router)# area 1 | |||
|Configures the OSPFv3 area. | |||
|- | |||
|'''auto-cost reference-bandwidth''' ''Mbps'' | |||
'''Example:''' | |||
Router(config-router)# auto-cost | |||
reference-bandwidth 1000 | |||
|Controls the reference value OSPFv3 uses when calculating | |||
metrics for interfaces in an IPv4 OSPFv3 process. | |||
|- | |||
|'''bfd all-interfaces''' | |||
'''Example:''' | |||
Router(config-router)# bfd all-interfaces | |||
|Enables BFD for an OSPFv3 routing process | |||
|- | |||
|'''default''' {'''area''' area-ID ['''range''' ipv6-prefix | | |||
'''virtual-link''' router-id]} ['''default-information | |||
originate''' ['''always''' | '''metric''' | '''metric-type''' | | |||
'''route-map'''] | '''distance''' | '''distribute-list''' | |||
prefix-list prefix-list-name {'''in''' | '''out'''} | |||
[interface] | '''maximum-paths''' paths | | |||
redistribute protocol | '''summary-prefix''' | |||
ipv6-prefix] | |||
Example: | |||
Router(config-router)# default area 1 | |||
|Returns an OSPFv3 parameter to its default value. | |||
|- | |||
|'''ignore lsa mospf''' | |||
'''Example:''' | |||
Router(config-router)# ignore lsa mospf | |||
|Suppresses the sending of syslog messages when the router | |||
receives LSA Type 6 multicast OSPFv3 packets, which are | |||
unsupported. | |||
|- | |||
|'''interface-id snmp-if-index''' | |||
'''Example:''' | |||
Router(config-router)# interface-id | |||
snmp-if-index | |||
|Configures OSPFv3 interfaces with Simple Network | |||
Management Protocol (SNMP) MIB-II interface Index | |||
(ifIndex) identification numbers in IPv4 and IPv6. | |||
|- | |||
|'''log-adjacency-changes''' [detail] | |||
'''Example:''' | |||
Router(config-router)# log-adjacency-changes | |||
|Configures the router to send a syslog message when an | |||
OSPFv3 neighbor goes up or down. | |||
|- | |||
|'''passive-interface''' ['''default''' interface-type | |||
interface-number] | |||
'''Example:''' | |||
Router(config-router)# passive-interface | |||
default | |||
|Suppresses sending routing updates on an interface when | |||
using an IPv4 OSPFv3 process. | |||
|- | |||
|'''queue-depth''' {'''hello update'''} {queue-size | |||
'''unlimited'''} | |||
'''Example:''' | |||
Router(config-router)# queue-depth update 1500 | |||
|Configures the number of incoming packets that the IPv4 | |||
OSPFv3 process can keep in its queue. | |||
|- | |||
|'''router-id''' {router-id} | |||
'''Example:''' | |||
Router(config-router)# router-id 10.1.1.1 | |||
|Use a fixed router ID. | |||
|} | |||
'''Summary Steps:''' | |||
1. enable | |||
2. configure terminal | |||
3. router ospfv3 [process-id] | |||
4. address-family ipv6 unicast | |||
5. area area-ID range ipv6-prefix/prefix-length | |||
6. default {area area-ID [range ipv6-prefix | virtual-link router-id]} [default-information originate | |||
[always | metric | metric-type | route-map] | distance | distribute-list prefix-list prefix-list-name | |||
{in | out} [interface] | maximum-paths paths | redistribute protocol | summary-prefix | |||
ipv6-prefix] | |||
7. default-information originate [always | metric metric-value | metric-type type-value | route-map | |||
map-name] | |||
8. default-metric metric-value | |||
9. distance distance | |||
10. distribute-list prefix-list list-name {in [interface-type interface-number] | out routing-process | |||
[as-number]} | |||
11. maximum-paths number-paths | |||
12. summary-prefix prefix [not-advertise | tag tag-value] | |||
==EIGRP== | |||
{| class="wikitable" | |||
|- | |||
! Command | |||
! Description | |||
|- | |||
|'''ipv6 unicast-routing''' | |||
'''Example:''' | |||
Router(config)# ipv6 unicast-routing | |||
|Enables the forwarding of IPv6 unicast datagrams | |||
|- | |||
|'''ipv6 eigrp''' ''as-number'' | |||
'''Example:''' | |||
Router(config-if)# ipv6 eigrp 1 | |||
|Enables EIGRP for IPv6 on a specified interface | |||
|- | |||
|'''ipv6 router eigrp''' ''as-number'' | |||
'''Example:''' | |||
Router(config-if)# ipv6 router eigrp 1 | |||
|Enters router configuration mode and creates an EIGRP | |||
IPv6 routing process | |||
|- | |||
|'''show ipv6 eigrp''' [''as-number''] '''interfaces''' [''type | |||
number''] ['''detail'''] | |||
'''Example:''' | |||
Router# show ipv6 eigrp interfaces | |||
|Displays information about interfaces configured for | |||
EIGRP for IPv6. | |||
|} | |||
====Summary Steps==== | |||
#'''enable''' | |||
#'''configure terminal''' | |||
#'''ipv6 unicast-routing''' | |||
#'''interface''' ''type number'' | |||
#'''no shut''' | |||
#'''ipv6 enable''' | |||
#'''ipv6 eigrp''' ''as-number'' | |||
#'''ipv6 router eigrp''' ''as-number'' | |||
#'''eigrp router-id''' ''ip-address'' | |||
#'''exit''' | |||
#'''show ipv6 eigrp''' [''as-number''] '''interfaces''' [''type number''] ['''detail'''] |
Revision as of 23:00, 9 October 2011
Static Routing
Command | Description |
---|---|
ipv6 route ipv6-prefix/prefix-length
{ipv6-address | interface-type interface-number [ipv6-address]} [administrative-distance] [administrative-multicast-distance | unicast | multicast] [tag tag]
Router(config)# ipv6 route ::/0 serial 2/0 |
Configures a static IPv6 route
serial interface.
table for specific uses of the ipv6 route command for configuring static routes. |
Summary Steps
- enable
- configure terminal
- ipv6 route ipv6-prefix/prefix-length {ipv6-address | interface-type interface-number
[ipv6-address]} [administrative-distance] [administrative-multicast-distance | unicast | multicast] [tag tag]
RIPng
Command | Description |
---|---|
ipv6 unicast-routing
|
Enables the forwarding of IPv6 unicast datagrams |
ipv6 rip name enable
|
Enables the specified IPv6 RIP routing process on an
interface |
maximum-paths number-paths
|
(Optional) Defines the maximum number of equal-cost
routes that IPv6 RIP can support
The default for RIP is four paths. |
ipv6 router rip word
|
Configures an IPv6 RIP routing process and enters router
configuration mode for the IPv6 RIP routing process.
routing process |
ipv6 rip name default-information {only \
originate} [metric metric-value]
|
(Optional) Originates the IPv6 default route (::/0) into the
specified RIP routing process updates sent out of the specified interface. |
Summary Steps
- enable
- configure terminal
- ipv6 router rip word
- maximum-paths number-paths
- exit
- interface type number
- ipv6 rip name default-information {only | originate} [metric metric-value]
IS-IS
Command | Description |
---|---|
router isis area-tag
Example: Router(config)# router isis area2 |
Enables IS-IS for the specified IS-IS routing process, and
enters router configuration mode. |
net network-entity-title
Example: Router(config-router)# net 49.0001.0000.0000.000c.00 |
Configures an IS-IS network entity title (NET) for the
routing process. |
ipv6 router isis area-name
Example: Router(config-if)# ipv6 router isis area2 |
Enables the specified IPv6 IS-IS routing process on an
interface. configuration mode |
OSPFv3
Command | Description |
---|---|
router ospfv3 [process-id]
Example: Router(config)# router ospfv3 1 |
Enables OSPFv3 router configuration mode for the IPv4 or
IPv6 address family. |
nssa | stub]
Example: Router(config-router)# area 1 |
Configures the OSPFv3 area. |
auto-cost reference-bandwidth Mbps
Example: Router(config-router)# auto-cost reference-bandwidth 1000 |
Controls the reference value OSPFv3 uses when calculating
metrics for interfaces in an IPv4 OSPFv3 process. |
bfd all-interfaces
Example: Router(config-router)# bfd all-interfaces |
Enables BFD for an OSPFv3 routing process |
virtual-link router-id]} [default-information originate [always | metric | metric-type | route-map] | distance | distribute-list prefix-list prefix-list-name {in | out} [interface] | maximum-paths paths | redistribute protocol | summary-prefix ipv6-prefix] Example: Router(config-router)# default area 1 |
Returns an OSPFv3 parameter to its default value. |
ignore lsa mospf
Example: Router(config-router)# ignore lsa mospf |
Suppresses the sending of syslog messages when the router
receives LSA Type 6 multicast OSPFv3 packets, which are unsupported. |
interface-id snmp-if-index
Example: Router(config-router)# interface-id snmp-if-index |
Configures OSPFv3 interfaces with Simple Network
Management Protocol (SNMP) MIB-II interface Index (ifIndex) identification numbers in IPv4 and IPv6. |
log-adjacency-changes [detail]
Example: Router(config-router)# log-adjacency-changes |
Configures the router to send a syslog message when an
OSPFv3 neighbor goes up or down. |
passive-interface [default interface-type
interface-number] Example: Router(config-router)# passive-interface default |
Suppresses sending routing updates on an interface when
using an IPv4 OSPFv3 process. |
queue-depth {hello update} {queue-size
unlimited} Example: Router(config-router)# queue-depth update 1500 |
Configures the number of incoming packets that the IPv4
OSPFv3 process can keep in its queue. |
router-id {router-id}
Example: Router(config-router)# router-id 10.1.1.1 |
Use a fixed router ID. |
Summary Steps:
1. enable
2. configure terminal
3. router ospfv3 [process-id]
4. address-family ipv6 unicast
5. area area-ID range ipv6-prefix/prefix-length
6. default {area area-ID [range ipv6-prefix | virtual-link router-id]} [default-information originate [always | metric | metric-type | route-map] | distance | distribute-list prefix-list prefix-list-name {in | out} [interface] | maximum-paths paths | redistribute protocol | summary-prefix ipv6-prefix]
7. default-information originate [always | metric metric-value | metric-type type-value | route-map map-name]
8. default-metric metric-value
9. distance distance
10. distribute-list prefix-list list-name {in [interface-type interface-number] | out routing-process [as-number]} 11. maximum-paths number-paths
12. summary-prefix prefix [not-advertise | tag tag-value]
EIGRP
Command | Description |
---|---|
ipv6 unicast-routing
|
Enables the forwarding of IPv6 unicast datagrams |
ipv6 eigrp as-number
|
Enables EIGRP for IPv6 on a specified interface |
ipv6 router eigrp as-number
|
Enters router configuration mode and creates an EIGRP
IPv6 routing process |
show ipv6 eigrp [as-number] interfaces [type
number] [detail]
|
Displays information about interfaces configured for
EIGRP for IPv6. |
Summary Steps
- enable
- configure terminal
- ipv6 unicast-routing
- interface type number
- no shut
- ipv6 enable
- ipv6 eigrp as-number
- ipv6 router eigrp as-number
- eigrp router-id ip-address
- exit
- show ipv6 eigrp [as-number] interfaces [type number] [detail]