Getting started with Cisco Switch
Default baud rate for Cisco Switch is 9600
Switch to supervisor mode
ena(enable)
Go into configuration terminal
config t (configuration terminal)
Set hostname
hostname myciscoswitch
Enable password and encrypt
enable secret p@ssw0rd
service password-encry
Name VLAN 1
vlan 1 name myvlan1
switchport access vlan 2
Switch to supervisor mode
ena(enable)
Go into configuration terminal
config t (configuration terminal)
Set hostname
hostname myciscoswitch
Enable password and encrypt
enable secret p@ssw0rd
service password-encry
VLAN related
show vlanName VLAN 1
vlan 1 name myvlan1
Configure access port
interface fastethernet 0/xswitchport access vlan 2
Configure trunk port
interface fastethernet0/x
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allow vlan 10-15,20
Exit from configuration mode
exit
Write current configuration to startup configuration in order to make it permanent upon reboot.
write memory
Comments
Post a Comment