Difference between Sh interface and sh run intface

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2017 08:56 PM - edited 03-01-2019 05:52 PM
HI,
When I am checking sh run int gi0/0 duplex is auto, but when checked in sh int gi0/0 duplex is full.
Please let me know what is the meaning.
Building configuration...
!
interface GigabitEthernet0/0
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
end
GigabitEthernet0/0 is up, line protocol is up
Hardware is CN Gigabit Ethernet, address is 78da.6e83.5c20 (bia 78da.6e83.5c20)
reliability 255/255, txload 14/255, rxload 174/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full Duplex, 100Mbps, media type is RJ45
output flow-control is XON, input flow-control is XON
ARP type: ARPA, ARP Timeout 04:00:00
- Labels:
-
IPv6 Configuration

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2017 09:51 AM
Sho run interface
Displays the the configured value of the interface, so instead of making show run and find out the particular interface you can use the command #sho run interface Gi0/0 and it will tell you what is the running configuration under this port
show interface
Displays the the values and the statistics of the interface and the operational values such us IP address, MAC address, Media type, input / output error ...etc
So, you configured the port duplex auto, and shown in the show interface that it's duplex Full which mean it telling you the operational state of it. You make it auto and allowed it to negotiate with the connected port and based-on it chose to bell duplex Full
Try to configure
interface g0/0
duplex full or duplex half
and check the result
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2017 09:59 AM
exaclty B.kablawi90 and it applies on the speed as well.
