Praktiskt Flashcards

1
Q

Standard Conf

A

En
Conf t
No ip domain-lookup
Line con 0
Logging Synch
Hostname

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

Skapa Loopback interface

A

PÅ ROUTER
Int lo 0
ip add 1.1.1.1 255.255.255.0

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

Skapa VLAN

A

PÅ SWITCH
vlan 10
name STUDENTS
vlan 20
name STAFF
vlan 100
name MGMT

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

Tilldela Vlan till portar

A

PÅ SWITCH
int range fa0/10-12
switchport mode access
switchport access vlan 10
exit
int range fa0/20-22
switchport mode access
switchport access vlan 20
exit

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

Router on a stick, skapa subinterface, ett för varje vlan, .2 i R1 .3 i R2 + en trunk mot R1 och R2!

A

PÅ SWITCH
int gi0/0
no shutdown
exit
int gi0/0.10
encapsulation dot1q 10
ip address 10.0.10.2 255.255.255.0
int gi0/0.20
encapsulation dot1q 20
ip address 10.0.20.2 255.255.255.0
int gi0/0.100
encapsulation dot1q 100
ip address 10.0.100.2 255.255.255.0
exit
int fa0/24
switchport mode trunk

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

Etherchannel! För att få flera kablar bredvid varandra att funka.

A

PÅ SWITCH
int range fa0/1-3
channel-group 1 ? (olika beroende på vad som står i uppgiften)
exit
int port-channel 1
switchport mode trunk
Viktigt att sätta trunken på int port-channel!! Gör lika på båda sidor

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

STP

A

PÅ SWITCH
Spanning-tree mode rapid-pvst

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

Conf HSRP! (På subint)

A

Router
int gi0/0.10
version 2
standby ip 10.0.10.1
int gi0/0.20
standby ip 10.0.20.1

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

R1 ska kunna nå R2 loopback och tillbaka Via statisk routing

A

PÅ R1
addressen man vill nå - nätmask - via en address
ip route 2.2.2.0 255.255.255.0 10.0.100.3

PÅ R2
ip route 1.1.1.0 255.255.255.0 10.0.100.3

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

RIP

A

Istället för Statisk route
router rip
network
network
version 2
no auto-summary

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

Konfigurera en dhcp server (på en router) och exkludera adresser och ip helper adress

A

Ip dhcp pool POOLNAME
Network 10.0.10.0 255.255.255.0
Default-router 10.0.10.1
Domain-name dnlab.se eller
Dns-server 1.1.1.1 eller liknande
Ip dhcp excluded-address 10.0.10.1 10.0.10.6
Ip dhcp excluded-address 10.0.10.254
Int fa0/0 (det interfacet som tar emot förfrågan)
Ip helper-address 10.0.10.3 (adressen till dhcp serven)

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

Konfigurera SLAAC

A

Ipv6 unicast-routing
Int fa0/0
Ipv6 address 2001:db8:acad:1::1/64
Ipv6 address fe80::1 link-local

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

Konfigurera stateless DHCPv6

A

Ipv6 dhcp pool POOLNAME
Dns-server 2001:db8:acad:1:2::10
Domain-name dnlab.local
Exit
Int fa0/0
Ipv6 dhcp server POOLNAME
Ipv6 nd other-config-flag

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

Konfigurera stateful DHCPv6

A

Ipv6 dhcp pool POOLNAME
Address prefix 2001:db8:acad:1::/64
Dns-server 2001:db8:acad:1:2::10
Exit
Int fa0/0
Ipv6 dhcp server POOLNAME
Ipv6 nd managed-config-flag
Ipv6 nd prefix default no-autoconfig

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

Konfigurera DHCPv6 relay

A

Int fa0/0
Ipv6 dhcp relay destination 2001:db8:acad:2::5 (dhcp server adressen)

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