K Exam Review 1 Flashcards

1
Q

Create an access list that denies traffic from network 10.10.10.0/24 but allows traffic from all other networks.

A

R1(config)#access-list 1 deny 10.10.10.0 0.0.0.255

R1(config)#access-list 1 permit any

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the command to change mac addy aging time?

A

mac-address-table aging-time 400

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What command will allow you to view the mac address table?

A

show mac address-table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Command that will allow you to display all connected ports on a switch?

A

show interfaces status

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Commands for the three modes of DTP?

A
#switchport mode dynamic auto
#switchport mode dynamic desirable
#switchport mode nonegotiate
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Show switchport and VLAN info for an interface.

A

show interface g0/1 switchport

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the extended VLAN range?

A

1006 to 4094 - extended VLAN range

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the normal VLAN range?

A

1 to 1001 - normal VLAN range

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Range reserved for FDDI

A

Fiber Distrubution Data Interface - FDDI
is a standard for data transmission in a local area network. It uses optical fiber as its standard underlying physical medium.

Reserved - 1002 - 1005

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

List facts about Native VLANs

A
  • Should be the same on both ends of the trunk.
  • Useful with VOIP.
  • Compatible with old switches that don’t trunk.
  • Can’t be changed nor deleted.
  • Useful when data and voice VLANs share the same link.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Commands to create an SVI.

A

SVI - logical interface that is associated with a VLAN.

#int vlan 17
#ip add 10.1.1.1 255.0.0.0
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Command to set up a layer 3 switch for routing.

A

ip routing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Command to configure an interface for a newly created VLAN?

A

(config-if)#switchport access vlan 9

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

VOIP phone and computer is on the same interface. What command will allow the voip phone to switch traffic onto it’s vlan?

A

(config-if)# switchport voice vlan 4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Configure an interface with vlan ID 8 and let it support a voip phone on vlan 6.

A

(config-if)# switchport access vlan 8

(config-if)# switchport voice vlan 6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What happens when you configure a port to access mode?

A

When you configure a port to access mode it protects it from automatically trunking.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

List three facts about CDP.

A

Cisco Discovery Protocol - CDP

  • It is required for VOIP phones.
  • It allows switch to learn capabilities of device
  • It allows the switch to learn power requirements
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What does the command #show interfaces switchport display?

A

show interfaces switchport displays:

  • status
  • vlan configured
  • operational mode
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What command will display all configured trunks on a switch including protocols?

A

show interfaces trunk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Display mode settings for VTP.

A

show vtp status

21
Q

Remove vlans 2 to 4 from allowed list on a trunk interface.

A

(config-if)# switchport trunk allowed vlan remove 2-4

22
Q

Reset to default allowed vlans on a trunk.

A

(config-if)# switchport trunk allowed vlan all

23
Q

Add a vlan to an allowed list

A

(config-if)# switchport trunk allowed vlan add 4

24
Q

Describe VTP transparent mode.

A
  • Won’t participate in VTP

- Will receive and forward VTP advertisements

25
Q

Describe VTP client mode.

A
  • Allows switch to act as a slave to the master server.
26
Q

Describe VTP Server mode.

A
  • Default mode

- Allows the switch to act as a master for the VTP domain

27
Q

What is VTP pruning and how do you enable it?

A

vtp pruning

VTP pruning helps improve bandwidth by reducing unnecessary flooded traffic, such as broadcast, multicast, unknown, and flooded unicast packets.

For example, if switch A does not have a port configured for VLAN 7, and broadcast is sent throughout VLAN 7, that broadcast or traffic will not pass through the trunk link to switch A.

VTP pruning should only be enabled on VTP servers, all the clients in the VTP domain will automatically enable VTP pruning.

By default, VLANs 2 – 1001 are pruning eligible, but VLAN 1 can’t be pruned because it’s an administrative VLAN. Both VTP versions 1 and 2 support pruning

28
Q

Verify VTP configuration.

A

Switch# show vtp status | include Pruning

VTP Pruning Mode : Enabled

29
Q

Command that turns off DTP.

A

(config-if)# switchport nonegotiate

30
Q

Describe DTP

A

The Dynamic Trunking Protocol (DTP) is a layer 2 protocol used to negotiate forming a trunk between two Cisco devices. DTP causes increased traffic, and is enabled by default, but may be disabled.

31
Q

What is the default DTP mode?

A

The default DTP mode is access.

32
Q

Configure DTP on interface f0/1 for VLAN 5.

A
#int f0/1
#switchport mode access
#switchport access vlan 5
33
Q

2 show commands that will show detailed information about a trunk.

A
#show interfaces trunk
more info
#show interfaces switchport
34
Q

Show trunking information for a single interface?

A

show interfaces fa0/5 switchport

35
Q

Describe 802.1x.

A

Security protocol used per port to allow or deny traffic based on credentials.

36
Q

802.1Q - How many bytes are used for tagging

A

4 bytes are used for 802.1q tagging.

37
Q

Command to show native vlan for an interface.

A

show interface fa0/15 switchport

38
Q

Command to change native vlan for an interface.

A

(config-if)#switchport trunk native vlan 999

39
Q

All ethernet traffic must be on what range of vlans

A

1-1001

40
Q

Describe and provide the IEEE standard for LLDP

A

802.1ab - Link Layer Discovery Protocol collects info from neighboring devices about their identity and capabilities.

CDP does the same thing.

41
Q

What commands would you use to turn off CDP?

A
#no cdp run
(config-if)#no cdp enable
42
Q

By default cdp advertisment frames are sent out how often?

A

60 seconds

43
Q

What is the CDP default holddown timer?

A

180 seconds.

44
Q

LLDP default advertisement interval is?

A

30 seconds

45
Q

LLDP default holddown timer is?

A

120 seconds

46
Q

Describe CDP hold time.

A

These packets advertise a time-to-live (TTL) value in seconds, which indicates the number of seconds that the packet must be retained before it can be discarded (default value is 180 seconds).

The amount of time before a router will discard information about another router if it doesn’t receive an advertisement frame.

47
Q

Command that will show cdp neighbors with detail.

A
#show cdp neighbors detail
#show cdp entry
48
Q

How would you change cdp timers.

A
# configure terminal
#cdp timer 5
#holdtime 100
49
Q

Show cdp enabled interfaces

A

show cdp interface