1. 串口登录时管理IP地址的配置方法有两种: a. 在交换机的管理网口上配置管理IP地址。 b. 创建Vlanif口,并在Vlanif口上配置管理IP地址。 S系列框式交换机都有管理网口(Ethernet 0/0/0),S系列盒式交换机只有部分交换机有管理网口(MEth 0/0/1),E系列交换机没有管理网口。对于没有管理网口的交换机,只能采用创建Vlanif口的方法配置管理IP地址。对于上述两种方法,配置分别如下: a. 在交换机的管理网口上配置管理IP地址 <HUAWEI> system-view [HUAWEI] interface meth 0/0/1 [HUAWEI-MEth0/0/1] ip address 192.168.1.2 24 [HUAWEI-MEth0/0/1] return <HUAWEI> save b. 创建Vlanif口并配置管理IP地址 <HUAWEI> system-view [HUAWEI] vlan 2 [HUAWEI-vlan2] quit [HUAWEI] interface vlanif 2 //配置VLANIF2作为管理接口 [HUAWEI-Vlanif2] ip address 192.168.0.1 24 //请根据网络规划进行IP地址的配置以及路由的部署,确保用户终端与交换机之间路由可达。 [HUAWEI-Vlanif2] quit [HUAWEI] interface gigabitethernet 0/0/2 //GE0/0/10为PC与交换机相连的物理接口编号,请按照实际现网情况进行选择。 [HUAWEI-GigabitEthernet0/0/2] port link-type access [HUAWEI-GigabitEthernet0/0/2] port default vlan 2 [HUAWEI-GigabitEthernet0/0/2] return <HUAWEI> save
交换机 配管理ip
最新推荐文章于 2024-02-26 17:42:56 发布