1、创建管理用vlan
[switch] vlan 160
2、为vlan添加管理IP
[switch] int vlan 160
[switch-vlan-interface] ip address ip-address { mask | mask-length } [ sub ]
3、设置默认路由
[switch] ip route-static 0.0.0.0 0.0.0.0 网关
1、创建管理用vlan
[switch] vlan 160
2、为vlan添加管理IP
[switch] int vlan 160
[switch-vlan-interface] ip address ip-address { mask | mask-length } [ sub ]
3、设置默认路由
[switch] ip route-static 0.0.0.0 0.0.0.0 网关