Difference between revisions of "OSPF Cisco IOS/NSSA"
From Teknologisk videncenter
m (→R1 & R2) |
m (→R3 & R4) |
||
Line 82: | Line 82: | ||
== R3 & R4== | == R3 & R4== | ||
+ | {| border="1" style="width:100%;" cellspacing="0" | ||
+ | |+ Configuration | ||
+ | |- bgcolor="lightgrey" | ||
+ | ! R3 | ||
+ | ! R4 | ||
+ | |- align="center" | ||
+ | |<source lang=cli> | ||
+ | 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# | ||
+ | </source> | ||
+ | |<source lang=cli> | ||
+ | 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# | ||
+ | </source> | ||
+ | |} | ||
+ | |||
== R5 == | == R5 == | ||
{{Source cli}} | {{Source cli}} |
Revision as of 15:04, 18 December 2013
The following topology is configured on GNS3 on Cisco 7200 Routers
The Routers have the following configuration:
R1 & R2
R1 | R2 |
---|---|
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#show run
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
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# |