Anda di halaman 1dari 3

!

Cau hinh sw1 en conf t hostname sw1 vlan 10 name vl10 vlan 20 name vl20 exit line console 0 pass cisco login exit int range fa 0/5-10 sw mode acc sw acc vlan 10 int range fa 0/15-20 sw mode acc sw acc vlan 20 int fa 0/1 sw mode acc sw acc vlan 10 int fa 0/2 sw mode trunk sw trunk allowed vlan add 10 sw trunk allowed vlan add 20 !cau hinh sw2 en conf t hostname sw2 vlan 10 name vl10 vlan 20 name vl20 exit line console 0 pass cisco login exit int range fa 0/5-10 sw mode acc sw acc vlan 10 int range fa 0/15-20 sw mode acc sw acc vlan 20 int fa 0/1 sw mode acc sw acc vlan 20 int fa 0/2 sw mode trunk sw trunk allowed vlan add 10 sw trunk allowed vlan add 20 !cau hinh sw3 en conf t

hostname sw3 vlan 30 name vl30 vlan 40 name vl40 exit int range fa 0/5-10 sw mode acc sw acc vlan 30 int range fa 0/15-20 sw mode acc sw acc vlan 40 int fa 0/1 sw mode trunk sw trunk allowed vlan add 30 sw trunk allowed vlan add 40 !cau hinh RB ena conf t hostname RTB line console 0 pass cisco login logging synchronous exit line vty 0 4 pass cisco login exit enable secret class no ip domain-lookup !cau hinh RTC ena conf t hostname RTC line console 0 pass cisco login logging synchronous exit line vty 0 4 pass cisco login exit enable secret class no ip domain-lookup !cau hinh RTA ena conf t hostname RTA line console 0 pass cisco login

logging synchronous exit line vty 0 4 pass cisco login exit enable secret class no ip domain-lookup