4 Replies Latest reply: Apr 15, 2011 1:44 AM by Michael Sato RSS

    "show protocols" command

    Michael Sato

      I'm new at posting a discussion...but here goes...

       

      While doing CCNP lab 2-2, EIGRP, I ran into a snag with the "show protocols" command.  according to the lab, it calls for me to issue the command to view the interfaces, their status, ip addresses, etc...

       

      However, I get an incomplete command message.  Seems that can't just issue "show protocols" alone and I need to enter additional information (i.e. the type of interface).  So my first thought was that the lab manual had an error.

       

      A google search on that command led me to a Cisco document (from their site) showing that the command does not need to include the optional interface type.

       

      Does anyone know if this command changed within the IOS releases?

       

      I am running 2811's with IOS 12.4(9)T7.

        • 1. Re: "show protocols" command
          Paul Stewart  -  CCIE Security

          I very rarely use the "show protocols" command.  On my 12.4.15T12, it works with or without additional parameters.  The "show ip protocols" command is the one that I use regularly and will definitely work without additional parameters in all cases.

          • 2. Re: "show protocols" command
            Keith Barker - CCIE RS/Security, CISSP

            Hello Michael-

             

            The additional paramater (of interface) should be an optional command.  It is very likely an issue (bug/anomaly) with the specific IOS you are running.

             

            R2#show pro?

            processes  protocols 



            R2#show protocols

            Global values:

              Internet Protocol routing is enabled

            FastEthernet0/0 is up, line protocol is up

              Internet address is 10.0.0.2/24

            FastEthernet0/1 is up, line protocol is up

              Internet address is 23.0.0.2/24

            Loopback0 is up, line protocol is up

              Internet address is 2.2.2.2/24

            R2#

            R2#show ip protocols

            Routing Protocol is "ospf 1"

              Outgoing update filter list for all interfaces is not set

              Incoming update filter list for all interfaces is not set

              Router ID 2.2.2.2

              Number of areas in this router is 1. 1 normal 0 stub 0 nssa

              Maximum path: 4

              Routing for Networks:

                0.0.0.0 255.255.255.255 area 0

            Reference bandwidth unit is 100 mbps

              Routing Information Sources:

                Gateway         Distance      Last Update

                3.3.3.3              110      00:02:18

                1.1.1.1              110      00:00:29

              Distance: (default is 110)


            R2#

             

            This is from the command lookup tool (also attached):

             

            show protocols

            To display the configured protocols, use the show protocols command in user EXEC or privileged EXEC mode.

            show protocols [interface-name interface-number]

            Syntax Description

             


            interface-name

            (Optional) The type of interfaces. It can be one of the following values:

            ATM—ATM interface

            Async—Async interface

            Auto-Template—Auto-Template interface

            BVI—Bridge-Group Virtual Interface

            CDMA-Ix—CDMA Ix interface

            Container—Container interface

            CTunnel—CTunnel interface

            Dialer—Dialer interface

            Ethernet—Institute of Electrical Electronics Engineers (IEEE) 802.3

            FastEthernet—FastEthernet IEEE 802.3

            EsconPhy—ESCON interface

            fcpa—Fiber Channel

            Filter—Filter interface

            multiservice—Multiservice interface

            Pos-channel—POS Channel interfaces

            SBC—Session Border Controller

            SYSCLOCK—Telecom-Bus Clock Controller

            Tunnel—Tunnel interface

            Vif—PGM Multicast Host interface

            Virtual-Access—Virtual access interface

            Virtual-PPP—Virtual PPP interface

            Virtual-Template—Virtual template interface

            Virtual-TokenRing—Virtual TokenRing

            Vlan—Catalyst VLANs

            vmi—Virtual Multipoint Interface

            voaBypassIn—VOA-Bypass-In interface

            voaBypassOut—VOA-Bypass-Out interface

            voaFilterIn—VOA-Filter-In interface

            voaFilterOut—VOA-Filter-Out interface

            voaIn—VOA-In interface

            voaOut—VOA-Out interface

            interface-number

            (Optional) Interface number.

             

            Command Modes

            User EXEC (>)
            Privileged EXEC (#)

            Command History

                             

            Release

             

            Modification

            10.0

            This command was introduced.

            12.0(3)T

            The command was integrated in a release earlier than Cisco IOS Release 12.0(3)T.

            12.2(33)SRA

            This command was integrated into Cisco IOS Release 12.2(33)SRA.

            Cisco IOS XE Release 2.1

            This command was integrated into Cisco IOS XE Release 2.1.

             

            Usage Guidelines

            The show protocols command shows the global and interface-specific status of any configured Level 3 protocol.

            Examples

            The following is sample output from the show protocols command. The field names are self-explanatory.

            Router# show protocols

            Global values:

              Internet Protocol routing is enabled

            FastEthernet0/0 is up, line protocol is up

              Internet address is 10.4.9.14/24

            vmi1 is down, line protocol is down

            FastEthernet0/1 is up, line protocol is up

              Internet address is 10.4.8.14/24

            ATM2/0 is administratively down, line protocol is down

            ATM2/0.1 is administratively down, line protocol is down

            ATM2/0.2 is administratively down, line protocol is down

            ATM2/0.200 is administratively down, line protocol is down

            Ethernet3/0 is administratively down, line protocol is down

            Ethernet3/0.1 is administratively down, line protocol is down

            Ethernet3/1 is administratively down, line protocol is down

            Ethernet3/2 is administratively down, line protocol is down

            Ethernet3/3 is administratively down, line protocol is down

            ATM6/0 is administratively down, line protocol is down

            SSLVPN-VIF0 is up, line protocol is up

              Interface is unnumbered. Using address of SSLVPN-VIF0 (0.0.0.0)

            Virtual-Access1 is down, line protocol is down

            Virtual-Template1 is down, line protocol is down

            Virtual-Access2 is up, line protocol is up

            Port-channel5 is down, line protocol is down

            Port-channel5.1 is down, line protocol is down

            Port-channel15 is down, line protocol is down

            Virtual-Template100 is down, line protocol is down

              Interface is unnumbered. Using address of vmi1 (0.0.0.0)

            Dialer3 is up, line protocol is up

            For more information on the parameters or protocols shown in this sample output, see the Cisco IOS IP Addressing Services Configuration Guide and the Cisco IOS IP Routing Protocols Configuration Guide.

             

            I would just use alternate commands, and not worry too much about this single command.

             

            Best wishes,

             

            Keith

            • 3. Re: "show protocols" command
              Michael Sato

              I truly appreciate a quick response and support.  I will use your advice.

              Aloha, Mike 

              • 4. Re: "show protocols" command
                Michael Sato

                Thank you for the response and information, I never thought the IOS image would be a problem.  I meant to try to get an upgrade too.  You are correct and I should not get hung up on one command.

                 

                I tried the command at work today on a 7600 router and it worked without the optional interface value.  The 7600 is running a 12.2xx release.

                 

                I just tried it again at home, and its the same...

                 

                Aloha, Mike