-
The command switch>en will allow you to enter the privileged mode.
-
The command switch>config t will allow you to enter the configuration mode.
-
The command switch(config)#hostname AustinSwitch2900 will allow you to set up the host name.
-
The command AustinSwitch2900(config)#no ip domain-lookup will allow you to turn off the DNS resolution to avoid the waiting time to the DNS lookup for the spelling errors.
-
The command AustinSwitch2900(config)#line con 0 will allow you to enter the line mode.
-
The command AustinSwitch2900(config-line)#logging synchronous will allow you to append the command line to a new line. There will be no interruption from the information items.
-
The command AustinSwitch2900(config-line)#exec-timeout 0 0 will allow you to stop the console session from getting timed out.
-
The command AustinSwitch2900(config-line)#exit will allow you to line mode.
-
The command AustinSwitch2900(config)#enable secret
john will allow you to set up the secret password to the word john.
-
The command AustinSwitch2900(config)#exit will allow you to exit the session.
-
The command AustinSwitch2900#vlan database will allow you to enter the database mode.
-
The command AustinSwitch2900(vlan)#vlan 10 name Rose will allow you to create a VLAN 10 named Rose.
-
The command AustinSwitch2900(vlan)#vlan 20 name Rose1 will allow you to create a VLAN 10 named Rose1.
-
The command AustinSwitch2900(vlan)#vlan 30 name Rose2 will allow you to create a VLAN 10 named Rose2.
-
The command AustinSwitch2900(vlan)#vtp server will allow you to turn your switch into the VTP server.
-
The command AustinSwitch2900(vlan)#vtp domain academy will allow you to assign the domain name academy to the server.
-
The command AustinSwitch2900(vlan)#exit will allow you to exit the VTP server mode after applying all the system's necessary changes.
-
The command AustinSwitch2900#config t will allow you to enter the configuration mode once again.
-
The command AustinSwitch2900(config)#int vlan1 will allow you to initiate vlan1.
-
The command AustinSwitch2900(config-if)#ip add (enter ip address here) will allow you to enter and add the ip address to the network.
-
The command AustinSwitch2900(config-if)#no shutdown is
the next command on the line.
-
The last command is AustinSwitch2900(config-if)#exit. It will exit the configuration mode.
-
The command AustinSwitch2900(config)#ip default-gateway 192.168.1.1 will allow you to set the ip default-gateway.
-
The command AustinSwitch2900(config)#int fa 0/1 will allow you to initiate the interface.
-
The command AustinSwitch2900(config-if)#desc Trunk Link to Corp Router will allow you to link the system to the CORP router.
-
The command AustinSwitch2900(config-if)#switchport mode trunk will allow you to create trunk link.
-
The command AustinSwitch2900(config-if)#switchport trunk encapsulation dotiq will allow you to set up the encapsulation to the DotIQ.
-
The command AustinSwitch2900(config-if)#int fa 0/2 will allow you to initiate the interface.
-
The command AustinSwitch2900(config-if)#switchport access vlan 10 will allow you to assign VLAN 10 a separate port.
-
The command AustinSwitch2900(config-if)#spanning-tree portfast will allow you to transition the port to the forwarding state inside the Spanning Tree Protocol (STP).
-
The command AustinSwitch2900(config-if)#int fa 0/3 will allow you to initiate the interface.
-
The command AustinSwitch2900(config-if)#switchport access vlan 10 will allow you to assign VLAN 10 a separate port.
-
The command AustinSwitch2900(config-if)#spanning-tree portfast will allow you to transition the port to the forwarding state inside the Spanning Tree Protocol (STP).
-
The command AustinSwitch2900(config-if)#int fa 0/4 will allow you to initiate the interface.
-
The command AustinSwitch2900(config-if)#switchport access vlan 10 will allow you to assign VLAN 10 a separate port.
-
The command AustinSwitch2900(config-if)#spanning-tree portfast will allow you to transition the port to the forwarding state inside the Spanning Tree Protocol (STP).
-
The command AustinSwitch2900(config-if)#int fa 0/5 will allow you to initiate the interface.
-
The command AustinSwitch2900(config-if)#switchport access vlan 20 will allow you to assign VLAN 20 a separate port.
-
The command AustinSwitch2900(config-if)#spanning-tree portfast will allow you to transition the port to the forwarding state inside the Spanning Tree Protocol (STP).
-
The command AustinSwitch2900(config-if)#int fa 0/6 will allow you to initiate the interface.
-
The command AustinSwitch2900(config-if)#switchport access vlan 20 will allow you to assign VLAN 20 a separate port.
-
The command AustinSwitch2900(config-if)#spanning-tree portfast will allow you to transition the port to the forwarding state inside the Spanning Tree Protocol (STP).
-
The command AustinSwitch2900(config-if)#int fa0/7 will allow you to initiate the interface.
-
The command AustinSwitch2900(config-if)#switchport access vlan 20 will allow you to assign VLAN 20 a separate port.
-
The command AustinSwitch2900(config-if)#spanning-tree portfast will allow you to transition the port to the forwarding state inside the Spanning Tree Protocol (STP).
-
The command AustinSwitch2900(config-if)#int fa0/8 will allow you to initiate the interface.
-
The command AustinSwitch2900(config-if)#switchport access vlan 20 will allow you to assign VLAN 20 a separate port.
-
The command AustinSwitch2900(config-if)#spanning-tree portfast will allow you to transition the port to the forwarding state inside the Spanning Tree Protocol (STP).
-
The command AustinSwitch2900(config-if)#int fa0/8 will allow you to initiate the interface.
-
The command AustinSwitch2900(config-if)#switchport access vlan 20 will allow you to assign VLAN 20 a separate port.
-
The command AustinSwitch2900(config-if)#spanning-tree portfast will allow you to transition the port to the forwarding state inside the Spanning Tree Protocol (STP).
-
The command AustinSwitch2900(config-if)#int fa0/9 will allow you to initiate the interface.
-
The command AustinSwitch2900(config-if)#switchport access vlan 20 will allow you to assign VLAN 20 a separate port.
-
The command AustinSwitch2900(config-if)#spanning-tree portfast will allow you to transition the port to the
forwarding state inside the Spanning Tree Protocol (STP).
-
The command AustinSwitch2900(config-if)#int fa0/10 will allow you to initiate the interface.
-
The command AustinSwitch2900(config-if)#switchport access vlan 30 will allow you to assign VLAN 30 a separate port.
-
The command AustinSwitch2900(config-if)#spanning-tree portfast will allow you to transition the port to the forwarding state inside the Spanning Tree Protocol (STP).
-
The command AustinSwitch2900(config-if)#int fa0/11 will allow you to initiate the interface.
-
The command AustinSwitch2900(config-if)#switchport access vlan 30 will allow you to assign VLAN 30 a separate port.
-
The command AustinSwitch2900(config-if)#spanning-tree portfast will allow you to transition the port to the forwarding state inside the Spanning Tree Protocol (STP).
-
The command AustinSwitch2900(config-if)#int fa0/12 will allow you to initiate the interface.
-
The command AustinSwitch2900(config-if)#switchport access vlan 30 will allow you to assign VLAN 30 a separate port.
-
The command AustinSwitch2900(config-if)#spanning-tree portfast will allow you to transition the port to the forwarding state inside the Spanning Tree Protocol (STP).
-
Now enter the following command AustinSwitch2900(config-if)# (enter Ctrl + Z on the keyboard).
-
The command AustinSwitch2900#copy run start will allow
you to save the configuration of the system to NVRAM.
-
Configuration for 2950 Series
-
The command switch>en will allow you to enter the privileged mode.
-
The command switch>config t will allow you to enter the configuration mode.
-
The command switch(config)#hostname AustinSwitch2950 will allow you to set up the host name.
-
The command AustinSwitch2950(config)#no ip domain-lookup will allow you to turn off the DNS resolution to avoid the waiting time to the DNS lookup for the spelling errors.
-
The command AustinSwitch2950(config)#line con 0 will allow you to enter the line mode.
-
The command AustinSwitch2950(config-line)#logging synchronous will allow you to append the command line to a new line. There will be no interruption from the information items.
-
The command AustinSwitch2950(config-line)#exec-timeout 0 0 will allow you to stop the console session from getting timed out.
-
The command AustinSwitch2950(config-line)#exit will allow you to line mode.
-
The command AustinSwitch2950(config)#enable secret john will allow you to set up the secret password to the word john.
-
The command AustinSwitch2950(config)#vlan 10 will allow you to create a VLAN 10.
-
The command AustinSwitch2950(config-vlan)#name Rose will allow you to name the vlan Rose.
-
The command AustinSwitch2950(config-vlan)#vlan 20 will allow you to create a VLAN 20.
-
The command AustinSwitch2950(config-vlan)#name Rose1 will allow you to name the vlan Rose1.
-
The command AustinSwitch2950(config-vlan)#vlan 30 will allow you to create a VLAN 30.
-
The command AustinSwitch2950(config-vlan)#vlan 30 name Rose2 will allow you to name the vlan Rose2.
-
The command AustinSwitch2950(config-vlan)#exit will allow you to vlan mode.
-
The command AustinSwitch2950(config)#vtp server will allow you to convert your switch into the VTP server.
-
The command AustinSwitch2950(config)#vtp domain academy will allow you to assign the domain name academy to the server.
-
The command AustinSwitch2950(config)#int vlan1 will allow you to initiate vlan1.
-
The command AustinSwitch2950(config-if)#ip add (enter ip address here) will allow you to enter and add the ip address to the network.
-
The command AustinSwitch2950(config-if)#no shutdown is the next command on the line.
-
The last command is AustinSwitch2900(config-if)#exit. It will exit the configuration mode.
-
The command AustinSwitch2950(config)#ip default-gateway 192.168.1.1 will allow you to set the ip default-gateway.
-
The command AustinSwitch2950(config)#int fa 0/1 will
allow you to initiate the interface.
-
The command AustinSwitch2950(config-if)#desc Trunk Link to Corp Router will allow you to link the system to the CORP router.
-
The command AustinSwitch2950(config-if)#switchport mode trunk will allow you to create trunk link.
-
The command AustinSwitch2950(config-if)#int range fa 0/2 - 4 will allow you to initiate the interface.
-
The command AustinSwitch2950(config-if-range)#switchport access vlan 10 will allow you to assign VLAN 10 a separate port.
-
The command AustinSwitch2950(config-if-range)#spanning-tree portfast will allow you to transition the port to the forwarding state inside the Spanning Tree Protocol (STP).
-
The command AustinSwitch2950(config-if-range)#int range fa 0/5 - 6 will allow you to initiate the interface.
-
The command AustinSwitch2950(config-if-range)#switchport access vlan 20 will allow you to assign VLAN 20 a separate port.
-
The command AustinSwitch2950(config-if-range)#spanning-tree portfast will allow you to transition the port to the forwarding state inside the Spanning Tree Protocol (STP).
-
The command AustinSwitch2950(config-if-range)#int range fa 0/9 - 12 will allow you to initiate the interface.
-
The command AustinSwitch2950(config-if-range)#switchport access vlan 10 will allow you to assign VLAN 10 a separate port.
-
The command AustinSwitch2950(config-if-range)#spanning-tree portfast will allow you to transition the port to the forwarding state inside the Spanning Tree Protocol (STP).
-
Now enter the following command AustinSwitch2900(config-if)# (enter Ctrl + Z on the keyboard).
-
The command AustinSwitch2900#copy run start will allow you to save the configuration of the system to NVRAM.