September 22

Basic Cisco Command Q&A

  1. What is the use of no switch port command in L3 switch?

interface GigabitEthernet1/0/10

description  router port1

no switchport

ip address 10.10.20.1 255.255.255.0

The no switchport command puts the interface in L3 mode (known as “routed port”) and makes it operate more like a router interface rather than a switch port. The ip address command assigns an IP address and network mask to the interface.

  • show ip interface brief
  • show interfaces status
  • show int g1/0/1
  • clear counters g1/0/1
  • show power inline   
  • terminal monitor  (this can show with device is connected or disconnected to the port)Disconnection:

    Mar 9 20:46:53.580 SV: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/44, changed state to down

    Mar 9 20:46:54.594 SV: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/44, changed state to down

    Connection:

    Mar 9 20:47:02.311 SV: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/44, changed state to up
    Mar 9 20:47:03.311 SV: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/44, changed state to up

Conf t
int g1/0/1
power inline never    (stop supply power)

 

 

Category: Cisco | LEAVE A COMMENT
September 11

A Windows 7 PC Cannot Join Domain “the network path was not found”

Problem: A windows 7 computer cannot join domain. It says “the network path was not found”. All other computers can join the Domain with no problems.

Solutions:

I have searched online, none of the following suggestions works.

  • Check the DNS is pointed to domain controller.
  • Make sure  the TCP/IP NetBIOS Helper Service is running on the client computer
  • Disable firewall, or uninstall antivirus software.

It turns out that the client for Microsoft Networks has to be installed and checked.

 

 

September 7

Fix Workstation Network Card Connectivity Delays When Connecting to Cisco Switch

Problem: A desktop computer takes nearly a minute to connect to a Cisco switch.  The switch model is c3750e

Reasons: 

  • Spanning Tree Protocol (STP)
  • EtherChannel negotiation
  • Trunking negotiation
  • Link speed/duplex negotiation between the switch and the workstation

These four features are listed in order of the delay they cause. STP causes the greatest delay and speed/duplex negotiation causes the least delay.

Solutions: Disable STP

Configuration

2900XL#configure terminal
2900XL(config)#interface g1/0/1
2900XL(config-if)#spanning-tree portfast
2900XL(config-if)#exit
2900XL(config)#exit
2900XL#copy run start
Category: Cisco | LEAVE A COMMENT