23 Şub 2009

CCNA LAB:Switch Configuration

switch>enable

switch#configure terminal

switch(config)#hostname 2960switch

2960switch (config)#enable password thewayofccie

2960switch (config)#enable secret ccie

2960switch (config)#line console 0

2960switch (config-line)#login

2960switch (config-line)#password passcon0

2960switch (config-line)#exit

2960switch (config)#line aux 0

2960switch (config-line)#login

2960switch (config-line)#password passaux

2960switch (config-line)#exit

2960switch (config)#line vty 0 4

2960switch (config-line)#login

2960switch (config-line)#password passtelnet

2960switch (config-line)#exit

2960switch (config)#ip default-gateway 192.168.20.1

2960switch (config)#interface vlan 1

2960switch (config-if)#ip address 192.168.20.2 255.255.255.0

2960switch (config-if)#no shutdown

2960switch (config-if)#interface fastethernet 0/1

2960switch (config-if)#description Link to RTA

2960switch (config-if)#interface fastethernet 0/2

2960switch (config-if)#description Link to EmrahPc

2960switch (config-if)#switchport port-security

2960switch (config-if)#switchport port-security maximum 1

2960switch (config-if)#switchport port-security violation shutdown

2960switch (config-if)#interface fastethernet 0/3

2960switch (config-if)#description Link to MustafaPc

2960switch (config-if)#switchport port-security

2960switch (config-if)#switchport port-security maximum 1

2960switch (config-if)#switchport port-security violation shutdown

2960switch (config-if)#exit

2960switch (config)#exit

2960switch #copy running-config startup-config

2960 witch #

Hiç yorum yok:

Yorum Gönder