BAS给指定vlan分配静态IP
程序员文章站
2022-03-19 20:28:48
...
///查看地址池 ip poolAAA local gateway ***.***.135.1 255.255.255.192 section 0 ***.***.135.2 ***.***.135.62 excluded-ip-address ***.***.135.2 ***.***.135.62 //配置IP portvlan ethernet 24 vlan 100 1 access-type layer2-subscriber default-dom
///查看地址池
ip pool AAA local
gateway ***.***.135.1 255.255.255.192
section 0 ***.***.135.2 ***.***.135.62
excluded-ip-address ***.***.135.2 ***.***.135.62
gateway ***.***.135.1 255.255.255.192
section 0 ***.***.135.2 ***.***.135.62
excluded-ip-address ***.***.135.2 ***.***.135.62
//配置IP
portvlan ethernet 24 vlan 100 1
access-type layer2-subscriber
default-domain authentication force static
authentication-method bind
static-user ***.***.135.17 ***.***.135.17 detect
access-type layer2-subscriber
default-domain authentication force static
authentication-method bind
static-user ***.***.135.17 ***.***.135.17 detect
//把IP下发
#
local-aaa-server
local-aaa-server
batch-user ethernet 14 163 1 domain static
batch-user ethernet 14 163 1 domain static authentication-type B
batch-user ethernet 24 100 1 domain static
batch-user ethernet 24 100 1 domain static authentication-type B
//保存即可
上一篇: Java NIO 缓冲区学习笔记