Skip to main content


思科路由器端口汇聚配置

2013-11-05 00:04 浏览:

端口汇聚配置

实验环境设备C3691

160925291.png

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 [terminal]?

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 [terminal]?

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

<cr>

 

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 ?

<cr>

 

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 [terminal]?

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 [startup-config]?

Warning: Attempting to overwrite an NVRAMconfiguration previously written

by a different version of the system image.

Overwrite the previous NVRAMconfiguration?[confirm]

Building configuration...

[OK]

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

<cr>

 

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#

相关文章

【思科】VRRP热备路由协议实验

2014-08-25 01:48:22    浏览: 71

cisco 2960如何保存配置到本地,适用其他思科路由

2014-06-29 01:09:49    浏览: 184

思科默认路由以及浮动路由

2014-04-26 23:36:01    浏览: 163

Cisco SAS 基础

2014-03-03 00:20:56    浏览: 153

cisco路由器密码恢复

2014-02-28 00:35:52    浏览: 152