Wednesday, 28 December 2016

DC ospf 006

Topo:


DC-1
on N7K3
Configure ospf with process id 1 .
Use Loopback 0 address as router ID.
Configure interface e2/7 in area 1 MTU 9100.
Make sure switch doesn't participate in DR/BDR election on WAN Link.
Advertise the following SVI into ospf .
Vlan 30
Vlan 40

on N7K4
Configure ospf with process id 1 .
Use Loopback 0 address as router ID.
Configure interface e2/7 in area 1 MTU 9100.
Make sure switch doesn't participate in DR/BDR election on WAN Link.
Advertise the following SVI into ospf .
Vlan 30
Vlan 40

On DC-2
on N7K3
Configure ospf with process id 1 .
Use Loopback 0 address as router ID.
Configure interface e2/7 in area 2 MTU 9100.
Make sure switch doesn't participate in DR/BDR election on WAN Link.
Advertise the following SVI into ospf .
Vlan 31
Vlan 41

on N7K4
Configure ospf with process id 1 .
Use Loopback 0 address as router ID.
Configure interface e2/7 in area 2 MTU 9100.
Make sure switch doesn't participate in DR/BDR election on WAN Link.
Advertise the following SVI into ospf .
Vlan 31
Vlan 41
!

nx-osv-3# sh run section ospf
show running-config | section ospf
feature ospf
  ip router ospf 1 area 0.0.0.1
  ip router ospf 1 area 0.0.0.1
  ip ospf network point-to-point
  ip router ospf 1 area 0.0.0.1
router ospf 1
  router-id 10.0.1.3
nx-osv-3# sh run int e2/7

!Command: show running-config interface Ethernet2/7
!Time: Sat Feb 20 11:50:47 2016

version 7.2(0)D1(1)

interface Ethernet2/7
  no switchport
  mtu 9100
  mac-address 0000.0000.002f
  ip address 10.4.1.1/30
  ip ospf network point-to-point
  ip router ospf 1 area 0.0.0.1
  no shutdown

nx-osv-3# sh run int vlan 30

!Command: show running-config interface Vlan30
!Time: Sat Feb 20 11:50:57 2016

version 7.2(0)D1(1)

interface Vlan30
  no shutdown
  ip address 10.1.30.124/25
  ip router ospf 1 area 0.0.0.1
  hsrp 0
    preempt
    priority 255
    ip 10.1.30.126

nx-osv-3# sh run int vlan 40

!Command: show running-config interface Vlan40
!Time: Sat Feb 20 11:51:03 2016

version 7.2(0)D1(1)

interface Vlan40
  no shutdown
  ip address 10.1.40.252/24
  ip router ospf 1 area 0.0.0.1
  hsrp 0
    preempt
    priority 255
    ip 10.1.40.254

!
 feature ospf

nx-osv-7(config)# router ospf 1
nx-osv-7(config-router)# router-id 10.0.2.3
nx-osv-7(config-router)# int e2/7
nx-osv-7(config-if)# ip ospf network point-to-point
nx-osv-7(config-if)# ip router ospf 1 area 2
nx-osv-7(config-if)# mtu 9100
nx-osv-7(config-if)# int vl 31
nx-osv-7(config-if)# ip router ospf 1 area 2
nx-osv-7(config-if)# int vl 41
nx-osv-7(config-if)# ip router ospf 1 area 2
nx-osv-7(config-if)#
!
nx-osv-8(config)# router ospf 1
nx-osv-8(config-router)# sh ip int brief
IP Interface Status for VRF "default"(1)
Interface            IP Address      Interface Status
Vlan31               10.1.31.125     protocol-down/link-down/admin-up
Vlan41               10.1.41.253     protocol-down/link-down/admin-up
Lo0                  10.0.2.4        protocol-up/link-up/admin-up
Eth2/1               10.4.1.13       protocol-up/link-up/admin-up
nx-osv-8(config-router)# router-id 10.0.2.4
nx-osv-8(config-router)# int e2/7
nx-osv-8(config-if)# ip ospf network point-to-point
nx-osv-8(config-if)# ip router ospf 1 area 2
nx-osv-8(config-if)# m
mac           mac-address   mdix          medium        mtu
nx-osv-8(config-if)# mt 9100
nx-osv-8(config-if)# int vl 31
nx-osv-8(config-if)# ip router ospf 1 area 2
nx-osv-8(config-if)# int vl 41
nx-osv-8(config-if)# ip router ospf 1 area 2
nx-osv-8(config-if)#
!
Use :
sh ip ospf nei
&
sh ip ospf route
to verify
!

No comments:

Post a Comment