Teste
senai
Seg 19 sex 19 sab 08
SW
sh valn brief sh vtp status sh spanning-terr sh int trunk sh run
ROUER
sh ip router sh ip ospf neigbhor sh run sh ip int br
Definir Enderecamento VLSM
128.28.x.x
255.255.x.x
180 hosts
50 hosts
128.28.0.0
255.255.255.0
128.28.1.0
255.255.255.192
ROUTER CHINA
hostname china enable secret cisco line vty 0 4 password cisco login inter fa 0/0 no shut int fa 0/0.1 encapsulation dot 1 q 1 ip add 128.28.1.65 255.255.255.248 int fa 0/0.400 encapsulation dot 1 q 400 ip add 128.28.0.1 255.255.255.0 int fa 0/0.500 encapsulation dot 1 q 500 ip add 128.28.1.1 255.255.255.192
conf t int f 0/1 ip add 199.9.9.1 255.255.255.248 no shut int s0/3/0 ip add 199.9.9.9 255.255.255.252 no shut cl rate 64000 router ospf 1 net 128.28.0.0 0.0.0.255 area 0 net 128.28.1.0 0.0.0.63 area 0 net 128.28.1.64 0.0.0.7 area 0 net 199.9.9.8 0.0.0.3 area 0 net 199.9.9.0 0.0.0.7 area 0
rou ospf 1 pass-int fa 0/0.1 pass-int fa 0/0.400 pass-int fa 0/0.500
int fa0/1 ip ospf priority 255
SW 01
hostname sw1 vlan database vlan 400 name 400 vlan 500 name 500 vtp server vtp v2-mode vtp domain cisco vtp pass cisco
conf t int fa0/1 swport mode trunk int fa0/2 swport mode trunk int fa0/3 swport mode trunk
int fa0/4 switchport acc vlan 400 int fa0/5 switchport acc vlan 500
conf t int vlan 1 no shut ip add 128.28.1.66 255.255.255.248
conf t ip default-gateway 128.28.1.65
conf t spanning-tree vlan 1-500 priority