ST1Tutorials/Tutorials/M6 Lab 5 - Management VLAN
2023-12-18 18:49:33 +01:00
..
README.md Enable portfast on SWC 2023-12-18 18:49:33 +01:00

Lab 5 - Management VLAN

Objectives:

  • Use Lab 03 setup
  • Create Switch SWC
  • Merge Lab 04
  • Assign IP addresses to SW1-4
  • Assign IP address to SWC
  • Create user on each networking device

Adding SWC

Configure SWC:

enable
configure terminal
hostname SWC
interface range fastEthernet 0/1-24
spanning-tree portfast

exit
exit
disable
exit

Configure routers replacing {x} with the number of the router:

enable
configure terminal

interface fastEthernet 0/1
ip address 10.123.0.{x} 255.255.0.0
no shutdown

exit
exit
disable
exit

Assign IP Addresses

On SW1-4 replace {x} with the corresponding switch number:

enable
configure terminal

interface vlan 10
ip address 10.10.10.{x} 255.255.0.0

exit
exit
disable
exit

On SWC configure the following:

enable
configure terminal

interface vlan 1
ip address 10.123.0.4 255.255.0.0
no shutdown

exit
exit
disable
exit

Gateway for SWC

On SWC:

enable
configure terminal
ip default-gateway 10.123.0.3
exit
exit
disable
exit

On EE:

enable
configure terminal
ip route 10.10.0.0 255.255.0.0 10.123.0.1
ip route 10.10.0.0 255.255.0.0 10.123.0.2

exit
exit
disable
exit

Enable SSH Root Access

On all devices:

enable
configure terminal

username moucha privilege 15 secret cisco
ip domain-name moucha.org

line vty 0 15
transport input ssh
login local

exit
exit
disable
exit

On Switches:

enable
configure terminal
crypto key generate rsa general-keys modulus 4096
exit
exit
disable
exit

On Routers:

enable
configure terminal
crypto key generate rsa general-keys modulus 2048
exit
exit
disable
exit