Cisco VLAN, Trunking, Router-on-a-Stick, and DHCP Commands

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play

1/53

encourage image

There are no tags or description

Looks like no tags are added yet.

54 Terms

1
New cards

What command enters privileged EXEC mode?

enable

2
New cards

What command enters global configuration mode?

configure terminal

3
New cards

What command changes the device hostname?

hostname SW1

4
New cards

What command creates VLAN 10?

vlan 10

5
New cards

What command creates VLAN 20?

vlan 20

6
New cards

What command creates VLAN 30?

vlan 30

7
New cards

What command creates VLAN 40?

vlan 40

8
New cards

What command names a VLAN?

name VLAN10

9
New cards

What command enters interface FastEthernet 0/1?

interface fa0/1

10
New cards

What command configures a port as an access port?

switchport mode access

11
New cards

What command assigns a port to VLAN 10?

switchport access vlan 10

12
New cards

What command assigns a port to VLAN 20?

switchport access vlan 20

13
New cards

What command assigns a port to VLAN 30?

switchport access vlan 30

14
New cards

What command assigns a port to VLAN 40?

switchport access vlan 40

15
New cards

What command configures multiple interfaces?

interface range fa0/1-2

16
New cards

What command configures a trunk port?

switchport mode trunk

17
New cards

What command allows VLANs 10, 20, 30, and 40 on a trunk?

switchport trunk allowed vlan 10,20,30,40

18
New cards

What command displays VLAN information?

show vlan brief

19
New cards

What command displays trunk ports?

show interfaces trunk

20
New cards

What command displays interface status?

show interfaces status

21
New cards

What command enters GigabitEthernet 0/0?

interface gigabitEthernet 0/0

22
New cards

What command enables an interface?

no shutdown

23
New cards

What command creates a VLAN 10 subinterface?

interface gigabitEthernet 0/0.10

24
New cards

What command creates a VLAN 20 subinterface?

interface gigabitEthernet 0/0.20

25
New cards

What command creates a VLAN 30 subinterface?

interface gigabitEthernet 0/0.30

26
New cards

What command creates a VLAN 40 subinterface?

interface gigabitEthernet 0/0.40

27
New cards

What command assigns VLAN 10 encapsulation?

encapsulation dot1Q 10

28
New cards

What command assigns VLAN 20 encapsulation?

encapsulation dot1Q 20

29
New cards

What command assigns VLAN 30 encapsulation?

encapsulation dot1Q 30

30
New cards

What command assigns VLAN 40 encapsulation?

encapsulation dot1Q 40

31
New cards

What command assigns an IP address to an interface?

ip address [IP address] [subnet mask]

32
New cards

What command excludes IP addresses from DHCP?

ip dhcp excluded-address [first IP] [last IP]

33
New cards

What command creates a DHCP pool?

ip dhcp pool VLAN10

34
New cards

What command specifies the DHCP network?

network [network address] [subnet mask]

35
New cards

What command specifies the default gateway for DHCP clients?

default-router [gateway IP]

36
New cards

What command specifies the DNS server?

dns-server 8.8.8.8

37
New cards

What command displays DHCP pools?

show ip dhcp pool

38
New cards

What command displays DHCP assigned addresses?

show ip dhcp binding

39
New cards

What command displays router interface IP addresses?

show ip interface brief

40
New cards

What command displays the routing table?

show ip route

41
New cards

What command displays the running configuration?

show running-config

42
New cards

What command displays the saved configuration?

show startup-config

43
New cards

What command tests connectivity?

ping [IP address]

44
New cards

What command traces a packet route?

traceroute [IP address]

45
New cards

What command saves the configuration?

copy running-config startup-config

46
New cards

What command enters GigabitEthernet 0/1?

interface gigabitEthernet 0/1

47
New cards

What is the IP address of the first router in the diagram?

10.0.0.1

48
New cards

What is the IP address of the second router in the diagram?

10.0.0.2

49
New cards

What command exits the current configuration mode?

exit

50
New cards

What command returns to privileged EXEC mode?

end

51
New cards

What command restarts a router or switch?

reload

52
New cards

What command checks a PC's IP configuration?

ipconfig

53
New cards

What command requests a new DHCP address on a PC?

ipconfig /renew

54
New cards

What command checks connectivity between VLANs?

ping [destination IP address]