2960-switch#sh running-config interface fastEthernet 0/1
Building configuration...
Current configuration : 85 bytes
!
interface FastEthernet0/1
switchport access vlan 7
switchport mode access
end
2960-switch#show interfaces gigabitEthernet 0/1
GigabitEthernet0/1 is up, line protocol is up (connected)
Hardware is Gigabit Ethernet, address is 0026.3750.2950 (bia 0026.3750.2950)
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, media type is 10/100/1000BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:00, 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 187000 bits/sec, 231 packets/sec
5 minute output rate 1000 bits/sec, 2 packets/sec
225348823 packets input, 188621734150 bytes, 0 no buffer
Received 130125788 broadcasts (87756518 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 87756518 multicast, 0 pause input
0 input packets with dribble condition detected
1222204 packets output, 103305303 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 PAUSE output
0 output buffer failures, 0 output buffers swapped out
2960-switch#
2960-switch#show interfaces status
Port Name Status Vlan Duplex Speed Type
Fa0/1 notconnect 3 auto auto 10/100BaseTX
Fa0/2 notconnect 3 auto auto 10/100BaseTX
Fa0/3 notconnect 6 auto auto 10/100BaseTX
Fa0/4 notconnect 3 auto auto 10/100BaseTX
Fa0/5 notconnect 3 auto auto 10/100BaseTX
Fa0/6 notconnect 3 auto auto 10/100BaseTX
Fa0/7 notconnect 3 auto auto 10/100BaseTX
Gi0/1 connected trunk a-full a-100 10/100/1000BaseTX
2960-RG(config)#int fastEthernet 0/1
2960-RG(config-if)#description serveur de fichier
2960-RG(config-if)#end
2960-RG(config-if)#speed ?
10 Force 10 Mbps operation
100 Force 100 Mbps operation
auto Enable AUTO speed configuration
2960-RG(config-if)#duplex ?
auto Enable AUTO duplex configuration
full Force full duplex operation
half Force half-duplex operation
2960-RG(config)#interface fastEthernet 0/1
2960-RG(config-if)#speed 10
2960-RG(config-if)#duplex half
2960-RG(config-if)#end
2960-RG#sh run int fa0/1
Building configuration...
Current configuration : 331 bytes
!
interface FastEthernet0/1
description serveur de fichier
speed 10
duplex half
2960-RG#sh int fa0/1
FastEthernet0/1 is down, line protocol is down (notconnect)
Description: serveur de fichier
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)
Half-duplex, 10Mb/s, media type is 10/100BaseTX
2960-RG(config)#int fastEthernet 0/1
2960-RG(config-if)#speed auto
2960-RG(config-if)#duplex auto
Switch(config)#int fa0/1
Switch(config-if)#shut
Switch(config-if)#end
Switch#
*Mar 2 02:38:13.253: %SYS-5-CONFIG_I: Configured from console by console
*Mar 2 02:38:13.849: %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa0/1
Switch(config-if)#no shut
Switch(config-if)#end
*Mar 2 02:38:29.989: %SYS-5-CONFIG_I: Configured from console by console
*Mar 2 02:38:30.920: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to down
switch(config)#default interface gigabitEthernet 1/0/1
Interface GigabitEthernet1/0/48 set to default configuration
switch(config)#end
switch#sh run int gi1/0/1
Building configuration...
Current configuration : 39 bytes
!
interface GigabitEthernet1/0/1
end
switch#
2960-RG#show power inline
Module Available Used Remaining
(Watts) (Watts) (Watts)
------ --------- -------- ---------
1 370.0 37.8 332.2
Interface Admin Oper Power Device Class Max
(Watts)
--------- ------ ---------- ------- ------------------- ----- ----
Fa1/0/1 auto off 0.0 n/a n/a 15.4
Fa1/0/2 auto on 6.3 IP Phone 7960 n/a 15.4
Fa1/0/3 auto on 6.3 IP Phone 7960 n/a 15.4
Fa1/0/4 auto on 6.3 IP Phone 7960 n/a 15.4
Fa1/0/5 auto on 6.3 IP Phone 7960 n/a 15.4
Fa1/0/6 auto off 0.0 n/a n/a 15.4
Fa1/0/7 auto on 6.3 IP Phone 7960 n/a 15.4
Fa1/0/8 auto off 0.0 n/a n/a 15.4