你好!
命令如下:
假设是配置vlan 网关,那么就是配置SVI接口IP地址:
enable
configure terminal
int vlan 10
ip address 192.168.10.1 255.255.255.0
exit
DHCP配置:
ip dhcp pool vlan
network 192.168.10.0 255.255.255.0
default-rotuer 192.168.10.1
dns-server X.X.X.X
exit
ip dhcp e 192.168.10.1