예: 어그리게이션 이더넷을 통한 VLAN 인터페이스에서 정적 가입자 인터페이스 구성
이 예는 2링크 어그리게이션 이더넷 논리적 인터페이스에 스택된 정적 가상 LAN(VLAN)을 사용하여 가입자 인터페이스를 구성하는 방법을 보여줍니다. 이 예에서는 기본 어그리게이션 이더넷 논리적 인터페이스가 DPC 수준에서 일대일 액티브/백업 중복을 위해 구성되며, 어그리게이션 이더넷 논리적 인터페이스에서 CoS 매개 변수를 적용하여 가입자별 정적 계층적 CoS(class of service)가 구성됩니다.
라우터에서 어그리게이션 이더넷 인터페이스의 수를 정의합니다.
이 예에서는 하나의 어그리게이션 이더넷 논리적 인터페이스만 라우터에 구성됩니다.
[edit] chassis { aggregated-devices { ethernet { device-count 1; } } }정적 VLAN 가입자 인터페이스의 기본 인터페이스로 사용할 2링크 어그리게이션 이더넷 논리적 인터페이스를 구성
ae0합니다. 계층적 CoS를 지원하기 위해서는 물리적 포트가 MX 시리즈 라우터의 EQ DPC에 있어야 합니다.이 예에서 LAG 번들은 일대일 액티브/백업 링크 중복을 위해 구성됩니다. DPC 수준에서 링크 중복을 지원하기 위해 LAG 번들은 두 개의 서로 다른 EQ DPC의 포트를 연결합니다.
[edit] interfaces { ge-5/0/3 { gigether-options { 802.3ad { ae0; primary; } } ge-5/1/2 { gigether-options { 802.3ad { ae0; backup; } } } } }정적 VLAN 인터페이스의 기본 인터페이스 역할을 하도록 구성
ae0합니다.[edit] interfaces { ae0 { hierarchical-scheduler; aggregated-ether-options { link-protection; minimum-links 1; link-speed 1g; lacp { active; } } } }정적 트래픽 셰이핑 및 스케줄링 매개 변수를 구성합니다.
[edit] class-of-service { forwarding-classes { # Associate queue numbers with class names queue 0 be; queue 1 e; queue 2 af; queue 3 nc; } schedulers { # Define output queue properties scheduler_be { transmit-rate percent 30; buffer-size percent 30; } scheduler_ef { transmit-rate percent 40; buffer-size percent 40; } scheduler_af { transmit-rate percent 25; buffer-size percent 25; } scheduler_nc { transmit-rate percent 5; buffer-size percent 5; } } scheduler-maps { # Associate queues with schedulers smap_2 { forwarding-class be scheduler_be; forwarding-class ef scheduler_ef; forwarding-class-af scheduler_af; forwarding-class-nc scheduler_nc; } } }어그리게이션 이더넷 인터페이스의 물리적 및 논리적 인터페이스에 정적 CoS를 연결합니다.
이 예에서는 세 개의 트래픽 제어 프로필이 정의되어 있지만 어그리게이션 이더넷을 통해 정적 VLAN 가입자 인터페이스에는 두 개의 프로필만 적용됩니다.
프로필은
tcp_for_ae_device_pir_500m쉐이핑 속도를 정의하고 기본 물리적 인터페이스(ge-5/0/3및ge-5/1/2) 모두에 적용됩니다.프로필은
tcp-for-ae_smap_video_pir_20m_delay_30m스케줄러 맵, 쉐이핑 속도 및 지연 버퍼 속도를 정의하고 어그리게이션 이더넷 번들ae0.0()의 논리적 인터페이스 중 하나에 적용됩니다.
[edit] class-of-service { traffic-control-profiles { # Configure traffic shaping and scheduling profiles tcp_for_ae_device_pir_500m { shaping-rate 20m; } tcp_for_ae_smap_video_pir_20m_delay_30m { scheduler-map smap_video; shaping-rate 20m; delay-buffer-rate 30m; } tcp_for_ae_smap_video_cir_50m_delay_75m { scheduler-map smap_video; guaranteed-rate 50m; delay-buffer-rate 75m; } } interfaces { # Apply two traffic-control profiles to the LAG ae0 { # Two underlying physical interfaces on separate EQ DPCs output-traffic-control-profile tcp-for-ae_device_pir_500m; unit 0 { # One of the two logical interfaces on ’ae0’ output-traffic-control-profile tcp-for-ae_smap_video_pir_20m_delay_30m; } } } }