Ads 468x60px

Showing posts with label SWITCHING. Show all posts
Showing posts with label SWITCHING. Show all posts

Thursday, June 26, 2014

The Difference of SFP , SFP+ and XFP


Hi Friends, After long time, I am posting new post on my blog.  Hope it will help you to clear basic understanding towards SFP modules. 

What is the difference of SFP, SFP+  and XFP
The 10G module has been developed from 300Pin. XENPAK, X2, XFP and finally achieve with the same size as SFP which can transmit 10G signals called SFP+.

SFP by virtue of its small cost and other advantages to meet the needs of high-density equipment, SFP+ has been replaced the XFP 10G modules and became the mainstream.

Let’s have look in bit more details –

XFP
  • The XFP ( 10G Gigabit Small Form factor Pluggable) is a standard for transceiver for high speed network links that use optical fiber.
  • It was defined by an industry group in year 2002, along with its interface to other electrical components which is called XFI.
  • A transceiver is a device comprising both a transmitter and a receiver, which is combined and share a common circuit.

XFP details –
  • XFP modules are hot-swappable and protocol independent.
  • XFP operates at optical wavelengths of 850nm, 1310nm or 1550 nm.
  • Principal applications include 10 Gbit /s Fibre Channel, Synchronous optical networking (SONET) at OC-192 rates, Synchronous optical networking STM-64, 10 Gbit /s Optical Transport Network (OTN) OTU-2, and parallel optics links
  • They can operate over a single wavelength or use dense wavelength-division multiplexing techniques
  • They include digital diagnostics that provide management that were added to the SFF-8472 standard
  • XFP modules use an LC fiber connector type to achieve high density.


SFP-
The small form-factor pluggable (SFP) is a compact, hot-pluggable transceiver used for both telecommunication and data communications applications. It interfaces a network device mother board (for a switch, router, media converter or similar device) to a fiber optic cable. It is a popular industry format jointly developed and supported by many network component vendors.

SFP Detail

  • SFP transceivers are expected to perform at data speeds of up to five gigabits per second (5 Gbps), and possibly higher.
  • Because SFP modules can be easily interchanged, electro-optical or fiber optic networks can be upgraded and maintained more conveniently than has been the case with traditional soldered-in modules
  • Rather than replacing an entire circuit board containing several soldered-in modules, a single module can be removed and replaced for repair or upgrading. This can result in a substantial cost savings, both in maintenance and in upgrading efforts as compared to old in built modules.
  • SFP transceivers are designed to support SONET, Gigabit Ethernet, Fibre Channel, and other communications standards.
  • Due to its smaller size, SFP obsoletes the formerly ubiquitous gigabit interface converter (GBIC); the SFP is sometimes referred to as a Mini-GBIC although no device with this name has ever been defined in the MSAs.

The advantages of SFP+ modules:
  • SFP+ has a more compact form factor package than X2 and XFP
  • It can connect with the same type of XFP, X2 and XENPAK directly.
  • The cost of SFP+ is lower than XFP, X2 and XENPAK.

The differences between SFP and SFP+

They have the same size and appearance, but in different standard which SFP is based on IEEE802.3 and SFF-8472.

The connection between XFP and SFP+
  • Both of them are 10G fiber optical modules and can connect with other type of 10G modules.
  • The size of SFP+ is smaller than XFP, thus it moves some functions to motherboard, including signal modulation function, MAC, CDR and EDC.
  • XFP is based on the standard of XFP MSA
  • SFP+ is compliance with the protocol of IEEE802.3ae, SFF-8431, SFF-8432.
  • SFP+ is the mainstream design.
      Hope above information will help you.

      Thanks for reading !!!

Monday, May 7, 2012

Maipu Support - DDMI



Hi Friends, Many times I came across requirement about DDMI feature from many engineers. Maipu support DDMI (Digital Diagnostics Monitoring Interface) features in many aggregation switches on Fiber interfaces like SM3900, SM 4200, 6800, etc. 


Below commands are used for DDMI -


show optical all
show optical all detail


Show Output - 



6800-2#show optical all  detail 


