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.


IOS BACKUP

IOS BACKUP



To take backup of the IOS and router configuration (like the Running configuration and the Startup configuration) follow the procedure below:

First install the TFTP server software on a PC in the network and at the time of taking backup the software should be running (Application is ON) on the PC where it is installed. Then Login to the router and go to the privilege mode



To take the backup of the startup configuration use the following command:

CISCO DISCOVERY PROTOCOL - CDP

CISCO DISCOVERY PROTOCOL - CDP


CDP is enabled by default on all Cisco devices. It is used for troubleshooting connectivity between Cisco devices. To check the output of Cisco discovery protocol (CDP) use the following commands.

The following command will show CDP hello and the hold-down interval.

Syntax:

Router#show cdp


KOLKATA#sh cdp
     Global CDP information:
     Sending CDP packets every 60 seconds
     Sending a holdtime value of 180 seconds
     Sending CDPv2 advertisements is enabled


The following command will show the brief information of the directly connected Cisco devices Like hostname, interface to which it is connected, the model of the device etc.


EXTENDED ACCESS CONTROL LIST

EXTENDED ACCESS CONTROL LIST 


Configure Extended ACL as follows

Syntax:

Router(config)#access-list <no.> permit/deny <protocol> <source ip> <source wildcard mask> 
<destination ip> <destination wildcard mask> [operator] [port]

To implement ACL on a Interface

Syntax:

Router(config)#interface <type> <no.> 

Router(config-if)#ip access-group <no.> in/out



On Kolkata:

SCENARIO 

Configuration of an access-list on KOLKATA such that Deny Kolkata LAN from accessing HTTP Server in LAN of Mumbai LAN i.e 192.168.2.0 and also deny ping to Delhi LAN i.e 192.168.1.0 .


STANDARD ACCESS CONTROL LIST

STANDARD ACCESS CONTROL LIST
(STANDARD ACL)




Configure Standard ACL as follows:

Syntax:

Router(config)#access-list <no.> permit/deny <source ip> <source wildcard mask>


To implement ACL on a Interface

Syntax:

Router(config)#interface <type> <no.> 
Router(config-if)#ip access-group <no.> in/out




On Kolkata:

SCENARIO 

Configuration of an access-list on KOLKATA such that 192.168.0.4 should not communicate with 10.0.0.0 network.


Open Shortest Path First (OSPF)

Open Shortest Path First (OSPF)



To configure OSPF routing protocol use the following command:

Syntax:

Router(config)#router ospf <process id>

Router(config-router)#network <network ID> <wildcard mask> area <area no>




Configurations of Routers are given below: 


Enhanced Interior Gateway Routing Protocol (EIGRP)

Open Shortest Path First (OSPF)



To configure OSPF routing protocol use the following command:

Syntax:

Router(config)#router ospf <process id>

Router(config-router)#network <network ID> <wildcard mask> area <area no>




Configurations of Routers are given below: 


ROUTING INFORMATION PROTOCOL (RIP)

ROUTING INFORMATION PROTOCOL (RIP)

Enable RIP and advertise the directly connected networks using the following commands.
Syntax:
Router(config)#router rip
Router(config-router)#network <network ID>


Configurations of Routers are given below: