Sunteți pe pagina 1din 14

Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.

2(25)FX, RELEAS
E SOFTWARE (fc1)
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Wed 12-Oct-05 22:05 by pt_team
Image text-base: 0x80008098, data-base: 0x814129C4

Cisco WS-C2960-24TT (RC32300) processor (revision C0) with 21039K bytes of memor
y.
24 FastEthernet/IEEE 802.3 interface(s)
2 Gigabit Ethernet/IEEE 802.3 interface(s)
63488K bytes of flash-simulated
Base ethernet MAC Address
Motherboard assembly number
Power supply part number
Motherboard serial number
Power supply serial number
Model revision number
Motherboard revision number
Model number
System serial number
Top Assembly Part Number
Top Assembly Revision Number
Version ID
CLEI Code Number
Hardware Board Revision Number
Switch
-----*
1

non-volatile configuration memory.


: 0010.1116.710A
: 73-9832-06
: 341-0097-02
: FOC103248MJ
: DCA102133JA
: B0
: C0
: WS-C2960-24TT
: FOC1033Z1EY
: 800-26671-02
: B0
: V02
: COM3K00BRA
: 0x01

Ports Model
----- ----26
WS-C2960-24TT

SW Version
---------12.2

SW Image
---------C2960-LANBASE-M

Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEAS


E SOFTWARE (fc1)
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Wed 12-Oct-05 22:05 by pt_team
Press RETURN to get started!
11111111111111111111111111111111111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111
System Bootstrap, Version 15.1(4)M4, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2010 by cisco Systems, Inc.
Total memory size = 512 MB - On-board = 512 MB, DIMM0 = 0 MB
CISCO2911/K9 platform with 524288 Kbytes of main memory
Main memory is configured to 72/-1(On-board/DIMM0) bit mode with ECC disabled
Readonly ROMMON initialized
program load complete, entry point: 0x80803000, size: 0x1b340
program load complete, entry point: 0x80803000, size: 0x1b340
IOS Image Load Test
___________________
Digitally Signed Release Software

program load complete, entry point: 0x81000000, size: 0x3bcd3d8


Self decompressing the image :
########################################################################## [OK]
Smart Init is enabled
smart init is sizing iomem
TYPE
MEMORY_REQ
Onboard devices &
buffer pools
0x022F6000
----------------------------------------------TOTAL:
0x022F6000
Rounded IOMEM up to: 36Mb.
Using 6 percent iomem. [36Mb/512Mb]
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.1(4)M5, REL
EASE SOFTWARE (fc2)Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 18-Jul-07 04:52 by pt_team
Image text-base: 0x2100F918, data-base: 0x24729040
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
Cisco CISCO2911/K9 (revision 1.0) with 491520K/32768K bytes of memory.
Processor board ID FTX152400KS
3 Gigabit Ethernet interfaces
DRAM configuration is 64 bits wide with parity disabled.
255K bytes of non-volatile configuration memory.
249856K bytes of ATA System CompactFlash 0 (Read/Write)
--- System Configuration Dialog --Continue with configuration dialog? [yes/no]: n

Press RETURN to get started!

Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ho
Router(config)#hostname r1
r1(config)#no ip d
r1(config)#no ip domain-lookup
r1(config)#int g0/1
r1(config-if)#ip add 172.16.99.1 255.255.255.0
r1(config-if)#no shut
r1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed stat
e to up
r1(config-if)#exit
r1(config)#en
r1(config)#enable password class
r1(config)#line console 0
r1(config-line)#pa
r1(config-line)#pass
r1(config-line)#password cisco
r1(config-line)#login
r1(config-line)#exit
r1(config)#line vty 0 4
r1(config-line)#pass
r1(config-line)#password cisco
r1(config-line)#login
r1(config-line)#exit
r1(config)#ser
r1(config)#service pass
r1(config)#service password-encryption
r1(config)#do wr
Building configuration...
[OK]
r1(config)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state t
o up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state t
o up
S1>ena
S1>enable
S1#conf t
S1#conf terminal

Enter configuration commands, one per line. End with CNTL/Z.


