2013年12月19日星期四

Why the AP can not connect with the Cisco 2960?

2 Cisco switches 2960 (WS-C2960S-24TD-L and WS-C2960S-48TD-L ) were connected with a trunk to carry 2 VLANs - VLAN 101 for data, and VLAN 102 for voice - IP phones. Please see the switch configurations as attached:
 Basically, switch01 is a 24-port Gigabit Ethernet with POE support, whereas Switch02 is a 24-port Fast Ethernet without POE. A trunk was created that carries VLAN101 and 102 between 2 switches. Switch01 is working fine with mixture of laptop/desktops/ip phones, with DHCP server hosted on one of the server connected to switch02. However, for switch01, only existing devices that connected are working fine. My co-worker tried to connect a Wireless AP with a static IP, and he found that the network port "Activity" and "link" LEDs are off.  Connect to other port on switch01 is the same.
What could be a problem? Does the switch configured wrongly? How about trunk? Could it be the port speed, duplex? How about spanning-tree, does this needed?

The solution:
On the trunks:
interface GigabitEthernet0/2
 no switchport access vlan 101
 switchport trunk allowed vlan 101,102
 switchport mode trunk
 switchport nonegotiate
 duplex full

You don't need the switchport access vlan 101
For the port on switch one that you want to connect to the AP do this:

interface GigabitEthernet0/24
 switchport mode access
 switchport access vlan 101
 no switchport voice vlan 102
 spanning-tree portfast

Try that. It may be that since you have voice vlan configured, the port is trying to negotiate a trunk with the AP and the AP is not configured for that.

The AP should be configured as VLAN 101. I am saying change the port that the AP will connect to into an ACCESS port. With voice vlan on it, it's really a trunk port.
The access command doesn't have any effect since the port is in trunk mode, so it's not needed.   VLAN 1 by default is the native vlan anyway unless you specify a different vlan with switchport trunk native vlan x (x being the vlan number)

More information about the cisco 2960 FAQ, please visit: http://cisco2960faq.blogspot.com


2013年12月4日星期三

What's the fastest way to connect the 3 Cisco 2960-S switches

what's the best/recommended and most reliable/fastest way to connect my 3 Cisco 2960-S switches? WS-C2960S-48LPS-L and WS-C2960S-24TS-S
I work with  a home automation company that needs the most reliable network possible since the entire house relies on the network/wireless.
i have a Fortigate 60C as my main router, 5 Ruckus 7363 APs and 1 Cisco 2960-S PoE and 2 Cisco 2960-S Catalyst Switches.
All 3 swtiches are located in 3 different parts of the house and are connected via CAT6 from the main 2960-S PoE on port 23 and 24 to switches in Living and Theater respectively.
i know this swtiches have 4 SFP ports?
can i get an adapter form SFP to CAT6e or CAT5?
is there an advantage to configuring a port role depending on what's connected on each port?

The solution:
1 If you can connect all three switches together, Switch A to B, B to C and C to A, you will have the most redundancy. Spanning tree will prevent a switching loop. Most of your equipment will likely support only one network connection; however, ideally, connecting a server to two separate switches will provide better redundancy.
If possible, try distributing the AP across the various switches for redundancy as well. 
As for the SFP ports, you can get Copper SFP's, but since the switches are Gigabit to begin with, there really is now point. Unless you are using VLANs, any switch port will do.
If throughput is an issue, you may choose to connect the switches with two or more cables, and enable etherchannel for link aggregation.

2 I advise to use Optical SFPs to crossconnect the swithes, if you bought 10G version you able to use 10G if not you able to use 1G.
You need to use STP (which is defaultly enabled)
If you have 1g UPLINK you able to use 2 SFP-s for same for link aggregation  switch to another via PaGP.
I advise to use single mode cable for optical!

Tips for where to buy the SFP
The distrobutor 3anetwork is a world leading Cisco networking products wholesaler, offers Cisco networking  products, Cisco switches, Cisco routers and other products at competitive price. Best price on SFP modules. You can request a quote by emailing us at info@3Anetwork.com or pick up the phone and speak to one of our friendly and helpful sales reps at +852-3069-7733.

Contact information:
Telephone: +852-3069-7733(Hong Kong)
Fax: +852-3069-7731
Email:   info@3Anetwork.com(Sales Inquiries)
Address: 23/F Lucky Plaza, 315-321 Lockhart Road, Wanchai, Hongkong