CONFIGURATION ON CORE SWITCH
CREATING VLAN DATABASE :
Switch>en
Switch#vlan database
Switch(vlan)#vlan 201 name Office_1st_Floor
VLAN 201 added:
Name: Office_1st_Floor
Switch(vlan)#vlan 202 name Office_2nd_Floor
VLAN 202 added:
Name: Office_2nd_Floor
Switch(vlan)#vlan 203 name Office_3rd_Floor
VLAN 203 added:
Name: Office_3rd_Floor
Switch(vlan)#exi
APPLY completed.
Exiting....
CREATING VTP ON CORE SWITCH :
Switch>
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vtp domain mycompany.com
Changing VTP domain name from NULL to my.company.com
Switch(config)#vtp mode server
Setting device to VTP CLIENT mode.
Switch(config)#vtp password Mypassword
Setting device VLAN database password to Mypassword
Switch(config)#
CREATING TRUNK :
Trunk is the port that connecting the switches.
Helpful Command :
Switch#sh run (to see the interface format, e.g : gigabitEthernet 0/1 atau gigabitEthernet 0/0/1)
Switch#sh cdp neighbor (to see the trunk between switches)
Switch(config)#int gigabitEthernet 0/1
Switch(config-if)#switchport trunk encapsulation dot1q
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch(config)#exit
Switch#wr
Building configuration...
[OK]
Switch#
========================================================================
CONFIGURATION ON CLIENT SWITCH
CREATING VTP ON CLIENT SWITCH :
Switch>
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vtp domain my.company.com
Changing VTP domain name from NULL to my.company.com
Switch(config)#vtp mode client
Setting device to VTP CLIENT mode.
Switch(config)#vtp password Mypassword
Setting device VLAN database password to Mypassword
Switch(config)#
CREATING TRUNK ON CLIENT :
Trunk is the port that connecting the switches.
Helpful Command :
Switch#sh run (to see the interface format, e.g : gigabitEthernet 0/1 atau gigabitEthernet 0/0/1)
Switch#sh cdp neighbor (to see the trunk between switches)
Switch(config)#int gigabitEthernet 0/1
Switch(config-if)#switchport trunk encapsulation dot1q
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch(config)#exit
Switch#wr
Building configuration...
[OK]
Switch#
No comments:
Post a Comment