S1(config)#in
S1(config)#interface f
S1(config)#interface fastEthernet 0/1
S1(config-if)#sw
S1(config-if)#switchport p
S1(config-if)#switchport po
S1(config-if)#switchport port-security
S1(config-if)#s
S1(config-if)#sw
S1(config-if)#switchport po
S1(config-if)#switchport port-security ma
S1(config-if)#switchport port-security max
S1(config-if)#switchport port-security maximum 1
S1(config-if)#sw
S1(config-if)#switchport p
S1(config-if)#switchport po
S1(config-if)#switchport port-security mac
S1(config-if)#switchport port-security mac-address dy
S1(config-if)#switchport port-security mac-address dy
S1(config-if)#switchport port-security mac-address dyn
S1(config-if)#switchport port-security mac-address dyna
S1(config-if)#switchport port-security mac-address dynamique
^
% Invalid input detected at '^' marker.
S1(config-if)#switchport port-security mac-address dynamic
^
% Invalid input detected at '^' marker.
S1(config-if)#switchport port-security mac-address st
S1(config-if)#switchport port-security mac-address sticky
S1(config-if)#swi
S1(config-if)#switchport s
S1(config-if)#switchport p
S1(config-if)#switchport po
S1(config-if)#switchport port-security vi
S1(config-if)#switchport port-security violation ?
protect Security violation protect mode
restrict Security violation restrict mode
shutdown Security violation shutdown mode
S1(config-if)#switchport port-security violation RE
S1(config-if)#switchport port-security violation REstrict
S1(config-if)#switchport port-security mac-address sticky ?
H.H.H 48 bit mac address
<cr>
S1(config-if)#switchport port-security mac-address sticky 00E0.B027.2245
S1(config-if)#exit
S1(config)#in
S1(config)#interface ra
S1(config)#interface range f0/3-24
S1(config-if-range)#sh
S1(config-if-range)#shutdown
%LINK-5-CHANGED: Interface FastEthernet0/3, changed state to administratively do
wn
%LINK-5-CHANGED: Interface FastEthernet0/4, changed state to administratively do
wn

%LINK-5-CHANGED: Interface FastEthernet0/5, changed state to administratively do


wn
%LINK-5-CHANGED: Interface FastEthernet0/6, changed state to administratively do
wn
%LINK-5-CHANGED: Interface FastEthernet0/7, changed state to administratively do
wn
%LINK-5-CHANGED: Interface FastEthernet0/8, changed state to administratively do
wn
%LINK-5-CHANGED: Interface FastEthernet0/9, changed state to administratively do
wn
%LINK-5-CHANGED: Interface FastEthernet0/10, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/11, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/12, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/13, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/14, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/15, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/16, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/17, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/18, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/19, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/20, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/21, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/22, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/23, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/24, changed state to administratively d
own
S1(config-if-range)#exit

S1(config)#in
S1(config)#interface f
S1(config)#interface fastEthernet 0/2
S1(config-if)#swi
S1(config-if)#switchport po
S1(config-if)#switchport po
S1(config-if)#switchport m
S1(config-if)#switchport mode ac
S1(config-if)#switchport mode access
S1(config-if)#swi
S1(config-if)#switchport po
S1(config-if)#switchport port-security
S1(config-if)#swi
S1(config-if)#switchport po
S1(config-if)#switchport port-security m
S1(config-if)#switchport port-security ma
S1(config-if)#switchport port-security max
S1(config-if)#switchport port-security maximum 1
S1(config-if)#swi
S1(config-if)#switchport po
S1(config-if)#switchport port-security ma
S1(config-if)#switchport port-security macS1(config-if)#switchport port-security mac-address s
S1(config-if)#switchport port-security mac-address sticky 0001.647C.697E
Sticky mac is not enabled.
S1(config-if)#switchport port-security mac-address sticky
S1(config-if)#switchport port-security mac-address sticky 0001.647C.697E
S1(config-if)#swi
S1(config-if)#switchport p
S1(config-if)#switchport po
S1(config-if)#switchport port-security vi
S1(config-if)#switchport port-security violation res
S1(config-if)#switchport port-security violation restrict
S1(config-if)#exit
S1(config)#in
S1(config)#interface f
S1(config)#interface fastEthernet 0/3-24
^
% Invalid input detected at '^' marker.
S1(config)#interface ran fastEthernet 0/3-24
S1(config)#interface range fastEthernet 0/3-24
S1(config-if-range)#sh
S1(config-if-range)#shutdown
S1(config-if-range)#
S1# conf t
S1# conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#in
S1(config)#interface g
S1(config)#interface r
S1(config)#interface range g
S1(config)#interface range gigabitEthernet 0/1-2
S1(config-if-range)#sh
S1(config-if-range)#shutdown
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to administratively
down
%LINK-5-CHANGED: Interface GigabitEthernet0/2, changed state to administratively

down
S1(config-if-range)#

