You are on page 1of 3

speed 100

duplex full
///////////////R1/////////////////////
/////////////////////////////////////

conf term

int f0/0
ipv6 add 2001:0db8:1234:0090::1/64
ipv6 ospf 1 area 0
no shut
exit

int f0/1.20
encapsulation dot1Q 20
ipv6 add 2001:0db8:1234:0089::1/64
ipv6 ospf 1 area 0
no shut
exit

int f0/1.10
encapsulation dot1Q 10
ipv6 add 2001:0db8:1234:0088::1/64
ipv6 ospf 1 area 0
no shut
exit

ipv6 unicast-routing
ipv6 router ospf 1
router-id 2.2.2.2
exit

end
wr

///////SW1///////
////////////////

vlan database
vlan 10 name estudiante
vlan 20 name profesor
exit

conf term
int f1/1
switchport mode trunk
switchport trunk all
switchport trunk allowed vlan 1-1100
no shut
exit

int f1/2
switchport mode trunk
switchport trunk all
speed 100
duplex full
no shut
exit

int range f1/3 - 7


switchport mode access
switchport access vlan 10
no shut
exit

int range f1/8 - 12


switchport mode access
switchport access vlan 20
no shut
exit
exit

wr

///////SW2///////
////////////////

vlan database
vlan 10 name estudiante
vlan 20 name profesor
exit

conf term

int f1/2
switchport mode trunk
switchport trunk all
switchport trunk allowed vlan 1-1100
speed 100
duplex full
no shut
exit

int range f1/3 - 7


switchport mode access
switchport access vlan 10
no shut
exit

int range f1/8 - 12


switchport mode access
switchport access vlan 20
no shut
exit

exit
wr

///////////////R2/////////////////////
/////////////////////////////////////

conf ter
ipv6 unicast-routing
int f0/1
ipv6 add 2001:0db8:1234:0090::3/64
ipv6 ospf 1 area 0
no shut
exit

int f0/0
ipv6 add 2001:0db8:1234:0092::1/64
ipv6 ospf 1 area 0
no shut
exit

ipv6 router ospf 1


router-id 1.1.1.1
exit

end
wr

///////SW2///////
////////////////

conf term

int f1/1
switchport mode trunk
no shut
exit

int f1/2
switchport mode trunk
no shut
end

You might also like