N2:Ch0 Cisco IOS Procedures Flashcards
1
Q
Create VLAN w/ interface assignment
A
- vlan vlan_id - assigns VLAN id number
- name vlan_name
- exit
- interface interface_id
- switchport access vlan - sets vlan to interface
2
Q
Configure Management Terminal (vlan w/ IP)
A
- configure terminal
- interface vlan vlan_id - enters config mode for vlan
- ip address ip_address subnet_mask
- no shutdown
3
Q
Configure Default Gateway
A
- configure terminal
- ip default-gateway ip_address
4
Q
Configure Duplex, Speed, and MDIX
A
- configure terminal
- interface interface_id
- duplex {full | half | auto}
- speed {10,100,1000,auto}
- mdix auto - enables MDIX for auto cable select
5
Q
Configure SSH (10)
A
- show ip ssh - displays presence of SSH on switch
- configure terminal
- ip domain-name domain_name - sets domain name
- crypto key generate rsa
- username secret password - sets user / pw
- line vty 0 15 // Select lines to apply SSH to.
- transport input ssh - enables ssh on selected vty lines
- login - authentication done on switch vs server
- exit - returns to global config
- ip ssh version 2 - enables ssh v2 - recommended
6
Q
Configure Dynamic Port Security (3)
A
- interface interface_id
- switchport mode access
- switchport port-security - enables port security
7
Q
Configure Sticky Port Security (5)
A
- interface interface_id
- switchport mode access
- switchport port-security
- switchport port-security maximum - max number of secure address allowed on port.
- switchport port-security mac-address sticky- enables sticky learning
8
Q
Creating a VLAN (4)
A
- configure terminal
- vlan vlan_id
- name vlan_name // assigns unique name to vlan
- end // returns to Priveleged Exec
9
Q
Assigning Port to a VLAN (5)
A
- configure terminal
- interface interface_id
- switchport mode access
- switchport access vlan vlan_id
- end // returns to Privilege Exec.
10
Q
Removing VLAN from Port (4)
A
- configure terminal
- interface interface_id
- no switchport access vlan vlan_id //removes vlan from designated port.
- end // returns to Privileged Exec.
11
Q
Configure Switch for IP Address (6)
A
- configure terminal
- interface vlan_id
- ip address ip_address subnet_mask
4. no shutdown
- exit //returns up one level or global config.
- ip default-gateway default_gateway_ip_address
12
Q
Secure Router Management (12)
A
- enable
- configure terminal
- enable secret password
- line console 0
- password console_password
- login
- exit
- line vty 0 4
- password vty_password
- login
- exit
- service password-encryption
13
Q
Set Banner Message (2)
A
- configure terminal
- banner motd ! Message to be Displayed ! // ! can be any delimiting char. that is not in banner message.
14
Q
Backing up Running Configuration
A
copy running-config startup-config
15
Q
Reset Switch to Factory Start
A
- erase-startup config
- delete vlan.dat
- reload