Showing posts with label data center. Show all posts
Showing posts with label data center. Show all posts

Tuesday, 22 January 2019

What are the different types of vPC?

Single Sided vPC

--> In single-sided vPC, Access devices are connected to Nexus 7K series devices using vPC domain.

--> The access device which is attaching to vPC domain can be of any device such as Layer 2 Switch, Rack Mount Server, Blade Server, firewall, load balancer or any Network Attached Storage ( NAS) device.

--> The only requirement for an Access device in order to connect to vPC is to support Port channel or Link Aggregation feature.



--> The following are the Port-channel protocols supported by Nexus 7K for vPC:

1) LACP

2) Static

--> It is recommended to configure LACP Protocol when forming vPC using access devices.



Double-Sided vPC

--> In Double-sided vPC, Access devices are connected to Nexus 5K series devices using vPC domain and these 5k Series devices are connected to 7K forming one more vPC for the L2/L3 default gateway.

--> vPC domain at the bottom is used for active/active connectivity from endpoint devices to the network access layer.

--> vPC domain at the top is used for active/active FHRP in the L2/L3 boundary aggregation layer.

--> Double-Sided vPC provides higher bandwidth in the network compared to Single-Sided vPC.



Multilayer vPC

--> A dedicated layer of vPC domain (adjacent to aggregation layer which also runs vPC) is used to interconnect the 2 data centers together.

--> Another design is to interconnect directly between vPC aggregation layer, without using any dedicated vPC layer for DCI

--> vPC as DCI technology is intended to interconnect two data centers in maximum.

--> Use vPC to interconnect a maximum of 2 data centers. Use OTV when more than 2 data centers need to be interconnected.


Ref: Cisco.com

Md.Kareemoddin

CCIE # 54759

Sunday, 20 January 2019

How to configure Single attached device in vPC

Option 1:

--> Connect the Device to vPC attached access switch.

--> No configuration is required in vPC domain.

--> Provides minimum downtime in case of a peer link failover.

--> The problem with this type of setup is we need to manage additional switch which creates additional administrative overhead.



Option 2:

--> Connect the Device to vPC peers ( Primary or Secondary) by using a Non-vPC VLAN.

--> non-vPC VLAN is a VLAN that is not part of any vPC and not present on vPC peer-link.

--> We need to create a special port-channel between vPC peers to forward this non-vPC VLAN traffic.

--> Access device can be connected to primary peer device or secondary peer device.

--> It does not matter because the dedicated port-channel guarantees a backup path in case vPC peer-link fails down.

--> The problem with this type of setup is we need to manage additional Port-Channel between the vPC Peers.



Option 3:

--> Connect the Device to vPC Primary peer or Secondary peer using vPC VLAN.

-->vPC VLAN is a VLAN that is allowed on vPC Peer-link.

--> No need to create a special port-channel between vPC peers to forward traffic as it uses peer-link for traffic forwarding.

--> But the problem with this type of connectivity is When the Peer-link goes down then the access devices which are connected to Secondary peer loses the connectivity.

--> This type of devices are called as Orphan Devices and Ports that are connected to Nexus 7K peer is called as Orphan Ports.

--> It is recommended to connect the single attached devices to vPC Primary Peer so that in case of peer link failure that does not affect the connectivity.


Ref: Cisco vPC design guide

Md.Kareemoddin

CCIE # 54759


Thursday, 17 January 2019

Understanding vPC Components

--> vPC is a virtualization technology that allows two Cisco Nexus 7000 or 5000 Series as a Single Virtual node to downstream devices.

--> The Downstream device can be a switch, server, or any other networking device which supports link aggregation technology.

--> vPC architecture contains the following components:

1) vPC Member

--> This is also called as vPC Peer device.

--> It can be a Nexus 5000 or Nexus 7000 Series Switch.

2) vPC Domain

--> vPC Domain contains two vPC Peer devices.

--> Only 2 peer devices max can be part of same vPC domain.

