Technology Updates and Trends around Networking... I’m writing on my own and did not express the opinion of anyone else than myself. All the Information provided in this blog is generally available or based on my experience. There is no internal information from any employer.
Showing posts with label Switching. Show all posts
Showing posts with label Switching. Show all posts
Wednesday, 13 November 2019
Friday, 6 June 2014
SNMP
Simple Network Management Protocol
SNMP is a standard protocol for network management in IP Networks. Network administrators use SNMP for managing & monitor devices and map network availability, performance, and error rates.
Devices that typically support SNMP include routers, switches, servers, workstations, printers, modem racks and more.
An SNMP-managed network consists of three key components:
- Managed device
- Agent — software which runs on managed devices
- Network management station (NMS) — software which runs on the manager
Thursday, 5 June 2014
IP multicast
Multicasting allows a one-to-many transmission that consists of a single data stream that is propagated to any host that wants to receive the data stream, without unnecessarily sending that data stream to hosts that do not want to receive the data stream.
That means multicast traffic must be controlled in some fashion at both a Layer 2 level and Layer 3 level.
IP multi-casting is a communication mechanism in which data is communicated from server to a set of clients who are interested in receiving that data. Any client can dynamically enter or leave the communication.
That means multicast traffic must be controlled in some fashion at both a Layer 2 level and Layer 3 level.
IP multi-casting is a communication mechanism in which data is communicated from server to a set of clients who are interested in receiving that data. Any client can dynamically enter or leave the communication.
Multicast is important for any application that needs to send large amounts of the same information to multiple devices. Common uses for multicast traffic include:
- Multimedia applications that consume high bandwidth, such as streaming video and TV servers
- Voice-conferencing applications
- Software distribution applications
- Routing protocols such as Open Shortest Path First (OSPF), Enhanced Interior Gateway Routing Protocol (EIGRP), and Routing Information Protocol (RIP) version 2
- Any application that requires a central host to efficiently send the same message to multiple peers
Wednesday, 4 June 2014
QoS
Quality of Service in IP networks
QoS aims at prioritization of critical traffic over non-critical traffic (e.g. giving RTP=voice
higher priority than email/HTTP or guaranteeing a certain maximum end-to-end delay).
The internet is „best-effort“ service (fire and forget). Packets may be dropped by routers in
case of congestion or be unduly delayed (which is bad for real-time applications).
QoS is not widely implemented and available today (only limited applications, e.g. in LANs
or on leased lines). Real-time applications (VoIP, Video over IP) work reasonably well since
there is sufficient bandwidth available. But during peak hours (office hours) the quality of
real-time applications may be impaired by increased packet loss and delay.
QoS aims at prioritization of critical traffic over non-critical traffic (e.g. giving RTP=voice
higher priority than email/HTTP or guaranteeing a certain maximum end-to-end delay).
The internet is „best-effort“ service (fire and forget). Packets may be dropped by routers in
case of congestion or be unduly delayed (which is bad for real-time applications).
QoS is not widely implemented and available today (only limited applications, e.g. in LANs
or on leased lines). Real-time applications (VoIP, Video over IP) work reasonably well since
there is sufficient bandwidth available. But during peak hours (office hours) the quality of
real-time applications may be impaired by increased packet loss and delay.
Basic difference between layer-2 and layer-3 QoS
Explanation:
layer-2 has frames while packets are at layer-3, if that is clear, read on :-)
Layer-2 802.1Q frames have a 2-byte field called Tag Control Information. The three most significant bits of this 2-byte field represents the CoS (Class of Service) value. Layer-2 QoS is represented by this CoS value which is from 0 to 7 (thus 8 values). In addition to 802.1Q and Cisco proprietary ISL (Inter-Switch Link), no other layer-2 frames can have CoS (and hence QoS) values!
IEEE 802.1Q (also known as VLAN tagging) defines a 3-bit field called Class of Service (CoS), which can be used in order to differentiate traffic. Table 1 shows the 8 possible values of the CoS field and their original purpose.
| CoS | Acronym | Purpose |
| 0 | BE | Best effort |
| 1 | BK | Background |
| 2 | - | Spare |
| 3 | EE | Excellent Effort |
| 4 | CL | Controlled Load |
| 5 | VI | "Video" < 100 ms latency and jitter |
| 6 | VO | "Voice" < 10 ms latency and jitter |
| 7 | NC | Network control |
Layer-3 IP packets can carry either an IP precedence (IPP) value or a Differentiated Services Code Point (DSCP) value. QoS supports the use of either value because DSCP values are backward-compatible with IP precedence values.
IP precedence values range from 0 to 7.
DSCP values range from 0 to 63
Both IPP and DSCP use the bits in the ToS (Type of Service) byte in the IPv4 header. IPP uses the 3 Most Significant Bits (MSB) while DSCP uses the 6 MSBs of the ToS byte
IP precedence values range from 0 to 7.
DSCP values range from 0 to 63
Both IPP and DSCP use the bits in the ToS (Type of Service) byte in the IPv4 header. IPP uses the 3 Most Significant Bits (MSB) while DSCP uses the 6 MSBs of the ToS byte
Following picture shall be helpful in understanding:
So, remember: layer-2 QoS deals with CoS, while at layer-3 we deal with IPP and|or DSCP
Scenario:
Once the Layer 3 configuration is applied to router (packet flow over Layer 3 Network) and the Layer 2 configuration is applied to the switch, the customer is given end-to-end QoS.
There are two options concerning the marking of packets or frames performed by the border router at the egress:
- CoS marking: For each packet with a given DSCP value, mark the frame with the corresponding CoS value as indicated in Table 2.
DSCP CoS Description 46,47,40 5 IP Premium 0 0 Best Effort 8 1 Less than Best Effort TABLE 2.
DSCP-to-CoS mapping.- DSCP marking: For each packet with a given DSCP value keep this value intact.
- CoS classification is preferred as it can provide backwards compatibility with some no-multilayer capable switches.
Saturday, 31 May 2014
Link Aggregation - IEEE 802.1AX-2008 (formerly IEEE 802.3ad) & MC-LAG
Link aggregation is a computer networking term to describe various methods of combining (aggregating) multiple network connections in parallel to increase throughput beyond what a single connection could sustain, and to provide redundancy in case one of the links fail.
Further umbrella terms used to describe the method include port trunking,link bundling,Ethernet/network/NIC bonding, or NIC teaming. These umbrella terms not only encompass vendor-independent standards such as Link Aggregation Control Protocol (LACP) for Ethernet defined in IEEE 802.1ax or the previous IEEE 802.3ad, but also various proprietary solutions.
Initial release 802.3ad in 2000
As of 2000 most gigabit channel-bonding schemes use the IEEE standard of Link Aggregation which was formerly clause 43 of the IEEE 802.3 standard added in March 2000 by the IEEE 802.3ad task force.[4] Nearly every network equipment manufacturer quickly adopted this joint standard over their proprietary standards.
Move to 802.1 layer in 2008
David Law noted in 2006 that certain 802.1 layers (such as 802.1X security) were positioned in the protocol stack above Link Aggregation which was defined as an 802.3 sublayer. This discrepancy was resolved with formal transfer of the protocol to the 802.1 group with the publication of IEEE 802.1AX-2008 on 3 November 2008.
Reference Diagram - Link Aggregation between Server and Switch
Types of Link Aggregation:
1. Static Link Aggregation
With a static link aggregate, all configuration settings will be
setup on both participating LAG components.
2. Dynamic Link
Aggregation: Link Aggregation Control Protocol (LACP)
Beyond that, Link Aggregation Control Protocol (LACP) allows the
exchange of information with regard to the link aggregation between the two
members of said aggregation. This information will be packetized in Link
Aggregation Control Protocol Data Units (LACDUs).
Each individual port can be configured as an active or passive
LACP using the control protocol.
·
Passive LACP: the port
prefers not transmitting LACPDUs. The port will only transmit LACPDUs when its
counterpart uses active LACP (preference not to speak unless
spoken to).
·
Active LACP: the port
prefers to transmit LACPDUs and thereby to speak the protocol, regardless of
whether its counterpart uses passive LACP or not (preference
to speak regardless).
In contrast to a static
link aggregation, LACP provides the following advantages:
·
Even if one physical
links fails, it will detect if the point-to-point connection is using a media
converter, so that the link status at the switching port remains up.
Because LACPDUs do not form a component of this connection, the link will be
removed from the link aggregate. This ensures that packets will not be lost due
to the failed link.
·
Both of the devices can
mutually confirm the LAG configuration. With static link aggregation, errors in
the configuration or wiring will often not be detected as quickly.
MC-LAG
MC-LAG adds node-level redundancy to the normal link-level redundancy that a LAG provides. This allows two or more nodes to share a common LAG endpoint. The multiple nodes present a single logical LAG to the remote end. Note that MC-LAG is vendor-specific; it is not covered by the IEEE 802.1AX-2008 standard. Nodes in an MC-LAG cluster communicate to synchronize and negotiate automatic switchovers (failover). Some implementations may support administrator-initiated (manual) switchovers.
MC-LAG, or Multi-Chassis Link Aggregation Group, is a type of LAG with constituent ports that terminate on separate chassis, thereby providing node-level redundancy. Unlike link aggregation in general, MC-LAG is not covered under IEEE 802.1AX-2008. Its implementation varies by vendor.
IEEE 802.1AX Link Aggregation (LAG) technology has solved this using multipathing at Layer 2 and flow-based load balancing. However, the protocol constrains the network to a node-to-node topology. Organizations require a Layer 2 multipath solution that can provide dynamic flow-based load balancing to multiple network nodes. MC-LAG is designed to address these requirements for today’s resilient and high-performance networks.

