Cisco 2950 – отключение неиспользуемых портов

Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int range fa0/16 - 18
Switch(config-if-range)#shutdown

Смотрим:

# sh run
...
interface FastEthernet0/15
switchport access vlan 10
switchport mode access
no ip address
!
interface FastEthernet0/16
no ip address
shutdown
!
interface FastEthernet0/17
no ip address
shutdown
!
interface FastEthernet0/18
no ip address
shutdown
!
interface FastEthernet0/19
no ip address
!
...

Включение

Switch#conf t
Switch(config)#int fa0/7
Switch(config-if)#no shutdown
Switch#sh run
....
interface FastEthernet0/6
no ip address
shutdown
!
interface FastEthernet0/7
no ip address
!
interface FastEthernet0/8
no ip address
shutdown
!
....