Table Of Contents
transmit-buffers backing-store
show ip interface
To display the usability status of interfaces configured for IP, use the show ip interface command in privileged EXEC mode.
show ip interface [type number] [brief]
Syntax Description
type
(Optional) Interface type.
number
(Optional) Interface number.
brief
(Optional) Displays a summary of the usability status information for each interface.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
The Cisco IOS software automatically enters a directly connected route in the routing table if the interface is usable. A usable interface can send and receive packets. If an interface is not usable, the directly connected routing entry is removed from the routing table. Removing the entry allows the software to use dynamic routing protocols to determine backup routes to the network, if any.
If the interface can provide two-way communication, the line protocol is marked "up." If the interface hardware is usable, the interface is marked "up."
If you specify an optional interface type, you see information for that specific interface.
If you specify no optional arguments, you see information on all the interfaces.
When an asynchronous interface is encapsulated with PPP or Serial Line Internet Protocol (SLIP), IP fast switching is enabled. A show ip interface command on an asynchronous interface encapsulated with PPP or SLIP displays a message indicating that IP fast switching is enabled.
The show ip interface brief command can be used to view a summary of the router interfaces. This command displays the IP address, interface status, and additional information.
Examples
The following examples from Cisco IOS Release 12.3(14)YM2 show:
•
Configuration information on interface Gigabit Ethernet0/3, where the IP flow egress feature is configured on the output side (where packets go out of the interface) and the policy route-map named PBR_NAME is configured on the input side (where packets come into the interface).
•
Interface information on Gigabit Ethernet interface 0/3 showing that MPF is enabled and that both features are not supported by MPF and are ignored.
The highlighted arrows (for documentation purposes only) show the configured output and input features and the additional MPF interface information.
Router# show running-config interface g 0/3interface GigabitEthernet0/3ip address 10.1.1.1 255.255.0.0ip flow egress <== outputip policy route-map PBR_NAME <== inputduplex autospeed automedia-type gbicnegotiation autoendRouter# show ip interface g 0/3GigabitEthernet0/3 is up, line protocol is upInternet address is 10.1.1.1/16Broadcast address is 255.255.255.255Address determined by setup commandMTU is 1500 bytesHelper address is not setDirected broadcast forwarding is disabledOutgoing access list is not setInbound access list is not setProxy ARP is enabledLocal Proxy ARP is disabledSecurity level is defaultSplit horizon is enabledICMP redirects are always sentICMP unreachables are always sentICMP mask replies are never sentIP fast switching is enabledIP fast switching on the same interface is disabledIP Flow switching is disabledIP CEF switching is enabledIP Feature Fast switching turbo vectorIP VPN Flow CEF switching turbo vectorIP multicast fast switching is enabledIP multicast distributed fast switching is disabledIP route-cache flags are Fast, CEFRouter Discovery is disabledIP output packet accounting is disabledIP access violation accounting is disabledTCP/IP header compression is disabledRTP/IP header compression is disabledPolicy routing is enabled, using route map PBRNetwork address translation is disabledBGP Policy Mapping is disabledIP Multi-Processor Forwarding is enabled <======== MPF informationIP Input features, "PBR",are not supported by MPF and are IGNOREDIP Output features, "NetFlow",are not supported by MPF and are IGNOREDThe following example identifies a downstream VRF. The highlighted line (for documentation purposes only) identifies the downstream VRF.
Router# show ip interface vi 3Virtual-Access3 is up, line protocol is upInterface is unnumbered. Using address of Loopback2 (10.0.0.8)Broadcast address is 255.255.255.255Peer address is 10.8.1.1MTU is 1492 bytesHelper address is not setDirected broadcast forwarding is disabledOutgoing access list is not setInbound access list is not setProxy ARP is enabledLocal Proxy ARP is disabledSecurity level is defaultSplit horizon is enabledICMP redirects are always sentICMP unreachables are always sentICMP mask replies are never sentIP fast switching is enabledIP fast switching on the same interface is enabledIP Flow switching is disabledIP CEF switching is enabledIP Feature Fast switching turbo vectorIP VPN CEF switching turbo vectorVPN Routing/Forwarding "U"Downstream VPN Routing/Forwarding "D"IP multicast fast switching is disabledIP multicast distributed fast switching is disabledIP route-cache flags are Fast, CEFRouter Discovery is disabledIP output packet accounting is disabledIP access violation accounting is disabledTCP/IP header compression is disabledRTP/IP header compression is disabledPolicy routing is disabledNetwork address translation is disabledWCCP Redirect outbound is disabledWCCP Redirect inbound is disabledWCCP Redirect exclude is disabledBGP Policy Mapping is disabledTable 53 describes the significant fields shown in the display.
The following is sample output from the show ip interface brief command:
Router# show ip interface briefInterface IP-Address OK? Method Status ProtocolEthernet0 10.108.00.5 YES NVRAM up upEthernet1 unassigned YES unset administratively down downLoopback0 10.108.200.5 YES NVRAM up upSerial0 10.108.100.5 YES NVRAM up upSerial1 10.108.40.5 YES NVRAM up upSerial2 10.108.100.5 YES manual up upSerial3 unassigned YES unset administratively down down
Related Commands
show pas eswitch address
To display the Layer 2 learned addresses for an interface, use the show pas eswitch address EXEC command.
show pas eswitch address [ethernet | fastethernet] [slot/port]
Syntax Description
ethernet | fastethernet
(Optional) Specify the type of interface.
slot
(Optional) Slot number of the interface.
port
(Optional) Interface number.
Command Modes
EXEC
Command History
Examples
The following sample output shows that the first PA-12E/2FE interface (listed below as port 0) in port adapter slot 3 has learned the Layer 2 address 00e0.f7a4.5100 for bridge group 30 (listed below as BG 30):
Router# show pas eswitch address fastethernet 3/0U 00e0.f7a4.5100, AgeTs 56273 s, BG 30 (vLAN 0), Port 0show rif
To display the current contents of the RIF cache, use the show rif EXEC command.
show rif
Syntax Description
This command has no arguments or keywords.
Command Modes
EXEC
Command History
Examples
The following is sample output from the show rif command:
Router# show rifCodes: * interface, - static, + remoteHardware Addr How Idle (min) Routing Information Field5C02.0001.4322 rg5 - 0630.0053.00B05A00.0000.2333 TR0 3 08B0.0101.2201.0FF05B01.0000.4444 - - -0000.1403.4800 TR1 0 -0000.2805.4C00 TR0 * -0000.2807.4C00 TR1 * -0000.28A8.4800 TR0 0 -0077.2201.0001 rg5 10 0830.0052.2201.0FF0In the display, entries marked with an asterisk (*) are the router/bridge's interface addresses. Entries marked with a dash (-) are static entries. Entries with a number are cached entries. If the RIF timeout is set to something other than the default of 15 minutes, the timeout is displayed at the top of the display.
Table 55 describes significant fields shown in the display.
show service-module serial
To display the performance report for an integrated CSU/DSU, use the show service-module serial privileged EXEC command.
show service-module serial number [performance-statistics [interval-range]]
Syntax Description
Command Modes
Privileged EXEC
Command History
Usage Guidelines
This command applies to the 2- and 4-wire 56/64-kbps CSU/DSU module and FT1/T1 CSU/DSU module. The performance-statistics keyword applies only to the FT1/T1 CSU/DSU module.
Examples
The following sample output shows CSU/DSU performance statistics on a Cisco 2524 or Cisco 2525 router for intervals 30 to 32. Each interval is 15 minutes long. All the data is zero because no errors were discovered on the T1 line:
Router# show service-module serial 1 performance-statistics 30-32Total Data (last 58 15 minute intervals):0 Line Code Violations, 0 Path Code Violations0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail SecsData in current interval (131 seconds elapsed):0 Line Code Violations, 0 Path Code Violations0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail SecsData in Interval 30:0 Line Code Violations, 0 Path Code Violations0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail SecsData in Interval 31:0 Line Code Violations, 0 Path Code Violations0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail SecsData in Interval 32:0 Line Code Violations, 0 Path Code Violations0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail SecsThe following example is sample output from the show service-module serial command:
Router1# show service-module serial 0Module type is T1/fractionalHardware revision is B, Software revision is 1.1 ,Image checksum is 0x2160B7C, Protocol revision is 1.1Receiver has AIS alarm,Unit is currently in test mode:line loopback is in progressFraming is ESF, Line Code is B8ZS, Current clock source is line,Fraction has 24 timeslots (64 Kbits/sec each), Net bandwidth is 1536 Kbits/sec.Last user loopback performed:remote loopbackFailed to loopup remoteLast module self-test (done at startup): PassedLast clearing of alarm counters 0:05:50loss of signal : 1, last occurred 0:01:50loss of frame : 0,AIS alarm : 1, current duration 0:00:49Remote alarm : 0,Module access errors : 0,Total Data (last 0 15 minute intervals):Line Code Violations, 0 Path Code Violations0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail SecsData in current interval (351 seconds elapsed):1466 Line Code Violations, 0 Path Code Violations25 Slip Secs, 49 Fr Loss Secs, 40 Line Err Secs, 1 Degraded Mins0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 49 Unavail SecsRouter1# show service-module serial 1Module type is 4-wire Switched 56Hardware revision is B, Software revision is 1.00,Image checksum is 0x44453634, Protocol revision is 1.0Connection state: active,Receiver has loss of signal, loss of sealing current,Unit is currently in test mode:line loopback is in progressCurrent line rate is 56 Kbits/secLast user loopback performed:dte loopbackduration 00:00:58Last module self-test (done at startup): PassedLast clearing of alarm counters 0:13:54oos/oof : 3, last occurred 0:00:24loss of signal : 3, current duration 0:00:24loss of sealing curren: 2, current duration 0:04:39loss of frame : 0,rate adaption attempts: 0,The following example shows sample output from the show service-module serial command issued on a Cisco 3640 modular access router:
router# show service-module serial 0/1Module type is 4-wire Switched 56Hardware revision is B, Software revision is 1.00,Image checksum is 0x42364436, Protocol revision is 1.0Connection state: IdleReceiver has no alarms.CSU/DSU Alarm mask is 0Current line rate is 56 Kbits/secLast module self-test (done at startup): PassedLast clearing of alarm counters 4d02hoos/oof : 0,loss of signal : 0,loss of sealing curren: 0,loss of frame : 0,rate adaptation attemp: 0,The following example shows sample output from the show service-module serial command issued on a Cisco 1605 router:
router# show service-module serial 0Module type is 4-wire Switched 56Hardware revision is B, Software revision is 1.00,Image checksum is 0x42364436, Protocol revision is 1.0Receiver has oos/oof, loss of signal,CSU/DSU Alarm mask is 4Current line rate is 56 Kbits/secLast module self-test (done at startup): PassedLast clearing of alarm counters 1d02hoos/oof : 1, current duration 1d02hloss of signal : 1, current duration 1d02hloss of frame : 0,rate adaptation attemp: 0,Table 56 describes the fields displayed by the show service-module serial command.
Related Commands
show smf
To display the configured software MAC address filter (SMF) on various interfaces of a router, use the show smf EXEC command.
show smf [interface-name]
Syntax Description
interface-name
Displays information about the specified interface. Choices can include atm, ethernet, fastethernet, null, serial, tokenring, and async.
Command Modes
EXEC
Command History
Usage Guidelines
The SMF is active whenever the router is doing bridging or IRB. MAC address filtering can be used as a security feature in bridging or switching environments.
Examples
The following is sample output from the show smf command:
R2-81-7206#sh smfSoftware MAC address filter on FastEthernet0/0.2Hash Len Address Matches Act Type0x00: 0 ffff.ffff.ffff 0 RCV Physical broadcast0x0C: 0 0100.0c00.0000 0 RCV ISL vLAN Multicast0x2A: 0 0900.2b01.0001 0 RCV DEC spanning tree0xA6: 0 0010.a6ae.6000 0 RCV Interface MAC address0xC1: 0 0100.0ccc.cccd 0 RCV SSTP MAC address0xC2: 0 0180.c200.0000 0 RCV IEEE spanning tree0xC2: 1 0180.c200.0000 0 RCV IBM spanning tree0xC2: 2 0100.0ccd.cdce 0 RCV VLAN Bridge STPNTable 57 describes the fields shown in this display.
shutdown (controller)
To disable the Channelized T3 Interface Processor (CT3IP) in Cisco 7500 series routers, use the shutdown (controller) configuration command. To restart a disabled CT3IP, use the no form of this command.
shutdown
no shutdown
Syntax Description
This command has no arguments or keywords.
Defaults
Enabled
Command Modes
Controller configuration
Command History
Usage Guidelines
Shutting down the CT3IP disables all functions on the interface and sends a blue alarm to the network. This command marks the interface as unavailable. To check if the CT3IP is disabled, use the show controller t3 command.
Examples
The following example shuts down the CT3IP:
controller t3 9/0/0shutdownRelated Commands
shutdown (hub)
Use the shutdown (hub) configuration command to shut down a port on an Ethernet hub of a Cisco 2505 or Cisco 2507. Use the no form of this command to restart the disabled hub.
shutdown
no shutdown
Syntax Description
This command has no arguments or keywords.
Command Modes
Hub configuration
Command History
Examples
The following example shuts down hub 0, ports 1 through 3:
hub ethernet 0 1 3shutdownRelated Commands
shutdown (interface)
To disable an interface, use the shutdown configuration command. To restart a disabled interface, use the no form of this command.
shutdown
no shutdown
Syntax Description
This command has no arguments or keywords.
Defaults
Enabled
Command Modes
Interface configuration
Command History
Usage Guidelines
The shutdown command disables all functions on the specified interface. On serial interfaces, this command causes the DTR signal to be dropped. On Token Ring interfaces, this command causes the interface to be deinserted from the ring. On FDDI interfaces, this command causes the optical bypass switch, if present, to go into bypass mode.
This command also marks the interface as unavailable. To check whether an interface is disabled, use the EXEC command show interfaces. An interface that has been shut down is shown as administratively down in the display from this command.
Examples
The following example turns off Ethernet interface 0:
interface ethernet 0 shutdownThe following example turns the interface back on:
interface ethernet 0 no shutdownRelated Commands
Command DescriptionConfigures an interface type and enters interface configuration mode.
Displays statistics for all interfaces configured on the router or access server.
smt-queue-threshold
To set the maximum number of unprocessed FDDI station management (SMT) frames that will be held for processing, use the smt-queue-threshold global configuration command. Use the no form of this command to restore the queue to the default.
smt-queue-threshold number
no smt-queue-threshold
Syntax Description
number
Number of buffers used to store unprocessed SMT messages that are to be queued for processing. Acceptable values are positive integers.
Defaults
The default threshold value is equal to the number of FDDI interfaces installed in the router.
Command Modes
Global configuration
Command History
Usage Guidelines
This command helps ensure that the routers keep track of FDDI upstream and downstream neighbors, particularly when a router includes more than one FDDI interface.
In FDDI, upstream and downstream neighbors are determined by transmitting and receiving SMT Neighbor Information Frames (NIFs). The router can appear to lose track of neighbors when it receives an SMT frame and the queue currently contains an unprocessed frame. This occurs because the router discards incoming SMT frames if the queue is full. Discarding SMT NIF frames can cause the router to lose its upstream or downstream neighbor.
Note
Use this command carefully because the SMT buffer is charged to the inbound interface (input hold queue) until the frame is completely processed by the system. Setting this value to a high limit can impact buffer usage and the ability of the router to receive routable packets or routing updates.
Examples
The following example specifies that the SMT queue can hold ten messages. As SMT frames are processed by the system, the queue is decreased by one:
smt-queue-threshold 10snmp trap illegal-address
To issue an SNMP trap when a MAC address violation is detected on an Ethernet hub port of a Cisco 2505, Cisco 2507, or Cisco 2516 router, use the snmp trap illegal-address hub configuration command. Use the no form to disable this function.
snmp trap illegal-address
no snmp trap illegal-address
Syntax Description
This command has no arguments or keywords.
Defaults
No SNMP trap is issued.
Command Modes
Hub configuration
Command History
Usage Guidelines
In addition to setting the snmp trap illegal-address command on the Ethernet hub, you can set the frequency that the trap is sent to the network management station (NMS). This is done on the NMS via the Cisco Repeater MIB. The frequency of the trap can be configured for once only or at a decaying rate (the default). If the decaying rate is used, the first trap is sent immediately, the second trap is sent after one minute, the third trap is sent after two minutes, and so on until 32 minutes at which time the trap is sent every 32 minutes. If you use a decaying rate, you can also set the trap acknowledgment so the trap will be acknowledged after it is received and will no longer be sent to the network management station.
Because traps are not reliable, additional information on a port basis is provided by the Cisco Repeater MIB. The network management function can query the following information: the last illegal MAC source address, the illegal address trap acknowledgment, the illegal address trap enabled, the illegal address first heard (timestamp), the illegal address last heard (timestamp), the last illegal address trap count for the port, and the illegal address trap total count for the port.
In addition to issuing a trap when a MAC address violation is detected, the port is also disabled as long as the MAC address is invalid. The port is enabled and the trap is no longer sent when the MAC address is valid (that is, either the address was configured correctly or learned).
Examples
The following example enables an SNMP trap to be issued when a MAC address violation is detected on hub ports 2, 3, or 4. SNMP support must already be configured on the router.
hub ethernet 0 2 4snmp trap illegal-addressRelated Commands
source-address
To configure source address control on a port on an Ethernet hub of a Cisco 2505 or Cisco 2507, use the source-address hub configuration command. To remove a previously defined source address, use the no form of this command.
source-address [mac-address]
no source-address
Syntax Description
Defaults
Disabled
Command Modes
Hub configuration
Command History
Usage Guidelines
If you omit the MAC address, the hub uses the value in the last source address register, and if the address register is invalid, it will remember the first MAC address it receives on the previously specified port, and allow only packets from that MAC address onto that port.
Examples
The following example configures the hub to allow only packets from MAC address 1111.2222.3333 on port 2 of hub 0:
hub ethernet 0 2source-address 1111.2222.3333The following example configures the hub to use the value of the last source address register. If the address register is invalid, it will remember the first MAC address it receives on port 2, and allow only packets from the learned MAC address on port 2:
hub ethernet 0 2source-addressRelated Commands
speed
To configure the speed for a Fast Ethernet interface, use the speed interface configuration command. Use the no form of this command to disable a speed setting.
speed {10 | 100 | auto}
no speed
Syntax Description
Defaults
100 Mbps
Command Modes
Interface configuration
Command History
Usage Guidelines
The auto negotiation capability is turned on for the Fast Ethernet interface by either configuring the speed auto interface configuration command or the duplex auto interface configuration command.
Table 58 describes the system's performance for different combinations of the duplex and speed modes. The specified duplex command configured with the specified speed command produces the resulting system action.
Examples
The following example shows the configuration options for the speed command:
router# configure terminalEnter configuration commands, one per line. End with CNTL/Z.router(config)# interface fastethernet 0router(config-if)# speed ?10 Force 10 Mbps operation100 Force 100 Mbps operationauto Enable AUTO speed configurationRelated Commands
squelch
To extend the Ethernet twisted-pair 10BaseT capability beyond the standard 100 meters on the Cisco 4000 platform, use the squelch interface configuration command. To restore the default, use the no form of this command.
squelch {normal | reduced}
no squelch {normal | reduced}
Syntax Description
Defaults
Normal range
Command Modes
Interface configuration
Command History
Examples
The following example extends the twisted-pair 10BaseT capability on the cable attached to Ethernet interface 2:
interface ethernet 2 squelch reducedt1 bert
To enable or disable a BERT test pattern for a T1 channel on the Channelized T3 Interface Processor (CT3IP) in Cisco 7500 series routers, use the t1 bert controller configuration command. To disabled a BERT test pattern, use the no form of this command.
t1 channel bert pattern {0s | 1s | 2^15 | 2^20 | 2^23} interval minutes
no t1 channel bert pattern {0s | 1s | 2^15 | 2^20 | 2^23} interval minutes
Syntax Description

