Professional Documents
Culture Documents
1 - Summary
1 - Summary
▪ BGP Ethernet-Channel HSRP ▪ STP Proxy ARP VSS v.s VPC Radius
OSPF VRRP RSTP
IS-IS ▪ LACP GLBP MSTP Grutuius ARP VDC Tacacs
EIGRP ▪ PagP
▪ Load Balancing FEX Tacacs+
▪ Root Bridge
========== CEF
▪ MPLS (QOS) BPDU filter DHCP snooping
L2MPLS VPN BPDU Guard VDC divided SNMP
L3MPLS VPN Root Guard the nexus
AAA
switch into
▪ Port Status multiple
▪ VRF Port-Fast switches
▪ Address family Normal vdc
Storage vdc
ACI Firewalls
Redistribution ASA
Control the network (filtering)
VPN PaloAlto
Multicast Fortigate
SD-Wan Checkpoint
Qos
SRX
NSX
EIGRP OSPF BGP
Hello 224.0.0.9 Hello Open
▪ Open TCP session
Update: - ▪ 224.0.0.5: From All → R
▪ Contains hold down timer & R.ID
▪ at Start R➔R
▪ at Change DR/BDR➔R
Keep-Alive
▪ 224.0.0.6: R → DR/BDR ▪ Keep the TCP session stay up
Query: - If S Down & no FS
▪ Sent every 60 sec
Reply: - To the Query ▪ The hold-time = 3 keep-alive
DBD: Data Base ملخص عن الـ
Ack : it is reply for all = 180 Sec
messages except the hello & Update
LSR: سؤال لمعلومات أكثر عن روتر أول مرة أسمع عنه ▪ Contains info about destination
query
N/Ws and the attributes
❖ Open message:
1- Hold-time
2- BGP version
3- Router-ID
4- AS Number
✓ if my peering (neighbor)) is in wrong AS,
the notification message will be send and will tearing down (close) the TCP session
4- Establish:
▪ Peering is forming &
▪ BGP table exchanged &
▪ a keep alive message will be sent every 60 Sec to keep the session up always
Configuration Steps
1- Create loopback interface
2- Configure IGP ((OSPF, EIGRP, IS-IS, RIP)) inside AS
3- Advertise the loopback in between the neighbors
▪ Inside AS we use the IGP (( OSPF, EIGRP, IS-IS, RIP ))
▪ Between AS we use static route
4- As we use loopback, we have to use update-source loopback 0
After writing neighbor command to inform the router to use the loopback to send & receive the update
بيتفاوضوا مع الطرف التاني مع العلم بإنdynamic Auto & dynamic desirable الـ
Auto معAuto ▪
Access يبقى الطرفينAccess بيميل إلى أنه يبقىAuto كده الطرفين هيتفاوضوا وبما إن الـ
desirable معdesirable ▪
Trunk يبقى الطرفينdesirable بيميل إلى أنه يبقىdesirable كده الطرفين هيتفاوضوا وبما إن الـ
desirable معAuto ▪
بيميل إلى إنه يبقىdesirable هو اللي يكسف والـdesirable يبقى الAuto أقوى من الـdesirable كده الطرفين هيتفاوضوا وبما إن الـ
Trunk يبقى اللينك هيبقىTrunk
It will go to error-disable-state
And the port will stop all its activities until solving this issue
We can solve it
Manually Automatically
3- Root Guard: if the port received Superior BPDU [[ BPDU Saying that the New Switch is the R.B(Root-Bridge)]]
the port will go to inconsistent-State and the port will stop its all activities until removing the cable from this port.
Gratuitous ARP: is an ARP Response that was not prompted by an ARP Request.
The Gratuitous ARP is sent as a broadcast
Spanning-Tree Protocol
▪ Stop the loops which occurs when you have Multiple links between the switches
▪ Avoiding Broadcast Storms, Multiple Frame Copies & MAC-Table instability.
▪ It is enabled by default on all Cisco Catalyst switches
The Question now is according to what the switches select the Root Bridge?
▪ The switch select the Root Bridge depending on something called Bridge id.
▪ The switch which has lowest Bridge id will become Root Bridge
▪ And all the other switches will become Non Root Bridge
➢ The priority of the switch depends on the Extended System ID; If it is:-
1- Disabled
▪ The default priority is 32768
▪ it can be any value from this range (0:65535)
➢ recommended to select high speed switch to be Root-Bridge by one of the following methods
[1] changing the priority
[2] Primary/Secondary command
➢ the secondary RB reduce its priority 4096 from the default value (7*4096=28672)
the primary RB reduce its priority 8192 from the default value (6*4096=24576)
➢ So, if we use the Primary/Secondary command the default priority will become For
o secondary RB = 28672
o Primary RB = 24576
➢ So, if we want to let the specific switch primary for specific VLANs (Ex VALN 10,20) and secondary for other VLANs (Ex VALN 30,40) we can do it
by two ways as we mentioned before.
➢ We have to pay attention when we use the second method because if there is another switch has a priority lower than 24xxx the root port switch
will decrease its priority by multiply of 4096 until become lower than any other switch. But, the problem is that if there is the switch has a priority
lower than 4096, the root bridge will not be able to decrease its priority more than 4096. In this case, we have to use the first way instead of the
second way or we increase the priority of the other switch to be more than 4096.
▪ If we did not connect the cable to the port, the port will be in blocking state.
▪ And as soon as we connect the cable to the port, the port will go to listening state and it will stay in this state
15 seconds.
▪ After that, it will be either blocking port (so it will go to blocking state again) or (RP or DP, or ??
the question mark refers to that port did not know in which state it is) and in this case the port will go to the
learning state and it will stay 15 seconds in it. And after that the interface will be either blocking port (so it will
go to blocking state again) or (RP or DP) and it will go to forwarding state.
▪ As we can see, the ports will go to forwarding state after 30 seconds and it is long time in the network field.so,
cisco enhanced this protocol by adding three features on it.
➢ Cisco enhancement
▪ Port Fast
▪ Uplink Fast
▪ Backbone Fast
1- Port fast
if we need to let the port go to forwarding state immediately (without passing through listening state and learning state) as
soon as connecting cable, we have to configure it as port fast. (spanning-Tree PortFast)
But, by this feature (uplink fast feature) the switch will pre calculate its calculation and select backup port for root
port and when the primary root port goes down, the backup port will work as root port immediately without any
delay (the status of the backup port is blocking before the root port become down)
3- Backbone Fast (for indirect change)
If one switch lost the connection to the RB and send message to the connected switches to inform them that the RB
is down, the received switches will check by themselves if the RB is actually down or not by sending RLQ
(request link query) to the RB. Asking him if it is down or no and if it is not down, it will reply on RLQ by another
message RLR (Request Link Reply) says that it is still up and the received switch will send to the switch who lost
the connection to the RB telling him that RB is still up and they can do the election to select another port to be RP
and by this feature the switch will spend (15+15=30 seconds) instead of (10 hello time
+15+15=50 seconds) so the conversion time became 30 seconds instead of 50 seconds by using this feature
(Backbone Fast feature)
2- Rapid STP (STP version 2)
3- Designated Port
4- Backup DP called Backup Port
We will not see this port anymore because it is existing only when
we connect the switch to the HUB (HUB not exist anymore)
3- PVST (it is used when we use ISL Trunking Protocol) Cisco Proprietary Load Sharing
4- PVST + (it is used when we use dot1Q Trunking Protocol)
PVST and PVST +
▪ ISL not exists anymore, =➔ so, the PVST not existed anymore
▪ so there is only PVST+ and there is no PVST
So they renamed PVST+ to be PVST but in this case it use dot1Q
And anther switch act as backup for the group of VLANs which have primary RB
and act as a primary for another group of VLANs which have backup RB.
For example,
switch A (primary for VLAN 10, 20,30 and backup for VLANs 40,50)
switch B (primary for VLANs 40,50 and backup for VLAN 10, 20,30)
6- MST (also known as Multiple Instance Spanning Tree Protocol (MISTP) on Cisco Catalyst 6500 switches and above)
➢ Same RPVST but it is standard
➢ Allow more VLANs to be mapped to one single instant of STP
STP Types
1- STP version 1 (common Spanning-tree)
➢ Cisco enhancement
▪ Port Fast
▪ Uplink Fast
▪ Backbone Fast
The R.B will really on this message by sending another message (Request Link Reply)
says that it is still up and the received switch will send to the switch who lost
the connection to the RB telling him that RB is still up
3- Designated Port
4- Backup DP called Backup Port
We will not see this port anymore because it is existing only when
we connect the switch to the HUB (HUB not exist anymore)
2- PVST (it is used when we use ISL Trunking Protocol) Cisco Proprietary Load Sharing
3- PVST+ (it is used when we use dot1Q Trunking Protocol)
Recommended to select High Speed Switch to be R.B (Root Bridge) by doing one of these methods
1- Change the priority
2- Primary / Secondary Command
أو
VSS and vPC are both Cisco technologies used to create redundant network connections, but they have
some key differences:
Technology Platform:
• VSS (Virtual Switching System): Works with Cisco Catalyst 4500, 6500, and 6800 series switches.
• vPC (Virtual Port Channel): Used on Cisco Nexus 5000, 7000, and newer series switches.
Control Plane:
• VSS: Single control plane for both switches. This simplifies management but creates a single point
of failure if the control plane malfunctions.
• vPC: Separate control plane for each switch. This provides better redundancy and fault tolerance.
Port Channeling:
• VSS: Supports both L2 and L3 port-channel. This allows for increased bandwidth and redundancy at
both the data and routing levels.
• vPC: Supports only L2 port channeling. This increases bandwidth but doesn't extend redundancy to
routing protocols.
Redundancy Protocol:
• VSS: Doesn't require additional redundancy protocols like HSRP (Hot Standby Router Protocol)
because it has a single, active control plane.
• vPC: Requires HSRP or VRRP (Virtual Router Redundancy Protocol) for redundancy at the Layer 3
level.
Management:
Applications:
• VSS: Commonly used in campus environments where high bandwidth and simplified management
are desired.
• vPC: More suited for data center environments where redundancy and high availability are critical.
VSS
▪ VPC : virtual Port Channel
الـ VDC
هي تقسم الـ Nexus Switchإلى أكثر من سويتش زي الـ VLAN
الـ VPC
هو جعل إثنين Nexus Switchيشتغلوا وكأنهم سوتيش واحد زي الـ VSS
الـ OTV
هو ربط 2 Data Centerفي مكانين مختلفين أو دولتين مختلفتين
على L2 N/wويشتغلوا وكأنهم N/Wواحدة
الـ FP
هو بروتوكول خاص بسيسكو
ويعتبر بديل الـ STPفي الـ IOSالعادية
الـ UP
هو بورت ينفع يشتغل Fiberأو Ethernetأو Fiber over channel Port
الـ Series
الـ 5500 & 5600
تحتوي على UPs
وبالتالي أقدر أوصلهم بالـ Storage Devices
Nexus Switch Series
1000 : Support Vcenter v6
( حاجة كده زي الـ 2000 : FEX ( Line card
علشان كده بتستخدم في البنوك 3000 : There is no delay
: 4000
معلمول علشان لو عندي سيوتشات من Vendorsتانيين وحابب أستخدمهم في النتورك بتاعتي زي Dell / IBM
9504
9508
9516
الرقم األخير بيشير إلى عدد الـ Line Cardاللي ممكن أركبها
الـ Moduleممكن يكون فيه 4أو 8أو 16 Port
7018
الرقمين األخيرين بيشير إلى عدد الـ Line Cardاللي ممكن أركبها مضافا إليه 2 Supervisor
يعني هنا عندي 16 line cardو 2 Supervisor