- 经验
 - 396 
 - 分贝
 - 0 
 - 家园分
 - 2650 
 - 在线时间:
 - 70 小时
 - 最后登录:
 - 2025-10-25
 - 帖子:
 - 177
 - 精华:
 - 0
 - 注册时间:
 - 2003-3-20
 - UID:
 - 5645
  
 
 
 
注册:2003-3-20 5 
 | 
配置接口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才搞好。坑 
 
 |   
 
  
 |