--> The domain ID must be the same on both peer devices.

--> vPC domain identifiers must be different on both layers because this information is used as part of the LACP protocol.


3) vPC member Port

--> This is one of the port which forms vPC.

--> This Port is connected to both of the Nexus 5000/7000 Upstream switches.

4) Orphan Port

--> A port that belongs to a single attached device.

--> A port on vPC peer device (primary or secondary) that is connected to a single attached device.

--> A port on vPC peer device (primary or secondary) that carries vPC VLAN.

--> If the port carries a non-vPC VLAN, it is no more defined as Orphan Port.

--> When connecting a single-attached access device to vPC domain using vPC VLAN, always connect it to vPC primary peer device.

-->  Reason is when vPC peer-link fails down, any single attached device connected to secondary peer device (and using vPC VLAN) will become completely isolated with the rest of the network.



5) vPC peer-link 

--> This Link used to synchronize the state between vPC peer devices.

--> It must be a 10-Gigabit Ethernet link.

--> vPC peer-link is an L2 trunk carrying vPC VLAN.

--> Cisco Fabric Service protocol is used for synchronizing the state information between vPC Peers.

--> vPC Peer-link can be formed only with the Same family of modules ( F3-F3 and M3-M3).

6) vPC peer-keepalive link 

--> The keepalive link between vPC peer devices; this link is used to monitor the liveness of the peer device.

--> It is recommended to use  1Gbps link for vPC Peer-keepalive link.

--> vPC Peer-Keepalive link must be configured before configuring vPC Peer-link.

--> vPC Peer-Keepalive link uses UDP port number 3200 to check reachability between vPC peers.

--> It is recommended to use separate VLAN interface in different VRF for the peer-keepalive link.

--> vPC Peer-Keepalive just requires reachability ( Both VPC Peers can use different Subnet IP Address for Peer-Keepalive).

--> vPC Peer-Keepalive use management VRF by default for checking the reachability between them.

7) vPC VLAN 

--> VLAN carried over the vPC peer-link and used to communicate via vPC with a third device.


--> vPC VLAN is simply VLAN which is allowed on the peer-link.

8) non-vPC VLAN

--> non-vPC VLAN A VLAN that is not part of any vPC and not present on vPC peer-link.


9) Cisco Fabric Services (CFS)


--> CFS is the protocol used between vPC peers to share and synchronize the state between vPC peer devices.

--> Cisco Fabric Services (CFS) protocol performs the following functions:

? Configuration validation and comparison (consistency check)

? Synchronization of MAC addresses for vPC member ports

? vPC member port status advertisement

? Spanning Tree Protocol management

? Synchronization of HSRP and IGMP snooping

--> Cisco Fabric Services is enabled by default when vPC feature is turned on.

--> There is no specific Cisco Fabric Services configuration to implement.


10) vPC System-Mac and vPC Local System-Mac

--> Once vPC domain is configured both the vPC peers will be assigned with the same MAC address known as vPC System-MAC.

--> vPC system-mac = 00:23:04:ee:be:<vpc domain-id in hexadecimal>

--> It is possible to configure manually vPC system-mac value with the command system-mac inside vPC domain configuration.

--> vPC local system mac is owned by each peer devices so it is unique per device. vPC local system mac is derived from the system or VDC mac address.

--> vPC system-mac is used only with vPC attached access devices while vPC local system-mac is used with single attached devices.

Ref: Cisco.com

Md.Kareemoddin

CCIE # 54759

Friday, 11 January 2019

What are the different Types of Cisco SFP Modules for 10Gbps Speed?

Cisco 10GBASE-T SFP

--> Uses a copper cable to connect between two devices.

--> Supports distance up to 100 meters.

--> Maximum data rate supported up to 10 Gbps.

--> Uses CAT 6A Cable.




Cisco 10GBASE-CX SFP

--> Uses a Infinity Band cable to connect between two devices.

--> It is a cost-effective connection within racks and across adjacent racks.

--> Maximum data rate supported up to 10 Gbps.

