0% found this document useful (0 votes)
95 views

Ccna3 Vlan Trunk

The document describes the configuration of VLANs and trunk ports on two switches named SA and SB. VLANs 10 and 20 are configured for LAB-A and LAB-B respectively, while VLAN 88 is used as the native management VLAN. Ports on each switch are configured as access ports for VLANs 10 and 20, and as trunk ports connecting the two switches on VLAN 88.

Uploaded by

Yoki Wahyudi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
95 views

Ccna3 Vlan Trunk

The document describes the configuration of VLANs and trunk ports on two switches named SA and SB. VLANs 10 and 20 are configured for LAB-A and LAB-B respectively, while VLAN 88 is used as the native management VLAN. Ports on each switch are configured as access ports for VLANs 10 and 20, and as trunk ports connecting the two switches on VLAN 88.

Uploaded by

Yoki Wahyudi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

VLAN (Virtual LAN) & TRUNK

Konfigurasi VLAN :
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname SA
SA(config)#vlan 10
SA(config-vlan)#name LAB-A
SA(config-vlan)#exit
SA(config)#vlan 20
SA(config-vlan)#name LAB-B
SA(config-vlan)#exit
SA(config)#vlan 88
SA(config-vlan)#name native-management
SA(config-vlan)#exit

Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname SB
SB(config)#vlan 10
SB(config-vlan)#name LAB-A
SB(config-vlan)#exit
SB(config)#vlan 20
SB(config-vlan)#name LAB-B
SB(config-vlan)#exit
SB(config)#vlan 88
SB(config-vlan)#name native-management
SB(config-vlan)#exit

Memberikan IP Address di VLAN 88  native management


SA(config)#int vlan 88

%LINK-5-CHANGED: Interface Vlan88, changed state to up


SA(config-if)#ip add 172.17.88.2 255.255.255.0
SA(config-if)#exit
SA(config)#ip default-gateway 172.17.88.1
SA(config)#^Z

SB(config)#int vlan 88

%LINK-5-CHANGED: Interface Vlan88, changed state to up


SB(config-if)#ip add 172.17.88.3 255.255.255.0
SB(config-if)#exit
SB(config)#ip default-gateway 172.17.88.1
SB(config)#exit

Memberikan status port mode access dan trunk :


SA(config)#int f0/1
SA(config-if)#switchport mode access
SA(config-if)#switchport access vlan 10
SA(config-if)#exit
SA(config)#int f0/12
SA(config-if)#switchport mode access
SA(config-if)#switchport access vlan 20
SA(config-if)#exit
SA(config)#int f0/23
SA(config-if)#switchport mode trunk
SA(config-if)#switchport trunk native vlan 88
SA(config-if)#exit
SA(config)#int f0/24
SA(config-if)#switchport mode trunk
SA(config-if)#switchport trunk native vlan 88
SA(config-if)#exit

SB(config)#int f0/23
SB(config-if)#switchport mode trunk
SB(config-if)#switchport trunk native vlan 88
SB(config-if)#exit
SB(config)#int f0/24
SB(config-if)#switchport mode trunk
SB(config-if)#switchport trunk native vlan 88
SB(config-if)#exit
SB(config)#int f0/13
SB(config-if)#switchport mode access
SB(config-if)#switchport access vlan 10
SB(config-if)#exit
SB(config)#int f0/22
SB(config-if)#switchport mode access
SB(config-if)#switchport access vlan 20
SB(config-if)#^Z

Hasil konfigurasi VLAN dan Trunk :


SA#sh vlan

VLAN Name Status Ports


---- -------------------------------- ---------
-------------------------------
1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5
Fa0/6, Fa0/7, Fa0/8, Fa0/9
Fa0/10, Fa0/11, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
10 LAB-A active Fa0/1
20 LAB-B active Fa0/12
88 native-management active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
88 enet 100088 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0

Remote SPAN VLANs


------------------------------------------------------------------------------

Primary Secondary Type Ports


------- --------- ----------------- ------------------------------------------
SA#

SB#sh vlan

VLAN Name Status Ports


---- -------------------------------- ---------
-------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/14, Fa0/15, Fa0/16, Fa0/17
Fa0/18, Fa0/19, Fa0/20, Fa0/21
10 LAB-A active Fa0/13
20 LAB-B active Fa0/22
88 native-management active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
88 enet 100088 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0

Remote SPAN VLANs


------------------------------------------------------------------------------

Primary Secondary Type Ports


------- --------- ----------------- ------------------------------------------
SB#

You might also like