You are on page 1of 8

! Generated by Unregistered Batch DOC & DOCX Converter 2011.3.403.

1476, please register

6.4.1 .

VLAN 1

S1

FC-ASW-1

10.0.0.2

255.255.255.0

PC1

Host 1

10.0.0.254

255.255.255.0

Host 2

10.0.0.253

255.255.255.0


Linksys

10.0.0.252

255.255.255.0

2011 1992 Cisco Systems, Inc. . .Cisco

1 8

CCNA Discovery

Ethernet .
.
CCNA 802-640
CCNA:
.

)ipconfig .debug show

(arp SSH telnet traceroute ping

( vlan vlan1 )

.
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________

_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________

_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
/
.
. PC
. .
. MAC .
[ ]shutdown . MAC
.1 .
PC
"" Linksys .

2011 1992 Cisco Systems, Inc. . .Cisco

2 8

CCNA Discovery

:1
: 1

: LAN
( TCP/IP / )
.
.

1 ( console )rollover
console DB-9DB-
25 .COM 1 .

. console PC1 .S1


.

VLAN .

)1 .NVRAM
Switch#erase startup-config
]Erasing the nvram filesystem will remove all files! Continue? [confirm

)2 Enter .
:
removing nvram completed

. .
:2

IP VLAN 1 .
:3

PC IP .

. PC IP .
.

Linksys

:4

Ping PC . ping
.
:5 MAC

.
( Windows 2000 XP Vista
)cmd > ipconfig /all > Run > Start
_______________________________ :PC1 MAC Address
_______________________________ :PC2 MAC Address

2011 1992 Cisco Systems, Inc. . .Cisco

3 8

CCNA Discovery

:6 MAC

( )prompt EXEC ( )
PC MAC .

show mac-address-table

FC-ASW-1#show mac-address-table

.
___________________________________________________________________________
___________________________________________________________________________
. MAC . PC .
MAC
___________________________________________________________________________

2
:1

Ethernet PC .

. MAC .
. show mac-address-table table dynamic

clear mac-address-

. .MAC
FC-ASW-1#clear mac-address-table dynamic

. . show mac-address-table
.
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
. .FastEthernet 0/4 global configuration
.interface fastethernet 0/4
FC-ASW-1(config)#interface fa 0/4

.
. FastEthernet 0/4
(:)configuration
FC-ASW-1(config-if)#switchport mode access
FC-ASW-1(config-if)#switchport port-security

. . ( shutdown ):
FC-ASW-1(config-if)#switchport port-security violation shutdown
FC-ASW-1(config-if)#switchport port-security mac-address sticky
2011 1992 Cisco Systems, Inc. . .Cisco

4 8

CCNA Discovery


____________________________________________________
. .)configuration(
:2 .



__________________________________
__________________________________
__________________________________
__________________________________

. (.)Port
FC-ASW-1#show port-security interface fastethernet 0/4

.
__________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
:3

PC IP .

. PC1 ping.PC2
__________
. PC2 ping.PC1
__________
. console . show mac-address-table
.
___________________________________________________________________________
___________________________________________________________________________
. (.)Port
2011 1992 Cisco Systems, Inc. . .Cisco

5 8

CCNA Discovery

FC-ASW-1#show port-security interface fastethernet 0/4

.
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
2.
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
. .
ALSwitch#show interface fastethernet 0/4


__________ FastEthernet0/4 .__________
:4

.Fa0/4 PC2

. PC2 Linksys .Linksys LAN


. IP IP Linksys

. PC2 IP .DHCP PC2 IP


.Linksys
. Linksys .Fa0/4
. Ping PC1 .PC2
__________
. Ping PC2 .PC1
__________
console .
___________________________________________________________________________
___________________________________________________________________________
2011 1992 Cisco Systems, Inc. . .Cisco

6 8

CCNA Discovery

___________________________________________________________________________
. . show mac-address-table
.
___________________________________________________________________________
___________________________________________________________________________
. (.)Port
FC-ASW-1#show port-security interface fastethernet 0/4

.
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
.e 3
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
. .
__________ FastEthernet0/4 __________ .

__________ FastEthernet0/4 .__________
:5

Fa0/4
shutdown .

. Linksys PC2 .Fa0/4 no shutdown .


. Ping PC1 .PC2 .
ping .
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
2011 1992 Cisco Systems, Inc. . .Cisco

7 8

CCNA Discovery

:6 MAC

:
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
:
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
_________________________________________________________________________________
:7

. .
( ) .TCP/IP
:3
.
.
.

2011 1992 Cisco Systems, Inc. . .Cisco

8 8

You might also like