[H3C]undointerface vlan-interface 20 删除管理VLAN接口 [H3C-Vlan-interface20]ipaddress 192.168.1.2 255.255.255.0 配置管理VLAN接口静态IP地址(缺省为192.168.0.234) [H3C-Vlan-interface20]undoip address 删除IP地址 [H3C-Vlan-interface20]ipgateway 192.168.1.1 指定缺省网关(默认无网关地址) [H3C-Vlan-interf...
[H3C]undointerface vlan-interface 20 删除管理VLAN接口 [H3C-Vlan-interface20]ipaddress 192.168.1.2 255.255.255.0 配置管理VLAN接口静态IP地址(缺省为192.168.0.234) [H3C-Vlan-interface20]undoip address 删除IP地址 [H3C-Vlan-interface20]ipgateway 192.168.1.1 指定缺省网关(默认无网关地址) [H3C-Vlan-interf...
[H3C]interfacevlan-interface 20 创建并进入管理VLAN [H3C]undointerface vlan-interface 20 删除管理VLAN接口 [H3C-Vlan-interface20]ipaddress 192.168.1.2 255.255.255.0 配置管理VLAN接口静态IP地址(缺省为192.168.0.234) [H3C-Vlan-interface20]undoip address 删除IP地址 [H3C-Vlan-interface20]ipgateway 192.168....
//第二步:给VLAN 划网关 interface Vlan-interface2 description link to wenquan ip address 10.41.77.41 255.255.255.192 interface Vlan-interface3 description link to ruzhou ip address 10.41.77.105 255.255.255.192 interface Vlan-interface4 description link to xiaotun ip address 10.41.77.169 255.255.255.192...
5、interface Ethernet 1/0/1 进入以太网端口视图 6、 port link-type Access|Trunk|Hybrid 设置端口访问模式 7、 undo shutdown 打开以太网端口 8、 shutdown 关闭以太网端口 9、 quit 退出当前视图模式 10、 vlan 10 创建VLAN 10并进入VLAN 10的视图模式 ...
[H3C]vlan20 [H3C]management-vlan20 [H3C]interfacevlan-interface 20 //创建并进入管理VLAN [H3C]undointerface vlan-interface 20 //删除管理VLAN接口 [H3C-Vlan-interface20]ip address 192.168.1.2 255.255.255.0 //配置管理VLAN接口静态IP地址(缺省为192.168.0.234)[H3C-Vlan-interface20...
[H3C-Vlan-interface20]ipgateway 192.168.1.1 指定缺省网关(默认无网关地址) [H3C-Vlan-interface20]undoip gateway [H3C-Vlan-interface20]shutdown 关闭接口 [H3C-Vlan-interface20]undoshutdown 开启 [H3C]displayip 显示管理VLAN接口IP的相关信息 [H3C]displayinterface vlan-interface 20 查看管理VLAN的接口信息...
配置IP地址:在VLAN接口视图中,使用ip address ip-address subnet-mask命令为VLAN配置IP地址。 3. 为VLAN配置IP地址的具体命令 以下是为VLAN 10配置IP地址的示例命令: text <H3C> system-view [H3C] interface vlan-interface 10 [H3C-Vlan-interface10] ip address 192.168.10.1 255.255.255.0 在这个例...
在端口中删除可以传输的vlan:undo port trunk permit vlan VLANID 3、静态路由的配置命令和示例 [H3C]iproute-static ip-address{mask|mask-length} {interface-typeinterface-name|nexthop-address} [perference value] [reject|blackhole] 例如: ip route-static 129.1.0.0 16 10.0.0.2 ...
13.Interface Vlan-interface 101// 进入Vlanif 101接口 14.display mac-address//查看mac地址表(二层转发通过mac地址表) 15. [H3C-vlan2]port Ethernet 0/4 to Ethernet0/7//将4到7号端口加入到VLAN2中,此命令只能用来加access端口,不能用来增加trunk或者hybrid端口 ...