N2:Ch0 Switch IOS Commands Flashcards

1
Q

configure terminal

A

enters global configuration mode.

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

vlan vlan_id

A

assigns an id

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

exit

A

returns to the previous level; exits session at priv. exec

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

interface interface_id

A

access specified interface

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

switchport mode access

A

sets a switchport for information access/exchange

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

switchport access vlan vlan_id

A

assigns an interface to a specific VLAN

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

ip address ip_address subnet_mask

A

assigns ip address / subnet to interface

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

interface vlan vlan_id

A

access interface configuration for a VLAN

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

no shutdown

A

activates interface

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

end

A

returns to priv. exec mode;

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

copy running-config startup-config

A

copies running config to the startup config - saves running config

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

ip default-gateway ip_address

A

assigns default gateway for switch

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

duplex {**full | half | auto**}

A

sets duplex setting of interface to full, half , or auto

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

speed speed_value

A

sets speed of interface to 10, 100 or 1000

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

mdix auto

A

enables MDIX auto cable simulation/ select

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

show interfaces

A

shows information about all interfaces; can use “brief” , “switchport” arguments among others

17
Q

show history

A

shows list of recently given commands; level specific

18
Q

show flash

A

displays information about flash /NVRAM

19
Q

show ip switchport

A

displays ip information for switchports

20
Q

show mac-address-table / show mac address table

A

displays information about the MAC address table

21
Q

show ip ssh

A

displays SSH information if switch uses it

22
Q

ip domain-name domain_name

A

configures ip domain name of switch (network) at global config level

23
Q

crypto key generate rsa

A

generates RSA key to use; 512 or 1024 modulus used

24
Q

crypto key zeroize rsa

A

global config command used to delete RSA key and disable SSH server

25
Q

username secret password

A

sets user name and password for SSH

26
Q

line vty vty_line_id(s)

A

accesses specified vty lines; 0 through 15 in this case

27
Q

transport input ssh

A

enables SSH on selected VTY lines

28
Q

login

A

requires login with local authentication

29
Q

ip ssh version 2

A

enables SSH V2 via global config.

30
Q

switchport port-security

A

enables port security on interface selected

31
Q

switchport port-security maximum

A

sets max. number of secure address allowed on a port

32
Q

switchport port-security mac-address sticky

A

enables sticky learning of MAC addresses

33
Q

ntp server ntp_server_ip

A

allows switch to synchronize to NTP server whose ip address is provided

34
Q

ntp master {0-15 stratum value}

A

allows switch to synchronize to other switches/devices

35
Q

show ntp associations

A

priv. exec mode that indicates IP address of any devices that are synced to current device, statically configured peers , and stratum number

36
Q

show ntp status

A

user exec command that displays NTP sync status, peer the device is synced to and which NTP strata the devices is functioning in.