Chapter 1 - Command Reference Flashcards

1
Q

Define a VLAN

A

vlan vlan-id

name vlanname

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

Configure an interface as a trunk port

A

switchport mode trunk

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

Configure an interface as an access port

assigned to a specific VLAN

A

switchport mode access

switchport access {vlan vlan-id | name name}

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

Configure a static MAC address entry

A

mac address-table static mac-address vlan

vlan-id interface interface-id

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

Clear MAC addresses from the MAC

address table

A

clear mac address-table dynamic [{address
mac-address | interface interface-id | vlan
vlan-id}]

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

Assign an IPv4 address to an interface

A

ip address ip-address subnet-mask

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

Assign a secondary IPv4 address to an

interface

A

ip address ip-address subnet-mask

secondary

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

Assign an IPv6 address to an interface

A

ipv6 address ipv6-address/prefix-length

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

Modify the SDM database

A

sdm prefer {vlan | advanced}

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

Display the interfaces that are configured
as a trunk port and all the VLANs that they
permit

A

show interfaces trunk

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

Display the list of VLANs and their

associated ports

A

show vlan [{brief | id vlan-id | name

vlanname | summary}]

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

Display the MAC address table for

a switch

A

show mac address-table [address

mac-address | dynamic | vlan vlan-id]

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

Display the current interface state, including

duplex, speed, and link state

A

show interfaces

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

Display the Layer 2 configuration

information for a specific switchport

A

show interfaces interface-id switchport

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

Display the ARP table

A

show ip arp [mac-address | ip-address | vlan

vlan-id | interface-id].

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

Displays the IP interface table

A

show ip interface [brief | interface-id | vlan

vlan-id]

17
Q

Display the IPv6 interface table

A

show ipv6 interface [brief | interface-id | vlan

vlan-id]