Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#host SWITCH_LT1
SWITCH_LT1(config)#int f0/15
SWITCH_LT1(config-if)#description TRUNK TO SWITCH_LT2
SWITCH_LT1(config-if)#switchport mode trunk
SWITCH_LT1(config-if)#switchport trunk allowed vlan all
SWITCH_LT1(config-if)#no shut
SWITCH_LT1(config-if)#ex
SWITCH_LT1(config)#vlan 10
SWITCH_LT1(config-vlan)#vlan 11
SWITCH_LT1(config-vlan)#ex
SWITCH_LT1(config)#int f0/1
SWITCH_LT1(config-if)#switchport mode access
SWITCH_LT1(config-if)#switchport access vlan 10
SWITCH_LT1(config-if)#no shut
SWITCH_LT1(config-if)#ex
SWITCH_LT1(config)#int f0/2
SWITCH_LT1(config-if)#switchport mode access
SWITCH_LT1(config-if)#switchport access vlan 10
SWITCH_LT1(config-if)#no shut
SWITCH_LT1(config-if)#ex
SWITCH_LT1(config)#int f0/3
SWITCH_LT1(config-if)#switchport mode access
SWITCH_LT1(config-if)#switchport access vlan 11
SWITCH_LT1(config-if)#no shut
SWITCH_LT1(config-if)#ex
SWITCH_LT1(config)#ex
SWITCH_LT1#sh vlan brief ß melihat vlan yang terbentuk
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/4, Fa0/5, Fa0/6, Fa0/7
Fa0/8, Fa0/9, Fa0/10, Fa0/11
Fa0/12, Fa0/13, Fa0/14, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
10 VLAN0010 active Fa0/1, Fa0/2
11 VLAN0011 active Fa0/3
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
SWITCH_LT1#
Konfigurasi switch1 lantai 2
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#host SWITCH_LT2
SWITCH_LT2(config)#int f0/15
SWITCH_LT2(config-if)#description TRUNK TO SWITCH_LT1
SWITCH_LT2(config-if)#switchport mode trunk
SWITCH_LT2(config-if)#switchport trunk allowed vlan all
SWITCH_LT2(config-if)#no shut
SWITCH_LT2(config-if)#ex
SWITCH_LT2(config)#vlan 10
SWITCH_LT2(config-vlan)#vlan 11
SWITCH_LT2(config-vlan)#ex
SWITCH_LT2(config)#int f0/1
SWITCH_LT2(config-if)#switchport mode access
SWITCH_LT2(config-if)#switchport access vlan 10
SWITCH_LT2(config-if)#ex
SWITCH_LT2(config)#int f0/2
SWITCH_LT2(config-if)#switchport mode access
SWITCH_LT2(config-if)#switchport access vlan 11
SWITCH_LT2(config-if)#no shut
SWITCH_LT2(config-if)#ex
SWITCH_LT2(config)#int f0/3
SWITCH_LT2(config-if)#switchport mode access
SWITCH_LT2(config-if)#switchport access vlan 11
SWITCH_LT2(config-if)#no shut
SWITCH_LT2(config-if)#ex
SWITCH_LT2(config)#ex
SWITCH_LT2#sh vlan brief ß melihat vlan yang terbentuk
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/4, Fa0/5, Fa0/6, Fa0/7
Fa0/8, Fa0/9, Fa0/10, Fa0/11
Fa0/12, Fa0/13, Fa0/14, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
10 VLAN0010 active Fa0/1
11 VLAN0011 active Fa0/2, Fa0/3
SWITCH_LT2#wr
0 comments:
Post a Comment