port 2/0 optical information
        Device Name          : XFP
        Connector Name       : LC
        Vendor OUI           : 00-17-6a
        Vendor Name          : OEM             
        Part Number          : XFP-10G-SR      
        Revision Number      : A Bh
        Serial Number        : GM1201104103    
        Production Date      : 12/04/23(y/m/d)
        Laser WaveLength     : 850(nm)
        Vendor Specific      : ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
        Monitor Parameters   : 
                                                                         T - ThresHold, S - Status
  Type                                          Value           Alarm-High(T/S)     Alarm-Low(T/S)         Warning-High(T/S)           Warning-Low(T/S)
  ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  Temperature(C)              19.273438       85.000000(N)           -10.000000(N)            80.000000(N)                        -5.000000(N)
  Voltage(V)                           0.000000         1.536000(N)                1.408000(N)               0.000000(N)                         0.128000(N)
  Tx Bias(mA)                        5.562000         12.000000(N)              1.000000(N)            10.000000(N)                         2.000000(N)
  Rx Power(dBm)                -14.100504         0.000000(N)             -13.001623(Y)              -1.000154(N)                      -11.999706(Y)
  Tx Power(dBm)                   -2.503410          2.000019(N)           -10.000000(N)               0.999912(N)                       -8.999743(N)


port 2/1 optical information
        Device Name          : XFP
        Connector Name       : LC
        Vendor OUI           : 00-00-00
        Vendor Name          : OEM             
        Part Number          : 10GB-XFP-LR-F   
        Revision Number      : 1 fX
        Serial Number        : FXF96L042       
        Production Date      : 12/04/24(y/m/d)
        Laser WaveLength     : 1310(nm)
        Vendor Specific      : 000000000000000000000000000000000000000000000000000000000000000
        Monitor Parameters   : 
                                                                         T - ThresHold, S - Status
          Type                          Value                  Alarm-High(T/S)     Alarm-Low(T/S)     Warning-High(T/S)   Warning-Low(T/S)
          ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
          Temperature(C)       34.824219        80.000000(N)         -10.000000(N)       75.000000(N)                -5.000000(N)
          Voltage(V)                 3.254800           3.500000(N)               3.080000(N)          3.480000(N)                  3.100000(N)
          Tx Bias(mA)             37.240002         90.000000(N)            2.000000(N)          80.000000(N)               4.000000(N)
          Rx Power(dBm)       -1.408016           0.000000(N)           -20.000000(N)          -1.000154(N)               -18.996294(N)
          Tx Power(dBm)       -2.301060           0.000000(N)             -7.999707(N)          -1.000154(N)                 5.999804(N)


6800-2#  




Hope this commands will help you for fiber port monitoring and troubleshooting...


Thanks for reading...


For feedback. Plz comment with Name and Mail ID.. 

Friday, April 13, 2012

Maipu LACP Manual Mode and Cisco ON Mode Testing

As discussed in last post of LACP configurations, We will see Maipu LACP Manual mode and Cisco ON mode configurations in this post. This is testing report for inter-operability between Maipu and Cisco Switches.



Maipu Manual Link Aggregation Manual mode- Cisco ON mode


Objective – To test the compatibility of Cisco and Maipu switch for Link aggregation in Cisco ON mode and Maipu Manual Mode. 

Cisco Configuration –
!
port-channel load-balance src-dst-mac
interface Port-channel1
 switchport trunk native vlan 2
 switchport mode trunk
 load-interval 30
interface FastEthernet0/1
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/2
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/3
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/23
 switchport trunk native vlan 2
 switchport mode trunk
 load-interval 30
 channel-group 1 mode on
!
interface FastEthernet0/24
 switchport trunk native vlan 2
 switchport mode trunk
 load-interval 30
 channel-group 1 mode on
!

Maipu Configuration -

link-aggregation 1 mode manual
link-aggregation 1 load-balance src-dst-mac
vlan 1
 exit

vlan 2,10
port 0/0/14
 duplex full
 speed 100
 link-aggregation 1 manual
load-interval 30
 exit
port 0/0/15
 duplex full
 speed 100
 link-aggregation 1 manual
load-interval 30
 exit

link-aggregation 1
 port-type nni
 port mode trunk
 port trunk allowed vlan all
 port trunk pvid vlan 2
load-interval 30
 exit


Show Outputs
Screenshots –

Cisco Screenshots

Cisco Port channel status -



Port-Channel Interface output –


Interface Fa0/23 -


 Interface Fa0/24 -

 Maipu Screenshots –


Maipu Link Aggregation Output -


Maipu Port 0/0/14 -


 Maipu Port 0/0/15 -





Test Conclusion- Link Aggregation is working properly between Maipu and Cisco. Bandwidth is load-balancing between two trunk links.


Device IOS details - 

Maipu IOS details - 




Cisco IOS details - 



