0% found this document useful (0 votes)
13 views3 pages

OSPF Configuration and Port Security Setup

The document outlines the configuration commands for two routers (R0 and R1) and two switches (SW0 and SW1). R0 and R1 are set up with OSPF routing and specific IP addresses, while SW0 and SW1 are configured with port security settings on their access ports. Both switches have their interfaces from fa0/4 to fa0/24 shut down and are set to save the running configuration.

Uploaded by

wakewater85
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views3 pages

OSPF Configuration and Port Security Setup

The document outlines the configuration commands for two routers (R0 and R1) and two switches (SW0 and SW1). R0 and R1 are set up with OSPF routing and specific IP addresses, while SW0 and SW1 are configured with port security settings on their access ports. Both switches have their interfaces from fa0/4 to fa0/24 shut down and are set to save the running configuration.

Uploaded by

wakewater85
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

|||R0|||

en
conf t

int g0/0
no shut
ip add [Link] [Link]
exit

int se0/0/0
no shut
ip add [Link] [Link]
exit

router ospf 1
router-id [Link]
network [Link] [Link] area 0
network [Link] [Link] area 0
exit

|||R1|||
en
conf t

int g0/0
no shut
ip add [Link] [Link]
exit

int se0/0/0
no shut
ip add [Link] [Link]
exit

router ospf 1
router-id [Link]
network [Link] [Link] area 0
network [Link] [Link] area 0
exit

int g0/0
ip ospf priority 100

|||SW0|||
en
conf t

interface fa0/1
switchport mode access
switchport port-security
switchport port-security maximum 1
switchport port-security violation shutdown
switchport port-security mac-address sticky
exit

interface fa0/2
switchport mode access
switchport port-security
switchport port-security maximum 1
switchport port-security violation shutdown
switchport port-security mac-address sticky
exit

interface fa0/3
switchport mode access
switchport port-security
switchport port-security maximum 1
switchport port-security violation shutdown
switchport port-security mac-address sticky
exit

interface range fa0/4-24


shutdown
exit

do copy run start

|||SW1|||
en
conf t

interface fa0/1
switchport mode access
switchport port-security
switchport port-security maximum 1
switchport port-security violation shutdown
switchport port-security mac-address sticky
exit

interface fa0/2
switchport mode access
switchport port-security
switchport port-security maximum 1
switchport port-security violation shutdown
switchport port-security mac-address sticky
exit

interface fa0/3
switchport mode access
switchport port-security
switchport port-security maximum 1
switchport port-security violation shutdown
switchport port-security mac-address sticky
exit
interface range fa0/4-24
shutdown
exit

do copy run start

You might also like