TP 2 2.2.4.10
C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(25r)FX, RELEASE SOFTWARE (fc4)
Cisco WS-C2960-24TT (RC32300) processor (revision C0) with 21039K bytes of memor
y.
2960-24TT starting...
Base ethernet MAC Address: 0010.1116.710A
Xmodem file system is available.
Initializing Flash...
flashfs[0]: 1 files, 0 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 64016384
flashfs[0]: Bytes used: 4414921
flashfs[0]: Bytes available: 59601463
flashfs[0]: flashfs fsck took 1 seconds.
...done Initializing Flash.
Boot Sector Filesystem (bs:) installed, fsid: 3
Parameter Block Filesystem (pb:) installed, fsid: 4
Loading "flash:/c2960-lanbase-mz.122-25.FX.bin"...
######################### [OK]
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706

Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEAS


E SOFTWARE (fc1)
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Wed 12-Oct-05 22:05 by pt_team
Image text-base: 0x80008098, data-base: 0x814129C4

Cisco WS-C2960-24TT (RC32300) processor (revision C0) with 21039K bytes of memor

y.
24 FastEthernet/IEEE 802.3 interface(s)
2 Gigabit Ethernet/IEEE 802.3 interface(s)
63488K bytes of flash-simulated
Base ethernet MAC Address
Motherboard assembly number
Power supply part number
Motherboard serial number
Power supply serial number
Model revision number
Motherboard revision number
Model number
System serial number
Top Assembly Part Number
Top Assembly Revision Number
Version ID
CLEI Code Number
Hardware Board Revision Number
Switch
-----*
1

Ports Model
----- ----26
WS-C2960-24TT

non-volatile configuration memory.


: 0010.1116.710A
: 73-9832-06
: 341-0097-02
: FOC103248MJ
: DCA102133JA
: B0
: C0
: WS-C2960-24TT
: FOC1033Z1EY
: 800-26671-02
: B0
: V02
: COM3K00BRA
: 0x01
SW Version
---------12.2

SW Image
---------C2960-LANBASE-M

Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEAS


E SOFTWARE (fc1)
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Wed 12-Oct-05 22:05 by pt_team
Press RETURN to get started!
%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state t
o up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
S1>ena
S1#show interface f0/1 status
^
% Invalid input detected at '^' marker.
S1#show interface f0/1?
<0-24>
S1#show interface f0/1 ?
switchport Show interface switchport information
<cr>
S1#show interface f0/1 switchp
S1#show interface f0/1 switchport ?
<cr>
S1#show interface f0/1 switchport
Name: Fa0/1
Switchport: Enabled
Administrative Mode: dynamic auto

Operational Mode: down


Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: native
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
Appliance trust: none
S1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#int f0/1
S1(config-if)#no shut
S1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state t
o up
S1(config-if)#exit
S1(config)#

00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000
63488K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address
: 0010.1116.710A
Motherboard assembly number
: 73-9832-06
Power supply part number
: 341-0097-02
Motherboard serial number
: FOC103248MJ
Power supply serial number
: DCA102133JA
Model revision number
: B0
Motherboard revision number
: C0
Model number
: WS-C2960-24TT
System serial number
: FOC1033Z1EY
Top Assembly Part Number
: 800-26671-02
Top Assembly Revision Number
: B0
Version ID
: V02
CLEI Code Number
: COM3K00BRA
Hardware Board Revision Number : 0x01

Switch
-----*
1

Ports Model
----- ----26
WS-C2960-24TT

SW Version
---------12.2

SW Image
---------C2960-LANBASE-M

Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEAS


E SOFTWARE (fc1)
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Wed 12-Oct-05 22:05 by pt_team
Press RETURN to get started!
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state t
o up
%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state t
o up
Switch>ena
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hos
Switch(config)#hostname s1
s1(config)#ba
s1(config)#banner mo
s1(config)#banner motd # warning #
s1(config)#pass
s1(config)#passw
s1(config)#ena
s1(config)#enable se
s1(config)#enable secret class
s1(config)#line con
s1(config)#line console 0
s1(config-line)#pass
s1(config-line)#password cisco
s1(config-line)#lo
s1(config-line)#log
s1(config-line)#login
s1(config-line)#exit
s1(config)#servi
s1(config)#service p
s1(config)#service password-encryption
s1(config)#int vlan 1
s1(config-if)#ip add 10.10.10.2 255.255.255.0
s1(config-if)#no shut
s1(config-if)#
%LINK-5-CHANGED: Interface Vlan1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
s1(config-if)#end
s1#
%SYS-5-CONFIG_I: Configured from console by console

