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

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

1/55

encourage image

There are no tags or description

Looks like no tags are added yet.

56 Terms

1
New cards

How do you enter privileged EXEC mode?

enable

2
New cards

How do you enter global config mode?

configure terminal

3
New cards

How do you set the device name?

hostname [name]

4
New cards

How do you create a VLAN?

vlan [id]

5
New cards

How do you name the VLAN?

name [name] (inside the vlan)

6
New cards

How do you select a range of ports?

interface range fa0/[start]-[end]

7
New cards

How do you make ports access ports?

switchport mode access

8
New cards

How do you assign ports to a VLAN?

switchport access vlan [id]

9
New cards

How do you select the EtherChannel member ports?

interface range fa0/[start]-[end]

10
New cards

How do you make the member ports trunks?

switchport mode trunk

11
New cards

How do you limit VLANs on the trunk?

switchport trunk allowed vlan [id],[id]

12
New cards

How do you add ports to the EtherChannel (LACP, side 1)?

channel-group [number] mode active

13
New cards

How do you add ports to the EtherChannel (LACP, side 2)?

channel-group [number] mode passive

14
New cards

What are other EtherChannel modes?

PAgP: desirable / auto. No negotiation: on

15
New cards

Which LACP pairs form a channel?

active-active and active-passive. passive-passive does NOT

16
New cards

Which PAgP pairs form a channel?

desirable-desirable and desirable-auto. auto-auto does NOT

17
New cards

Does the channel-group number have to be the same on both switches?

It doesn't have to be; it is locally significant

18
New cards

How do you configure the logical EtherChannel interface?

interface port-channel [number] / switchport mode trunk / switchport trunk allowed vlan [id],[id]

19
New cards

What is the switch port facing the router?

interface g0/1 / switchport mode trunk / switchport trunk allowed vlan [id],[id]

20
New cards

How do you bring up the router's physical interface?

interface g0/0 / no shutdown (NO IP address)

21
New cards

How do you create a router subinterface?

interface g0/0.[vlan-id]

22
New cards

How do you tag the subinterface with its VLAN?

encapsulation dot1Q [vlan-id]

23
New cards

How do you give the subinterface its gateway IP?

ip address [gateway-ip] [mask]

24
New cards

What is the full router-on-a-stick subinterface configuration?

interface g0/0.[id] / encapsulation dot1Q [id] / ip address [gateway-ip] [mask]

25
New cards

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

interface g0/1 / ip address [ip] [mask] / no shutdown

26
New cards

How do you add a static route?

ip route [network] [mask] [next-hop-ip]

27
New cards

Where does the next hop point?

The neighboring router's IP on the shared link

28
New cards

Which routes does each router need?

A route to every network that is NOT directly connected

29
New cards

How do you add a default route?

ip route 0.0.0.0 0.0.0.0 [next-hop-ip]

30
New cards

How do you exclude addresses from DHCP?

ip dhcp excluded-address [first-ip] [last-ip] (global config, before the pool)

31
New cards

How do you create a DHCP pool?

ip dhcp pool [name]

32
New cards

How do you define the pool's network?

network [network-id] [mask]

33
New cards

How do you set the pool's default gateway?

default-router [gateway-ip]

34
New cards

How do you set the pool's DNS server?

dns-server [ip]

35
New cards

What is the full DHCP config, in order?

ip dhcp excluded-address [first] [last] / ip dhcp pool [name] / network [net] [mask] / default-router [gw]

36
New cards

How do you relay DHCP to a server on another router?

ip helper-address [dhcp-server-ip] (under each client-facing subinterface)

37
New cards

Which router gets ip helper-address?

The router that does NOT host the pool

38
New cards

Why is helper-address needed?

DHCP Discover is a broadcast and routers don't forward broadcasts. Helper turns it into a unicast to the server

39
New cards

What must the DHCP server router also have?

A pool for each remote subnet and a route back to those subnets

40
New cards

How do you set a PC to DHCP in Packet Tracer?

Desktop > IP Configuration > DHCP

41
New cards

What is the DHCP process order?

Discover, Offer, Request, Acknowledge (DORA)

42
New cards

How do you verify VLANs and their ports?

show vlan brief

43
New cards

How do you verify trunks and allowed VLANs?

show interfaces trunk

44
New cards

How do you verify the EtherChannel?

show etherchannel summary (SU = good, P = bundled)

45
New cards

How do you show port-channel status?

show interfaces port-channel [number]

46
New cards

How do you check router interface IPs and status?

show ip interface brief

47
New cards

How do you check the routing table?

show ip route

48
New cards

What do route codes C, L, S stand for?

Connected, Local, Static

49
New cards

How do you check DHCP leases?

show ip dhcp binding

50
New cards

How do you check DHCP pools?

show ip dhcp pool

51
New cards

How do you test connectivity?

ping [ip]

52
New cards

How do you trace the path?

traceroute [ip] (router) / tracert [ip] (PC)

53
New cards

What does it mean if a PC shows 169.254.x.x?

No DHCP reply. Check trunks, VLANs, helper-address, pool network/mask, return routes

54
New cards

What is the troubleshooting order?

1) show ip interface brief 2) show vlan brief 3) show interfaces trunk 4) show etherchannel summary 5) show ip route 6) show ip dhcp binding

55
New cards

How do you show the running config?

show running-config

56
New cards

How do you save the config?

copy running-config startup-config