1/30
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
Configure an IP address on an interface
int g0/1
ip address 192.168.1.254 255.255.255.0
Desc ## to Sw1 ##
No Shutdown
Configure a Hostname of R1
en
conf t
hostname R1
View the IP address configured
do show ip int br
Configure a static ip route
en
conf t
ip route 192.168.12.1 255.255.255.0 192.168.12.2
IP route is configured in ____
but ip address is configured in
ip route → Global Config
ip addr → on the interface
View the routing table
Do show IP route
when troubleshooting ip routes not happening
do show ip int br
do sh ip route
do show running-config | include ip route
When subnetting it
starts at 0
so /25 broadcast is 127, not 128
Configure an Access switchport
switchport mode access
switchport access vlan #
Troubleshoot VLAN
Do show vlan brief
Configure one interface on R1 for each VLAN.
Make sure the IP addresses are the gateway address you configured on the PCs.
enable
conf t
int g0/0
ip address 10.0.0.62 255.255.255.192
no shutdown
do sh ip int br
Configure SW1's interfaces in the proper VLANs.
Remember the interfaces that connect to R1!
enable
conf t
int range f0/1-3
switchport mode access
switchport access vlan 10
Name a VLAN
Vlan #
Name ____
Configure the switch interfaces connected to PCs as access ports in the correct VLAN
int range f0/1-2
sw mode access
switchport access vlan #
do show vlan brief
Configure the connection between SW1 and SW2 as a trunk, allowing only the necessary VLANs.
SW1
int g0/1
switchport mode trunk
switchport trunk allowed vlan 10,30
sw trunk native vlan 1001
do show vlan brief
View trunk
show interfaces trunk
Configure the connection between SW2 and R1 using 'router on a stick'.
Assign the last usable address of each subnet to R1's subinterfaces.
SW2
int g0/2
sw mode trunk
sw trunk allowed vlan 10,20,30
sw trunk native vlan 1001
R1
Int g0/0
no shutdown
int g0/0.10
Encapsulation dot1q 10 → 10 is the vlan number
ip address 10.0.0.62 255.255.255.192
reset an interface to it’s default config
default interface g0/2
Configure SVIs on SW2, one for each VLAN.
SW2
Do show vlan brief → make sure Vlan’s exist
interface vlan 10 → ip address 10.0.0.62 255.255.255.192
interface vlan 20 → 10.0.0.126 255.255.255.192
interface vlan 30 → 10.0.0.190 255.255.255.192
Do show ip interface brief → make sure they are all Up/Up
Configure VTP mode
VTP domain {name}
VTP mode ?
Do show VTP status
troubleshoot spanning-tree
show spanning-tree
Configure SW1 as the primary root for VLAN1 and the secondary root for VLAN2.
Configure SW2 and the primary root for VLAN2 and the secondary root for VLAN1.
What is the STP role/state of each port on each switch now?
SW1
spanning-tree vlan 1 root primary
spanning-tree vlan 2 root secondary
SW2
spanning-tree vlan 1 root secondary
spanning-tree vlan 2 root primary
Show spanning-tree and look at it on per vlan basis
Configure PortFast and BPDU Guard on the F0/3 interfaces of SW3/SW4
int f0/3
spanning-tree portfast
spanning-tree bpduguard enable
Configure Layer 2 EtherChannel between ASW1 and DSW1 using LACP.
Configure it as a trunk.
ASW1
Show spanning-tree
int range g0/1-2
channel-group 1 mode active
→
int p0/1
switchport mode trunk
show etherchannel summary
When configuring port channels!
Don’t forget to configure the → int port-channel 1
sw mode trunk
view etherchannel
show etherchannel summary
Configure Floating Static Routes
ip route 192.168.12.0 255.255.255.0 192.168.10.1 111
Configure Loopback interface
int loopback #
EIGRP config
router eigrp #
no auto-summary
passive-interface g2/0
network 10.0.0.0
network 172.16.0.0 0.0.0.15
View EIGRP
show ip protocols
Configure router ID in EIGRP
eigrp router-id