예: 가상 네트워크 기능을 지원하도록 NFX250-S2를 컴퓨팅 서버로 구성
개요
이 예에서는 NFX250-S2 디바이스를 컴퓨팅 서버로 프로비저닝하여 VNF(Virtual Network Functions)를 주요 기능으로 지원합니다.
이 구성은 기본 NFX250-S2 요구 사항을 프로비저닝하고 PON Controller KVM 이미지를 설치할 단일 VNF를 프로비저닝합니다.
IP 주소에 대한 수정은 개별 구축에 적합해야 합니다.
이 예에서는 10GbE PON OLT 트랜시버가 설치된 외부 ACX 라우터에 대한 Layer 2 PON 관리 컨트롤 플레인 연결을 지원하기 위해 기가비트 이더넷 코퍼 인터페이스 포트 4개를 프로비저닝합니다. 또한 4개의 다른 Gigabit Ethernet 코퍼 인터페이스 포트를 프로비저닝하여 MicroClimateTM 관리 시스템 데이터베이스에 대한 Layer 3 PON 관리 컨트롤 플레인 연결을 지원합니다.
구성 발췌문에는 작업 시스템에 필요한 사용자 자격 구성 정보가 나와 있지 않습니다. 구축된 시스템은 구성 매개변수를 올바르게 설정해야 합니다.
구축 구성은 NFX250-S2 디바이스를 컴퓨팅 모드로 설정하고 대부분의 NFX250-S2 Junos 기능을 비활성화하여 시스템이 VM 호스트 서버로 사용될 수 있도록 합니다.
구성
CLI 빠른 구성
이 예제를 신속하게 구성하려면 다음 명령을 복사하여 텍스트 파일에 붙여넣고, 줄 바꿈을 제거하고, 네트워크 구성에 필요한 세부 정보를 변경한 다음[ 편집] 계층 수준에서 CLI에 명령을 복사하여 붙여넣습니다.
user@host# set system services ssh root-login allow user@host# set system memory hugepages page-size 1024 page-count 21 user@host# set interfaces ge-0/0/0 description "L2 Only Control Plan PON Controller Port" user@host# set interfaces ge-0/0/0 ether-options auto-negotiation user@host# set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members VLAN-PONCNTL-L2 user@host# set interfaces ge-0/0/0 unit 0 family ethernet-switching storm-control default user@host# set interfaces sxe-0/0/0 description "Internal Trunk Port to OVS Bridge - #1" user@host# set interfaces sxe-0/0/0 mtu 9192 user@host# set interfaces sxe-0/0/0 ether-options flow-control user@host# set interfaces sxe-0/0/0 unit 0 family ethernet-switching interface-mode trunk user@host# set interfaces sxe-0/0/0 unit 0 family ethernet-switching vlan members VLAN-PONCNTL-L2 user@host# set interfaces ge-0/0/1 description "L3 Only Control Plan PON Controller Port" user@host# set interfaces ge-0/0/1 ether-options auto-negotiation user@host# set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members VLAN-PONCNTL-L3 user@host# set interfaces ge-0/0/1 unit 0 family ethernet-switching storm-control default user@host# set interfaces sxe-0/0/1 description "Internal Trunk Port to OVS Bridge - #2" user@host# set interfaces sxe-0/0/1 mtu 9192 user@host# set interfaces sxe-0/0/1 ether-options flow-control user@host# set interfaces sxe-0/0/1 unit 0 family ethernet-switching interface-mode trunk user@host# set interfaces sxe-0/0/1 unit 0 family ethernet-switching vlan members VLAN-PONCNTL-L3 user@host# set interfaces ge-0/0/2 description "L2 Only Control Plan PON Controller Port" user@host# set interfaces ge-0/0/2 ether-options auto-negotiation user@host# set interfaces ge-0/0/2 unit 0 family ethernet-switching vlan members VLAN-PONCNTL-L2 user@host# set interfaces ge-0/0/2 unit 0 family ethernet-switching storm-control default user@host# set interfaces ge-0/0/3 description "L3 Only Control Plan PON Controller Port" user@host# set interfaces ge-0/0/3 ether-options auto-negotiation user@host# set interfaces ge-0/0/3 unit 0 family ethernet-switching vlan members VLAN-PONCNTL-L3 user@host# set interfaces ge-0/0/3 unit 0 family ethernet-switching storm-control default user@host# set interfaces ge-0/0/4 description "L2 Only Control Plan PON Controller Port" user@host# set interfaces ge-0/0/4 ether-options auto-negotiation user@host# set interfaces ge-0/0/4 unit 0 family ethernet-switching vlan members VLAN-PONCNTL-L2 user@host# set interfaces ge-0/0/4 unit 0 family ethernet-switching storm-control default user@host# set interfaces ge-0/0/5 description "L3 Only Control Plan PON Controller Port" user@host# set interfaces ge-0/0/5 ether-options auto-negotiation user@host# set interfaces ge-0/0/5 unit 0 family ethernet-switching vlan members VLAN-PONCNTL-L3 user@host# set interfaces ge-0/0/5 unit 0 family ethernet-switching storm-control default user@host# set interfaces ge-0/0/6 description "L2 Only Control Plan PON Controller Port" user@host# set interfaces ge-0/0/6 ether-options auto-negotiation user@host# set interfaces ge-0/0/6 unit 0 family ethernet-switching vlan members VLAN-PONCNTL-L2 user@host# set interfaces ge-0/0/6 unit 0 family ethernet-switching storm-control default user@host# set interfaces ge-0/0/7 description "L3 Only Control Plan PON Controller Port" user@host# set interfaces ge-0/0/7 ether-options auto-negotiation user@host# set interfaces ge-0/0/7 unit 0 family ethernet-switching vlan members VLAN-PONCNTL-L3 user@host# set interfaces ge-0/0/7 unit 0 family ethernet-switching storm-control default user@host# set vlans VLAN-PONCNTL-L2 description "Internal Layer 2 VLAN for PON Controller Control Plane to OLTs" user@host# set vlans VLAN-PONCNTL-L2 vlan-id 20 user@host# set vlans VLAN-PONCNTL-L3 description "Internal Layer 3 VLAN for PON Controller Control-plane to PON Manager" user@host# set vlans VLAN-PONCNTL-L3 vlan-id 30 user@host# set vmhost vlans vlan-poncntl-l2 description "VNF VLAN for PON Controller L2 Control Plane" user@host# set vmhost vlans vlan-poncntl-l2 vlan-id 20 user@host# set vmhost vlans vlan-poncntl-l3 description "VNF VLAN for PON Controller L3 Control Plane" user@host# set vmhost vlans vlan-poncntl-l3 vlan-id 30 user@host# set virtual-network-functions poncntl-1 type virtual-machine user@host# set virtual-network-functions poncntl-1 image /var/public/poncntl.qcow2 user@host# set virtual-network-functions poncntl-1 image image-type qcow2 user@host# set virtual-network-functions poncntl-1 virtual-cpu 0 physical-cpu 10 user@host# set virtual-network-functions poncntl-1 virtual-cpu count 1 user@host# set virtual-network-functions poncntl-1 virtual-cpu features hardware-virtualization user@host# set virtual-network-functions poncntl-1 interfaces eth2 description "L2 ONLY Control-plane PON Controller PORT (ens5)" user@host# set virtual-network-functions poncntl-1 interfaces eth2 mapping vlan members vlan-poncntl-l2 user@host# set virtual-network-functions poncntl-1 interfaces eth3 description "L3 ONLY Control-plane PON Controller PORT (ens6)" user@host# set virtual-network-functions poncntl-1 interfaces eth3 mapping vlan members vlan-poncntl-l3 user@host# set virtual-network-functions poncntl-1 memory size 4000000 user@host# set virtual-network-functions poncntl-1 memory features hugepages page-size 1024
결과
구성 결과를 확인합니다.
system { services { ssh { root-login allow; } memory { hugepages { page-size 1024 { page-count 21; } } } } interfaces { ge-0/0/0 { description "L2 Only Control Plan PON Controller Port"; ether-options { auto-negotiation; } unit 0 { family ethernet-switching { vlan { members VLAN-PONCNTL-L2; } storm-control default; } } } sxe-0/0/0 { description "Internal Trunk Port to OVS Bridge - #1"; mtu 9192; ether-options { flow-control; } unit 0 { family ethernet-switching { interface-mode trunk; vlan { members VLAN-PONCNTL-L2; } } } } ge-0/0/1 { description "L3 Only Control Plan PON Controller Port"; ether-options { auto-negotiation; } unit 0 { family ethernet-switching { vlan { members VLAN-PONCNTL-L3; } storm-control default; } } } sxe-0/0/1 { description "Internal Trunk Port to OVS Bridge - #2"; mtu 9192; ether-options { flow-control; } unit 0 { family ethernet-switching { interface-mode trunk; vlan { members VLAN-PONCNTL-L3; } } } } ge-0/0/2 { description "L2 Only Control Plan PON Controller Port"; ether-options { auto-negotiation; } unit 0 { family ethernet-switching { vlan { members VLAN-PONCNTL-L2; } storm-control default; } } } ge-0/0/3 { description "L3 Only Control Plan PON Controller Port"; ether-options { auto-negotiation; } unit 0 { family ethernet-switching { vlan { members VLAN-PONCNTL-L3; } storm-control default; } } } ge-0/0/4 { description "L2 Only Control Plan PON Controller Port"; ether-options { auto-negotiation; } unit 0 { family ethernet-switching { vlan { members VLAN-PONCNTL-L2; } storm-control default; } } } ge-0/0/5 { description "L3 Only Control Plan PON Controller Port"; ether-options { auto-negotiation; } unit 0 { family ethernet-switching { vlan { members VLAN-PONCNTL-L3; } storm-control default; } } } ge-0/0/6 { description "L2 Only Control Plan PON Controller Port"; ether-options { auto-negotiation; } unit 0 { family ethernet-switching { vlan { members VLAN-PONCNTL-L2; } storm-control default; } } } ge-0/0/7 { description "L3 Only Control Plan PON Controller Port"; ether-options { auto-negotiation; } unit 0 { family ethernet-switching { vlan { members VLAN-PONCNTL-L3; } storm-control default; } } } vlans { VLAN-PONCNTL-L2 { description "Internal Layer 2 VLAN for PON Controller Control Plane to OLTs"; vlan-id 20; } VLAN-PONCNTL-L3 { description "Internal Layer 3 VLAN for PON Controller Control-plane to PON Manager"; vlan-id 30; } default { vlan-id 1; } } vmhost { vlans { vlan-poncntl-l2 { description "VNF VLAN for PON Controller L2 Control Plane"; vlan-id 20; } vlan-poncntl-l3 { description "VNF VLAN for PON Controller L3 Control Plane"; vlan-id 30; } } } virtual-network-functions poncntl-1 { type { virtual-machine; } image { /var/public/poncntl.qcow2; image-type qcow2; } virtual-cpu { 0 { physical-cpu 10; } count 1; features { hardware-virtualization; } } interfaces eth2 { description "L2 ONLY Control-plane PON Controller PORT (ens5)"; mapping { vlan { members vlan-poncntl-l2; } } } interfaces eth3 { description "L3 ONLY Control-plane PON Controller PORT (ens6)"; mapping { vlan { members vlan-poncntl-l3; } } } memory { size 4000000; features { hugepages { page-size 1024; } } } }