OSPF Cisco IOS/NSSA

From Teknologisk videncenter
< OSPF Cisco IOS
Revision as of 15:05, 18 December 2013 by Rael (talk | contribs) (R1 & R2)
Jump to: navigation, search

The following topology is configured on GNS3 on Cisco 7200 Routers

Setup

The Routers have the following configuration:

R1 & R2

Configuration
R1 R2
R1#<input>show run</input>
hostname R1
!
ipv6 unicast-routing
!
interface Loopback0
 ipv6 address 2001::1/128
 ipv6 ospf 1 area 0
!
interface FastEthernet0/0
 ipv6 enable
 ipv6 ospf 1 area 0
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 ipv6 enable
 ipv6 ospf 1 area 1
!
interface FastEthernet1/0
 ipv6 enable
 ipv6 ospf 1 area 0
!
!
ipv6 router ospf 1
 router-id 0.0.0.1
 log-adjacency-changes
 area 1 nssa
!
end

R1#
R2#<input>show run</input>
hostname R2
!
ipv6 unicast-routing
!
interface Loopback0
 ipv6 address 2001::2/128
 ipv6 ospf 1 area 0
!
interface FastEthernet0/0
 ipv6 enable
 ipv6 ospf 1 area 0
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 ipv6 enable
 ipv6 ospf 1 area 2
!
interface FastEthernet1/0
 ipv6 enable
 ipv6 ospf 1 area 0
!
ipv6 router ospf 1
 router-id 0.0.0.2
 log-adjacency-changes
 area 2 nssa
!
end

R2#

R3 & R4

Configuration
R3 R4
R3#<input>show run</input>
hostname R3
!
ipv6 unicast-routing
!
interface Loopback0
 ipv6 address 2001::3/128
 ipv6 ospf 1 area 1
!
interface FastEthernet0/0
 ipv6 enable
 ipv6 ospf 1 area 1
!
ipv6 route ::/0 Loopback0
ipv6 router ospf 1
 router-id 0.0.0.3
 log-adjacency-changes
 area 1 nssa default-information-originate metric-type 1
!
end

R3#
R4#<input>show run</input>
hostname R4
!
ipv6 unicast-routing
!
interface Loopback0
 ipv6 address 2001::4/128
 ipv6 ospf 1 area 2
!
interface FastEthernet0/0
 ipv6 enable
 ipv6 ospf 1 area 2
!
ipv6 route ::/0 Loopback0
ipv6 router ospf 1
 router-id 0.0.0.4
 log-adjacency-changes
 area 2 nssa default-information-originate metric-type 1
!
end

R4#

R5