Hope this information will help you. 

Thanks for reading.. 

For feedback. Plz comment with Name and Mail ID.. 




Sunday, March 18, 2012

LACP Configurations - Maipu and Cisco Switches



Hi All, I was doing a inter-operability testing for Maipu ME switches and Cisco 2960 and ME switches for LACP features (on mode and LACP mode).  It is working absolutely fine, In case any body is having any issues in configuration, They can refer this testing process and do it. 
I want to share testing report with you. It will help you in any future deployments.  This post is for LACP mode. In next post, I will share ON mode.

Maipu and Cisco LACP testing

Objective -  To test Maipu and Cisco LACP interoperability.

Cisco configuration -
port-channel load-balance src-dst-mac
interface Port-channel1
 switchport trunk native vlan 2
 switchport mode trunk
 load-interval 30
!
interface FastEthernet0/1
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/2
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/3
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/23
 switchport trunk native vlan 2
 switchport mode trunk
 load-interval 30
 channel-group 1 mode passive
!
interface FastEthernet0/24
 switchport trunk native vlan 2
 switchport mode trunk
 load-interval 30
 channel-group 1 mode passive
!

Maipu Configuration –
link-aggregation 1 mode lacp
link-aggregation 1 load-balance src-dst-mac


vlan 1
 exit
port 0/0/14
 duplex full
 speed 100
 link-aggregation 1 active
 exit
port 0/0/15
 duplex full
 speed 100
 link-aggregation 1 active
 exit
link-aggregation 1
 port-type nni
 port mode trunk
 port trunk allowed vlan all
 port trunk pvid vlan 2
 exit


Show Outputs
Cisco outputs
Port Channel status-


Port Channel interface - 



Interface fa0/23



Fa0/24


Show version



Maipu outputs –
Link aggregation output -


Port 0/0/14 -

Port 0/0/15 -




Test Conclusion - Maipu and Cisco LACP is properly working fine and bandwidth is load-balancing on both links. 

Hope this information will help you. 

Thanks for reading.. 

For feedback. Plz comment with Name and Mail ID..  

Saturday, August 6, 2011

L2 QOS - 802.1p Priority


This section will explain you about 802.1p priority field in L2 header.This field is majorly used in L2 QOS. 

      The 802.1p priority is located in the L2 packet header. It is used when you don’t want to analyze the L3 packet header, but need to ensure QOS in L2 environment. As shown in below diagram, the 4-byte 802.1Q header contains 2-byte TPID (Tag Protocol Identifier valued as 0x8100) and 2-byte TCI (Tag Control Information).


Figure 1 - Ethernet Frame with 802.1Q Header

The following figure shows the detailed contents of the 802.1Q header. Ethernet frame with 802.1Q header.



Figure 2 802.1Q header

As shown in above diagram, the Priority field in TCI is the 802.1p priority. It comprises three bits and the value range is 0-7.

It is called 802.1p priority.

Hope this information is informative for you. In coming post, I will share 802.1p configuration for L2 QOS.

For any feedback, Plz comment with your name and mail ID. For new users, you can use Name/URL option. 

Thanks for reading...

Sunday, July 31, 2011

Traffic Control Using ACL- Maipu Switches

As we use rate limit feature to restrict bandwidth in switch.Today we will see how to control bandwidth with ACL.

For this we need to understand some more related concepts with ACL.

Action Group –
  • To support the packet classification and traffic control, the switch extends the traditional ACL, so that the ACL and each permit rule in the ACL can be bound with one action group
  • It will take the corresponding action for the matching packet. The action group is the set of actions
  • One action group can contain packet mirroring, packet re-direction, packet modification, packet traffic control, and packet counting.
  • Each entry of the ACL can be bound to one action group. Execute the corresponding action for the matching packet.
  • The action group can only be bound with the IP ACL and can only be bound with the permit rule.

Hope now you have fair enough information about Action group used with ACL. Let’s see how to use it for our requirement.For that, need to understand Traffic meter.

Traffic Meter

It’s a traffic meter, which you define separately in global configuration in Maipu switch for bandwidth control and bind it with action group and then action group will be configured with permit ACL rule. So that as ACL will get match it should apply the action group for matched packets.  

Let’s start with some well known terms used in traffic meter.

Related Terms:

CIR: Committed Information Rate
CBS: Committed Burst Size
EBS: Excess Burst Size
PIR: Peak Information Rate
PBS: Peak Burst Size

