阅读以下说明,回答问题1至问题4,将解答填入答题纸对应的解答栏内。 【说明】 某企业的网络拓扑结构如图4一1所示。 由于该企业路由设备数量较少,为提高路由效率,要求为该企业构建基于静态路由的多层安全交换网络。根据要求创建4个VLAN分别属

admin2016-09-08  23

问题 阅读以下说明,回答问题1至问题4,将解答填入答题纸对应的解答栏内。
【说明】
    某企业的网络拓扑结构如图4一1所示。

    由于该企业路由设备数量较少,为提高路由效率,要求为该企业构建基于静态路由的多层安全交换网络。根据要求创建4个VLAN分别属于网管中心、生产部、销售部以及研发中心,各部门的VLAN号及lP地址规划如图4一1所示。该企业网采用三层交换机Switch一core为核心交换机,Switch一core与网管中心交换机Switchl和研发中心交换机Switch4采用三层连接,Switch一core与生产部交换机Switch2及销售部交换机Switch3采用二层互联。
    各交换机之间的连接以及接口IP地址如表4一1所示。

为确保研发中心网络的稳定性,在现有条件下尽量保证带宽,要求实现核心交换机Switch一core与研发中心交换机Switch4的三层端口聚合,然后通过静态路由进行连接。
根据需求,完成或解释以下配置命令。
(1)继续配置核心交换机Switch一core
    Switch一core#config terminal
    Switch一core(config)#interface port一channel  10    //
(12)
Switch一core(config一if)#no  switchport
Switch一core(config一if)#ip address(13)
Switch一core(config一if)#no  shutdown
Switch一core(一config一if)#exit
Switch一core(config)#interface range  fastIEthernet0/1一4    //选择配置的物理
    接口
Switch一core(config一if一range)#no  switchport
Switch一core(config一if一range)#no ip address  //确保该物理接口没有指定的IP地址
Switch一core(config一if一range)#switchport    //改变该端口为2层接口
Switch一core(config一if一range)#channel一group  10 mode on    //(14)
Switch一core(config一if一range)#no  shutdown
Switch一core(config一if一range)#exit
Switch一core(config)#ip route  192.168.40.0  255.255.255.0  192.168.102.2
(2)配置研发中心交换机Switch4
Switch4#config terminal
Switch4(config)#interface port一channel  10
Switch4(config一if)#no  switchport
Switch4(config一if)#ip address(15)
Switch4(config一if)#no  shutdown
Switch4(config一if)#exit
Switch4(config)#interface range fastEthernet0/1一4    //选择配置的物理接口
Switch4(config一if一range)#no switchport
Switch4(config一if一range)#no  ip address
Switch4(config一if一range)#no shutdown
Switch4(config一if一range)#exit
Switch4(config)(16)//配置默认路由
Switch4(config)#vlan 40
Switch4(config一vlan)#name yfl0
Switch4(config一vlan)#exit
Switch4(config)#(17)//开启该交换机的三层路由功能
Switch4(config)#interface vlan 40
Switch4(config一if)#ip  address   192.168.4C.1 255.255.255.0
Switch4(config一if)#exit
Switch4(config)#interface range.fastEthernet0/5一20
Switch4(config一if一range)#switchport mode access
    Switch4(config一if一range)#(18)//退回到特权模式
    Switch4#

选项

答案(12)创建编号为10的port一channel接口 (13)192.168.102.1 255.255.255.0 (14)分配接口并指定PAgP模式 (15)192.168.102.2 255.255.255.0 (16)ip route 0.0.0.0 0.0.0.0 192.168.102.1 (17)ip routing (18)end或Ctrl+Z

解析 本问题主要考查冗余链路汇聚的相关配置知识。(1)继续配置核心交换机Switch一core
    Switch一core#config terminal
    Switch一core(config)#interface port一channel  10
    //创建编号为10的port一channel接口
    Switch一core(config一if)#no  switchport
    //关闭二层交换功能,启用三层路由模式
    Switch一core(config一if)#ip address  192.168.102.1  255.255.255.0
    //为该接口分配IP地址和子网掩码
    Switch一core(config一if)#no  shutclown
    Switch一core(config一if)#exit
    Switch一core(config)#interface range  fastEthernet0/1一4
    //选择配置的物理接口
    Switch一core(config一if一range)#no switchport
    //关闭二层交换功能,启用三层路由模式
    Switch一core(config一if一range)#no  ip address
    //确保该物理接口没有指定的IP地址
    Switch一core(config一if一range)#switchport
    //改变该端口为2层接口
    Switch一core(config一if一range)#channel一group 10 mode on
    //分配接口并指定为PAgP模式
    Switch一core(config一if一range)#no shutdown
    Switch一core(config一if一range)#exit
Switch一core(config)#ip route  192.168.40.0  255.255.255.0  192.168.102.2
//配置核心交换机到192.168.40.0网段的静态路由
(2)配置研发中心交换机Switch4
Switch4#config terminal
Switch4(config)#interface port一channel 10
//创建编号为10的port一channel接口
Switch4(config一if)#no switchport
//关闭二层交换功能,启用三层路由模式
Switch4(config一if)#ip address  192.168.102.2  255.255.255.0
//为该接口分配IP地址和子网掩码
Switch4(config一if)#no shutdown
Switch4(config一if)#exit
Switch4(config)#interface range fastEthernet0/1一4
//选择配置的物理接口范围为f0/1一4
Switch4(config一if一range)#no switchport
//关闭二层交换功能,启用三层路由模式
Switch4(config一if一range)#no  ip address
//确保该物理接口没有指定的IP地址
Switch4(config一if一range)#no shutdown
Switch4(config一if一range)#exit
Switch4(config)#  ip  route  0.0.0.0  0.0.0.()192.168.102.1
//配置默认路由
Switch4(config)#vlan 40
Switch4(config一vlan)#name  yfl0
Switch4(config一vlan)#exit
Switch4(config)#  ip routing
//开启该交换机的三层路由功能
Switch4(config)#interface vlan 40
//进入VLAN40接口
Switch4(config一if)#ip address  192.168.40.1  255.255.255.0
//配置该接口的IP地址和子网掩码
Switch4(config一if)#exit
Switch4(config)#interface  range  fastEthernet0/5一20
//选择接口范围为f0/5一20
Switch4(config一if一range)#switchport mode access
//设置端口模式为access模式
Switch4(config一if一range)#end或Ctrl+Z
//在该接口模式下使用end或Ctrl+Z可直接退回到特权模式
Switch4#
转载请注明原文地址:https://jikaoti.com/ti/mwB7FFFM
0

相关试题推荐
最新回复(0)