--> This cable is suitable for distances up to 15 meters.



Cisco 10GBase-ZR 

--> Uses Single Mode fiber to connect between two devices.

--> Supports distance up to 80 Kilometers.

--> Maximum data rate supported up to 10 Gbps.

--> Uses Dual LC link.



Cisco 10GBASE-ER

--> Uses Single Mode fiber to connect between two devices.

--> Supports distance up to 40 Kilometers.

--> Maximum data rate supported up to 10 Gbps.

--> Uses Dual LC link.



Cisco 10GBASE-LR

--> Uses Single Mode fiber to connect between two devices.

--> Supports distance up to 10 Kilometers.

--> Maximum data rate supported up to 10 Gbps.

--> Uses Dual LC link.




Cisco 10GBASE-LX4

--> Uses Multi Mode fiber to connect between two devices.

--> Supports distance up to 10 Kilometers.

--> Maximum data rate supported up to 10 Gbps.

--> Uses Dual LC link.


Cisco 10GBASE-LRM

--> Uses both Single and Multi-Mode fiber to connect between two devices.

--> Supports distance up to 300 meters.

--> Maximum data rate supported up to 10 Gbps.

--> Uses Dual LC link.

Cisco 10GBASE-SR

--> Uses Multi-Mode fiber to connect between two devices.

--> Supports distance up to 400 meters.

--> Maximum data rate supported up to 10 Gbps.

--> Uses Dual LC link.




Ref: Cisco.com

Md.Kareemoddin

CCIE # 54759

What are the different Types of Cisco SFP Modules for 1000 Mbps Speed?

Cisco 1000BASE-T SFP

--> Uses a copper cable to connect between two devices.

--> Supports distance up to 100 meters.

--> Maximum data rate supported up to 1000 Mbps.

--> Uses CAT 5 Cable.


Cisco 1000BASE-TX SFP

--> Uses a copper cable to connect between two devices.

--> Supports distance up to 100 meters.

--> Maximum data rate supported up to 1000 Mbps.

--> Uses CAT 6 Cable.



Cisco 1000BASE-CX SFP

--> Uses a Twinax cable to connect between two devices.

--> It is a cost-effective connection within racks and across adjacent racks.

--> Twinax cable is suitable for distances up to 5 meters.

Cisco 1000 Base-ZX GBIC

--> Uses Single Mode fiber to connect between two devices.

--> Supports distance up to 70 Kilometers.

--> Maximum data rate supported up to 1000 Mbps.

--> Uses Dual LC link.

Cisco 1000BASE-BX10 GBIC

--> Uses Single Mode fiber to connect between two devices.

--> Supports distance up to 10 Kilometers.

--> Maximum data rate supported up to 1000 Mbps.

--> Uses Single LC link.

Cisco 1000BASE-LX10

--> Uses Single Mode fiber to connect between two devices.

--> Supports distance up to 10 Kilometers.

--> Maximum data rate supported up to 1000 Mbps.

--> Uses Dual LC link.

Cisco 1000BASE-LX

--> Uses Multi-Mode fiber to connect between two devices.

--> Supports distance up to 550 meters.

--> Maximum data rate supported up to 1000 Mbps.

--> Uses Dual LC link.



Cisco 1000BASE-SX

--> Uses Multi-Mode fiber to connect between two devices.

--> Supports distance up to 500 meters.

--> Maximum data rate supported up to 1000 Mbps.

--> Uses Dual LC link.

Ref: Cisco.com

Md.Kareemoddin

CCIE # 54759







Saturday, 28 October 2017

What is VPC

--> Virtual Port Channel is a special type of EtherChannel between two switches instead of one.

--> VPC is a part of the multi-chassis EtherChannel family similar to VSS.

--> VPC is cisco technology found in nexus platform.

-->  VPC provides redundancy and dual active paths in the network.

--> As there are two or more paths to two switches, there is no single point of failure. Even one switch fails, traffic still flows.

