mengubah keanggotaan port vlan cisco

1 Jul

Mengubah port untuk menjadi anggota suatu vlan dapat dilakukan dengan mudah, pada contoh ini diandaikan port Fa2/0/48 akan dijadikan anggota vlan : vlan-2, dimana sebelumnya Fa2/0/48 adalah anggota vlan : FC

1. periksa sebelum perubahan
3750-FC(21)#sh vlan
VLAN Name Status Ports
—- ——————————– ——— ——————————-
1 default active Gi2/0/2, Gi2/0/4
2 vlan-2 active Fa2/0/45, Fa2/0/47
3 Vlan-Management active
21 FC active Fa2/0/1, Fa2/0/2, Fa2/0/3
Fa2/0/4, Fa2/0/5, Fa2/0/6
Fa2/0/7, Fa2/0/8, Fa2/0/9
Fa2/0/10, Fa2/0/11, Fa2/0/12
Fa2/0/13, Fa2/0/14, Fa2/0/15
Fa2/0/16, Fa2/0/17, Fa2/0/18
Fa2/0/19, Fa2/0/20, Fa2/0/21
Fa2/0/22, Fa2/0/23, Fa2/0/24
Fa2/0/25, Fa2/0/26, Fa2/0/27
Fa2/0/28, Fa2/0/29, Fa2/0/30
Fa2/0/31, Fa2/0/32, Fa2/0/33
Fa2/0/34, Fa2/0/35, Fa2/0/36
Fa2/0/37, Fa2/0/38, Fa2/0/39
Fa2/0/40, Fa2/0/41, Fa2/0/42
Fa2/0/43, Fa2/0/44, Fa2/0/46
Fa2/0/48

2. masuk kedalam mode config
3750-FC(21)#config t
3750-FC(21)(config)#

3. masuk ke port yang akan diubah, pd contoh Fa2/0/48
3750-FC(21)(config)#interface Fa2/0/48
3750-FC(21)(config-if)#

4. ubah keanggotaan vlan
3750-FC(21)(config-if)#switchport access vlan 2
3750-FC(21)(config-if)#

5. simpan perubahan tanpa shutdown
3750-FC(21)(config-if)#no shutdown
3750-FC(21)(config-if)#^Z

6. lihat perubahan
3750-FC(21)#sh vlan
VLAN Name Status Ports
—- ——————————– ——— ——————————-
1 default active Gi2/0/2, Gi2/0/4
2 vlan-2 active Fa2/0/45, Fa2/0/47, Fa2/0/48
3 Vlan-Management active
21 FC active Fa2/0/1, Fa2/0/2, Fa2/0/3
Fa2/0/4, Fa2/0/5, Fa2/0/6
Fa2/0/7, Fa2/0/8, Fa2/0/9
Fa2/0/10, Fa2/0/11, Fa2/0/12
Fa2/0/13, Fa2/0/14, Fa2/0/15
Fa2/0/16, Fa2/0/17, Fa2/0/18
Fa2/0/19, Fa2/0/20, Fa2/0/21
Fa2/0/22, Fa2/0/23, Fa2/0/24
Fa2/0/25, Fa2/0/26, Fa2/0/27
Fa2/0/28, Fa2/0/29, Fa2/0/30
Fa2/0/31, Fa2/0/32, Fa2/0/33
Fa2/0/34, Fa2/0/35, Fa2/0/36
Fa2/0/37, Fa2/0/38, Fa2/0/39
Fa2/0/40, Fa2/0/41, Fa2/0/42
Fa2/0/43, Fa2/0/44, Fa2/0/46

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: