Command Practice Simple Flashcards

1
Q

Find the location of a specific MAC address

A

Enable mode: show mac address-table dynamic address mac-address

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

Display all MAC addresses learned on a specific interface

A

Enable mode: show mac address-table dynamic interface type number

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

Display the current CAM table size

A

Enable mode: show mac address-table count

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

Enter a static CAM table entry

A

Enable mode: Global Config Mode: mac address-table static mac-address vlan vlan-id interface type number

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

Clear a CAM entry

A

Enable Mode: clear mac address-table dynamic [address mac-address | interface type number | vlan vlan-id]

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

Select a port

A

Global Config Mode: interface type module/number

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

Select multiple ports

A

Global Config Mode: interface range type module/number [, type module/number …]orinterface range type module/first-number - last-number

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

Define an interface macro

A

define interface-range macro-name type module/number [, type module/number …] [type module/first-number - last-number] […]interface range macro macro-name

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

Identify port.

A

Interface Config Mode: description description-string

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

Set port speed.

A

Interface Config Mode: speed{10|100|1000|auto}

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

Set port mode.

A

Interface Config Mode: duplex {auto|full|half}

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

Detect port error conditions

A

Global Config Mode: errdisable detect cause [all|cause-name]

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

Automatically recover from errdisable

A

Global Config Mode: errdisable recovery cause [all|cause-name]errdisable recovery interval seconds

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

Manually recover from errdisable

A

Interface Config Mode: shutdownno shutdown

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

Create VLAN

A

Global Config Mode: vlan vlan-numVLAN Config Mode: name vlan-name

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

Assign port to VLAN.

A

Global Config Mode: interface type module/numberInterface Config Mode: switchportInterface Config Mode: switchport mode accessInterface Config Mode: switchport access vlan vlan-num

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

Configure trunk.

A

Global Config Mode: interface type mod/portInterface Config Mode: switchport trunk encapsulation {isl|dot1q|negotiate}Interface Config Mode: switchport trunk native vlan vlav-idInterface Config Mode: switchport trunk allowed vlan {vlan-list|all|{add|except|remove}vlan-list}Interface Config Mode: switchport mode {trunk|dynamic {desirable|auto}}

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

Define the VTP domain

A

Global Config Mode: vtp domain domain-name

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

Set the VTP mode

A

Global Config Mode: vtp mode {server|client|transparent}

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

Define an optional VTP password

A

Global Config Mode: vtp password password

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

Configure VTP version

A

Global Config Mode: vtp version {1|2}

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

Enable VTP pruning

A

Global Config Mode: vtp pruning

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

Select VLANs eligiable for pruning on a trunk interface

A

Global Config Mode: interface type mod/num switchport trunk pruningInterface Config Mode: vlan {add|except|none|remove} vlan-list

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

Select a load-balancing method for the switch

A

Global Config Mode: port-channel load-balance method

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

Use a PAgP mode on an interface

A

Global Config Mode: interface type mod/numInterface Config Mode: channel-protocol pagpInterface Config Mode: channel-group number mode {on|{{auto|desirable}[non-silent]}}

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

Assign the LACP system priority.

A

Global Config Mode: lacp system-priority priority

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

Use an LACP mode on an interface

A

Global Config Mode: interface type mod/numInterface Config Mode: channel-protocol lacpInterface Config Mode: channel-group number mode{on|passive|active}Interface Config Mode: lacp port-priority priority

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

Enable STP

A

Global: spanning-tree vlan-id

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

Set bridge priority.

A

Global: spanning-tree vlan vlan-id priority bridge-priority

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

Set root bridge (macro)

A

Global: spanning-tree vlan vlan-id root {primary|secondary} [diameter diameter]

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

Set port cost

A

int-config: spanning-tree [vlan vlan-id] cost cost

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

Set port priority

A

int-config: spanning-tree [vlan vlan-id] port-priority port-priority

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

Set STP timers

A

Global: spanning-tree [vlan vlan-id] hello-time secondsGlobal: spanning-tree [vlan vlan-id] forward-time secondsGlobal: spanning-tree [vlan vlan-id] max-age seconds

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

Set PortFast on an interface

A

int-config: spanning-tree portfast

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

Set UplinkFast on a switch

A

Global: spanning-tree uplinkfast [max-update-rate pkts-per-second]

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

Set BackboneFast on a switch

A

Global: spanning-tree backbonefast

37
Q

Enable root guard (chapter 9)

A

int-config: spanning-tree guard root

38
Q

Enable BPDU Guard

A

int-config: spanning-tree portfast bpduguard default int-config: spanning-tree bpduguard enable

