Wednesday, 28 December 2016

3D View of Nexus Switches

3D View of Nexus Switches




Topo:

Config:

Configure N7K3, N7K4, N5K1, and N5K2 as follows so that IP connectivity is established between Server 3 and Server 4:
Create VLAN 10 on N7K3, N7K4, N5K1, and N5K2.
Assign VLAN 10 as the access VLAN for N5K1's connection to Server 3; Server 3 should use the IP address 10.0.0.1/24.
Assign VLAN 10 as the access VLAN for N5K2's connection to Server 4; Server 4 should use the IP address 10.0.0.2/24.
Statically set these links to 1Gbps on N5K1 and N5K2, respectively.
Configure 802.1Q Trunking between the switches as follows:
N5K1's links to N7K3 should all be trunks.
N5K2's links to N7K4 should all be trunks.
N7K3's links to N7K4 should all be trunks.
Edit the trunking allowed list so that only VLANs 1 and 10 will forward over these links.
Disable all other interconnections between the switches.
When complete, Server 3 and Server 4 should have IP connectivity to each other.

On Nexus NK7-3
NK7-3(config)#
NK7-3(config)# int e2/2
NK7-3(config-if)# no sh
NK7-3(config-if)# switchport
NK7-3(config-if)# switchport mode trunk
NK7-3(config-if)# switchport trunk allowed vlan 1,10
NK7-3(config-if)# int e2/8
NK7-3(config-if)# no sh
NK7-3(config-if)#  switchport
NK7-3(config-if)#  switchport mode trunk
NK7-3(config-if)#  switchport trunk allowed vlan 1,10

On Nexus NK7-4
switch(config)# host NK7-4
NK7-4(config)# int e2/2
NK7-4(config-if)# no sh
NK7-4(config-if)#  switchport
NK7-4(config-if)#  switchport mode trunk
NK7-4(config-if)#  switchport trunk allowed vlan 1,10
NK7-4(config-if)# int e2/6
NK7-4(config-if)# no sh
NK7-4(config-if)#  switchport
NK7-4(config-if)#  switchport mode trunk
NK7-4(config-if)#  switchport trunk allowed vlan 1,10
NK7-4(config-if)# vlan 10

switch(config)# host NK5-1
NK5-1(config)# int e2/1
NK5-1(config-if)# no sh
NK5-1(config-if)#  switchport
NK5-1(config-if)#  switchport mode trunk
NK5-1(config-if)#  switchport trunk allowed vlan 1,10
NK5-1(config-if)# int e2/5
NK5-1(config-if)# no sh
NK5-1(config-if)# switchport
NK5-1(config-if)# switchport access vlan 10
NK5-1(config-if)# sp
spanning-tree   speed
NK5-1(config-if)# spanning-tree por
port            port-priority
NK5-1(config-if)# vlan 10
NK5-1(config-vlan)# int e2/5
NK5-1(config-if)# speed 10000
ERROR: Ethernet2/5: Configuration does not match the port capability.

NK5-1(config-if)# speed ?
  10      10Mb/s
  100     100Mb/s
  1000    1Gb/s
  10000   10Gb/s
  100000  100Gb/s
  40000   40Gb/s
  auto    Auto negotiate speed

NK5-1(config-if)# speed 1000


switch(config)# hos NK5-2
NK5-2(config)# int e2/2
NK5-2(config-if)# no sh
NK5-2(config-if)#  switchport
NK5-2(config-if)#  switchport mode trunk
NK5-2(config-if)#  switchport trunk allowed vlan 1,10
NK5-2(config-if)#
NK5-2(config-if)# vlan 10
NK5-2(config-vlan)# int e2/4
NK5-2(config-if)# switchport
NK5-2(config-if)# switchport access vlan 10
NK5-2(config-if)# no sh
NK5-2(config-if)# no sh
NK5-2(config-if)# sp
spanning-tree   speed
NK5-2(config-if)# speed 1000
NK5-2(config-if)#

in this lab i made routers as server3,4:
SERVER3(config)#int g0/1
SERVER3(config-if)#no sh
SERVER3(config-if)#ip add 10.0.0.1
*Feb 19 02:00:28.360: %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed state to up
*Feb 19 02:00:29.360: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up255.255
SERVER3(config-if)#ip add 10.0.0.1 255.255.255.0
SERVER3(config-if)#no sh
SERVER3(config-if)#

SERVER4(config)#int g0/1
SERVER4(config-if)#no sh
SERVER4(config-if)#ip add 10.
*Feb 19 02:02:30.850: %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed state to up
*Feb 19 02:02:31.850: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up
SERVER4(config-if)#ip add 10.0.0.2 255.255.255.0
SERVER4(config-if)#no sh

Verification:
NK7-3# sh vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Eth2/2, Eth2/8
10   VLAN0010                         active    Eth2/2, Eth2/8

VLAN Type         Vlan-mode
---- -----        ----------
1    enet         CE
10   enet         CE

NK5-2# sh vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Eth2/2
10   VLAN0010                         active    Eth2/2, Eth2/4

VLAN Type         Vlan-mode
---- -----        ----------
1    enet         CE
10   enet         CE

NK7-3# sh interface trunk

--------------------------------------------------------------------------------
Port          Native  Status        Port
              Vlan                  Channel
--------------------------------------------------------------------------------
Eth2/2        1       trunking      --
Eth2/8        1       trunking      --

--------------------------------------------------------------------------------
Port          Vlans Allowed on Trunk
--------------------------------------------------------------------------------
Eth2/2        1,10
Eth2/8        1,10

--------------------------------------------------------------------------------
Port          Vlans Err-disabled on Trunk
--------------------------------------------------------------------------------
Eth2/2        none
Eth2/8        none


SERVER3#ping 10.0.0.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.2, timeout is 2 seconds:
!!!!!
Success rate




2 comments:

  1. best page with models of nexus

    ReplyDelete
  2. very good page and slides for study and views
    realy thanks to cisco

    ReplyDelete