通信人家园

标题: 中兴交换机基础配置-接口配置  [查看完整版帖子] [打印本页]

时间:  2023-2-28 12:15
作者: liunx_512     标题: 中兴交换机基础配置-接口配置

配置接口IP地址
摘要
介绍配置接口IP地址的操作步骤。
配置接口IP地址,为了实现设备与其它设备的IP互通。

步骤
若通过二层子接口与其它设备对接,则可利用VLAN接口技术,实现不同物理以太网接口相同VLAN用户的接入和路由,请参考以下步骤配置VLAN接口的IP地址:
ZXR10(config)#switchvlan-configuration ZXR10(config-swvlan)#interface gei-0/1/0/3ZXR10(config-swvlan-intf)#switchport access vlan500ZXR10(config-swvlan-intf)#exitZXR10(config-swvlan)#interface gei-0/1/0/2ZXR10(config-swvlan-intf)# switchport access vlan500ZXR10(config-swvlan-intf)#exitZXR10(config)#interface vlan500ZXR10(config-if)#ip address 10.4.1.35 255.255.255.0ZXR10(config-if)#end
结果
执行命令[url=]show running-config-interface vlan500[/url],查看端口的配置:
ZXR10(config)#show running-config-interface vlan500!<if-intf>interface vlan500  ip address 10.4.1.35 255.255.252.0$!</if-intf>执行Ping命令来测试网络的连通性:
ZXR10#ping 10.4.1.35 sending 5,100-byte ICMP echoes to 10.4.1.35,timeout is 2 seconds. !!!!! Success rate is 100 percent(5/5),round-trip min/avg/max= 1/1/1 ms.
我在网上查了很多资料,就是没有找到接口配置的入口,拨打了一次中兴的400才搞好。坑



时间:  2023-11-20 09:12
作者: a666666


感谢分享




通信人家园 (https://www.txrjy.com/) Powered by C114