에이전트 서킷 식별자 정보를 기반으로 동적 VLAN 가입자 인터페이스 구성
동적 ACI(Agent Circuit Identifier) 인터페이스 세트를 정의하고 기본 VLAN 인터페이스에서 ACI 기반 동적 VLAN 가입자 인터페이스를 생성하도록 설정한 후, ACI 인터페이스 세트를 가입자 인터페이스의 동적 프로필에서 PPPoE 또는 IP demultiplexing(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이라는 동적 프로필의 다음 문은 동적 ACI 인터페이스 세트(로
$junos-interface-set-name표시됨)를 (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(pp0) 가입자 인터페이스에 대해 aci-vlan-pppoe-profile이라는 동적 프로필을 보여줍니다.
[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;
}
}
}
}