CISCO devices Configuration verification commands

 


The table summarizes show commands used to verify interface configuration.

Commands

Description

show ip interface brief

show ipv6 interface brief

Displays all interfaces, their IP addresses, and their current status.

show ip route

show ipv6 route

Displays the contents of the IP routing tables stored in RAM.

show interfaces

Displays statistics for all interfaces on the device. Only displays the IPv4 addressing information.

show ip interfaces

Displays the IPv4 statistics for all interfaces on a router.

show ipv6 interfaces

Displays the IPv6 statistics for all interfaces on a router.

View status of all interfaces with the show ip interface brief and show ipv6 interface brief commands, shown here:

R2#show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol
GigabitEthernet0/0/0   192.168.2.2     YES manual up                    up
GigabitEthernet0/0/1   unassigned      YES unset  up                    down
Serial0/1/0            192.168.3.1     YES manual up                    up
Serial0/1/1            unassigned      YES unset  down                  down
Vlan1                  unassigned      YES unset  administratively down down

 

 

R2#show ipv6 interface brief
GigabitEthernet0/0/0       [up/up]
    unassigned
GigabitEthernet0/0/1       [up/down]
    unassigned
Serial0/1/0                [up/up]
    unassigned
Serial0/1/1                [down/down]
    unassigned
Vlan1                      [administratively down/down]
    unassigned


Display the contents of the IP routing tables with the show ip route and show ipv6 route commands as shown here:

 

R2#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     172.16.0.0/24 is subnetted, 2 subnets
R       172.16.1.0/24 [120/1] via 192.168.3.2, 00:00:19, Serial0/1/0
R       172.16.2.0/24 [120/1] via 192.168.2.1, 00:00:14, GigabitEthernet0/0/0
R    192.168.1.0/24 [120/1] via 192.168.2.1, 00:00:14, GigabitEthernet0/0/0
     192.168.2.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.2.0/24 is directly connected, GigabitEthernet0/0/0
L       192.168.2.2/32 is directly connected, GigabitEthernet0/0/0
     192.168.3.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.3.0/24 is directly connected, Serial0/1/0
L       192.168.3.1/32 is directly connected, Serial0/1/0

 

R2#show ipv6 route
IPv6 Routing Table - 0 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route, M - MIPv6
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
       O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
       D - EIGRP, EX - EIGRP external

 

Display statistics for all interfaces with the show interfaces command, as shown here:

R2#show interfaces gigabitEthernet 0/0/0
GigabitEthernet0/0/0 is up, line protocol is up (connected)
  Hardware is Lance, address is 0001.42bd.102e (bia 0001.42bd.102e)
  Internet address is 192.168.2.2/24
  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Full-duplex, 100Mb/s, media type is RJ45
  ARP type: ARPA, ARP Timeout 04:00:00,
  Last input 00:00:08, output 00:00:05, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0 (size/max/drops); Total output drops: 0
  Queueing strategy: fifo
  Output queue :0/40 (size/max)
  5 minute input rate 21 bits/sec, 0 packets/sec
  5 minute output rate 21 bits/sec, 0 packets/sec
     34 packets input, 2408 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     0 input packets with dribble condition detected
     32 packets output, 2264 bytes, 0 underruns
     0 output errors, 0 collisions, 1 interface resets
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier
     0 output buffer failures, 0 output buffers swapped out

 

Display IPv4 statistics for router interfaces with the show ip interface command, as shown here:

R2#show ip interface gigabitEthernet 0/0/0
GigabitEthernet0/0/0 is up, line protocol is up (connected)
  Internet address is 192.168.2.2/24
  Broadcast address is 255.255.255.255
  Address determined by setup command
  MTU is 1500 bytes
  Helper address is not set
  Directed broadcast forwarding is disabled
  Outgoing access list is not set
  Inbound  access list is not set
  Proxy ARP is enabled
  Security level is default
  Split horizon is enabled
  ICMP redirects are always sent
  ICMP unreachables are always sent
  ICMP mask replies are never sent
  IP fast switching is disabled
  IP fast switching on the same interface is disabled
  IP Flow switching is disabled
  IP Fast switching turbo vector
  IP multicast fast switching is disabled
  IP multicast distributed fast switching is disabled
  Router Discovery is disabled
  IP output packet accounting is disabled
  IP access violation accounting is disabled
  TCP/IP header compression is disabled
  RTP/IP header compression is disabled
  Probe proxy name replies are disabled
  Policy routing is disabled
  Network address translation is disabled
  BGP Policy Mapping is disabled
  Input features: MCI Check
  WCCP Redirect outbound is disabled
  WCCP Redirect inbound is disabled
  WCCP Redirect exclude is disabled

 

Display IPv6 statistics for router interfaces with the show ipv6 interface command shown here:

R2#show ipv6 interface gigabitEthernet 0/0/0

 

Tags

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !