Ekhane 3 ta monde ache: User mode Previlious Mode Configuration Mode Command: Switch>en [Move to P Mode] Switch#sh vlan [Show vlan] Showing info of 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/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 Gig0/1, Gig0/2 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2 ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------ 1 enet 100001 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 VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2 ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------ Remote SPAN VLANs ------------------------------------------------------------------------------ Primary Secondary Type Ports ------- --------- ----------------- ------------------------------------------ Switch#config t [Move to C Mode] Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#vlan 2 [vlan create] Switch(config-vlan)#name hridoy [vlan name] Switch(config-vlan)#vlan 3 Switch(config-vlan)#name shajib Switch(config-vlan)#exit [back to C Mode from Vlan] Switch(config)#exit [Move to P Mode] Switch# %SYS-5-CONFIG_I: Configured from console by console Switch#sh vlan [show vlan] Showing info of 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/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 Gig0/1, Gig0/2 2 hridoy active 3 shajib active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2 ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------ 1 enet 100001 1500 - - - - - 0 0 2 enet 100002 1500 - - - - - 0 0 3 enet 100003 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 VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2 ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------ Remote SPAN VLANs ------------------------------------------------------------------------------ Primary Secondary Type Ports ------- --------- ----------------- ------------------------------------------ Switch# Switch#config t [Move to C Mode] Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# Switch(config)# Switch(config)#int fa 0/4 [switch port number which assign in vlan; port number is in the figure] Switch(config-if)#sw mo access [Switch Mode Access] Switch(config-if)#sw access vlan 2 [Access which vlan] Switch(config-if)#int fa 0/5 Switch(config-if)#sw mo access Switch(config-if)#sw access vlan 2 Switch(config-if)#int fa 0/6 Switch(config-if)#sw mo access Switch(config-if)#sw access vlan 2 Switch(config-if)#int fa 0/7 Switch(config-if)#sw mo access Switch(config-if)#sw access vlan 3 Switch(config-if)#int fa 0/8 Switch(config-if)#sw mo access Switch(config-if)#sw access vlan 3 Switch(config-if)#int fa 0/9 Switch(config-if)#sw mo access Switch(config-if)#sw access vlan 3 Switch(config-if)#exit Switch(config)#exit Switch# %SYS-5-CONFIG_I: Configured from console by console Switch#sh vlan Showing info of Vlan VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/10 Fa0/11, Fa0/12, Fa0/13, Fa0/14 Fa0/15, Fa0/16, Fa0/17, Fa0/18 Fa0/19, Fa0/20, Fa0/21, Fa0/22 Fa0/23, Fa0/24, Gig0/1, Gig0/2 2 hridoy active Fa0/4, Fa0/5, Fa0/6 3 shajib active Fa0/7, Fa0/8, Fa0/9 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2 ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------ 1 enet 100001 1500 - - - - - 0 0 2 enet 100002 1500 - - - - - 0 0 3 enet 100003 1500 - - - - - 0 0 1002 fddi 101002 1500 - - - - - 0 0 1003 tr 101003 1500 - - - - - 0 0 --More-- Switch con0 is now available Press RETURN to get started.