Wednesday, 28 December 2016

Data Center Interconnect (DCI) 012

!
You are now required to perform Data Center Interconnect between DC1 & DC2.
The WAN core is multicast enable, but not MPLS capable.
You are allowed to use DC1-N7K1 & DC2-N7K1 to assist you in this task.
Only vlan 90 is required to be extended between DC1 and DC2 and vlan 80 will
stay local to the DC.
You will not need to create additional vlan for this task.
You are allowed to use multicast address range of your choice to achieve this task.
The rp address is 20.0.0.1 pim sparse-mode is running in the WAN core.
To property identify site DC1 & site DC2, you are free to configure a site identifier of your choice.
!
Topology:


Configuration:

DC1-N7K1# sh run | in feature
feature ospf
feature otv
DC1-N7K1# sh opsf
              ^
% Invalid command at '^' marker.
DC1-N7K1# sh run ospf

!Command: show running-config ospf
!Time: Sun Mar  6 08:23:08 2016

version 7.2(0)D1(1)
feature ospf

router ospf 1
  router-id 10.0.1.1

interface loopback1
  ip router ospf 1 area 0.0.0.0

interface Ethernet2/2
  ip ospf network point-to-point
  ip router ospf 1 area 0.0.0.0


DC1-N7K1# shrun int e2/1-2
            ^
% Invalid command at '^' marker.
DC1-N7K1# sh run int e2/1-2

!Command: show running-config interface Ethernet2/1-2
!Time: Sun Mar  6 08:23:22 2016

version 7.2(0)D1(1)

interface Ethernet2/1
  switchport
  switchport mode trunk
  switchport trunk allowed vlan 80,90
  no shutdown

interface Ethernet2/2
  no switchport
  mtu 9100
  mac-address 0000.0000.001a
  ip address 10.4.1.18/30
  ip ospf network point-to-point
  ip router ospf 1 area 0.0.0.0
  ip igmp version 3
  no shutdown

DC1-N7K1#
DC1-N7K3# sh run | in feature
feature ospf
feature pim
feature interface-vlan
DC1-N7K3# sh run int e2/6-7

!Command: show running-config interface Ethernet2/6-7
!Time: Sun Mar  6 08:24:29 2016

version 7.2(0)D1(1)

interface Ethernet2/5
  switchport
  switchport mode trunk
  switchport trunk allowed vlan 80,90
  no shutdown
!
interface Ethernet2/6
  no switchport
  mac-address 0000.0000.0036
  ip address 10.4.1.17/30
  ip ospf network point-to-point
  ip router ospf 1 area 0.0.0.0
  ip pim sparse-mode
  ip igmp version 3
  no shutdown

interface Ethernet2/7
  no switchport
  mac-address 0000.0000.003b
  ip address 10.4.1.1/30
  ip ospf network point-to-point
  ip router ospf 1 area 0.0.0.0
  ip pim sparse-mode
  no shutdown
!
DC1-N7K3# sh run ospf

!Command: show running-config ospf
!Time: Sun Mar  6 08:24:51 2016

version 7.2(0)D1(1)
feature ospf

router ospf 1
  router-id 10.0.1.2

interface Vlan90
  ip router ospf 1 area 0.0.0.0

interface loopback1
  ip router ospf 1 area 0.0.0.0

interface Ethernet2/2
  ip ospf network point-to-point
  ip router ospf 1 area 0.0.0.0

interface Ethernet2/6
  ip ospf network point-to-point
  ip router ospf 1 area 0.0.0.0

interface Ethernet2/7
  ip ospf network point-to-point
  ip router ospf 1 area 0.0.0.0
!

version 7.2(0)D1(1)

interface Ethernet2/7
  no switchport
  mac-address 0000.0000.004a
  ip address 10.4.1.5/30
  ip ospf network point-to-point
  ip router ospf 1 area 0.0.0.0
  no shutdown

DC1-N7K4(config)# sh run ospf

!Command: show running-config ospf
!Time: Sun Mar  6 08:26:35 2016

version 7.2(0)D1(1)
feature ospf

router ospf 1
  router-id 10.0.1.4

interface loopback1
  ip router ospf 1 area 0.0.0.0

interface Ethernet2/7
  ip ospf network point-to-point
  ip router ospf 1 area 0.0.0.0

!
DC2-N7K1# sh run int e2/1-2

!Command: show running-config interface Ethernet2/1-2
!Time: Sun Mar  6 08:28:38 2016

version 7.2(0)D1(1)

interface Ethernet2/1
  switchport
  switchport mode trunk
  switchport trunk allowed vlan 80,90
  no shutdown

interface Ethernet2/2
  no switchport
  mtu 9100
  mac-address 0000.0000.0051
  ip address 10.4.1.22/30
  ip ospf network point-to-point
  ip router ospf 1 area 0.0.0.0
  ip igmp version 3
  no shutdown

!
DC2-N7K1# sh run ospf

!Command: show running-config ospf
!Time: Sun Mar  6 08:27:59 2016

version 7.2(0)D1(1)
feature ospf

router ospf 1
  router-id 10.0.2.1

interface loopback1
  ip router ospf 1 area 0.0.0.0

interface Ethernet2/2
  ip ospf network point-to-point
  ip router ospf 1 area 0.0.0.0

