이 작업은 SEFOS에서 OSPF 프로토콜의 재배포 기능을 사용하여 동적 경로 지정을 구성하는 방법에 대해 설명합니다. 또한 OSPF를 통해 in-between 경로를 동적으로 확인한 후 두 호스트에 연결할 수 있는지 확인합니다.
이 작업에 대한 토폴로지는 Routing Feature Topology를 참조하십시오.
Configure Static Unicast Route Entries을 참조하십시오.
동적 경로 지정의 기본 VLAN 구성은 정적 경로 지정의 기본 VLAN 구성과 유사합니다. 구성 정보가 SEFOS-1 및 SEFOS-2에 저장되지 않은 경우 Configure Static Unicast Route Entries의 Step 1 - Step 6를 수행합니다.
SEFOS-1 또는 SEFOS-2가 타사 스위치인 경우 스위치 제조업체에서 권장한 대로 기본 VLAN 및 동적 경로 경로 지정을 구성합니다.
SEFOS-1# configure terminal SEFOS-1(config)# router ospf SEFOS-1(config-router)# asBR router SEFOS-1(config-router)# router-id 10.0.0.201 SEFOS-1(config-router)# network 20.0.0.201 area 0.0.0.0 SEFOS-1(config-router)# network 10.0.0.201 area 0.0.0.0 SEFOS-1(config-router)# redistribute all SEFOS-1(config-router)# end
SEFOS-2# configure terminal SEFOS-2(config)# router ospf SEFOS-2(config-router)# asBR router SEFOS-2(config-router)# router-id 40.0.0.200 SEFOS-2(config-router)# network 20.0.0.200 area 0.0.0.0 SEFOS-2(config-router)# network 40.0.0.200 area 0.0.0.0 SEFOS-2(config-router)# redistribute all SEFOS-2(config-router)# end
SEFOS-2가 타사 스위치인 경우 SEFOS-2에서 OSPF 프로토콜이 사용으로 설정되었으며, 관련 구성이 적절하게 적용되었는지 확인합니다.
SEFOS-1# show ip ospf neighbor Vrf default Neighbor-IDPriStateDeadTimeAddress Interface ------------------------------------------- 40.0.0.2001FULL/DR 3920.0.0.200 vlan20 SEFOS-1# show ip route Codes: C - connected, S - static, R - rip, B - bgp, O - ospf C 10.0.0.0/24 is directly connected, vlan10 C 20.0.0.0/24 is directly connected, vlan20 O 40.0.0.0/24 [2] via 20.0.0.200
SEFOS-2# show ip ospf neighbor Vrf default Neighbor-ID Pri State DeadTime Address Interface ----------- --- ----- -------- ------- --------- SEFOS-2# show ip route 10.0.0.201 1 FULL/BACKUP 32 20.0.0.201 vlan20 Codes: C - connected, S - static, R - rip, B - bgp, O - ospf O 10.0.0.0/24 [2] via 20.0.0.201 C 20.0.0.0/24 is directly connected, vlan20 C 40.0.0.0/24 is directly connected, vlan40
SEFOS-2가 타사 스위치인 경우 적합한 명령을 사용하여 이웃 라우터 상태를 확인합니다.