--> VPC is layer 2 technology.

--> VPC is made of two Nexus switches which form a vpc domain. Each domain uniquely identified by using Domain ID.

--> Each Switch can only be in a single domain. one of the switches will be the primary and other will be the secondary.

--> Both switches forward traffic. The primary switch handles the majority of control plane traffic.

--> VPC switches are connected using two special links.

i) Peer-link ( It is used as backplane between two switches for sending/receiving the control plane as well as sometimes data traffic)

ii) Keep-alive link ( To know another peer is active or not by sending/receiving the heartbeats)

--> Peer-link forwards unicast/multicast/ broadcast traffic between two Nexus switches in vpc domain.

--> Peer-link is used for sharing the MAC table information between two Nexus switches in vpc domain.

--> With VPC, there are two types of ports used in nexus switches.

i) Member Port -- A member port is any port that is configured with VPC, such as ports connected to a server.

--> Any VLANs allowed on the member ports must be allowed on the peer link

ii) Orphan Port

--> An orphan port is any port that has no VPC configuration, such as ports connected to routers.

--> Any VLANs allowed on the orphan ports need not to be allowed on the peer link.

--> VPC uses duplicate frame prevention rule to avoid duplicate frames in the network.

--> Nexus switch in the VPC will drop the frame if it receives on the peer-link and needs to deliver on the member port.

--> If Nexus switch forwards any frame on peer-link and needs to deliver on the orphan port.

--> VPC Pair of switches will appear as one logical switch to other physical switches.

--> By default only the primary switch will send and process BPDU's.



Friday, 13 October 2017

What is Fabric Extenders

-->  Cisco launched the Nexus 2000 Fabric Extender series in 2009.

--> Fabric Extender Switch can't be used as a standalone Ethernet switch, it should be used as remote line card for parent switch.

--> An FEX has no management interface, but instead has to be connected to a Nexus 5000 or 7000, after which it becomes a logical part of that parent switch.

--> All management operations should be performed on Parent Switch. Parent switch can be Nexus 9K/7K/5K for the Fabric Extender.



--> Fabric Extenders does not have any console or vty ports.

--> NX-OS automatically downloaded to Fabrix Extender from the Parent Switch.

--> Connection from FEX to parent switch is done via an SFP module with fiber, or a Cisco Twinax cable, which is an ethernet-like copper cable with the SFP already attached to it on both sides.


-->  Depending on the FEX model, there are two or four SFP uplinks possible, just like most Catalyst switches.

--> Fabric Extender does not have or store Mac address table because of that there is no local switching in Fabric Extender.

--> Traffic between local ports of Fabric Extender must flow via an uplink to parent switch then back to Fabric Extender.

--> It is not recommended to configure FEX for East to West traffic ( Server -- Server) because of no local switching feature available in Fabric Extender.

--> Fabric Extenders does not support Private vlans.



--> There are two types of interfaces are used when we are working with fabric extenders,

1) Fabric Interface 

--> A fabric interface is the corresponding interface that is connected on the parent switch.

--> This interface is enabled when you enter the switchport mode fex-fabric command on the parent switch.

2) Host Interface

--> Host interface is an Ethernet host interface for connection to a server or host system.

--> This interface is present on Fabric Extender.


Configuration:

Step1: Enable the FEX feature in the parent switch.

N5K(config)# feature fex


Step 2: Create a FEX instance 

N5k(config)#fex 150

Note: Number can range from 100 to 199.

Step3: Configure the interface on the Parent switch ( In this case Nexus 5k) that are used for connecting the FEX.

N5K(config)# int ethernet range 1/1-2
N5k(config-if)#switchport
N5k(config-if)#switchport mode fex-fabric
N5k(config-if)#channel-group 150

Step4: Create the port-channel and associate the FEX with it. 

N5k(config)#interface port-channel 150
N5k(config-if)#fex associate 150

Verification: N5K# show fex

Ref: Cisco.com

Md.Kareemoddin

CCIE# 54759