s1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
s1(config)#ip ssh version 2
Please create RSA keys (of at least 768 bits size) to enable SSH v2.
s1(config)#ip dom
s1(config)#ip domain
s1(config)#ip domain-n
s1(config)#ip domain-name cisco.com
s1(config)#crypto key generate rsa
The name for the keys will be: s1.cisco.com
Choose the size of the key modulus in the range of 360 to 2048 for your
General Purpose Keys. Choosing a key modulus greater than 512 may take
a few minutes.
How many bits in the modulus [512]: 1024
% Generating 1024 bit RSA keys, keys will be non-exportable...[OK]
s1(config)#user
*mars 1 0:9:13.554: %SSH-5-ENABLED: SSH 2 has been enabled
s1(config)#username admin secret ccna
s1(config)#line vty 0 15
s1(config-line)#tr
s1(config-line)#transport inp
s1(config-line)#transport input ssh
s1(config-line)#login lo
s1(config-line)#login local
s1(config-line)#exit
s1(config)#in
s1(config)#interface r
s1(config)#interface range f
s1(config)#interface range fastEthernet 0/3-24
s1(config-if-range)#sh
s1(config-if-range)#shutdown
%LINK-5-CHANGED: Interface FastEthernet0/3, changed state to administratively do
wn
%LINK-5-CHANGED: Interface FastEthernet0/4, changed state to administratively do
wn
%LINK-5-CHANGED: Interface FastEthernet0/5, changed state to administratively do
wn
%LINK-5-CHANGED: Interface FastEthernet0/6, changed state to administratively do
wn
%LINK-5-CHANGED: Interface FastEthernet0/7, changed state to administratively do
wn
%LINK-5-CHANGED: Interface FastEthernet0/8, changed state to administratively do
wn
%LINK-5-CHANGED: Interface FastEthernet0/9, changed state to administratively do
wn
%LINK-5-CHANGED: Interface FastEthernet0/10, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/11, changed state to administratively d

own
%LINK-5-CHANGED: Interface FastEthernet0/12, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/13, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/14, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/15, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/16, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/17, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/18, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/19, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/20, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/21, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/22, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/23, changed state to administratively d
own
%LINK-5-CHANGED: Interface FastEthernet0/24, changed state to administratively d
own
s1(config-if-range)#exit
s1(config)#int f0/1
s1(config-if)#sw
s1(config-if)#switchport m
s1(config-if)#switchport mode acc
s1(config-if)#switchport mode access
s1(config-if)#sw
s1(config-if)#switchport po
s1(config-if)#switchport port-security
s1(config-if)#switchport port-security maxi
s1(config-if)#switchport port-security maximum 2
s1(config-if)#switchport port-security mac
s1(config-if)#switchport port-security mac-address st
s1(config-if)#switchport port-security mac-address sticky
s1(config-if)#switchport port-security mac-address sticky 00e0.b027.2245
s1(config-if)#switchport port-security vi
s1(config-if)#switchport port-security violation
% Incomplete command.
s1(config-if)#switchport port-security violation shut
s1(config-if)#switchport port-security violation shutdown

s1(config-if)#exit
s1(config)#int range g0/1-2
s1(config-if-range)#shut
s1(config-if-range)#shutdown
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to administratively
down
%LINK-5-CHANGED: Interface GigabitEthernet0/2, changed state to administratively
down
s1(config-if-range)#exit
s1(config)#int f0/2
s1(config-if)#s
s1(config-if)#sw
s1(config-if)#switchport m
s1(config-if)#switchport mode a
s1(config-if)#switchport mode access
s1(config-if)#swi
s1(config-if)#switchport po
s1(config-if)#switchport port-security
s1(config-if)#switchport port-security ma
s1(config-if)#switchport port-security max
s1(config-if)#switchport port-security maximum 2
s1(config-if)#switchport port-security mac
s1(config-if)#switchport port-security mac-address st
s1(config-if)#switchport port-security mac-address sticky
s1(config-if)#switchport port-security mac-address sticky 0001.647c.697e
s1(config-if)#switchport port-security vi
s1(config-if)#switchport port-security violation shut
s1(config-if)#switchport port-security violation shutdown
s1(config-if)#exit
s1(config)#
tp.....................................vlan............................
Switch>
Switch>en
Switch>enable
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vl
Switch(config)#vlan 10
Switch(config-vlan)#na
Switch(config-vlan)#name etudient
Switch(config-vlan)#in
Switch(config-vlan)#int
Switch(config-vlan)#eci
Switch(config-vlan)#exi
Switch(config)#in
Switch(config)#interface f
Switch(config)#interface range f0/1-12
Switch(config-if-range)#sw
Switch(config-if-range)#switchport m
Switch(config-if-range)#switchport mode a
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#sw
Switch(config-if-range)#switchport a
Switch(config-if-range)#switchport access v

Switch(config-if-range)#switchport access vlan 10

S-ar putea să vă placă și