You are on page 1of 13

Switch port Security Lab (1-2)

Workgroup Router E0

Fa 0/2 Switch(wg_sw )

SWITCH
Show commands
Switch> Switch# Switch# Switch# Switch# Enable Show version Show run Show interface vlan 1 Show mac-address-table

Port configuration commands


Switch# config t Switch(config)#interface Fastethernet 0/2 Switch(config-if)#switchport mode access Switch(config-if)#switchport port-security ( to enable security inside the port) Switch(config-if)#switchport port-security maximum 1 (Allow maximum 1 mac-address) Switch(config-if)#switchport port-security mac-address xxxx.xxxx.xxxx (xxxx.xxxx.xxxx - The mac-address which is assigned to ethernet 0) Switch(config-if)#switchport port-security violation shutdown

Wg-Router
Router> enable Router# config t Router(config)# interface Ethernet 0 Router(config-if)#mac-address 0008.eeee.eeee

VLAN Lab (2-1)

Workgroup Router(wg_ro) E0

Core_Router wg_sw fa0/2 Fa 0/11

Show commands

SWITCH
Switch#show vtp status Switch#show vlan Switch#show interfaces fastEthernet 0/11 switchport

configuration commands
Switch(config)#vtp domain icnd Switch(config)#interface vlan 1 (to assingn a ip address to the switch) Switch(config-if)#ip address X.X.X.X 255.255.255.0 Switch(config-if)#no shut Switch(config)#Ip default-gateway 10.1.1.3 Switch(config)#interface fastEthernet 0/11 Switch(config-if)#switchport mode trunk (trunking is allowing the vlan traffic to flow through from one switch to another) Switch#telnet 10.1.1.3 (To check the connectivity between devices) Switch(config)#vlan X Switch(config-vlan)#name vlanX Switch(config-if)#switchport access vlan X (X is your vlan number) (to assign the switchport into the vlan)

Core Router
core_b(config)#int fa 0/0.X core_b(config-subif)#encapsulation dot1q X core_b(config-subif)#ip address 10.X.X.3 255.255.255.0

Wg-Router
Router(config)#ip route 0.0.0.0 0.0.0.0 10.x.x.3 Router(config)#interface Ethernet 0 Router(config-if)#ip address 10.X.X.X 255.255.255.0 Router(config-if)#no shut

STP Lab (2-1)


Show commands

SWITCH

Switch#show spanning-tree vlan vlan#

Configuration commands
Switch(config)#interface fastethernet 0/11 Switch(config-if)#no shutdown

RIP Lab (3-1)

Wg_ro S0 E0 e0

core Sx

Fa 0/2

wg_sw

Show commands
Switch#show interface vlan1 Switch#show run Router#show run Router#show ip route

SWITCH
Switch(config)#interface fastEthernet 0/11

Switch(config-if)#shutdown Switch(config)#interface fastEthernet 0/12 Switch(config-if)#shutdown Switch(config)#interface vlan1 Switch(config-if)#ip address 10.x.x.3 255.255.255.0 Switch(config-if)#no shut Switch(confi)#int fa 0/2 Switch(config-if)#switchport access vlan 1

Wg-Router

Router(config)#interface ethernet 0 Router(config-if)#ip address 10.x.x.3 255.255.255.0 Router(config-if)#no shut Router(config)#interface serial 0 Router(config-if)#ip address 10.140.x.2 255.255.255.0 Router(config)#router rip (to enable the protocol inside the router) Router(config-router)#network 10.0.0.0 Router#ping 10.140.x.2 Router#debug ip rip Router# no debug ip rip Router#ping 10.1.1.3

EIGRP Lab (3-1)


Wg_ro_Y S1 S0 E0 Core_ro Sx S1 S0 Wg_ro_X

Fa 0/2 wg_sw

Sy

Show commands

Router#show Router#show Router#show Router#show Router#show

controllers serial 0 run ip route ip protocols ip eigrp

Wg-Router
Router(config)#interface serial 0 Router(config-if)#ip address 192.168.x.34 255.255.255.0 Router(config-if)#no shutdown Router(config)#interface serial 1 Router(config-if)#clock rate 64000 Router(config-if)#bandwidth 64000 Router(config)#router eigrp 100 (to enable the protocol inside the router) Router(config-router)#network 192.168.x.0 Router#debug eigrp neighbors

OSPF Lab (3-4)


wg_ro_X S1 S0 E0 S1 wg_ro_Y S0

Sy Fa 0/2 Sx

Core_ro

Show commands

Router#show Router#show Router#show Router#show Router#show

