Chapter 6
VLANs
1. setting ip pada PC
2. setting SWITCH0
#vlan 2
#name vlan2
#exit
#vlan 3
#name vlan3
#exit
#vlan 4
#name vlan4
#exit
#vlan 5
#name vlan5
#exit
#vlan 6
#name vlan6
#exit
#show vlan
#show vlan id 2
#conf t
#int fa0/1
#switchport mode access
#switchport access vlan2
#exit
#int fa0/2
#switchport mode access
#switchport access vlan3
#exit
Sampai fa0/6
#interface fa0/6
#switchport mode trunk
#switchport trunk allowed vlan 2
#switchport trunk allowed vlan add 3 (yang kedua harus dikasih add karna tambahan)
#switchport trunk allowed vlan add 4
#switchport trunk allowed vlan add 5
#switchport trunk allowed vlan add 6
3. Setting SWITCH1
#vlan 2
#exit
#vlan 3
#exit
#vlan 4
#exit
#vlan 5
#name anisa5
#exit
#vlan 6
#name anisa6
#exit
#int fa0/2
#switchport mode access
#switchport access vlan 5
#exit
#int fa0/3
#switchport mode access
#switchpport access vlan 6
#exit
#int fa0/1
#switchport mode trunk
#switchport trunk allowed vlan 2
#switchport trunk allowed vlan add 3
#switchport trunk allowed vlan add 4
#switchport trunk allowed vlan add 5
#switchport trunk allowed vlan add 6
#exit
#int fa0/4
#switchport mode trunk
#switchport trunk allowed vlan 2
#switchport trunk allowed vlan add 3
#switchport trunk allowed vlan add 4
4. Setting SWITCH2
#vlan 2
#name anisa2
#vlan 3
#name anisa3
#vlan 4
#name anisa4
#exit
#int fa0/2
#switchport mode access
#switchport access vlan 2
#exit
#int fa0/3
#swichport mode access
#switchport access vlan 3
#exit
#int fa0/4
#switchport mode access
#switchport access vlan 4
#exit
#int fa0/1
#switchport mode trunk
#switchport trunk allowed vlan 2
#switchport trunk allowed vlan add 3
#switchport trunk allowed vlan add 4
#exit
=========================================
LEGACY-INTER-VLAN
untuk menyambungkan antar vlan
#int fa0/7
#switchport mode access
#switchport access vlan 2
#exit
#int fa0/8
#switchport mode access
#switchport access vlan 3
#exit
di router
int g0/1
ip address 192.168.2.1 255.255.255.0
no shut
exit
============================================
SCRIP ROUTER ON STICK
#interface fa0/7
#switchport mode trunk
#switchport trunk allowed vlan 2
#switchport trunk allowed vlan add 3
#switchport trunk allowed vlan add 4
#switchport trunk allowed vlan add 5
#switchport trunk allowed vlan add 6
#end
setting router
#enable
#conf t
#no shutdown
#exit
#int g0/0.2
#encapsulation dot1Q 2
#ip address 192.168.2.1 255.255.255.0 (gateway dari setiap PC)
#exit
#encapsulation dot1Q 3
#ip address 192.168.3.1 255.255.255.0
#exit
#encapsulation dot1Q 4
#ip address 192.168.4.1 255.255.255.0
#exit
#encapsulation dot1Q 5
#ip address 192.168.5.1 255.255.255.0
#exit
#encapsulation dot1Q 6
#ip address 192.168.6.1 255.255.255.0
#exit
#copy running-config starup-config
Langganan:
Posting Komentar (Atom)
Chapter 10: Device Discovery, Management, and Maintenance-CCNA2
Chapter 10 Device Discovery, Management, and Maintenance Cisco Discovery Protocol (CDP) adalah protokol Layer 2 milik Cisco yang digu...
-
assalamualaikum warohmatullahi wabarokatuh. langkah untuk menyambungkan port. Langkah ke-1: a. Klik router Timur. Tab fisik harus akt...
-
RSE Practice Skills Assessment Part 1 - PT -Type C Central - Router enable configure terminal no ip domain-lookup hostname Central...
-
assalamualaikum wr.wb Hallo semua pembaca blogger :D kali ini saya akan membagikan blog-blog Packet Tracer - Web and Email. ...
Tidak ada komentar:
Posting Komentar