Start
Enable privilege mode
Configure Terminal Global mode
Interface into interface mode {E,gi,ti}
Hostname Change host name
Line console 0 set a privileged password
Enable secret set into global mode password
Line vty 0? <1-15> last line number remote port open several
(config-line) #password remote password
(config-line) #login run
IP default-gateway Default Gateway
IP address 192.168.1.11 255.255.255.0 IP addresses followed by masks
No shutdown Open
VLAN partitioning
VLAN 2 Set VLAN
VLAN 3
(Config-vlan) #name 002 Change VLAN Name
(config-if) #switchport access VLAN 2 to place the interface in VLAN 2
(config-if) #switchport mode trunk to set the interface as a relay port
Single-arm routing
Router (config) #inter fa0/0
Router (config-if) #no shut
Router (config-if) #inter fa0/0.1
Router (config-subif) #encapsulation dot1q 1 package
Router (config-subif) #ip address 192.168.0.1 255.255.255.0
Nat
Static:
IP nat inside source static private + public
IP NAT inside Import
IP Nat outside exit
Dynamic:
IP NAT Pool Test 202.106.1.5 202.106.1.6 netmask 255.255.255.252
Address pool behind and mask
Access-list 1 Permit 192.168.0.0 0.0.255.255 list is followed by a rule counter mask.
IP nat inside source list 1 pool test associated
PAT:
IP nat inside source List 1 interface FA0/1 overload no longer meant to be used