Pustaka Taratsa

Baca teks (EPUB): IPv6: Cisco: OSPF Howto

1 bagian

Teks ini diambil langsung dari berkas EPUB; tata letak dan gambar tidak disertakan. Untuk tampilan lengkap, silakan merujuk pada dokumen asli.

Daftar isi
  1. IPv6: Cisco: OSPF Howto
  2. Configuring the OSPFv3 Router Process
  3. Configuring the IPv6 Address Family in OSPFv3
  4. Configuring the IPv4 Address Family in OSPFv3
  5. Configuring Route Redistribution in OSPFv3
  6. Enabling OSPFv3 on an Interface
  7. Defining an OSPFv3 Area Range
  8. Configuring the OSPFv3 Max-Metric Router LSA
  9. Contoh
  10. Stub Router
  11. ABR1 Router
  12. ASBR Router
  13. External Router
  14. Referensi
  15. Pranala Menarik

IPv6: Cisco: OSPF Howto

Sumber: https://onnocenter.or.id/wiki/index.php/IPv6:_Cisco:_OSPF_Howto

Configuring the OSPFv3 Router Process

enable
configure terminal
  router ospfv3 [process-id]
  area area-ID [default-cost | nssa | stub]
  auto-cost reference-bandwidth Mbps
  bfd all-interfaces
  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]
  ignore lsa mospf
  interface-id snmp-if-index
  log-adjacency-changes [detail]
  passive-interface [default | interface-type interface-number]
  queue-depth {hello | update} {queue-size | unlimited}
  router-id router-id
ipv6 router ospf 1
 router-id 10.11.11.1
 area 1 range 2001:DB8::/48

Configuring the IPv6 Address Family in OSPFv3

enable
configure terminal
  router ospfv3 [process-id]
  address-family ipv6 unicast
  area area-ID range ipv6-prefix / prefix-length
  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]
  default-information originate [always ] metric metric-value | metric-type type-value | route-map map-name
  default-metric metric-value
  distance distance
  distribute-list prefix-list list-name {in [interface-type interface-number] | out routing-process [as-number]}
  maximum-paths number-paths
  summary-prefix prefix [not-advertise | tag tag-value] 

Configuring the IPv4 Address Family in OSPFv3

enable
configure terminal
  router ospfv3 [process-id]
  address-family ipv4 unicast
  area area-id range ip-address ip-address-mask [advertise | not-advertise] [cost cost]
  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]
  default-information originate [always] metric metric-value | metric-type type-value | route-map map-name
  default-metric metric-value
  distance distance
  distribute-list prefix-list list-name {in [interface-type interface-number] | out routing-process [as-number]}
  maximum-paths number-paths
  summary-prefix prefix [not-advertise | tag tag-value] 

Configuring Route Redistribution in OSPFv3

enable
configure terminal
  router ospfv3 [process-id]
  address-family ipv6 unicast
  redistribute source-protocol [process-id] [options] 

Enabling OSPFv3 on an Interface

enable
configure terminal
  interface type number
  #  Do one of the following:
  #
  ospfv3 process-id area area-ID {ipv4 | ipv6} [instance instance-id]
  ipv6 ospf process-id area area-id [instance instance-id]

Defining an OSPFv3 Area Range

enable
configure terminal
  ipv6 router ospf process-id
  area area-id range ipv6-prefix / prefix-length [ advertise | not-advertise] [cost cost] 

Configuring the OSPFv3 Max-Metric Router LSA

enable
configure terminal
  router ospfv3 process-id
  max-metric router-lsa [external-lsa [max-metric-value]] [include-stub] [inter-area-lsas [max-metric-value]] [on-startup {seconds | wait-for-bgp}] [prefix-lsa] [stub-prefix-lsa [max-metric-value]] [summary-lsa [max-metric-value]]
  exit
show ospfv3 [process-id] max-metric 

Contoh

Stub Router

ipv6 unicast-routing
ipv6 cef
!
interface serial 0/0
 no ip address
 ipv6 enable
 ipv6 address 2001:ABAB::/64 eui-64
 ipv6 ospf 1 area 2
!
ipv6 router ospf 1
 router-id 3.3.3.3
 area 2 stub
!

ABR1 Router

ipv6 unicast-routing
ipv6 cef
!
interface FastEthernet0/0
 no ip address
 speed auto
 ipv6 address 2003::1/124
 ipv6 enable
 ipv6 ospf 1 area 0
!
interface Serial0/0
 no ip address
 ipv6 address 2002:ABAB::/64 eui-64
 ipv6 enable
 ipv6 ospf 1 area 2
!
ipv6 router ospf 1
 router-id 1.1.1.1
 area 2 stub no-summary
!

ASBR Router

ipv6 unicast-routing
ipv6 cef
!
interface FastEthernet0/0
 no ip address
 ipv6 address 2003::2/124
 ipv6 enable
 ipv6 ospf 1 area 0
!
interface Serial0/0
 no ip address
 ipv6 address 2003::1:1/124
 ipv6 enable
 ipv6 rip EXT enable
!
ipv6 router ospf 1
 router-id 2.2.2.2
 default-metric 25
 redistribute rip EXT metric-type 1 include-connected
!
ipv6 router rip EXT
 redistribute ospf 1 match internal external 1 external 2 include-connected
!

External Router

ipv6 unicast-routing
ipv6 cef
!
interface Loopback0
 no ip address
 ipv6 address 2004:ABAB::/64 eui-64
 ipv6 enable
 ipv6 rip EXT enable
!
interface Serial0/0
 no ip address
 ipv6 address 2003::1:2/124
 ipv6 enable
 ipv6 rip EXT enable
!
ipv6 router rip EXT

Referensi

Pranala Menarik