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
Use a PAgP mode on an interface
Global Config Mode: interface type mod/numInterface Config Mode: channel-protocol pagpInterface Config Mode: channel-group number mode {on|{{auto|desirable}[non-silent]}}
26
Assign the LACP system priority.
Global Config Mode: lacp system-priority priority
27
Use an LACP mode on an interface
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
28
Enable STP
Global: spanning-tree vlan-id
29
Set bridge priority.
Global: spanning-tree vlan vlan-id priority bridge-priority
30
Set root bridge (macro)
Global: spanning-tree vlan vlan-id root {primary|secondary} [diameter diameter]
31
Set port cost
int-config: spanning-tree [vlan vlan-id] cost cost
32
Set port priority
int-config: spanning-tree [vlan vlan-id] port-priority port-priority
33
Set STP timers
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
34
Set PortFast on an interface
int-config: spanning-tree portfast
35
Set UplinkFast on a switch
Global: spanning-tree uplinkfast [max-update-rate pkts-per-second]
36
Set BackboneFast on a switch
Global: spanning-tree backbonefast
37
Enable root guard (chapter 9)
int-config: spanning-tree guard root
38
Enable BPDU Guard
int-config: spanning-tree portfast bpduguard default int-config: spanning-tree bpduguard enable
39
Enable loop guard
int-config: spanning-tree loopguard default int-config: spanning-tree guard loop
40
Enable UDLD
int-config: udld {enable|aggressive|message time seconds} int-config: udld {enable|aggressive|disable}
41
Enable BPDU filtering
int-config: spanning-tree bpdufilter default int-config: spanning-tree bpdufilter enable
42
Look for ports that have been put in an inconsistent state
enable: show spanning-tree inconsistentports
43
Display the global BPDU Guard, BPDU filter, and Loop Guard states
enable: show spanning-tree summary
44
Show UDLD status
enable mode: show udld [type mod/num]
45
Reenable all ports that UDLD has errdisabled
enable mode: udld reset
46
Enable MST on a switch
Global: spanning-tree mode mst
47
Enter MST configuration mode
global: spanning-tree mst configuration
48
Name the MST region
config-mst: name name
49
Set the configuration revision number
revision version
50
Define an edge port.
int-config: spanning-tree portfast
51
Override a port type
int-config: spanning-tree link-type point-to-point
52
Put a port into layer 2 mode
int-config: switchport
53
Put a port into layer 3 mode
int-config: no switchport
54
Define an SVI
(config): interface vlan vlan-id
55
Show a layer 2 port status
(#)show interface type mod/num switchport
56
Show a layer 3 port status
(#)show interface type mod/num
57
Show an SVI status
(#)show interface vlan vlan-id
58
View the FIB contents
(#)show ip cef
59
View FIB information for an interface
#show ip cef [type mod/num | vlan vlan-id] [detail]
60
View FIB information for an IP prefix
#show ip cef [type mod/num | vlan vlan-id] [detail]
61
View FIB adjacency information
#show adjacency [type mod/num | vlan vlan-id] [summary | detail]
62
View counters for packets not switched by CEF
#show cef not-cef-switched
63
Exclude addresses from a DHCP server scope
(config-if)# ip dhcp excluded-address start-ip end-ip
64
Define a DHCP server scope
(config-if)#ip dhcp pool pool-name
65
Identify the IP subnet for the server scope
(config-dhcp)# network ip-address subnet-mask
66
Identify the default router used in the server scope
(config-dhcp)# default-router ip-address [ip-address2] [ip-address3] ...
67
Define the DHCP server lease time
(config-dhcp)# lease {infinite | {days [hours [minutes]]}}
68
Enable DHCP relay on a layer 3 interface
(config-if)# ip helper-address ip address
69
Set the HSRP priority (chapter 13)
standby group priority priority
70
Set the HSRP timers
standby group timers hello holdtime
71
Allow router preemption
standby group preempt [delay seconds]
72
Use group authentication
standby group authentication string
73
Adjust priority by tracking an interface
standby group track type mod/num decrement-value
74
Assign the virtual router address
standby group ip ip-address [secondary]
75
Assign a GLBP priority
glbp group priority level
76
Allow GLBP preemption
glbp group preempt [delay minimum seconds]
77
Define an object to be tracked
track object-number interface type mod/num {line-protocol | ip routing}
78
Define the weighting thresholds
glbp group weighting maximum [lower lower] [upper upper]
79
Track an object
glbp group weighting track object-number [decrement value]
80
Choose the load-balancing method
glbp group load-balancing [round-robin | weighted | host-dependent]
81
Assign a virtual router address
glbp group ip [ip-address [secondary]]
82
Assign a VRRP router priority (default 100)
vrrp gorup priority level
83
Alter the advertisement timer (default 1 second)
vrrp group timers advertise [msec] interval
84
Learn the advertisement interval from the master router
vrrp group timers learn
85
Disable preempting (default is to preempt)
no vrrp group preempt
86
Change the preempt delay (default 0 seconds)
vrrp group preempt [delay seconds]
87
Use authentication for advertisements
vrrp group authentication string
88
Assign a virtual IP address
vrrp group ip ip-address [secondary]