一、配置环境描述
1、基于全局地址池的DHCP动态获取地址配置
[SW]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[SW]ip pool pool2 //配置地址池
Info:It's successful to create an IP address pool.
[SW-ip-pool-pool2]network 192.168.10.0 mask 24 //宣告网段
[SW-ip-pool-pool2]gateway-list 192.168.10.254 //宣告网关
[SW-ip-pool-pool2]dns-list 8.8.8.8 //宣告dns
[SW-ip-pool-pool2]lease day 10 //宣告租期
[SW-ip-pool-pool2]q
[SW]int vlanif10
[SW-Vlanif10]dhcp select global //宣告DHCP选择全局
[SW-Vlanif10]q
[SW]dis ip ?
as-path-filter Specify regular expression access list number
community-filter Add a community-filter entry
extcommunity-filter Match BGP/VPN extended community filter
ha Display information of socket HA
host Host t