Cli Flashcards

1
Q

enable

A

Enter privileged EXEC mode

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

configure terminal

A

Enter global configuration mode

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

hostname <name></name>

A

Set the device hostname

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

interface <type> <number></number></type>

A

Enter interface configuration mode

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

ip address <ip> <subnet></subnet></ip>

A

Assign IP address to interface

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

no shutdown

A

Enable an interface

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

show running-config

A

Display current configuration in RAM

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

show startup-config

A

Display saved configuration in NVRAM

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

copy running-config startup-config

A

Save running config to NVRAM

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

reload

A

Reboot the device

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

vlan <number></number>

A

Create a VLAN

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

name <vlan-name></vlan-name>

A

Name the VLAN

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

interface range <int-range></int-range>

A

Configure multiple interfaces

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

switchport mode access

A

Set interface to access mode

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

switchport access vlan <vlan-id></vlan-id>

A

Assign VLAN to access port

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

show vlan brief

A

Display VLAN configuration

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

show interfaces trunk

A

Display trunk port status

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

switchport mode trunk

A

Set interface to trunk mode

19
Q

switchport trunk native vlan <vlan-id></vlan-id>

A

Set native VLAN on trunk port

20
Q

switchport trunk allowed vlan <vlan-list></vlan-list>

A

Allow VLANs on trunk port

21
Q

ip routing

A

Enable routing on a Layer 3 switch

22
Q

ip route <dest> <mask> <next-hop></next-hop></mask></dest>

A

Configure a static route

23
Q

show ip route

A

Show routing table

24
Q

router ospf <process-id></process-id>

A

Enable OSPF routing

25
Q

network <ip> <wildcard> area <area-id></area-id></wildcard></ip>

A

Define OSPF networks

26
Q

show ip interface brief

A

Display IP interface summary

27
Q

ping <ip-address></ip-address>

A

Send ICMP echo requests

28
Q

traceroute <ip-address></ip-address>

A

Trace the path to a destination

29
Q

enable secret <password></password>

A

Set encrypted privileged EXEC password

30
Q

line console 0

A

Access console line config mode

31
Q

password <password></password>

A

Set console line password

32
Q

login

A

Enable login on console line

33
Q

service password-encryption

A

Encrypt all plaintext passwords

34
Q

access-list <number> permit <source></source> <wildcard></wildcard></number>

A

Create a standard ACL

35
Q

ip access-group <number> in|out</number>

A

Apply ACL to an interface

36
Q

ip nat inside

A

Configure NAT on the inside interface

37
Q

ip nat outside

A

Configure NAT on the outside interface

38
Q

ip nat inside source list <acl> interface <int> overload</int></acl>

A

Configure PAT

39
Q

show version

A

Display IOS version and system information

40
Q

show interfaces

A

Display interface status and statistics

41
Q

show cdp neighbors

A

Display connected Cisco devices

42
Q

show mac address-table

A

Show MAC address table

43
Q

erase startup-config

A

Erase saved configuration in NVRAM