Wednesday 28 December 2016

Basic Vlans Fabricpath Vlans & L3 interfaces 003


Full topology



             +-------------------
DC-1      Core                |  
             |           +--------+  
             |                |      
             |                |          
             |                |    
             |                |          
             |                |          
             |                |          
      10.4.1.1/30   10.4.1.5/30      
             |               |          
             |               |          
           +-+----+   +--+----+      
           |N7K-3      N7K-4  |      
           |           |      
           +-+-+--+   +--+-+--+      
       Part of topology:

AT DC-1

1 AT Data-Center One do create these vlans:
N7K1
vlan 80
name DCI-SITE
vlan 90
name DCI-DATA
!
N7K3
vlan 30
name iSCSI
vlan 40
name ESX-MGMT
vlan 50
name DMZ
vlan 70
name VM-DATA
vlan 80
name DCI-SITE
vlan 90
name DCI-DATA
!
On DC-1 Side
N7K1:
vlan 80
name DC1-SITE
vlan 90
name DC1-DATA
N7K3
vlan 30
name iSCSI
vlan 40
name ESX-MGMT
vlan 50
name DMZ
vlan 70
vlan 80
name DC1-SITE
vlan 90
name DC1-DATA

N7K4
vlan 30
name iSCSI
vlan 40
name ESX-MGMT
vlan 50
name DMZ
vlan 70
name VM-DATA
!
1.2 Data Centre 2 - Configure CE & fabric path vlans
vlan 31
name FP-DATA1
mode fabricpath
vlan 41
name FP-DATA2
mode fabricpath
vlan 80
name DCI-SITE
vlan 90
name DCI-DATA
!
N7K-1 --> 80,90
N7K-3 --> 31,41,80,90
N7K-4 --> 31,41
N5K-1 --> 31,41
N5K-2 --> 31,41

1.3 enable L3 on DC1 as per diagram assing ip address to that.
assign ip address :
N7K-3 e2/7 10.4.1.1/30
N7K-4 e2/7 10.4.1.5/30

1.4 Implement NXOS L2 Functionality:
Configure L2 LACP port-channel between N7K-3 & N7K-4, also configure this
port-channel as a trunk port with jumbo MTU . Prune vlan 50,80,90 from Po100.
!
nx-osv-3(config)# vlan 30
nx-osv-3(config-vlan)# name iSCSI
nx-osv-3(config-vlan)# vlan 40
nx-osv-3(config-vlan)# name ESX-MGMT
nx-osv-3(config-vlan)# vlan 50
nx-osv-3(config-vlan)# name DMZ
nx-osv-3(config-vlan)# vlan 70
nx-osv-3(config-vlan)# vlan 80
nx-osv-3(config-vlan)# name DC1-SITE
nx-osv-3(config-vlan)# vlan 90
nx-osv-3(config-vlan)# name DC1-DATA

nx-osv-3(config-vlan)#
nx-osv-3(config-vlan)# int e2/7
nx-osv-3(config-if)# ip add 10.4.1.1/30
nx-osv-3(config-if)# no sh

on DC2-
 install feature-set fabricpath
feature-set fabricpath
nx-osv-9(config)# vlan 31
nx-osv-9(config-vlan)# name FP-DATA1
nx-osv-9(config-vlan)# mode fabricpath
nx-osv-9(config-vlan)# vlan 41
nx-osv-9(config-vlan)# name FP-DATA2
nx-osv-9(config-vlan)# mode fabricpath
!
nx-osv-9(config-vlan)# sh vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active
31   FP-DATA1                         active
41   VLAN0041                         active

VLAN Type         Vlan-mode
---- -----        ----------
1    enet         CE
31   enet         FABRICPATH
41   enet         CE

Remote SPAN VLANs
-------------------------------------------------------------------------------

Primary  Secondary  Type             P
!
nx-osv-3(config-vlan)# int e2/7
nx-osv-3(config-if)# ip add 10.4.1.1/30
nx-osv-3(config-if)# no sh
!
nx-osv-4(config-vlan)# int e2/7
nx-osv-4(config-if)# ip add 10.4.1.5/30
nx-osv-4(config-if)# no sh
!
nx-osv-3# ping 10.4.1.2
PING 10.4.1.2 (10.4.1.2): 56 data bytes
64 bytes from 10.4.1.2: icmp_seq=0 ttl=254 time=1.749 ms
64 bytes from 10.4.1.2: icmp_seq=1 ttl=254 time=1.182 ms
64 bytes from 10.4.1.2: icmp_seq=2 ttl=254 time=1.176 ms
64 bytes from 10.4.1.2: icmp_seq=3 ttl=254 time=1.287 ms
64 bytes from 10.4.1.2: icmp_seq=4 ttl=254 time=1.473 ms
!
nx-osv-4(config-if)# ping 10.4.1.6
PING 10.4.1.6 (10.4.1.6): 56 data bytes
64 bytes from 10.4.1.6: icmp_seq=0 ttl=254 time=1.703 ms
64 bytes from 10.4.1.6: icmp_seq=1 ttl=254 time=1.187 ms
64 bytes from 10.4.1.6: icmp_seq=2 ttl=254 time=1.283 ms
64 bytes from 10.4.1.6: icmp_seq=3 ttl=254 time=1.085 ms
64 bytes from 10.4.1.6: icmp_seq=4 ttl=254 time=1.131 ms

!


No comments:

Post a Comment