Questions 2 Flashcards

(11 cards)

1
Q

How to show vlan database?

A

Show vlan brief

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

How to show default switchport status on the link ?

A

Show interfaces gig0/1 switchport

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

How to configure link between switch as a trunk?

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

how and when to use each trunking command?

A

depending on the type of switch you’re configuring

Step-by-Step Guide:

  1. First, identify your switch type
    • Layer 2 switches (like Cisco 2960) support only 802.1Q.
    • Multi-layer or older switches (like Cisco 3560/3750) may support ISL and 802.1Q.

To check what your switch supports, enter:
show interfaces [interface-id] switchport

Commands Based on the Switch Type

A. If your switch supports only 802.1Q:

Use just:
interface gig0/1
switchport mode trunk

B. If your switch supports both ISL and 802.1Q:
You must specify the trunk encapsulation first, before setting the trunk mode:
interface gig0/1
switchport trunk encapsulation dot1q
switchport mode trunk

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

How to set a router interface to get dhcp ip address?

A

R1 (config) #interface f0/0
R1 (config-if)#ip address dhep
R1 (config-if) #no shutdown

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

How to get the ip address of a dhcp server?

A

R1#show dhcp lease
Temp IP addr: 203.0.113.2 for peer on Interface:
FastEthernet0/0
Temp sub net mask: 255.255.255.0.0
DHCP Lease server: 203.0.113.1

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

How to enable dhcp server?

A

R1 (config)#ip dhcp excluded-address 10.10.10.1 10.10.10.10
R1 (config) #ip dhcp pool Flackbox
R1 (dhcp-config) #default-router 10.10.10.1
R1 (dhcp-config) #dns-server 10.10.20.10
R1 (dhop-config) #network 10.10.10.0 255.255.255.0

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

How to verify that clients received ip address via dhcp?

A

Show ip dhcp binding

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

How to cleanup or remove dhcp server configuration?

A

R1 (config) #no ip dhcp excluded-address 10.10.10.1 10.10.10.10
R1 (config) #no ip dhcp pool Flackbox

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

How to release ip address of a client?

A

Ipconfig / release

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

How to allow a router to forward a dhcp request to a server?

A

R1 (config) #interface f0/1
R1 (config-if) #ip helper-address 10.10.20.10

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