on DC2-N7K3
DC2-N7K3(config)# sh run int e2/1,e2/6-7

!Command: show running-config interface Ethernet2/1, Ethernet2/6-7
!Time: Sun Mar  6 08:29:25 2016

version 7.2(0)D1(1)

interface Ethernet2/1
  no switchport
  mac-address 0000.0000.0072
  ip address 10.4.1.9/30
  ip ospf network point-to-point
  ip router ospf 1 area 0.0.0.0
  ip pim sparse-mode
  no shutdown

interface Ethernet2/6
  switchport
  switchport mode trunk
  switchport trunk allowed vlan 80,90
  no shutdown

interface Ethernet2/7
  no switchport
  mac-address 0000.0000.0072
  ip address 10.4.1.21/30
  ip ospf network point-to-point
  ip router ospf 1 area 0.0.0.0
  ip pim sparse-mode
  ip igmp version 3
  no shutdown
!
DC2-N7K3(config)# sh run | in feature
feature ospf
feature pim
feature interface-vlan
!
DC2-N7K4(config)# sh run int e2/1

!Command: show running-config interface Ethernet2/1
!Time: Sun Mar  6 08:30:40 2016

version 7.2(0)D1(1)

interface Ethernet2/1
  no switchport
  mac-address 0000.0000.0081
  ip address 10.4.1.13/30
  ip ospf network point-to-point
  ip router ospf 1 area 0.0.0.0
  no shutdown
!
DC2-N7K3(config)# sh ip route ospf-1
IP Route Table for VRF "default"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>

10.0.1.1/32, ubest/mbest: 1/0
    *via 10.4.1.10, Eth2/1, [110/84], 01:01:43, ospf-1, intra
10.0.1.2/32, ubest/mbest: 1/0
    *via 10.4.1.10, Eth2/1, [110/44], 01:01:43, ospf-1, intra
10.0.1.4/32, ubest/mbest: 1/0
    *via 10.4.1.10, Eth2/1, [110/44], 01:01:43, ospf-1, intra
10.0.2.1/32, ubest/mbest: 1/0
    *via 10.4.1.22, Eth2/7, [110/41], 00:56:13, ospf-1, intra
10.0.2.4/32, ubest/mbest: 1/0
    *via 10.4.1.10, Eth2/1, [110/42], 00:50:41, ospf-1, intra
10.1.1.0/24, ubest/mbest: 1/0
    *via 10.4.1.10, Eth2/1, [110/42], 01:01:43, ospf-1, intra
10.1.2.0/24, ubest/mbest: 1/0
    *via 10.4.1.10, Eth2/1, [110/41], 01:01:43, ospf-1, intra
10.4.1.0/30, ubest/mbest: 1/0
    *via 10.4.1.10, Eth2/1, [110/43], 01:01:43, ospf-1, intra
10.4.1.4/30, ubest/mbest: 1/0
    *via 10.4.1.10, Eth2/1, [110/43], 01:01:43, ospf-1, intra
10.4.1.12/30, ubest/mbest: 1/0
    *via 10.4.1.10, Eth2/1, [110/41], 01:01:43, ospf-1, intra
10.4.1.16/30, ubest/mbest: 1/0
    *via 10.4.1.10, Eth2/1, [110/83], 01:01:43, ospf-1, intra
!
OTV Commands:

DC1-N7K1# sh ip mroute
IP Multicast Routing Table for VRF "default"

(*, 239.1.1.1/32), uptime: 00:44:57, otv ip
  Incoming interface: Ethernet2/2, RPF nbr: 10.4.1.18
  Outgoing interface list: (count: 1)
    Overlay1, uptime: 00:44:57, otv
!

DC1-N7K1# show ip igmp local-groups
IGMP Locally Joined Group Membership for VRF "default"
Group Address    Source Address   Type     Interface   Last Reported
239.1.1.1        *                Ronly    Eth2/2      00:01:06

!
DC1-N7K1# show otv overlay 1

OTV Overlay Information
Site Identifier 0000.0000.0101
Encapsulation-Format ip - gre

Overlay interface Overlay1

 VPN name            : Overlay1
 VPN state           : UP
 Extended vlans      : 90 (Total:1)
 Control group       : 239.1.1.1
 Data group range(s) : 232.1.1.0/24
 Broadcast group     : 239.1.1.1
 Join interface(s)   : Eth2/2 (10.4.1.18)
 Site vlan           : 80 (up)
 AED-Capable         : No (No Overlay Remote Adjacency up)
 Capability          : Multicast-Reachable
!
DC1-N7K1# sho otv vlan 90 detail

OTV Extended VLANs and Edge Device State Information (* - AED)
Legend: F - Forwarding B - Blocked

Legend:
(NA) - Non AED, (VD) - Vlan Disabled, (OD) - Overlay Down
(DH) - Delete Holddown, (HW) - HW: State Down
 (NFC) - Not Forward Capable

VLAN   Auth. Edge Device                     Vlan State                 Overlay
----   -----------------------------------   ----------------------       ------
-
  90                                         active(NFC)           Overlay1

       MRD packets originated: 84

show otv site
show otv route
show otv adjacency
show mac address-table
!

No comments:

Post a Comment