23 Şub 2009

Configuration Switch

Setting Host Name

Switch#configure terminal

Switch(config)#hostname 2960Switch ----->Create a hostname of the switch.

2960Switch(config)#

Setting Passwords

Configuring Console Password

2960Switch(config)#line con 0

2960Switch(config-line)#login

2960Switch(config-line)#password thewayofccie ---->set the password to thewayofccie

Configuring Telnet Password

2960Switch(config)#line vty 4

2960Switch(config-line)#login

2960Switch(config-line)#password thewayofccie---->set the password to thewayofccie

Configuring Enable Password

2960Switch(config)#enable password runccie---->set the password to runccie

2960Switch(config)#enable secret thewayofccie---->Sets the encrypted secret password to thewayofccie

Setting IP Addresses and Default Gateways

2960Switch(config)#interface vlan1

2960Switchconfig-if)#ip address 192.168.100.2 255.255.255.0

2960Switch(config-if)#exit

2960Switch(config)#ip default-gateway 192.168.100.1

Duplex Configuration

2960Switch(config)#interface fastethernet 0/0

2960Switch(config-if)#duplex full

2960Switch(config)#interface fastethernet 0/1

2960Switch(config-if)#duplex auto

2960Switch(config)#interface fastethernet 0/2

2960Switch(config-if)#duplex half

Setting Operation Speed

2960Switch(config)#interface fastethernet 0/0

2960Switch(config-if)#speed 10

2960Switch(config)#interface fastethernet 0/1

2960Switch(config-if)#speed 100

2960Switch(config)#interface fastethernet 0/2

2960Switch(config-if)#speed auto

Hiç yorum yok:

Yorum Gönder