Chapter 1 - Intro to Scaling Networks Flashcards
1
Q
Basic Switch/Router config (1st steps)
Make an interface management vlan
Default gateway
Switch secret password
A
#int vlan 99 / #int g0/0 (router) #ip add 192.168.1.2 255.255.255.0 / (192.168.1.1 router) #no shut #ip default-gateway 192.168.1.1 #enable secret class
2
Q
Basic Switch/Router config (2nd steps)
Host name - Domain name - User name
A
#hostname itsame #ip domain name N115.com #username Admin password cisco
3
Q
Basic Switch/Router config (3rd steps)
SSH time
VTY (virtual terminal)
A
#ip ssh version 2 #crypto key generate rsa (1024) #line vty 0 15 #password cisco #login local (prompt user for login info) #transport input ssh (only ssh accepted)
4
Q
Port security
A
#switchport port-security #switchport port-security maximum 2 #switchport port-security mac-address sticky #switchport port-security violation restrict (logs errors, without shutting it down)
5
Q
Vlans
A
#int range f0/11-20 #switchport mode access #switchport access vlan 15 #int g0/1 #switchport mode trunk #switchport trunk native vlan 99
6
Q
Router on a stick
A
#int g0/0.15 #encapsulation dot1q 15 #ip add 192.168.45.65 255.255.255.192 #int g0/0.99 #encapsulation dot1q 99 native #ip add 192.168.45.17 255.255.255.240
7
Q
DHCP
A
#ip dhcp excluded-address 192.168.45.129 (default router) #ip dhcp pool LAN (make a pool) #network 192.168.45.128 255.255.255.192 (network in the pool) #default-router 192.168.45.129 (dhcp needs the gateway) #dns-server 8.8.8.8 #domain-name example.com