Oracle® Switch ES2-72 및 Oracle Switch ES2-64 구성 설명서

인쇄 보기 종료

업데이트 날짜: 2015년 4월
 
 

정적 유니캐스트 경로 항목 구성

이 작업은 SEFOS에서 정적 경로 항목을 구성하고 네트워크 전체에서 트래픽이 연결 가능한지 확인합니다.


주 - 이 작업을 수행하기 전에 스위치에서 이전 구성을 지우십시오.

이 작업에 대한 토폴로지는 Routing Feature Topology를 참조하십시오.

  1. 초기 설정을 구성합니다.

    Configure Initial Settings을 참조하십시오.

  2. GVRP 및 GMRP가 사용으로 설정된 경우 만든 VLAN이 전파되지 않도록 이를 사용 안함으로 설정합니다.
    SEFOS-1# configure terminal
    SEFOS-1(config)# set gvrp disable
    SEFOS-1(config)# set gmrp disable
    SEFOS-1(config)# end
    SEFOS-1# show vlan device info
     
    Vlan device configurations
    --------------------------
    Vlan Status                       : Enabled
    Vlan Oper status                  : Enabled
    Gvrp status                       : Disabled
    Gmrp status                       : Disabled
    Gvrp Oper status                  : Disabled
    Gmrp Oper status                  : Disabled
    

    set gvrp disableset gmrp disable 명령이 이러한 프로토콜을 사용 안함으로 설정합니다. show vlan device info 명령은 VLAN 구성 정보를 표시합니다.

  3. SEFOS-1을 구성합니다.

    Routing Feature Topology를 참조하십시오.

    1. VLAN 1의 IP 주소를 제거합니다.
      SEFOS-1# configure terminal
      SEFOS-1(config)# interface vlan 1
      SEFOS-1(config-if)# no ip address
      SEFOS-1(config-if)# exit
      SEFOS-1(config)# vlan 10
      SEFOS-1(config-vlan)# exit
      SEFOS-1(config)# interface range xl-ethernet 0/25-26
      SEFOS-1(config-if-range)# switchport access vlan 10
      SEFOS-1(config-if-range)# no shutdown
      SEFOS-1(config-if-range)# exit
      SEFOS-1(config)# interface vlan 10
      SEFOS-1(config-if)# shut
      SEFOS-1(config-if)# ip address 10.0.0.201 255.255.255.0
      SEFOS-1(config-if)# no shutdown
      SEFOS-1(config-if)# end
      

      VLAN 1의 기본 IP 주소는 10.0.0.1이고, VLAN 10의 IP 주소는 10.0.0.201입니다. 따라서 먼저 VLAN 1의 IP 주소를 제거해야 VLAN 10에 대한 IP 주소를 추가할 수 있습니다.

    2. SEFOS-1에서 호스트 A를 Ping합니다.
      SEFOS-1# ping 10.0.0.169
      
    3. SEFOS-1에서 호스트 A-2를 Ping합니다.
      SEFOS-1# ping 10.0.0.152
      
    4. 호스트 A에서 SEFOS-1 및 호스트 A-2를 Ping합니다.
      # ping 10.0.201
      10.0.201 is alive
      # ping 10.0.0.152
      10.0.0.152 is alive
      #
      
  4. 토폴로지를 기준으로 SEFOS-2 스위치를 구성합니다.

    Routing Feature Topology를 참조하십시오.

    SEFOS-2# configure terminal
    SEFOS-2(config)# interface vlan 1
    SEFOS-2(config-if)# no ip address
    SEFOS-2(config-if)# exit
    SEFOS-2(config)# vlan 40
    SEFOS-2(config-vlan)# exit
    SEFOS-2(config)# interface range xl-ethernet 0/25-26
    SEFOS-2(config-if-range)# shutdown
    SEFOS-2(config-if-range)# switchport access vlan 40
    SEFOS-2(config-if-range)# no shutdown
    SEFOS-2(config-if-range)# exit
    SEFOS-2(config)# interface vlan 40
    SEFOS-2(config-if)# shutdown
    SEFOS-2(config-if)# ip address 40.0.0.200 255.255.255.0
    SEFOS-2(config-if)# no shutdown
    SEFOS-2(config-if)# end
    SEFOS-2#
    
  5. SEFOS-2에서 호스 B 및 호스트 B-2를 Ping합니다.
    SEFOS-2# ping 40.0.0.110
    SEFOS-2# ping 40.0.0.118
    
  6. 두 스위치 간에 VLAN 20을 만듭니다.

    두 스위치 모두에서 1 - 2 포트를 사용합니다.

    1. SEFOS-1, 포트 21 - 22에 VLAN 20을 만듭니다.
      SEFOS-1# configure terminal
      SEFOS-1(config)# interface range xl-ethernet 0/1-2
      SEFOS-1(config-if-range)# switchport access vlan 20
      SEFOS-1(config-if-range)# no shutdown
      SEFOS-1(config-if-range)# exit
      SEFOS-1(config)# interface vlan 20
      SEFOS-1(config-if)# shutdown
      SEFOS-1(config-if)# ip address 20.0.0.201 255.255.255.0
      SEFOS-1(config-if)# no shutdown
      SEFOS-1(config-if)# end
      SEFOS-1#
      
    2. SEFOS-2, 포트 21 - 22에 VLAN 20을 만듭니다.
      SEFOS-2# configure terminal
      SEFOS-2(config)# interface range xl-ethernet 0/1-2
      SEFOS-2(config-if-range)# switchport access vlan 20
      SEFOS-2(config-if-range)# no shutdown
      SEFOS-2(config-if-range)# exit
      SEFOS-2(config)# interface vlan 20
      SEFOS-2(config-if)# shutdown
      SEFOS-2(config-if)# ip address 20.0.0.200 255.255.255.0
      SEFOS-2(config-if)# no shutdown
      SEFOS-2(config-if)# end
      SEFOS-2# ping 20.0.0.201
      

      이제 이 구성을 기반으로 다른 라우터를 구성할 수 있습니다.

  7. 구성을 저장합니다.
    1. SEFOS-1에서 다음과 같이 입력합니다.
      SEFOS-1# write startup-config
      Building configuration _
      [OK]
      
    2. SEFOS-2에서 다음과 같이 입력합니다.
      SEFOS-2# write startup-config
      Building configuration _
      [OK]
      

    재부트하면 스위치가 기본 구성을 사용하여 시작됩니다.

  8. SEFOS-1에서 기존 경로가 사용 가능한지 확인합니다.
    1. SEFOS-1에서 다음과 같이 입력합니다.
      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
      SEFOS-1#
      
    2. SEFOS-2에서 다음과 같이 입력합니다.
      SEFOS-2# show ip route
      Codes: C - connected, S - static, R - rip, B - bgp, O - ospf
       
      C 20.0.0.0/24 is directly connected, vlan20
      C 40.0.0.0/24 is directly connected, vlan40
       
      SEFOS-2#
      

      SEFOS-1에서 호스트 B로의 알려진 경로가 없는 경우 호스트 A에서 호스트 B로의 ping이 실패합니다.

  9. SEFOS-1에서 정적 경로를 구성합니다.
    SEFOS-1# configure terminal
    SEFOS-1(config)# ip route 40.0.0.0 255.255.255.0 20.0.0.200
    SEFOS-1(config)# end
    
  10. SEFOS-2에서 정적 경로를 구성합니다.
    SEFOS-2# configure terminal
    SEFOS-2(config)# ip route 10.0.0.0 255.255.255.0 20.0.0.201
    SEFOS-2(config)# end
    
  11. SEFOS-1 및 SEFOS-2에서 알려진 경로가 있는지 확인합니다.
    1. SEFOS-1에서 다음과 같이 입력합니다.
      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
      S 40.0.0.0/24 [-1] via 20.0.0.200
      
    2. SEFOS-2에서 다음과 같이 입력합니다.
      SEFOS-2# show ip route
      Codes: C - connected, S - static, R - rip, B - bgp, O - ospf
      S 10.0.0.0/24 [-1] 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
      

관련 정보