Cisco Networking: VLANs, EtherChannel, Router-on-a-Stick, DHCP & Routing Commands

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

1/73

encourage image

There are no tags or description

Looks like no tags are added yet.

74 Terms

1
New cards

What is the subnet mask for /24?

255.255.255.0

2
New cards

What is the subnet mask for /25?

255.255.255.128

3
New cards

What is the subnet mask for /26?

255.255.255.192

4
New cards

What is the subnet mask for /27?

255.255.255.224

5
New cards

What is the subnet mask for /28?

255.255.255.240

6
New cards

What is the subnet mask for /30?

255.255.255.252

7
New cards

What are the block sizes for /25, /26, /27, /28, /30?

128, 64, 32, 16, 4

8
New cards

What is the gateway rule?

first host (network ID + 1)

9
New cards

How do you enter privileged mode?

enable

10
New cards

How do you enter global configuration mode?

configure terminal

11
New cards

How do you set the hostname?

hostname SW1

12
New cards

How do you create VLAN 10?

vlan 10

13
New cards

How do you name the VLAN?

name SALES

14
New cards

How do you create VLAN 20?

vlan 20

15
New cards

How do you name VLAN 20?

name HR

16
New cards

How do you go back one level in configuration?

exit

17
New cards

How do you select the VLAN 10 ports?

interface range fa0/1-2

18
New cards

How do you make the ports access ports?

switchport mode access

19
New cards

How do you put the ports in VLAN 10?

switchport access vlan 10

20
New cards

How do you select the VLAN 20 ports?

interface range fa0/3-4

21
New cards

How do you put the ports in VLAN 20?

switchport access vlan 20

22
New cards

How do you select the EtherChannel ports?

interface range fa0/20-23

23
New cards

How do you make the EtherChannel ports trunks?

switchport mode trunk

24
New cards

How do you allow only VLANs 10 and 20 on the trunk?

switchport trunk allowed vlan 10,20

25
New cards

How do you join channel group 1 on the LEFT switch?

channel-group 1 mode active

26
New cards

How do you join channel group 1 on the RIGHT switch?

channel-group 1 mode passive

27
New cards

How do you join channel group 1 in PAgP desirable mode?

channel-group 1 mode desirable

28
New cards

How do you join channel group 1 in PAgP auto mode?

channel-group 1 mode auto

29
New cards

How do you join channel group 1 with no negotiation?

channel-group 1 mode on

30
New cards

How do you select the logical EtherChannel?

interface port-channel 1

31
New cards

How do you make the port-channel a trunk?

switchport mode trunk

32
New cards

How do you allow only VLANs 10 and 20 on the port-channel?

switchport trunk allowed vlan 10,20

33
New cards

How do you select the port facing the router?

interface g0/1

34
New cards

How do you make the port facing the router a trunk?

switchport mode trunk

35
New cards

How do you allow only VLANs 10 and 20 on the port facing the router?

switchport trunk allowed vlan 10,20

36
New cards

How do you return to privileged mode?

end

37
New cards

How do you select the router LAN interface?

interface g0/0

38
New cards

How do you turn on the router LAN interface?

no shutdown

39
New cards

How do you create a subinterface for VLAN 10?

interface g0/0.10

40
New cards

How do you tag the subinterface with VLAN 10?

encapsulation dot1Q 10

41
New cards

How do you give the subinterface the gateway IP?

ip address gateway mask

42
New cards

How do you create a subinterface for VLAN 20?

interface g0/0.20

43
New cards

How do you tag the subinterface with VLAN 20?

encapsulation dot1Q 20

44
New cards

How do you select the router-to-router link?

interface g0/1

45
New cards

How do you set the IP for the router-to-router link?

ip address ip mask

46
New cards

How do you turn on the router-to-router link?

no shutdown

47
New cards

How do you select the second router link?

interface g0/2

48
New cards

How do you set the IP for the second router link?

ip address ip mask

49
New cards

How do you turn on the second router link?

no shutdown

50
New cards

How do you route to a LAN not connected to this router?

ip route network mask next-hop

51
New cards

How do you route to a router-link network not connected to this router?

ip route network mask next-hop

52
New cards

How do you add a default route?

ip route 0.0.0.0 0.0.0.0 next-hop

53
New cards

How do you exclude DHCP addresses?

ip dhcp excluded-address first last

54
New cards

How do you create a DHCP pool?

ip dhcp pool VLAN10

55
New cards

How do you set the DHCP pool network?

network network-id mask

56
New cards

How do you set the DHCP pool gateway?

default-router gateway

57
New cards

How do you set the DHCP pool DNS server?

dns-server dns-ip

58
New cards

How do you create a second DHCP pool?

ip dhcp pool VLAN20

59
New cards

How do you set the second DHCP pool network?

network network-id mask

60
New cards

How do you set the second DHCP pool gateway?

default-router gateway

61
New cards

How do you select a client-facing subinterface on the other router?

interface g0/0.30

62
New cards

How do you relay DHCP to the server router?

ip helper-address dhcp-server

63
New cards

How do you show VLANs?

show vlan brief

64
New cards

How do you show trunks?

show interfaces trunk

65
New cards

How do you show EtherChannel summary?

show etherchannel summary

66
New cards

How do you show the port-channel?

show interfaces port-channel 1

67
New cards

How do you show interface IPs and status?

show ip interface brief

68
New cards

How do you show the routing table?

show ip route

69
New cards

How do you show DHCP leases?

show ip dhcp binding

70
New cards

How do you show DHCP pools?

show ip dhcp pool

71
New cards

How do you ping a gateway or PC?

ping ip-address

72
New cards

How do you trace the path from a router?

traceroute ip-address

73
New cards

How do you show the running config?

show running-config

74
New cards

How do you save the config?

copy running-config startup-config