N2:Ch0 Cisco IOS Procedures Flashcards

1
Q

Create VLAN w/ interface assignment

A
  1. vlan vlan_id - assigns VLAN id number
  2. name vlan_name
  3. exit
  4. interface interface_id
  5. switchport access vlan - sets vlan to interface
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Configure Management Terminal (vlan w/ IP)

A
  1. configure terminal
  2. interface vlan vlan_id - enters config mode for vlan
  3. ip address ip_address subnet_mask
  4. no shutdown
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Configure Default Gateway

A
  1. configure terminal
  2. ip default-gateway ip_address
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Configure Duplex, Speed, and MDIX

A
  1. configure terminal
  2. interface interface_id
  3. duplex {full | half | auto}
  4. speed {10,100,1000,auto}
  5. mdix auto - enables MDIX for auto cable select
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Configure SSH (10)

A
  1. show ip ssh - displays presence of SSH on switch
  2. configure terminal
  3. ip domain-name domain_name - sets domain name
  4. crypto key generate rsa
  5. username secret password - sets user / pw
  6. line vty 0 15 // Select lines to apply SSH to.
  7. transport input ssh - enables ssh on selected vty lines
  8. login - authentication done on switch vs server
  9. exit - returns to global config
  10. ip ssh version 2 - enables ssh v2 - recommended
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Configure Dynamic Port Security (3)

A
  1. interface interface_id
  2. switchport mode access
  3. switchport port-security - enables port security
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Configure Sticky Port Security (5)

A
  1. interface interface_id
  2. switchport mode access
  3. switchport port-security
  4. switchport port-security maximum - max number of secure address allowed on port.
  5. switchport port-security mac-address sticky- enables sticky learning
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Creating a VLAN (4)

A
  1. configure terminal
  2. vlan vlan_id
  3. name vlan_name // assigns unique name to vlan
  4. end // returns to Priveleged Exec
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Assigning Port to a VLAN (5)

A
  1. configure terminal
  2. interface interface_id
  3. switchport mode access
  4. switchport access vlan vlan_id
  5. end // returns to Privilege Exec.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Removing VLAN from Port (4)

A
  1. configure terminal
  2. interface interface_id
  3. no switchport access vlan vlan_id //removes vlan from designated port.
  4. end // returns to Privileged Exec.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Configure Switch for IP Address (6)

A
  1. configure terminal
  2. interface vlan_id
  3. ip address ip_address subnet_mask

4. no shutdown

  1. exit //returns up one level or global config.
  2. ip default-gateway default_gateway_ip_address
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Secure Router Management (12)

A
  1. enable
  2. configure terminal
  3. enable secret password
  4. line console 0
  5. password console_password
  6. login
  7. exit
  8. line vty 0 4
  9. password vty_password
  10. login
  11. exit
  12. service password-encryption
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Set Banner Message (2)

A
  1. configure terminal
  2. banner motd ! Message to be Displayed ! // ! can be any delimiting char. that is not in banner message.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Backing up Running Configuration

A

copy running-config startup-config

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

Reset Switch to Factory Start

A
  1. erase-startup config
  2. delete vlan.dat
  3. reload
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Configure Loopback Device

A
  1. interface loopback loopback_id
  2. ip address ip_address subnet_mask
  3. exit
17
Q

Legacy InterVLAN Switch Configuration

A
  1. configure terminal
  2. vlan vlan_id
  3. name vlan_name
  4. interface interface_id
  5. switchport access vlan vlan_id // sets vlan to the above designated interface.
  6. exit
  7. Repeat for each additional VLAN / interface combination needed.
18
Q

Legacy InterVLAN Router Configuration

A
  1. configure terminal
  2. interface interface_id
  3. ip address ip_address subnet_mask
  4. no shutdown

Repeat process for each additional interface needed for other VLANs.

19
Q

Router-On-A-Stick Switch Configuration

A
  1. configure terminal
  2. vlan vlan_id
  3. name vlan_name
    * 4.* interface interface_id
  4. switchport mode access
  5. switchport access vlan vlan_id
  6. interface interface_connected_to_router_id
  7. switchport mode trunk
  8. exit
20
Q

Router-On-A-Stick Router Configuration

A
  1. configure terminal
  2. interface interface_id.subinterface_id //subinterface should have same id as vlan_id
  3. encapsulation dot1q vlan_id
  4. ip address ip_address subnet_mask
  5. Repeat for each additional subinterface required.
  6. exit
  7. interface master_interface_id_for_subints.
  8. no shutdown // activates all subinterfaces at same time.
21
Q

Configure Single-Area OSPF on Router (3)

A
  1. router ospf ospf_process_id
    * 2.router id router_ip_address*
    * 3. network network_ip_address wildcard_mask area area_number*

Repeat Step 3 for all networks OSPF is advertising on.