Вы находитесь на странице: 1из 25

OLEH : NORASHIKIN BINTI SAMAH

LA 01
ADMINISTRATIVE SETTING : HOSTNAME CONSOLE PASSWORD ENABLE PASSWORD ENABLE SECRET PASSWORD TELNET PASSWORD IP ADDRESS & SUBNETTING LAN VLAN WIRELESS LAN RIPv2

IOS MODE
EXEC MODE (USER) Switch> PRIVILEGED MODE

Switch# CONFIGURATION MODE


Switch(config)#

COMMAND

Switch> Switch>en Switch# Switch#conf t (config terminal) Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#

HOSTNAME
#hostname {nama host}

Switch(config)#hostname MAKMAL_A MAKMAL_A(config)#

CONSOLE PASSWORD
Command
MAKMAL_A(config)#line console 0 MAKMAL_A(config-line)#password cisco MAKMAL_A(config-line)#login MAKMAL_A(config-line)#

Untuk melihat hasil

#sh run @ #do sh run


line con 0 password cisco login

ENABLE & ENABLE SECRET PASSWORD


Command
MAKMAL_A(config)#enable password cisco1 MAKMAL_A(config)#enable secret class

Hasil
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1 enable password cisco1

TELNET PASSWORD
Command
MAKMAL_A(config)#line vty 0 4 MAKMAL_A(config-line)#password telnet MAKMAL_A(config-line)#login

Hasil
line vty 0 4 password telnet login

Simpan / save configuration


#copy run start

IP ADDRESS & SUBNETTING


8 7 6 5 4 3 2 1

Possible Subnets and Hosts for a Class C Network

Possible Subnets and Hosts for a Class B Network

Possible Subnets and Hosts for a Class A Network

VLAN
COMMAND
Switch(config)#vlan 2 Switch(config-vlan)#name JEMPOL

TENTUKAN PORT VLAN


Switch(config)#int fa0/1 Switch(config-if )#switchport access vlan 2

RANGE PORT
Switch(config)#int range fa0/2-5 Switch(config-if )#switchport access vlan 3

HASIL Switch#sh vlan

VTP Features

VTP Modes

Create VLANs Modify VLANs Delete VLANs

Sends and forwards advertisements


Synchronizes

Cannot create, change, or delete VLANs Sends and forwards advertisements Synchronizes

Create local VLANs only Modify local VLANs only Delete local VLANs only Forwards advertisements

Does not synchronize

VTP Operation
VTP advertisements are sent as multicast frames. VTP servers and clients are synchronized to the latest revision number. VTP advertisements are sent every 5 minutes or when there is a change.

VTP Pruning

Configuring VLANs and Trunks


1. 2. 3. 4. 5. 6. Configure and verify VTP. Configure and verify 802.1Q trunks. Create or modify a VLAN on the VTP server switch. Assign switch ports to a VLAN and verify. Execute adds, moves, and changes. Save the VLAN configuration.

Creating a VTP Domain

SwitchX# configure terminal SwitchX(config)# vtp mode [ server | client | transparent ] SwitchX(config)# vtp domain domain-name SwitchX(config)# vtp password password SwitchX(config)# vtp pruning * SwitchX(config)# end

VTP Configuration and Verification Example


SwitchX(config)# vtp domain ICND Changing VTP domain name to ICND SwitchX(config)# vtp mode transparent Setting device to VTP TRANSPARENT mode. SwitchX(config)# end SwitchX# show vtp status VTP Version : 2 Configuration Revision : 0 Maximum VLANs supported locally : 64 Number of existing VLANs : 17 VTP Operating Mode : Transparent VTP Domain Name : ICND VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0x7D 0x6E 0x5E 0x3D 0xAF 0xA0 0x2F 0xAA Configuration last modified by 10.1.1.4 at 3-3-93 20:08:05 SwitchX#

WIRELESS LAN

RIPv2
COMMAND
Router(config)#router rip Router(config-router)#ver 2 Router(config-router)#network 192.168.1.0

HASIL
router rip version 2 network 192.168.1.0

ROUTER EIGRP
COMMAND
Router(config)#router eigrp 101 Router(config-router)#network 192.168.1.0 Router(config-router)#network 10.48.121.0 Router(config-router)#no auto summary

Show command

#sh ip route #show ip eigrp neighbors # show ip eigrp interfaces # show ip eigrp topology # show ip eigrp traffic

ROUTER OSPF
COMMAND
router ospf 1 network 10.0.0.1 0.0.0.0 area 1 network 10.1.0.0 0.0.0.255 area 1 network 10.2.0.0 0.0.0.3 area 0

Show command

#sh ip route #show ip ospf neighbors # show ip ospf interfaces

Вам также может понравиться