controllers serial 0 run ip route ip protocols ip ospf neighbor

Wg-Router
Router(config)#interface serial 0 Router(config-if)#ip address 192.168.x.34 255.255.255.0 Router(config-if)#no shutdown Router(config)#interface serial 1 Router(config-if)#clock rate 64000 Router(config-if)#bandwidth 64000 Router(config)#interface loopback 0 (to creat a loopback interface inside the router) Router(config-if)#ip address 192.168.X.X 255.255.255.240 Router(config)#router ospf 650 (to enable the protocol inside the router) Router(config-router)#network 192.168.0.0 0.0.255.255 area 0 Router#debug ip ospf events Router#ping 10.1.1.3

ACL Lab (4-1)

Wg_ro

core

Fa 0/2 Wg_sw Show commands


Router#show ip access-list Router#show ip interface serial 0 Router#show run

SWITCH
Switch#ping 10.1.1.1 Switch#copy run tftp Address or name of remote host []? 10.1.1.1 Destination filename [switch-confg]?

Wg-Router Configuration
Router(config)#access-list 101 deny tcp any any eq telnet ( to block the telnet traffic into your pod) router(config)#access-list 101 permit ip any any Router(config)#interface ethernet 0 Router(config-if)#ip access-group 101 in (to place the ACL inside the interface) Router(config)#interface serial 0 Router(config-if)#ip access-group 101 out Router(config)#no access-list 101 deny tcp any any eq telnet Router(config)#no access-list 101 permit ip any any Router#ping x.x.x.x

NAT/PAT Lab (4-2)

Wg_ro S0 Sx

core_ro

E0

fa 0/2 Show commands


wg_sw

Router#show ip nat translations Router#show ip nat statistics

Wg-Router Configuration

Router(config)#interface ethernet 0 Router(config-if)#ip address 10.X.X.3 255.255.255.0 Router(config)#interface serial 0 Router(config-if)#ip address 10.140.X.2 255.255.255.0 Router#ping 10.140.X.1 Router(config)#router rip Router(config-router)#network 10.0.0.0 Router(config)#interface ethernet 0 Router(config-if)#ip nat inside (to place the translation) Router(config)#interface serial 0 Router(config-if)#ip nat outside Router(config)#access-list 10 permit 10.X.X.0 0.0.0.255 (To allow the specified ip address range) Router(config)#ip nat inside source list 10 interface serial 0 overload (to translate the ip addresses into a single public ip which reside in the int serial 0) Switch#ping 10.1.1.3 Router(config)#no access-list 10 Router(config)#interface ethernet 0 Router(config-if)#no ip nat inside Router(config)#interface serial 0 Router(config-if)#no ip nat outside

PPP Lab (5-1)


wg_ro

S0

S0

E0

wg-sw Fa 0/2

Show commands
Router#show interfaces serial 0

Wg-Router

Router(config)#hostname wg_ro_a wg_ro_a#show run wg_ro_a (config)#username core_ro password cisco wg_ro_a (config)#interface serial 0 wg_ro_a (config-if)#shutdown wg_ro_a (config-if)#encapsulation ppp wg_ro_a (config-if)#ppp authentication chap wg_ro_a(config-if)#no shutdown wg_ro_a#debug ppp authentication wg_ro_a#no debug ppp authentication

Frame Relay Lab (6-1)


Wg_ro S0

E0

Fa 0/2

Wg_sw

Show commands
wg_ro_a#show wg_ro_a#show wg_ro_a#show wg_ro_a#show interfaces serial 0 frame-relay lmi frame-relay pvc frame-relay map

Wg-Router Configuration

wg_ro_a(config)#interface ethernet 0

wg_ro_a(config-if)#ip address 10.x.x.x 255.255.255.0 wg_ro_a(config)#interface serial 0 wg_ro_a(config-if)#shutdown wg_ro_a(config-if)#ip address x.x.x.x x.x.x.x Router(config)#router rip wg_ro_a(config-if)#encapsulation frame-relay wg_ro_a(config-if)#no shutdown wg_ro_a#ping 10.1.1.3 wg_ro_a#debug frame-relay lmi wg_ro_a#No debug frame-relay lmi wg_ro_a(config)#interface serial 0 wg_ro_a(config-if)#shutdown wg_ro_a(config-if)#no ip address wg_ro_a(config)#interface serial 0.1 point-to-point wg_ro_a(config-subif)#ip address 10.140.X.2 255.255.255.0 wg_ro_a(config-subif)#frame-relay interface-dlci 100 wg_ro_a#ping 10.1.1.3

You might also like