Verificador de Sintaxe - Modificar os Valores de Custo para R2 e R3
Enviado: 28 Abr 2025, 19:35
Use o Verificador de Sintaxe para modificar os valores de custo para R2 e R3.
You are logged into R2.
Use the interface name lo0 to set the cost value for the loopback interface to 10.
Return to global configuration mode.
Verify the routing table entries with show ip route ospf.
You are logged into R2.
Use the interface name lo0 to set the cost value for the loopback interface to 10.
Return to global configuration mode.
Verify the routing table entries with show ip route ospf.
Código: Selecionar todos
R2(config)#interface lo0
R2(config-if)#ip ospf cost 10
R2(config-if)#end
R2#show ip route ospf
(output omitted)
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 9 subnets, 3 masks
O 10.1.1.12/30 [110/20] via 10.1.1.10, 00:01:13, GigabitEthernet0/0/1
O 10.10.1.0/24 [110/20] via 10.1.1.5, 00:00:32, GigabitEthernet0/0/0
O 10.10.3.0/24 [110/11] via 10.1.1.10, 00:00:49, GigabitEthernet0/0/1
R2#
O valor de custo para a LAN R3 é 11 porque o loopback ainda está relatando um custo padrão de 1.
Você agora está conectado em R3.
Use the interface name lo0 e defina o valor de custo para a interface de loopback como 10.
Use the interface name g0/0/0 e defina o valor de custo do link como R1 como 30.
Volte ao modo EXEC privilegiado.
Verify the routing table entries with show ip route ospf.
R3(config)#interface lo0
R3(config-if)#ip ospf cost 10
R3(config-if)#interface g0/0/0
R3(config-if)#ip ospf cost 30
R3(config-if)#end
R3#show ip route ospf
(output omitted)
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 9 subnets, 3 masks
O 10.1.1.4/30 [110/20] via 10.1.1.9, 01:48:54, GigabitEthernet0/0/1
O 10.10.1.0/24 [110/30] via 10.1.1.9, 00:00:06, GigabitEthernet0/0/1
O 10.10.2.0/24 [110/20] via 10.1.1.9, 00:35:24, GigabitEthernet0/0/1
R3#