3-tier design/OSPFConfig

From Teknologisk videncenter
< 3-tier design
Revision as of 10:21, 12 November 2014 by Rael (talk | contribs) (Created page with "Example of a core switch <source lang=cli> HQC1#<input>show run</input> Building configuration... Current configuration : 1833 bytes ! <notice><-- output omitted --></notice> ! ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Example of a core switch

HQC1#<input>show run</input>
Building configuration...

Current configuration : 1833 bytes
!
<notice><-- output omitted --></notice>
!
<notice>ip routing</notice>
!
<notice>router ospf 1
 log-adjacency-changes
 network 10.0.0.0 0.0.0.3 area 0
 network 10.0.0.4 0.0.0.3 area 0
 network 10.0.1.0 0.0.0.3 area 0
 network 10.0.1.4 0.0.0.3 area 0
 network 10.0.1.8 0.0.0.3 area 0
 network 10.0.1.12 0.0.0.3 area 0</notice>
!

HQC1#<input>show ip ospf neighbor</input> 


Neighbor ID     Pri   State           Dead Time   Address         Interface
80.112.80.10      1   <notice>FULL/DR</notice>         00:00:34    10.0.0.2        FastEthernet0/1
10.255.0.1        1   <notice>FULL/DR</notice>         00:00:34    10.0.0.6        FastEthernet0/2
172.16.99.1       1   <notice>FULL/DR</notice>         00:00:34    10.0.1.2        FastEthernet0/3
172.16.99.2       1   <notice>FULL/DR</notice>         00:00:38    10.0.1.6        FastEthernet0/4
172.16.199.1      1   <notice>FULL/DR</notice>         00:00:33    10.0.1.10       FastEthernet0/5
172.16.199.2      1   <notice>FULL/DR</notice>         00:00:33    10.0.1.14       FastEthernet0/6
HQC1#<input>show ip route ospf</input>
     10.0.0.0/8 is variably subnetted, 17 subnets, 2 masks
O       10.0.0.8 [110/2] via 10.0.0.2, 00:36:51, FastEthernet0/1
O       10.0.0.12 [110/2] via 10.0.0.6, 00:36:51, FastEthernet0/2
O       10.0.2.0 [110/2] via 10.0.1.2, 00:36:51, FastEthernet0/3
O       10.0.2.4 [110/2] via 10.0.1.6, 00:12:32, FastEthernet0/4
O       10.0.2.8 [110/2] via 10.0.1.10, 00:36:51, FastEthernet0/5
O       10.0.2.12 [110/2] via 10.0.1.14, 00:36:51, FastEthernet0/6
O       10.1.255.0 [110/1001] via 10.0.0.2, 00:36:51, FastEthernet0/1
O E1    10.2.0.0 [110/22] via 10.0.0.6, 00:35:47, FastEthernet0/2
O E1    10.2.0.4 [110/22] via 10.0.0.6, 00:35:47, FastEthernet0/2
O       10.2.255.0 [110/1001] via 10.0.0.2, 00:36:51, FastEthernet0/1
O       10.255.0.0 [110/2] via 10.0.0.6, 00:36:51, FastEthernet0/2
<notice>     172.16.0.0/24 is subnetted, 6 subnets
O IA    172.16.10.0 [110/2] via 10.0.1.2, 00:36:41, FastEthernet0/3
                    [110/2] via 10.0.1.6, 00:12:32, FastEthernet0/4
O IA    172.16.20.0 [110/2] via 10.0.1.2, 00:36:41, FastEthernet0/3
                    [110/2] via 10.0.1.6, 00:12:32, FastEthernet0/4
O IA    172.16.99.0 [110/2] via 10.0.1.2, 00:36:41, FastEthernet0/3
                    [110/2] via 10.0.1.6, 00:12:32, FastEthernet0/4
O IA    172.16.110.0 [110/2] via 10.0.1.10, 00:36:51, FastEthernet0/5
                     [110/2] via 10.0.1.14, 00:36:41, FastEthernet0/6
O IA    172.16.120.0 [110/2] via 10.0.1.10, 00:36:51, FastEthernet0/5
                     [110/2] via 10.0.1.14, 00:36:41, FastEthernet0/6
O IA    172.16.199.0 [110/2] via 10.0.1.10, 00:36:51, FastEthernet0/5
                     [110/2] via 10.0.1.14, 00:36:41, FastEthernet0/6</notice>
     172.18.0.0/24 is subnetted, 3 subnets
O E1    172.18.10.0 [110/22] via 10.0.0.6, 00:35:47, FastEthernet0/2
O E1    172.18.20.0 [110/22] via 10.0.0.6, 00:35:47, FastEthernet0/2
O E1    172.18.99.0 [110/22] via 10.0.0.6, 00:35:47, FastEthernet0/2
HQC1#

Distribution switch

router ospf 1
 log-adjacency-changes
 passive-interface Vlan10
 passive-interface Vlan20
 passive-interface Vlan99
 network 10.0.1.0 0.0.0.3 area 0
 network 10.0.2.0 0.0.0.3 area 0
 network 172.16.10.0 0.0.0.255 area 1
 network 172.16.20.0 0.0.0.255 area 1
 network 172.16.99.0 0.0.0.255 area 1