Show Running-Config Interface Command on CISCO Router/Switch

Command

Show Running-Config Interface

Use

Shows the current configuration of a given interface on the router. This command is useful because it reduces IOS’s output to just show you the interface information. Read the filtering page under the show command section for more information on further ways to filter output.

Syntax

Router#show running-config interface <int name>

Example

In this example, we trim the show run output to just show the configuration of Fa0/0 on R2.

R2#show run int fa0/0
Building configuration…

Current configuration : 93 bytes
!
interface FastEthernet0/0
ip address 10.1.1.2 255.255.255.0
duplex auto
speed auto
end

R2#

Related Articles

Leave a Reply

avatar