Category: CCNA Study Guide

Switchport Mode Access Command on CISCO Router/Switch

Command Switchport Mode Access Use Sets interface to access mode. Syntax Switch(config-if)#switchport mode access Example In this example int fa0/2 is set to access mode on SW4. SW2#conf t Enter configuration commands, one per line. End with CNTL/Z. SW2(config)#int fa0/2 SW2(config-if)#switchport mode access

IP Default-Gateway Command on CISCO Router/Switch

Command IP Default-Gateway Use Provides a default-gateway for the switch to send all unknown IP packets. Allows proper communication between switches and routers. Syntax Switch(config)#ip default-gateway <ip address> Example In the below example we will configure SW1 to use a default-gateway to ping R1’s loopback0. First, we will …

VTP Mode Transparent Command on CISCO Router/Switch

Command VTP Mode Transparent Use VTP transparent mode allows the switch to modify its VLAN databasem but will not propagate changes from a server. Additionally, VTP transparent mode allows the switch to configure extended range VLANS (1006-4094). Syntax Switch(config)#vtp mode transparent Example In the below example we will …

Interface Range Command on CISCO Router/Switch

Command Interface Range Use This is the modern way to configure VLANs. A useful feature is that you can configure a range of VLANs with a single command. Syntax Switch(config)#interface range <range> Options < – > Allows for a continuous range to be specified such as interface range …

Spanning-Tree Portfast Command on CISCO Router/Switch

Command Spanning-Tree Portfast Use This command essentially disables spanning-tree on an interface and brings it immediately into the forwarding state. Only use this command on access ports Syntax Switch(config-if)#spanning-tree portfast Example In the below example we will configure SW1’s Fa0/2 to use port-fast to immediately skip to the …

VTP Password Command on CISCO Router/Switch

Command VTP Password Use This command secures VTP updates by setting a secure password. Syntax Switch(config)#vtp password <password> Example In the below example we will set a password of ‘cisco’ for the VTP domain. SW1(config)#vtp password cisco Setting device VLAN database password to cisco SW2(config)#vtp password cisco Setting …

VTP Mode Client Command on CISCO Router/Switch

Command VTP Mode Client Use VTP client mode doesn’t allow you to create any VLANs. all VLANs must be learned from a server switch. This prevents the switch from accidently propogating VLANs throughout the network. Another use is to prevent an older switch from wiping out a server’s …