SRTCM (Single Rate Three Color Marker): It is defined in RFC2697. Use the three parameters (CIR, CBS, and EBS) to realize the single rate control and packet coloring function. It includes color bind mode and color –sensing mode.

Details - The Single Rate Three Color Marker (srTCM) meters an IP packet stream and marks its packets either green, yellow, or red.  Marking is based    on a Committed Information Rate (CIR) and two associated burst sizes,   a Committed Burst Size (CBS) and an Excess Burst Size (EBS).  A   packet is marked green if it doesn't exceed the CBS, yellow if it    does exceed the CBS, but not the EBS, and red otherwise.  The srTCM    is useful, for example, for ingress policing of a service, where only  the length, not the peak rate, of the burst determines service  eligibility.

TRTCM (Two Rate Three Color Marker): It is defined in RFC2698. Use CIR, CBS, PIR, and PBS to realize the two rate control and the coloring for packets. It includes the color bind mode and color –sensing mode.

Details: The Two Rate Three Color Marker (trTCM) meters an IP packet stream and marks its packets either green, yellow, or red.  A packet is marked red if it exceeds the Peak Information Rate (PIR).  Otherwise it is marked either yellow or green depending on whether it exceeds or doesn't exceed the Committed Information Rate (CIR).  The trTCM is    useful, for example, for ingress policing of a service, where a peak rate needs to be enforced separately from a committed rate.

Working flow of Traffic meter:
  • To support the packet based traffic control, you can specify one meter name in the action group.
  • The meter supports two modes, including SRTCM and TRTCM. The function of the meter is to remark or drop the packet according to the traffic.
  • The meter has the processing action for the coloured packet. When being configured as drop the colored packet, it is used to complete the packet traffic limitation function; when being configured as remark the colored packet, it is used to complete the packet classification according to the traffic so that the user takes different QoS policies in the later data path.
  • After the meter is configured to color the packets, the counter in the action group can count the packets.

Below is one configuration example, It will help for better understanding...

Topology:

PC1 sender(192.168.1.9)------- port0/0 swtich port 0/1----------PC2 receiver (192.168.1.15)

Configuration:

Traffic meter: (It is configured with 5Mb)

traffic-meter TEST_VLAN100
 meter mode trtcm 5120 160000 5120 512000
 meter action red drop
 meter action yellow drop
 exit

l3-action-group TRAFFIC_LIMIT
 meter TEST_VLAN100
 exit

ip access-list extended MATCH_TRAFFIC
 10 permit ip any any l3-action-group TRAFFIC_LIMIT
 exit

vlan 100
 ip access-group MATCH_TRAFFIC in
 exit

Port  configuration:

port 0/0
 port-type uni
 uni-isolate community
 port access vlan 100
load-interval 30
 exit
port 0/1
 port-type uni
 uni-isolate community
 port access vlan 100
load-interval 30
 exit


You can see, the results in below screenshots.

Screenshots:

BEFORE APPLYING

PC-1 : (Sender- 192.168.1.9) – PC1 in sending 7 MB of traffic to PC 2.
Before Traffic meter:


PC-2 Receiver (192.168.1.15)

Before applying Traffic meter :




After applying traffic meter:
AFTER APPLYING

PC-1 (Sender - 192.168.1.9)
When you apply traffic meter, then also sender will not get affected, it will send the traffic as usual. But you can see the effects in receiver end.





PC-2 (Receiver – 192.168.1.15)
you can see here our ACL is working. After applying traffic meter, the receiver is only receiving 5 MB.



I was doing one testing, Where I used traffic meter. So I shared this testing and traffic meter concepts. 

Device used: Maipu 3400 switch
IOS: sp1-g-6.2.17.pck

Plz check the command explanations: 

meter mode srtcm cir cbs ebs

meter mode trtcm cir cbs bps pir




Command
Description
meter mode srtcm
Configure the traffic meter as srtcm mode. The configuration is colored according to the metering result of the traffic meter.
meter mode trtcm
Configure the traffic meter as trtcm mode. The configuration is colored according to the metering result of the traffic meter.
Cir
Commitment information rate
Cbs
Commitment burst size
Ebs
Exceeding burst size
Pbs
Peak burst size
Pir
Peak information rate


You can use this feature for VLAN based traffic control using ACL.

Hope this information is informative for you.
For feedback, Plz comment with your name and mail id. For new users you can use Name/URL option.

Thanks for reading… 
Related Posts Plugin for WordPress, Blogger...