华为多交换机trunk.rip应用全网互通.以及搭建服务器
2018-01-16 08:43
836 查看
使用eNSP搭建实验环境 一.pc机192.168.10.254 网关192.168.10.254 以此为论推 二:sw7配置(端口加vlan ) [Huawei]vlan batch 10 20 [Huawei]int eth0/0/3 Huawei-Ethernet0/0/3]undo shutdown [Huawei-Ethernet0/0/3]port link-type access [Huawei-Ethernet0/0/3]port default valn 10 [Huawei]int eth 0/0/2 [Huawei-Ethernet0/0/2]port link-type access [Huawei-Ethernet0/0/2]port default valn 20 [Huawei-Ethernet0/0/1]int eth 0/0/1 [Huawei-Ethernet0/0/1]port link-type trunk [Huawei-Ethernet0/0/1]port trunk allow-pass valn all 三:sw8配置 [sw8]vlan 10 [sw8]int eth0/0/2 [sw8-Ethernet0/0/2]undo shutdown [sw8-Ethernet0/0/2]port link-type access [sw8-Ethernet0/0/2]port default vlan 10 [sw8]int eth0/0/1 [sw8-Ethernet0/0/1]port link-type trunk [sw8-Ethernet0/0/1]port trunk allow-pass vlan all 三:sw10配置 [sw10]vlan 40 [sw10-vlan40]int eth0/0/2 [sw10-Ethernet0/0/2]port link-type a [sw10-Ethernet0/0/2]port link-type access [sw10-Ethernet0/0/2]port default vlan 40 [sw10-Ethernet0/0/2]undo shutdown Info: Interface Ethernet0/0/2 is not shutdown. [sw10-Ethernet0/0/2]q [sw10]int eth0/0/3 [sw10-Ethernet0/0/3]undo shutdown [sw10-Ethernet0/0/3]port link-type access [sw10-Ethernet0/0/3]port default vlan 40 [sw10-Ethernet0/0/4]undo shutdown [sw10-Ethernet0/0/4]port link-type access [sw10-Ethernet0/0/4]port default vlan 40 [sw10]int eth0/0/1 [sw10-Ethernet0/0/1]port link-type trunk [sw10-Ethernet0/0/1]port trunk allow-pass vlan all [sw10-Ethernet0/0/1]undo shutdown 四,sw9配置(sw9.10trunk) [sw9]vlan batch 30 40 50 Info: This operation may take a few seconds. Please wait for a moment...done. [sw9]int vlan 30 [sw9-Vlanif30]undo shutdown Info: Interface Vlanif30 is not shutdown. [sw9-Vlanif30]ip add 192.168.30.254 24 [sw9-Vlanif30]q [sw9]int vlan 50 [sw9-Vlanif50]ip add 192.168.50.2 24 [sw9-Vlanif50]q [sw9]int vlan 40 [sw9-Vlanif40]undo shutdown [sw9-Vlanif40]ip add 192.168.40.254 24 [sw9-Vlanif40]q [sw9]int g0/0/1 [sw9-GigabitEthernet0/0/1]undo shutdown [sw9-GigabitEthernet0/0/1]port link-type trunk [sw9-port-group-trunk]port trunk allow-pass vlan all [sw9-port-group-trunk]q [sw9]int g0/0/2 [sw9-GigabitEthernet0/0/2]port link-type trunk [sw9-GigabitEthernet0/0/2]port trunk allow-pass vlan all [sw9-GigabitEthernet0/0/2]undo shutdown [sw9-GigabitEthernet0/0/2]q [sw9]rip [sw9-rip-1]version 2 [sw9-rip-1]network 192.168.30.0 [sw9-rip-1]network 192.168.40.0 [sw9-rip-1]network 192.168.50.0 五,Sw6配置(sw6.9、6.8、6.7trunk) [sw6]vlan batch 10 20 30 50 [sw6-GigabitEthernet0/0/3]undo shutdown [sw6-GigabitEthernet0/0/3]port link-type trunk [sw6-GigabitEthernet0/0/3]port trunk allow-pass vlan all [sw6-GigabitEthernet0/0/3]q [sw6]int g0/0/4 [sw6-GigabitEthernet0/0/4]port link-type trunk [sw6-GigabitEthernet0/0/4]port trunk allow-pass vlan all [sw6-GigabitEthernet0/0/4]undo shutdown [sw6-GigabitEthernet0/0/4]q [sw6]int vlan 10 [sw6-Vlanif10]ip add 192.168.10.254 24 [sw6-Vlanif10]undo shutdown [sw6-Vlanif10]q [sw6]int vlan 20 [sw6-Vlanif20]und shutdown Info: Interface Vlanif20 is not shutdown. [sw6-Vlanif20]ip add 192.168.20.254 24 [sw6-Vlanif20]q [sw6]int g0/0/5 [sw6-GigabitEthernet0/0/5]port link-type access [sw6-GigabitEthernet0/0/5]port link-type trunk [sw6-GigabitEthernet0/0/5]port trunk allow-pass vlan all [sw6-GigabitEthernet0/0/5]q [sw6-GigabitEthernet0/0/5]undo shutdown [sw6]int g0/0/1 [sw6-GigabitEthernet0/0/1]port link-type access [sw6-GigabitEthernet0/0/1]port default vlan 30 [sw6-GigabitEthernet0/0/1]undo shutdown [sw6-GigabitEthernet0/0/1]q [sw6]int g0/0/2 [sw6-GigabitEthernet0/0/2]undo shutdown [sw6-GigabitEthernet0/0/2]port link-type access [sw6-GigabitEthernet0/0/2]port default vlan 30 [sw6]int vlan 50 [sw6-Vlanif50]undo shutdown [sw6-Vlanif50]ip add 192.168.50.1 255.255.255.0 [sw6]rip [sw6-rip-1]ver [sw6-rip-1]version 2 [sw6-rip-1]network 192.168.10.0 [sw6-rip-1]network 192.168.20.0 [sw6-rip-1]network 192.168.30.0 [sw6-rip-1]network 192.168.50.0 六.全网互通 |
相关文章推荐
- acl,trunk,vlan,rip的应用以及服务器的搭建
- 华为系列交换机日志服务器的搭建
- pip高级使用技巧以及搭建自己的pypi服务器
- MQTT服务器APOLLO搭建测试以及花生壳映射
- Android中FTP服务器、客户端搭建以及SwiFTP、ftp4j介绍
- ubuntu11.10搭建tftp服务器以及在开发板上使用tftp
- RHEL5搭建apache服务器全过程(六)增量备份以及iptables
- centos6中搭建svn服务器以及相关权限配置
- 交换机环境下实现同vlan不能互通却都能访问服务器的两种方法
- 搭建简单FTP服务器以及过程中容易遇到的几个问题(一)
- linux下搭建SVN服务器以及遇到的常见问题解决
- 用树莓派搭建你自己的Web服务器,以及一个可以外网访问的Blog
- 【AMQP】macOS下的AMQP服务器以及PHP扩展搭建
- SVN服务器搭建和使用以及冲突解决、用户密码修改
- Mac搭建本地svn服务器,并用Cornerstone连接服务器 以及报错Permission denied处理
- 华为: rip 实现网络互通,以及acl的应用
- Centos6.5服务器环境搭建之安装Nginx以及Https访问方式的配置
- mac os 利用ssh 搭建git server服务器详细教程,以及git基本用法(上)
- web服务器简单搭建以及web虚拟主机
- nuget服务器搭建,以及如何发布一个Nuget包