R1#sho running-config interface fastEthernet 0/1
Building configuration...
Current configuration : 98 bytes
!
interface FastEthernet0/1
ip address 192.168.100.1 255.255.255.0
duplex auto
speed auto
end
R1#
R1#show interfaces fastEthernet 0/0
FastEthernet0/0 is up, line protocol is up
Hardware is AmdFE, address is c800.0314.0000 (bia c800.0314.0000)
Internet address is 192.168.100.1/24
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, 100BaseTX/FX
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:04, output 00:00:09, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
7 packets input, 1915 bytes
Received 7 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog
0 input packets with dribble condition detected
23 packets output, 2875 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
R1#
R2(config)#int fastEthernet 0/1
R2(config-if)#description vers routeur R2
R2(config-if)#speed ?
10 Force 10 Mbps operation
100 Force 100 Mbps operation
auto Enable AUTO speed configuration
R2(config-if)#duplex ?
auto Enable AUTO duplex configuration
full Force full duplex operation
half Force half-duplex operation
R2(config)#interface fastEthernet 0/1
R2(config-if)#speed 10
R2(config-if)#duplex half
R2#sh run int fa0/1
Building configuration...
Current configuration : 81 bytes
!
interface FastEthernet0/1
description vers routeur R1
no ip address
shutdown
speed 10
half-duplex
end
R2#
R2(config)#int fastEthernet 0/1
R2(config-if)#speed auto
R2(config-if)#duplex auto
R2(config)#interface fastEthernet 0/1
R2(config-if)#shutdown
*Mar 1 00:19:35.799: %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down
*Mar 1 00:19:36.799: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
R2(config-if)#no shutdown
R2(config-if)#
*Mar 1 00:19:47.455: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
*Mar 1 00:19:48.455: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R2(config-if)#
R2(config)#interface fastEthernet 0/1
R2(config-if)#ip address 192.168.0.1 255.255.255.0
R2(config-if)#
R1#sho running-config interface fastEthernet 0/1
Building configuration...
Current configuration : 98 bytes
!
interface FastEthernet0/1
ip address 192.168.100.1 255.255.255.0