问题 填空题

如图1所示,一台Cisco 3500系列交换机上连接2台计算机,它们分别划分在VLAN10(ID号为10)和VLAN1(ID号为11)中。交换机的千兆位以太网端口(g0/1)连接一台路由器,使2个VLAN之间能够通信,交换机管理地址为167.11.45.2/24,默认路由地址为167.11.45.1/24。

请阅读以下交换机的配置信息,并补充[8]~[12]空白处的配置命令或参数,按题目要求完成交换机的配置(注:填写答案时,配置语句的关键字要求拼写完整)。

Switch-3548>enabel

Password:***********

Switch-3548#

Switch-3548# configure terminal

Switch-lib(config)# hostname Switch-lib

Switch-lib(config)# interface vlan 1

Switch-lib(config-if)# no shutdown

Switch-lib(config-if)# ip address (8) //配置交换机管理地址

Switch-lib(config-if)# exit

Switch-lib(config)# ip default-gateway 167.11.45.1

Switch-lib(config)# vtp domain lib

Switch-lib(config)# vtp mode transparent

Switch-lib(config)# exit

Switch-lib# vlan data

Switch-lib(vlan)# vlan (9) //建立VLAN10

… //建立VLAN11(省略)

Switch-lib(vlan)# exit

Switch-lib# configure terminal

Switch-lib(config)# interface f0/1

Switch-lib(config-if)# no shutdown

Switch-lib(config-if)# switchport (10) //为端口f0/1分配VLAN

Switch-lib(config-if)# exit

Switch-lib(config)# interface g0/1

Switch-lib(config-if)# switchport (11) //设置VLAN Trunk模式

Switch-lib(config-if)# switchport trunk encapsulation dotlq

Switch-lib(config-if)# switchport trunk (12) //配置允许中继的VLAN

Switch-lib(config-if)# exit

Switch-lib(config)# exit

Switch-lib#

11()

答案

参考答案:mode trunk

解析:

进入端口配置模式后,可以使用switchport modetruck语句设置VLAN的Trunk模式。

单项选择题 案例分析题
单项选择题

You really do have to wonder whether a few years from now we’ll look back at the first decade of the 21st century—when food prices spiked, energy prices soared, world population surged, tornados plowed through cities, floods and droughts set records, populations were displaced and governments were threatened by the confluence of it all—and ask ourselves. What were we thinking How did we not panic when the evidence was so obvious that we’d crossed some growth, climate, natural resource and population redlines all at once "The only answer can be denial," argues Paul Gilding, an Australian environmentalist, in a new book called The Great Disruption. "When you are surrounded by something so big that requires you to change everything about the way you think and see the world, then denial is the natural response. But the longer we wait, the bigger the response required."

Gilding cites the work of the Global Footprint Network, an alliance of scientists, which calculates how many "planet Earths" we need to sustain our current growth rates. G. F. N. measures how much land and water area we need to produce the resources we consume and absorb our waste, using prevailing technology. On the whole, says G. F. N. , we are currently growing at a rate that is using up the Earth’s resources far faster than they can be sustainably replenished, so we are eating into the future.

This is not science fiction. This is what happens when our system of growth and the system of nature hit the wall at once. We are now using so many resources and putting out so much waste into the Earth that we have reached some kind of limit, given current technologies. The economy is going to have to get smaller in terms of physical impact.

We will not change systems, though, without a crisis. But don’t worry, we’re getting there. We’re currently caught in two loops: One is that more population growth and more global warming together are pushing up food prices, causing political instability in the Middle East, which leads to higher oil prices, thus to higher food prices and more instability. At the same time, improved productivity means fewer people are needed in every factory to produce more stuff. So if we want to have more jobs, we need more factories. More factories making more stuff make more global warming, and that is where the two loops meet.

But Gilding is actually an eco-optimist. As the impact o the imminent Great Disruption hits us, he says, "our response will be proportionally dramatic, mobilizing as we do in war. We will change at a scale and speed we can barely imagine today, completely transforming our economy, including our energy and transport industries, in just a few short decades. " We will realize, he predicts, that the consumer-driven growth model is broken and we have to move to a more happiness-driven growth model, based on people working less and owning less.

The G. F.N. scientists()

A. have overstated the sustainability of the earth

B. are ignorant of the serious situation the earth faces

C. are overconfident about the role of current technology

D. issue a warning message about the sustainability of the earth