三层交换机的路由功能固定IP地址的方法实现不同vlan之间联通
2016-02-21 11:09
706 查看
配置过程
Switch>
Switch>en
Switch#
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#ip routing
提示:一定要开启路由功能
Switch(config)#int fa0/1
Switch(config-if)#no switchport
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Switch(config-if)#
Switch(config-if)#ip address 192.168.1.1 255.255.255.0
Switch(config-if)#no shut
Switch(config-if)#end
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#
Switch#int fa0/2
^
% Invalid input detected at '^' marker.
Switch#
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa0/2
Switch(config-if)#no switchport
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up
Switch(config-if)#
Switch(config-if)#ip address 192.168.2.1 255.255.255.0
Switch(config-if)#no shut
Switch(config-if)#end
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#
测试结果
相关文章推荐
- 组建分布式三层校园网
- 交换机如何配置 新手配置交换机详细教程
- Zabbix监控交换机设置方法
- Angularjs制作简单的路由功能demo
- wordpress自定义url参数实现路由功能的代码示例
- 交换机的工作原理
- 【华为S5700交换机】链路聚合配置
- Cisco 路由器 交换机 配置 命令
- telnet实验
- Cisco交换机防止VLAN间的ARP***
- 从交换机看网络广播风暴的原因
- 详解第三层交换机技术
- 教你如何自己动手做第三层交换机
- 把路由器模拟为帧中继交换机
- 交换机端口镜像配置
- Cisco Catalyst交换机删除startup-config并重启后,vlan信息仍存在的原因与解决
- STP应用(PVST+介绍)
- 鸿博信通云交换机(云PBX)
- nagios中自己写的监控mysql主从复制的插件
- cisco和H3C或锐捷交换机互联STP兼容问题