39
Q

Enable loop guard

A

int-config: spanning-tree loopguard default int-config: spanning-tree guard loop

40
Q

Enable UDLD

A

int-config: udld {enable|aggressive|message time seconds} int-config: udld {enable|aggressive|disable}

41
Q

Enable BPDU filtering

A

int-config: spanning-tree bpdufilter default int-config: spanning-tree bpdufilter enable

42
Q

Look for ports that have been put in an inconsistent state

A

enable: show spanning-tree inconsistentports

43
Q

Display the global BPDU Guard, BPDU filter, and Loop Guard states

A

enable: show spanning-tree summary

44
Q

Show UDLD status

A

enable mode: show udld [type mod/num]

45
Q

Reenable all ports that UDLD has errdisabled

A

enable mode: udld reset

46
Q

Enable MST on a switch

A

Global: spanning-tree mode mst

47
Q

Enter MST configuration mode

A

global: spanning-tree mst configuration

48
Q

Name the MST region

A

config-mst: name name

49
Q

Set the configuration revision number

A

revision version

50
Q

Define an edge port.

A

int-config: spanning-tree portfast

51
Q

Override a port type

A

int-config: spanning-tree link-type point-to-point

52
Q

Put a port into layer 2 mode

A

int-config: switchport

53
Q

Put a port into layer 3 mode

A

int-config: no switchport

54
Q

Define an SVI

A

(config): interface vlan vlan-id

55
Q

Show a layer 2 port status

A

(#)show interface type mod/num switchport

56
Q

Show a layer 3 port status

A

(#)show interface type mod/num

57
Q

Show an SVI status

A

(#)show interface vlan vlan-id

58
Q

View the FIB contents

A

(#)show ip cef

59
Q

View FIB information for an interface

A

show ip cef [type mod/num | vlan vlan-id] [detail]

60
Q

View FIB information for an IP prefix

A

show ip cef [type mod/num | vlan vlan-id] [detail]

61
Q

View FIB adjacency information

A

show adjacency [type mod/num | vlan vlan-id] [summary | detail]

62
Q

View counters for packets not switched by CEF

A

show cef not-cef-switched

63
Q

Exclude addresses from a DHCP server scope

A

(config-if)# ip dhcp excluded-address start-ip end-ip

64
Q

Define a DHCP server scope

A

(config-if)#ip dhcp pool pool-name

65
Q

Identify the IP subnet for the server scope

A

(config-dhcp)# network ip-address subnet-mask

66
Q

Identify the default router used in the server scope

A

(config-dhcp)# default-router ip-address [ip-address2] [ip-address3] …

67
Q

Define the DHCP server lease time

A

(config-dhcp)# lease {infinite | {days [hours [minutes]]}}

68
Q

Enable DHCP relay on a layer 3 interface

A

(config-if)# ip helper-address ip address

69
Q

Set the HSRP priority (chapter 13)

A

standby group priority priority

70
Q

Set the HSRP timers

A

standby group timers hello holdtime

71
Q

Allow router preemption

A

standby group preempt [delay seconds]

72
Q

Use group authentication

A

standby group authentication string

73
Q

Adjust priority by tracking an interface

A

standby group track type mod/num decrement-value

74
Q

Assign the virtual router address

A

standby group ip ip-address [secondary]

75
Q

Assign a GLBP priority

A

glbp group priority level

76
Q

Allow GLBP preemption

A

glbp group preempt [delay minimum seconds]

77
Q

Define an object to be tracked

A

track object-number interface type mod/num {line-protocol | ip routing}

78
Q

Define the weighting thresholds

A

glbp group weighting maximum [lower lower] [upper upper]

79
Q

Track an object

A

glbp group weighting track object-number [decrement value]

80
Q

Choose the load-balancing method

A

glbp group load-balancing [round-robin | weighted | host-dependent]

81
Q

Assign a virtual router address

A

glbp group ip [ip-address [secondary]]

82
Q

Assign a VRRP router priority (default 100)

A

vrrp gorup priority level

83
Q

Alter the advertisement timer (default 1 second)

A

vrrp group timers advertise [msec] interval

84
Q

Learn the advertisement interval from the master router

A

vrrp group timers learn

85
Q

Disable preempting (default is to preempt)

A

no vrrp group preempt

86
Q

Change the preempt delay (default 0 seconds)

A

vrrp group preempt [delay seconds]

87
Q

Use authentication for advertisements

A

vrrp group authentication string

88
Q

Assign a virtual IP address

A

vrrp group ip ip-address [secondary]