S3100交换机只支持管理IP地址配置。所谓的网关、DNS无法配置。
system-view
management-vlan 1
interface vlan 1
ip address 221.221.221.221 255.255.255.240
ip route-static 0.0.0.0 0.0.0.0 221.221.100.100
DNS是设置在PC机上的,交换机上不设置DNS
那个应该是配置的dhcp吧 ?
system-view
dhcp se ip-pool 1
network 221.221.221.221 maske 255.255.255.240
gatway-list 221.221.100.100
DNS-list 221.111.111.111
如果是配置管理地址
system-view
interface vlan 1
ip address 221.221.221.221 255.255.255.240