Port status on a IOS Switch

Hi
Is there any command with which one can know the status of the ports on a Cisco IOS Switch? I need to know if some of the ports on a particular Switch have ever been used or not. Is it possible?
Regards // Anoop

Hi Anup,
How abt "sh int" or "sh int status"
Regards,
Ankur

Similar Messages

  • Assigning multiple ports/interfaces to a VLAN-Switch-IOS

    Hi,
    I am trying to assign ports/Interfaces to VLAN 2 but need to assign the whole blade or many ports on two or three blades to VLAN 2. Switch CAT 4500 running Cisco IOS - I can only do one port/interface at a time:
    Switch-4500(config)# interface fastEthernet 0/2
    Switch-4500(config-if)# switchport access VLAN 2
    vlan Set VLAN when interface is in access mode
    So this way, as explained above one port at a time gets assigned to a VLAN. I need to do multiple ports. how can I do this if possible at all.
    Thanks,
    Masood

    Thanks for getting back to me. You know, I have taken over this network just recently and have realized that the company that was taking care of this network had done this way:
    1 main subnet (Uers, Servres,WS, ect)- VLAN2
    1 Development Subnet - VLAN 3 - still active but not in use
    So all of my switches, i.e. two CAT 4006, Two CAT 3560, and one New 4500 (just purchased) all on VLAN 2. the main CAT switch has VLAN 3 information since the DEV subnet connects to it as well.
    Now , I am trying to create 4 or 5 functional VLANS for my main network (currently has all my switches and Three Routers in it and VLAN 2).
    2 CAT 4006 switch
    1 CAT 4500 Switch
    2 CAT 3560
    1 CAT 3550
    2 CAT 2948-G-TX
    2 Border or Gateway Routers Cisco 2621
    1 gateway Router 2621 (Connects this office to a remote extention to this office using a point to point T1 and at th eother end - Private IP, connects to Internet Via an ISP).
    My two border Router - public IP and connects two T1a, one prim and the other one shadow.
    I guess my question is:
    what would be the best way to create VLAN 2,3,4,5,6
    using the above switches and routers and have Intervlan communications through Truncking and management through VTP or else.
    I want to create VLANs in such a way that if a user belong to VLAN2 seats at 12 flr and another user belong to this same VLAN 2 seats at 14 floor makes no difference, so independent of users location - how do I do the port assignment on the switches to do this? No resource or network file resource segmentation needed sonce all users wil acess same information.
    I really appreciate your sugestions and help.
    Regards,
    Masood

  • Need SNMP OID for MSTP status in Cisco SG300-28MP 28-port Gigabit Max-PoE Managed Switch

    Hi,
    I have configured redundant network using two Cisco SG300-28MP 28-port Gigabit Max-PoE Managed Switch through MSTP & it's working fine.
    I need OID of MSTP status from which I can monitor which Switch is active and which one is in standby mode.
    Please help.
    Thanks,
    Harsha 

    Hi Harsha,
    check these OID's:
    http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?objectInput=1.3.6.1.4.1.9.9.500.1.2.1.1.6&translate=Translate&submitValue=SUBMIT
    http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?objectInput=cRFStatusUnitState&translate=Translate&submitValue=SUBMIT&submitClicked=true
    Thanks-
    Afroz
    **Ratings Encourages Contributors ***

  • Need SNMP OID of MSTP status for Cisco SG300-28MP 28-port Gigabit Max-PoE Managed Switch

    Hi,
    I have configured redundant network using two Cisco SG300-28MP 28-port Gigabit Max-PoE Managed Switch through MSTP & it's working fine.
    I need OID of MSTP status from which I can monitor which Switch is active and which one is in standby mode.
    Please help.
    Thanks,
    Harsha 

    Hi Harsha,
    check these OID's:
    http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?objectInput=1.3.6.1.4.1.9.9.500.1.2.1.1.6&translate=Translate&submitValue=SUBMIT
    http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?objectInput=cRFStatusUnitState&translate=Translate&submitValue=SUBMIT&submitClicked=true
    Thanks-
    Afroz
    **Ratings Encourages Contributors ***

  • Nexus 2K to Cisco 2960 IOS Switch

    Hi,
    I am trying to connect Nexus 2K FEX to Cisco 2960 IOS Switch (Trunk config) and causing spanning tree loop having issues. I am aware that I should't be connecting non host port to 2K FEX but it's corner case. I have done similar setup with Access Port configuration and didn't faced any issues.
    Nexus 5K config Config 
    interface Ethernet107/1/47
      switchport mode trunk
      switchport trunk allowed vlan 500-501
      spanning-tree guard root
      spanning-tree bpdufilter enable 
    interface Ethernet108/1/47
      switchport mode trunk
      switchport trunk allowed vlan 500-501
      spanning-tree guard root
      spanning-tree bpdufilter enable 
    2960-Config 
    interface GigabitEthernet1/0/47
      switchport mode trunk
      switchport trunk allowed vlan 500-501
     spanning-tree bpdufilter enable
    interface GigabitEthernet1/0/48
      switchport mode trunk
      switchport trunk allowed vlan 500-501
     spanning-tree bpdufilter enable
    Error Log
    %FWM-2-STM_LOOP_DETECT: Loops detected in the network for mac 001b.1700.0130 among ports Eth107/1/47
    Eth108/1/47 vlan 500 - Disabling dynamic learn notifications for 180 seconds 
    Should I configure port as "spanning-tree port type network" and create VPC and "storm-control broadcast level" to stop future occurrence?  OR Do i have to configure anything else to prevent spanning-tree loops? 
    Thanks for your help
    Ritesh

    Hi,
    spanning-tree port type network is used for VPC peer-link.  Try creating a new VPC and add ports 107/1/47 and 108/1/47 to it and a Portchannel on the 2960 and test.
    HTH

  • E3200 Port Status Questions

    Hi,
    On my E3200 (Firmware v1.0.04) I have a gigabit service (Versa Technology Vx-200E) plugged in to the WAN port and 4 lines plugged in to the LAN ports.
    The "Internet Port"  shows 10/100 Mbps   (Why might that be?)
    LAN Port Status's:
    1 - Shows Gigabit.  (Connected to a Netgear GS108 Gigabit switch)
    2 - Shows no status at all (Connected to a TP-Link TL-SG10005D gigabit switch)
    3 - Shows no status at all (Connected to a TP-Link TL-SG10005D gigabit switch)
    4 - Shows no status at all (Connected to a TP-Link TL-SG10005D gigabit switch)
    Why does the Internet Port show 10/100 when a Gigabit is connected to it?
    Why do LAN ports 2-4 show no status at all?
    Thanks.
    Paul
    Solved!
    Go to Solution.

    Hey there, Paul! The WAN port of this router is not gigabit capable so there's no way it'll go beyond 10/100. The LAN ports will only show status if data packets are being transferred.

  • How do I update my status only via iOS for Facebook on iPhone 5?

    I have iPhone 5s. I have account info to  my Facebook app. I know I can update my status "via iOS" with a picture.
    My question is:
    How can I update my status ONLY "via iOS" without having to upload a picture.
    When I had my iPhone 4s I used to do it sliding down my notification bar up top. Is there a a way to get that feature again? Or is there specific steps I have to do to get that feature again?

    When I'm on my own page there is a selection to Write Post near the top. When I'm on my newsfeed there is an Update Status section in the upper left corner.

  • Help, error connection Cisco Identity Services Engine with AD, global catalog port status error

    Dear all,
    I have Cisco Indentity Services Engine, that  connected to Active Directory. When I test connection detailed,
    the result is error, said:
    Test Connection Results
    This dialog shows the detailed logs for the operation for: idsv0018.
    Status: FAILED: Global Catalog port status error.
    Can anyone help?
    I believe,  because this error, I can't search group of AD, at Cisco ISE.
    FYI: the connection from Cisco ISE to AD, joined with successful result.
    Thanks,
    Jerri

    It's clears that when ISE tries to  find the GC using the _gc._tcp. DNS query. It doesn't find that  information on the Domain controller. The GC information is missing on  the DC.
    gc._tcp.DnsForestName
    Allows a client to locate a Global Catalog (gc) server for this domain.
    Jatin Katyal
    - Do rate helpful posts -

  • LMS 4.2 Port Status - Porlets

    Port Status Details
    The following portlets are displayed under Port Status pane:
    •Link Ports
    •Access Ports
    •Trunk Ports
    These portlets can contain 100 records by default.
    The Question is:
    How I can configure to show me these 3 portlets more than 100 records?

    Hi Louis
    You can create a schedule for Compliance Check job, in this solution first step you have to create a template for your configuration and then you should create Compliance job for your template and if your configuration has changed, you'll announcement about that with an email. if you want to oversee this solution inform me to help you.
    Regards
    Mahdi

  • How to check the port status in IPSec VPN

    Hi Experts,
    Is there any way by which we can find that the UDP port 500 is blocked at ISP side.
    My IPSec VPN configured between two cisco router in production network is not coming up and experts are saying that the ISP has blocked the port 500 somewhere in between, however ISP denying and saying that they dont block any port.
    kindly suggest what whould be the best wayout?
    Thanks

    Thanks Marvin,
    How could I capture the traffic from initiating peer so that I can figure out that UDP port 500 is blocked or not, with the help of wireshark...
    In my network ONT/Modem (having four ethernet port) is installed at both the end and from one of its port the router is connected at each side and IPSec VPN is configured between the router. to check the UDP port status, my question is, should i connect my laptop (running with wireshark) with one of the port of ONT and capture the traffice or is there any other way and how that traffice will tell me that port 500 is blocked or not?

  • SG500-52P 52-Port Gigabit PoE Stackable Managed Switch Stack

    Have created a stack with a SG500-52P 52-Port Gigabit PoE Stackable Managed Switch and a SG500-28P 28-Port Gigabit PoE Stackable Managed Switch.
    All seems fine, but my query is the SG500-52P 52-Port Gigabit PoE Stackable Managed Switch is showing has Master and the SG500-28P 28-Port Gigabit PoE Stackable Managed Switch is showing as a Backup, should this be a Slave?  Have a got the link cable wrong?

    Nope. You're all good.
    In an SG500 stack, there are three roles: master, backup and slave. The master currently holds the management role of the stack. The backup is the switch that will take over the management role if the master fails. Slaves are remaining stack members. As long as the master is active, the backup will essentially function as a slave.
    If you only have two switches, there will be a master and a backup with no slaves at all.

  • Port-channel between ACE4710 and switch

                   Hi all,
    I have configured port-channels on ACE and switch. Full-duplex and speed 1000Mbps are set on both sides. The configurations of port-channel on both sides is same. But there are output drops on the switch. See:
      Last clearing of "show interface" counters 00:31:24
      Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 536
    Why there are output drops on the switch? There is no half-duplex and both sides have the same speeds.
    Thank you
    Roman

    Hi Roman,
    Please paste the configuration of the ACE and Switch
    Cesar R
    ANS Team

  • Firewire port status check

    How can I check the status of my firewire ports? I recently purchased and added an external hard drive (SimpleDrive 250 GB) mainly for downloading & burning videos...but ever since I installed the thing, suddenly iDVD, iMovie & even iChat do not detect my camcorders nor iSight cameras any longer. Does iMac have a firewire port status operation that I can run to see if my firewire ports are defective? Or...what do you recommend I do now?

    It makes a difference if you have a new iMac Intel, an iMac G5, or something else.
    If you have posted on the proper board for your machine, then check out this iMac Intel firewire thread (there have been others, as well):
    http://discussions.apple.com/thread.jspa?threadID=445938&tstart=0
    Edit-
    You can also run the Apple Hardware Test (AHT) that came on the grey labeled Install Discs with your machine. Insert the disc and check out the Read Me.

  • 2960x - stack cables connected while switches power on. SFP ports - status unknown

    Connected 2960x uplink using SFP ports both stacks and all 4 ports worked good.
    Remote tech connected last stack cable between first and last switch, in 2 different 2960x stacks of switches, while switches were  powered on. A longer stack cable was needed.  3 of 4 SFP ports did stopped communicating.
    One stack SFP stayed up in switch 2, not master.  Completed reload - other SPF connected in switch 4/0/52
    Second stack no connection on either SFP, remote tech power cycled switches.
    After power cycle one SFP worked  in Master 1/0/52, other switches SFP ports show "unknown" when inserting SFP.
    Configured port 48 on stack with issue and connected second uplink just fine.
    Has anyone experienced this with the SFP's?
    - GLC-T  P/N 30-1410-03
    Looking for documentation on reccommending procedure for connecting stack cables while switches should be powered off or not.
    Thanks,

    Opened Cisco TAC case.  the following bug was found.
    the two different HBRN's below require 2 different IOS and they cannot be in same stack.
     https://tools.cisco.com/bugsearch/bug/CSCur56395
    switch#sh ver | s Hardware Board
    Hardware Board Revision Number  : 0x05
    switch#remote command 2 sh ver | s Hardware Board
    Switch : 2 :------------ Hardware Board Revision Number  : 0x05
    switch#remote command 3 sh ver | s Hardware Board
    Switch : 3 : ------------ Hardware Board Revision Number  : 0x12
    switch#remote command 4 sh ver | s Hardware Board
    Switch : 4 :------------Hardware Board Revision Number  : 0x12
    From Cisco.
    Developers have recommended to upgrade the IOS version of switches with a Hardware Board revision Number below 0x10 to the release 15.0(2.0).EX5ES. this is the one attached to this email and should be applied to switch 1 and 2.
    For switches with a Hardware Board revision Number above 0x10 to the release 152-2.4.E1ES, which I will send you right away. This should be done on switch 3 and 4.
    Now, If you  load the engineering special, you will  need to do a full power-cycle (physically unplug the power and plug it back in for every single switch). A simple ‘reload’ will not resolve this.
    The same must be done on Switch-0. For this stack you will only need to load the image attached to this email since all the Hardware Board revision Numbers are lower than 0x10.
    done.

  • 802.1x accounting does not reflect correct port status

    Hi,
    I've just discovered an issue when trying to use MSFT supplicant and Cisco 802.1x accounting. This makes 802.1x accounting completely unusable.
    Facts:
    1. MSFT supplicant does not send EAPOL-Logoff messages and there's no way to enable this (btw. Aegis client does not send it either, except when disabling interface).
    2. I am doing machine authentication along with domain authentication.
    3. Windows XP SP2 is used with EAP registry hacks applied.
    4. PEAP/MS-CHAPv2 method is used.
    Now when the computer is started it is logged into 802.1x with 'host/machine' account and RADIUS accounting start is sent by the switch. That's fine.
    When a user logs on with its 'domain\user' identity, then EAPOL-Start is sent from the host triggering new EAP message exchange and the user is authenticated correctly. However the switch sends Interim Accounting still using 'host/machine' credentials which is obviously wrong.
    Even more bizarre accounting happens when the user subsequently logs off from the machine. The EAPOL-Start is sent from the host triggering new authentication process for 'host/machine' identity and the host is authenticated ok. The accounting being sent is:
    - first Accounting Stop for 'host/machine' User-Name
    - then strange Interim Accounting with most attributes empty or missing
    256970: Jul 10 15:56:41.211 MET-DST: RADIUS: authenticator 68 CA 1A 46 85 4F F5 95 - 87 B4 84 61 72 85 42 F3
    256971: Jul 10 15:56:41.211 MET-DST: RADIUS: Acct-Session-Id [44] 10 "013F0000"
    256972: Jul 10 15:56:41.211 MET-DST: RADIUS: Vendor, Cisco [26] 34
    256973: Jul 10 15:56:41.211 MET-DST: RADIUS: Cisco AVpair [1] 28 "connect-progress=Auth Open"
    256974: Jul 10 15:56:41.211 MET-DST: RADIUS: Acct-Session-Time [46] 6 0
    256975: Jul 10 15:56:41.211 MET-DST: RADIUS: Acct-Input-Octets [42] 6 0
    256976: Jul 10 15:56:41.211 MET-DST: RADIUS: Acct-Output-Octets [43] 6 0
    256977: Jul 10 15:56:41.211 MET-DST: RADIUS: Acct-Input-Packets [47] 6 0
    256978: Jul 10 15:56:41.211 MET-DST: RADIUS: Acct-Output-Packets [48] 6 0
    256979: Jul 10 15:56:41.211 MET-DST: RADIUS: Acct-Authentic [45] 6 RADIUS [1]
    256980: Jul 10 15:56:41.211 MET-DST: RADIUS: Acct-Status-Type [40] 6 Watchdog [3]
    256981: Jul 10 15:56:41.211 MET-DST: RADIUS: Vendor, Cisco [26] 24
    256982: Jul 10 15:56:41.211 MET-DST: RADIUS: cisco-nas-port [2] 18 "FastEthernet0/11"
    256983: Jul 10 15:56:41.211 MET-DST: RADIUS: NAS-Port [5] 6 50011
    256984: Jul 10 15:56:41.211 MET-DST: RADIUS: NAS-Port-Type [61] 6 Eth [15]
    256985: Jul 10 15:56:41.211 MET-DST: RADIUS: Class [25] 27
    256986: Jul 10 15:56:41.215 MET-DST: RADIUS: 43 41 43 53 3A 30 2F 32 39 32 66 2F 61 38 31 38 [CACS:0/292f/a818]
    256987: Jul 10 15:56:41.215 MET-DST: RADIUS: 30 32 38 2F 35 30 30 31 31 [028/50011]
    256988: Jul 10 15:56:41.215 MET-DST: RADIUS: Service-Type [6] 6 Framed [2]
    256989: Jul 10 15:56:41.215 MET-DST: RADIUS: NAS-IP-Address [4] 6 10.129.128.40
    256990: Jul 10 15:56:41.215 MET-DST: RADIUS: Acct-Delay-Time [41] 6 0
    256991: Jul 10 15:56:41.239 MET-DST: RADIUS: Received from id 1646/238 10.129.128.38:1813, Accounting-response, len 20
    256992: Jul 10 15:56:41.239 MET-DST: RADIUS: authenticator ED 8E 8B 15 28 5F E4 37 - BF A8 F5 9E 10 43 5E A8
    So that the accounting sent from the switch does not reflect current status of the authenticated user on a given port.
    How to deal with this issue? Any ideas?
    thanks,
    robert

    Does your radius proxy-table is populated wrong for EAP- SIM users ?

Maybe you are looking for