difference between show ip interface brief and show protocols?

urviurvi Member Posts: 79 ■■□□□□□□□□
HiWhat is the difference between show ip interface brief and show protocols?

Comments

  • theodoxatheodoxa Member Posts: 1,340 ■■■■□□□□□□
    sh ip int br - Lists the interfaces and their IP Addresses and States. It's a quick way to find the State (UP/UP, UP/DOWN, ADMINISTRATIVELY DOWN/DOWN) of one or more interfaces and what their IPv4 Addresses are (you would use show ipv6 interfaces brief if you wanted to see what their IPv6 Addresses were).

    [EDIT] sh prot - This appears to just give the same basic information formatted differently. I noticed one major addition: subnet mask (in CIDR Format). I would normally use sh int Fa0/0, but this would work also.

    [This is what I was thinking of] sh ip prot - This command gives alot more information. Specifically, it includes information on what routing protocols are in use and what networks are included, etc...You would use show protocols to resolve issues with routing protocols. Though, it does include other info.
    R&S: CCENT CCNA CCNP CCIE [ ]
    Security: CCNA [ ]
    Virtualization: VCA-DCV [ ]
  • theodoxatheodoxa Member Posts: 1,340 ■■■■□□□□□□
    I was thinking of show ip protocols.

    show ip interface brief
    Router#sh ip int br
    Interface              IP-Address      OK? Method Status                Protocol
     
    FastEthernet0/0        192.168.0.1     YES manual up                    down
     
    FastEthernet0/1        unassigned      YES unset  administratively down down
     
    Dot11Radio0/0/0        unassigned      YES unset  administratively down down
     
    Dot11Radio0/0/1        unassigned      YES unset  administratively down down
     
    FastEthernet0/1/0      unassigned      YES unset  administratively down down
     
    FastEthernet0/1/1      unassigned      YES unset  administratively down down
     
    FastEthernet0/1/2      unassigned      YES unset  administratively down down
     
    FastEthernet0/1/3      unassigned      YES unset  administratively down down
     
    Modem0/2/0             unassigned      YES unset  administratively down down
     
    Modem0/2/1             unassigned      YES unset  administratively down down
     
    FastEthernet0/3/0      unassigned      YES unset  administratively down down
     
    FastEthernet0/3/1      unassigned      YES unset  administratively down down
     
    FastEthernet0/3/2      unassigned      YES unset  administratively down down
     
    FastEthernet0/3/3      unassigned      YES unset  administratively down down
     
    Serial1/0              99.0.0.1        YES manual down                  down
     
    Serial1/1              unassigned      YES unset  administratively down down
     
    Serial1/2              unassigned      YES unset  administratively down down
     
    Serial1/3              unassigned      YES unset  administratively down down
     
    Serial1/4              unassigned      YES unset  administratively down down
     
    Serial1/5              unassigned      YES unset  administratively down down
     
    Serial1/6              unassigned      YES unset  administratively down down
     
    Serial1/7              unassigned      YES unset  administratively down down
     
    Vlan1                  unassigned      YES unset  administratively down down
    Router#
    

    show protocols
    Router#sh prot
    Global values:
      Internet Protocol routing is enabled
    FastEthernet0/0 is up, line protocol is up
      Internet address is 192.168.0.1/23
    FastEthernet0/1 is administratively down, line protocol is down
    Dot11Radio0/0/0 is administratively down, line protocol is down
    Dot11Radio0/0/1 is administratively down, line protocol is down
    Modem0/2/0 is administratively down, line protocol is down
    Modem0/2/1 is administratively down, line protocol is down
    Serial1/0 is down, line protocol is down
      Internet address is 99.0.0.1/30
    Serial1/1 is administratively down, line protocol is down
    Serial1/2 is administratively down, line protocol is down
    Serial1/3 is administratively down, line protocol is down
    Serial1/4 is administratively down, line protocol is down
    Serial1/5 is administratively down, line protocol is down
    Serial1/6 is administratively down, line protocol is down
    Serial1/7 is administratively down, line protocol is down
    Vlan1 is administratively down, line protocol is down
    Router#
    

    show ip protocols
    Router#sh ip prot
    
    
    Routing Protocol is "eigrp  1 " 
      Outgoing update filter list for all interfaces is not set 
      Incoming update filter list for all interfaces is not set 
      Default networks flagged in outgoing updates  
      Default networks accepted from incoming updates 
      EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
      EIGRP maximum hopcount 100
      EIGRP maximum metric variance 1
    Redistributing: eigrp 1
      Automatic network summarization is in effect  
      Automatic address summarization: 
      Maximum path: 4
      Routing for Networks:  
         192.168.0.0
      Routing Information Sources:  
        Gateway         Distance      Last Update 
      Distance: internal 90 external 170
    
    
    Routing Protocol is "rip"
    Sending updates every 30 seconds, next due in 17 seconds
    Invalid after 180 seconds, hold down 180, flushed after 240
    Outgoing update filter list for all interfaces is not set
    Incoming update filter list for all interfaces is not set
    Redistributing: rip
    Default version control: send version 1, receive any version
      Interface             Send  Recv  Triggered RIP  Key-chain
      FastEthernet0/0       1     2 1   
    Automatic network summarization is in effect
    Maximum path: 4
    Routing for Networks:
        192.168.0.0
    Passive Interface(s):
    Routing Information Sources:
        Gateway         Distance      Last Update
    Distance: (default is 120)
    
    
    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 192.168.0.1
      Number of areas in this router is 1. 1 normal 0 stub 0 nssa
      Maximum path: 4
      Routing for Networks:
        192.168.0.0 0.0.0.255 area 0
      Routing Information Sources:  
        Gateway         Distance      Last Update 
        192.168.0.1          110      00:00:40
      Distance: (default is 110)
    
    
    Router#
    
    R&S: CCENT CCNA CCNP CCIE [ ]
    Security: CCNA [ ]
    Virtualization: VCA-DCV [ ]
Sign In or Register to comment.