rfcv 发表于 2013-11-5 09:24:21

思科路由器端口汇聚配置

端口汇聚配置实验环境设备C3691

R1#show ip interface
FastEthernet0/0 is administratively down,line protocol is down
Internet protocol processing disabled
FastEthernet0/1 is administratively down,line protocol is down
Internet protocol processing disabled
R1#config
Configuring from terminal, memory, ornetwork ?
Enter configuration commands, one perline. End with CNTL/Z.
R1(config)#interface f0/0
R1(config-if)#ip address 192.168.1.1255.255.255.0
R1(config-if)#end
R1#show ?
R1#?
R1#tunnel ?
WORD Address or hostname of a remote system

R1#config
Configuring from terminal, memory, ornetwork ?
Enter configuration commands, one perline. End with CNTL/Z.
R1(config)#
R1(config)#interface ?
R1(config)#interface port-channel ?
<1-64> Port-channelinterface number

R1(config)#interface port-channel 1
R1(config-if)#?
R1(config-if)#ip address 192.168.23.1 ?
A.B.C.D IP subnet mask

R1(config-if)#ip address 192.168.23.1255.255.255.0
R1(config-if)#?
R1(config-if)#exit
R1(config)#interface range ?
FastEthernet FastEthernet IEEE802.3
Port-channel Ethernet Channel ofinterfaces
macro macro keyword

R1(config)#interface range f ?
<0-6> FastEthernetinterface number

R1(config)#interface range f0?
/

R1(config)#interface range f0/1?
. : <0-1>

R1(config)#interface range f0/0 ?
, comma
- hyphen


R1(config)#interface range f0/0 - ?
<1-1005> last portnumber or vlan interface in port-range
FastEthernet FastEthernet IEEE802.3
Port-channel Ethernet Channel ofinterfaces

R1(config)#interface range f0/0 - 1
R1(config-if-range)#?
R1(config-if-range)#channel-group ?
<1-64> Channel group number

R1(config-if-range)#channel-group 1 ?


R1(config-if-range)#channel-group 1
Error: The Etherchannel members can nothave IP address

R1(config-if-range)#no ip address
R1(config-if-range)#channel-group 1
Interface already configured inPort-Channel-1.

R1(config-if-range)# end
R1#copy running start

R1#show runn inter port 1
Building configuration...

Current configuration : 89 bytes
!
interface Port-channel1
ipaddress 192.168.23.1 255.255.255.0
hold-queue 300 in
end
对端设备的配置
R2#config
Configuring from terminal, memory, ornetwork ?
Enter configuration commands, one perline. End with CNTL/Z.
R2(config)#inter por 1
R2(config-if)#ip add 192.168.23.2255.255.255.0
R2(config-if)#exit
R2(config)#interface range f0/0 - 1
R2(config-if-range)#no ip address
R2(config-if-range)#channel-group 1
R2(config-if-range)#exit
R2(config)#end
R2#copy runn sta
Destination filename ?
Warning: Attempting to overwrite an NVRAMconfiguration previously written
by a different version of the system image.
Overwrite the previous NVRAMconfiguration?
Building configuration...

R2#show runn ?
brief configuration withoutcertificate data
class-map Show class-mapinformation
full full configuration
interface Show interfaceconfiguration
linenum Display line numbersin output
map-class Show map classinformation
policy-map Show policy-mapinformation
| Output modifiers


R2#show runn inter port-channel 1
Building configuration...

Current configuration : 89 bytes
!
interface Port-channel1
ipaddress 192.168.23.2 255.255.255.0
hold-queue 300 in
end

R2#

上都海奶茶馆 发表于 2013-11-22 15:54:24

我本非随便的人,但如果你想随便,那我就随你的便好啦!

zhangxinba 发表于 2013-12-4 18:37:31

要怎么证明,你的亲吻真的残忍.

jericho0702 发表于 2013-12-11 06:24:14

花花世界丶原来不是曾经想的{那么简单}

198211401182 发表于 2013-12-15 03:33:12

既然不爱我就该放开我,何必还要苦苦纠缠

xcl9900 发表于 2013-12-17 06:39:22

究竟是拥有更难还是舍弃更让人痛心,经历过才知道

jonvi 发表于 2013-12-20 03:37:52

谢谢楼主,共同发展
页: [1]
查看完整版本: 思科路由器端口汇聚配置