为第 2 层批发解决方案配置 VLAN 接口
客户端通过特定接口访问第 2 层批发网络。在它们访问此接口并通过身份验证之后,将动态创建 VLAN 来承载客户端流量。
注意:
要支持第 2 层访问配置文件,RADIUS 服务器必须提供 VLAN 身份验证。
要为动态客户端访问配置 VLAN 接口:
第 2 层批发动态配置文件的 VLAN 接口配置以大括号格式显示:
[edit]
user@host# show interfaces
ge-2/3/0 {
flexible-vlan-tagging;
auto-configure {
stacked-vlan-ranges {
dynamic-profile Subscriber_Profile_Retail1 {
accept any;
ranges {
any,any;
}
}
authentication {
password abc123;
username-include {
user-prefix user1;
interface-name;
}
}
access-profile access-profile-1;
}
}
}