华为S6700交换机
上配置带外管理地址。
以下是几种常用的方法,您可以根据实际需求选择合适的方法进行配置。
使用管理网口配置管理IP地址:
- 进入系统视图:
system-view
- 进入管理口视图:
interface meth0/0/0
- 配置管理口的IP地址和掩码:
ip address ip-address { mask | mask-length }
- 返回系统视图:
quit
通过VLANIF接口配置管理IP地址:
- 进入系统视图:
system-view
- 创建管理网络用的VLAN:
vlan vlan-id
- 进入VLANIF接口视图:
interface vlanif vlan-id
- 配置VLANIF的接口IP地址和掩码:
ip address ip-address { mask | mask-length }
使用业务口配置管理IP地址:
- 进入系统视图:
system-view
- 进入业务口视图:
interface interface-type interface-number
- 配置接口从三层模式切换到二层模式:
portswitch
- 配置接口的链路类型为Access:
port link-type access
- 配置接口的缺省VLAN并同时加入这个VLAN:
port default vlan vlan-id