INTER-VLAN ROUTING

INTER-VLAN ROUTING


Inter-VLAN routing is the process of forwarding network traffic from one VLAN to another VLAN using a router.


To Create a VLAN on a Switch

Configure VLAN on switch

Syntax:

Switch(config)#vlan <VLAN No.>

Switch(config-vlan)#name <name>




To assign a interface to VLAN


Switch(config)#interface <type> <No.>

Switch(config-if)#switchport mode access

Switch(config-if)#switchport access vlan <VLAN No.>

Switch(config-if)#exit
 


VLAN Trunk Protocol (VTP)

VLAN Trunk Protocol (VTP)

VLAN Trunk Protocol (VTP) reduces administration in a switched network. When you configure a new VLAN on one VTP server, the VLAN is distributed through all switches in the domain. This reduces the need to configure the same VLAN everywhere. VTP is a Cisco-proprietary protocol that is available on most of the Cisco Catalyst series products.



To configure VTP on Switch Syntax:

Syntax:

Switch(config)#vtp domain <name> 

Switch(config)#vtp mode <serer / client / transparent 
Switch(config)#vtp password <password> 
Switch(config)#vtp pruning                          (only on the server switch)


TRUNKING

TRUNKING


To configure a trunk link on interface

Syntax:

Switch(config)#interface <type> <No.> 

Switch(config-if)#switchport mode trunk 
Switch(config-if)#switchport trunk allowed vlan <all | No.>

VIRTUAL LOCAL AREA NETWORKS (VLANs)

VIRTUAL LOCAL AREA NETWORKS (VLANs)

“A virtual LAN (VLAN) is a group of networking devices in the same broadcast domain”

To verify the current configuration of the Switch.


Syntax:

Switch#show vlan

Output:






PASSWORD RECOVERY

PASSWORD RECOVERY


The following steps are required to reset the password of Cisco Router. 

The procedure for Fixed & Modular Router is different.


Step1:

Connect the console port of Router to com port of PC

Step2:

Configure the hyper terminal software for console communication (see steps as shown in Initial configuration)

Step3:


Switch 'ON' the rputer (if it is already 'ON', restart it by using power button).

Step4:

Press "Ctrl + Break" within 60 sec after power on.

Step5:

Router will enter Rom monitor mode.