Agent Circuit Identifier 정보를 기반으로 동적 VLAN 가입자 인터페이스 구성
동적 ACI(Agent Circuit Identifier) 인터페이스 세트를 정의하고 기본 VLAN 인터페이스에서 ACI 기반 동적 VLAN 가입자 인터페이스를 생성할 수 있도록 한 후, ACI 인터페이스 세트를 가입자 인터페이스의 동적 프로파일에서 PPPoE 또는 IP 디멀티플렉싱(IP demux) 가입자 인터페이스와 연결하여 구성을 완료해야 합니다.
시작하기 전에:
논리적 가입자 인터페이스를 정의하는 동적 프로필을 생성합니다.
다음 주제를 참조하십시오.
ACI 정보를 기반으로 동적 VLAN 가입자 인터페이스를 구성하려면:
PPPoE 또는 IP demux 가입자 인터페이스에 대한 동적 프로필에서 동적 ACI 인터페이스 세트를 동적 VLAN 가입자 인터페이스 이름(
pp0
또는demux0
) 및 논리적 단위 번호와 연결합니다.[edit dynamic-profiles profile-name] user@host# set interfaces interface-set $junos-interface-set-name interface interface-name unit $junos-interface-unit
예를 들어, aci-vlan-pppoe-profile이라는 동적 프로필의 다음 문은 동적 ACI 인터페이스 세트를 동적
pp0
(PPPoE) 논리적 가입자 인터페이스와 연결합니다. 사전 정의된 동적 변수를$junos-interface-set-name
사용하여 동적 ACI 인터페이스 세트$junos-interface-unit
의 이름을 나타내고 가입자 인터페이스의 논리적 단위 번호를 나타내야 합니다.[edit dynamic-profiles aci-vlan-pppoe-profile] user@host# set interfaces interface-set $junos-interface-set-name interface pp0 unit $junos-interface-unit
마찬가지로, aci-vlan-demux-profile이라는 동적 프로필의 다음 문은 (로 표시
$junos-interface-set-name
되는) 동적 ACI 인터페이스 세트를 (IP demux) 논리적 가입자 인터페이스와demux0
연결합니다.[edit dynamic-profiles aci-vlan-demux-profile] user@host# set interfaces interface-set $junos-interface-set-name interface demux0 unit $junos-interface-unit
다음 예제에서는 이러한 각 문을 사용하는 동적 구성을 보여 줍니다. 다음 샘플 구성은 PPPoE 가입자가 사용할 ACI 기반 동적 PPPoE() 가입자 인터페이스에 대해 aci-vlan-pppoe-profilepp0
이라는 동적 프로필을 보여줍니다.
[edit dynamic-profiles aci-vlan-pppoe-profile] interfaces { interface-set "$junos-interface-set-name" { interface pp0 { unit "$junos-interface-unit"; } } pp0 { unit "$junos-interface-unit" { ppp-options { chap; pap; } pppoe-options { underlying-interface "$junos-underlying-interface"; server; } no-keepalives; family inet { unnumbered-address lo0.0; } } } }
다음 샘플 구성은 DHCP 가입자가 사용할 ACI 기반 동적 IP demux() 가입자 인터페이스에 대한 aci-vlan-demux-profiledemux0
이라는 동적 프로필을 보여줍니다.
[edit dynamic-profiles aci-vlan-demux-profile] interfaces { interface-set "$junos-interface-set-name" { interface demux0 { unit "$junos-interface-unit"; } } demux0 { unit "$junos-interface-unit" { demux-options { underlying-interface "$junos-underlying-interface"; } family inet { demux-source { $junos-subscriber-ip-address; } unnumbered-address lo0.0 preferred-source-address 198.51.100.202; } } } }