Day 3 - Trunking, DTP, and Inter-VLAN Routing Flashcards
What is DTP?
Dynamic Trunking Protocol
Define a trunk
A trunk is a switch port that can carry multiple traffic types, each tagged with a unique VLAN ID.
What is the first configuration task when implementing VLAN trunking?
To configure the desired interface as a Layer 2 switch port.
What is the command to configure an interface as a Layer 2 switch port?
the switchport command
When is the switchport command required?
on Layer 3 capable switches
What is the second configuration task when implementing VLAN trunking?
Specify the encapsulation protocol.
What is the command to specify the encapsulation protocol for a trunk link?
switchport trunk encapsulation [option]
What are the three options for the switchport trunk encapsulation command?
dot1q
isl
negotiate
What is dot1q encapsulation?
forces the switch to use IEEE 802.1Q encapsulation.
What is isl encapsulation?
forces the switch to use ciscos ISL encapsulation
What is negotiate encapsulation?
specifies that if Dynamic Inter-Switch LInk Protocol (DISL) and the Dynamic Trunking Protocol (DTP) negotiation fails to agree on the encapsulation, then ISL is the selected format.
What is DISL?
Dynamic Inter-Switch Link protocol
What is DTP?
Dynamic Trunking Protocol
What command would you use to validate proper trunking configuration?
show interface [name]
What is the third trunk port configuration step?
to implement configuration to ensure that the port is designated as a trunk port.
What are the two ways to designate a port as a trunk port?
Manual (static) trunk configuration
Dynamic Trunking Protocol (DTP)
What is the command for manual configuration of a port for trunking?
switchport mode trunk
What command would you use to validate manual port trunking configuration?
show interfaces [name] switchport
It is a good practice to disable the sending of DISL and DTP packets on a statically configured trunk port. What is the command to do this?
switchport nonegotiate
What are the two DTP modes that a switch port can use?
Dynamic desirable
Dynamic auto
If two switches are each set to dynamic auto will they establish a trunk between them or not?
they will not because dynamic auto mode is passive
What is the command to see dynamic trunking protocol information both globally and for a specific interface?
show dtp
show dtp [interface ]
What is the command to change the default native VLAN?
switchport trunk native vlan [number]
Routing traffic between different VLANs is know as?
inter-VLAN routing
What are the three methods of implementing inter-VLAN routing?
using physical router interfaces
using router subinterfaces
using switched virtual interfaces
What are the pros and cons of using physical router interfaces to implement inter-VLAN routing?
simple and easy to implement
not scalable
What are the pros and cons of using router subinterfaces to implement inter-VLAN routing?
scalable, only one physical router interface is required
physical interface bandwidth is shared and can become a bottleneck
Do routers and switches support DTP?
Only switches support DTP.
Inter-VLAN routing using a single router interface is also referred to as ?
router-on-a-stick
What type of switch supports the configuration of IP addressing on physical interfaces?
Multilayer or Layer 3 switches
SVIs are ?
Switched Virtual Interfaces
What command is used to allow the configuration of IP addressing on physical switch interfaces?
no switchport
What type of switch supports SVIs?
Multilayer or Layer 3 switches
Define SVIs
logical interfaces that represent a VLAN
SVIs are automatically created when a Layer 2 VLAN is created. True or False?
False
What is the command to configure an SVI?
interface vlan [number]
When using Multilayer switches what is the recommended method for configuring an inter-VLAN routing solution?
SVIs
What are the two commands that can verify that SVI is properly configured?
show interface vlan [number]
show interface [number]
What is SDM?
Switch Database Management
What are the SDM options on a 2960 switch?
Default
Dual IPv4/IPv6
Lanbase-routing
QoS
What are the Switch Database Management commands?
(config) smd prefer [option]
show sdm prefer
What is VTP?
VLAN Trunking Protocol
What does VTP manage?
the addition, deletion and renaming of VLANs on switches in the same VTP domain
What are some of the benefits of using VTP?
Accurate monitoring and reporting of VLANS
VLAN consistency across the network
Ease of adding and removing VLANs
What are the available VTP modes and which is the default?
Server (default)
Client
Transparent
Describe VTP Server mode
the switch is authorized to create, modify and delete VLAN information for the entire VLAN domain
Describe VTP Client mode
the switch will receive VTP information and apply any changes, but it does not allow adding, removing or changing VLNAN information on the switch
Describe VTP Transparent mode
the switch will forward the VTP information received out of its trunk ports, but it will not apply the changes.
What is the command to stop unnecessary VLAN information on switches in a VTP domain?
vtp pruning
What is the command to check VTP configuration?
show vtp status
How do you reset the VTP revision number on a switch?
change the VTP domain name and then change the name back to the original name
What is the command to change or set the VTP domain?
(config) vtp domain [name]
If inter-VLAN routing is not working how should you troubleshoot?
- check to see that the link between the switches and routers is setup correctly
- check that the relevant VLANs are allowed
- check that the router’s subinterfaces are configured with the correct encapsulation and VLAN and that the subinterface’s IP is the default gateway for the hosts
If VLANs cannot be created how should you troubleshoot?
- check whether the VTP mode on the switch is set to client
* check to see if you have exceeded the number of VLANs allowed on the switch
Host within the same VLAN cannot reach each other, how should you troubleshoot?
- check that the hosts in the VLAN have IPs belonging to the same subnet
- if the hosts are not connected to the same switch, ensure that trunk links between the switches are working correctly
If VTP information is not reaching the client what should you check and what are the commands?
that the correct VTP domain and password have been configured using show VTP status and show vtp password