-------END OF DOCUMENT-------
Wednesday, 28 May 2014
What is Spanning Tree Protocol
The Spanning Tree Protocol (STP) is a network protocol that ensures a loop-free topology for any bridged Ethernet local area network.
The basic function of STP is to prevent bridge loops and the broadcast radiation that results from them. Spanning tree also allows a network design to include spare (redundant) links to provide automatic backup paths if an active link fails, without the danger of bridge loops, or the need for manual enabling/disabling of these backup links.
Spanning Tree Protocol (STP) is standardized as IEEE 802.1D.
The basic function of STP is to prevent bridge loops and the broadcast radiation that results from them. Spanning tree also allows a network design to include spare (redundant) links to provide automatic backup paths if an active link fails, without the danger of bridge loops, or the need for manual enabling/disabling of these backup links.
Spanning Tree Protocol (STP) is standardized as IEEE 802.1D.
Tuesday, 27 May 2014
What is VLAN
“A virtual LAN (VLAN) is a group of networking devices in the same broadcast domain, logically”
The purpose of VLANs
The basic reason for splitting a network into VLANs is to reduce congestion on a large LAN.To understand this problem, we need to look briefly at how LANs have developed over the years.Initially LANs were very flat—all the workstations were connected to a single piece of coaxial cable, or to sets of chained hubs. In a flat LAN, every packet that any device puts onto the wire gets sent to every other device on the LAN.As the number of workstations on the typical LAN grew, they started to become hopelesslycongested; there were just too many collisions, because most of the time when a workstation tried to send a packet, it would find that the wire was already occupied by a packet sent by some other device.
VLANs address issues such as scalability, security, and network management.
Without a Router or L3 Switch, the computers within each VLAN can communicate with each other but not with any other computers in another VLAN. For example, we need a Router or L3 Switch to transfer file between VLANs. This is called “interVLAN routing”.
To allow interVLAN routing you need to configure trunking ports on the link between L3 Switch and all L2 switch.(all vlan are tagged)
Systems and others networking devices will be connected to access ports of the switch.(respective vlan are untagged)
Reference diagram as below:
Subscribe to:
Posts (Atom)

