Неполучается. не даёт привязать int fa0/1 к vlan 1. Switch2950#sh run
Building configuration...
Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname Switch2950
!
aaa new-model
enable secret 5 $1$5kph$xChdb4WpfuJ6xumXI1adM0
!
!
!
!
!
!
ip subnet-zero
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
switchport access vlan 2
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface V
ip address 10.0.0.15 255.255.255.0
no ip directed-broadcast
no ip route-cache
!
no ip http server
snmp-server engineID local 00000009020000087DEC0380
snmp-server community private RW
snmp-server community public RO
!
line con 0
password 7 094F471A1A0A
transport input none
stopbits 1
Switch2950#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Switch2950(config)#int fa 0/1
Switch2950(config-if)#speed 100
Switch2950(config-if)#duplex full
Switch2950(config-if)#?
Interface configuration commands:
arp Set arp type (arpa, probe, snap) or timeout
bandwidth Set bandwidth informational parameter
carrier-delay Specify delay for interface transitions
cdp CDP interface subcommands
custom-queue-list Assign a custom queue list to an interface
default Set a command to its defaults
delay Specify interface throughput delay
description Interface specific description
duplex Configure duplex operation.
exit Exit from interface configuration mode
fair-queue Enable Fair Queuing on an Interface
help Description of the interactive help system
hold-queue Set hold queue depth
keepalive Enable keepalive
load-interval Specify interval for load calculation for an
interface
logging Configure logging for interface
loopback Configure internal loopback on an interface
mac-address Manually set interface MAC address
max-reserved-bandwidth Maximum Reservable Bandwidth on an Interface
media-type Interface media type
mtu Set the interface Maximum Transmission Unit (MTU)
negotiation Select Autonegotiation mode
no Negate a command or set its defaults
port Perform switch port configuration
priority-group Assign a priority group to an interface
random-detect Enable Weighted Random Early Detection (WRED) on an
Interface
rmon Configure Remote Monitoring on an interface
service-policy Configure QoS Service Policy
shutdown Shutdown the selected interface
snmp Modify SNMP interface parameters
spanning-tree Spanning
speed Configure speed operation.
switchport Set switching mode characteristics
timeout Define timeout values for this interface
Switch2950(config-if)#sw access vlan 1
Switch2950(config-if)#spa ?
cost Change an interface's spanning tree path cost
port-priority Change an interface's spanning tree priority
portfast Allow a change from blocking to forwarding
rootguard Enforce root guard
vlan VLAN Switch Spanning Trees
Switch2950(config-if)#spa portfast
%Warning: portfast enabled on FastEthernet0/1.
Usually portfast should be enabled on ports connected to a single host.
When portfast is enabled, connecting hubs, concentrators, switches, bridges,
etc. to this interface may cause temporary spanning tree loops.
Use with CAUTION.
Switch2950(config-if)#no shutdown
Switch2950(config-if)#ex
00:09:12: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
00:09:12: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state t
Switch2950(config-if)#exit
Switch2950(config)#exit
Switch2950#
00:09:24: %SYS-5-CONFIG_I: Configured from console by console
Switch2950#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Switch2950(config)#int vlan 1
Switch2950(config-if)#no shutdown
Switch2950(config-if)#exit
Switch2950(config)#exit
Switch2950#
00:10:14: %SYS-5-CONFIG_I: Configured from console by console
Switch2950#wr
Building configuration...
[OK]
Switch2950#sh conf
Using 1389 out of 32768 bytes
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname Switch2950
!
aaa new-model
enable secret 5 $1$5kph$xChdb4WpfuJ6xumXI1adM0
!
!
!
!
!
!
ip subnet-zero
!
!
!
interface FastEthernet0/1
duplex full
speed 100
spanning-tree portfast
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
switchport access vlan 2
!
interface FastEthernet0/6
!
interface FastEtherne
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface VLAN1
ip address 10.0.0.15 255.255.255.0
no ip directed-broadcast
no ip route-cache
!
no ip http server
snmp-server engineID local 00000009020000087DEC0380
snmp-server community private RW
snmp-server community public RO
!
line con 0
password 7 094F471A1A0A
transport input none
stopbits 1
line vty 0 4
password 7 094F471A1A0A
line vty 5 15
password 7 094F471A1A0A
!
end