哦,不好意思忘了,现在补上- IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA11, RELEASE SOFTWARE (fc2)
- Copyright (c) 1986-2008 by cisco Systems, Inc.
- Compiled Tue 08-Jan-08 10:50 by amvarma
- Image text-base: 0x80010000, data-base: 0x80570000
- ROM: Bootstrap program is C2950 boot loader
- sw_wolf uptime is 3 hours, 23 minutes
- System returned to ROM by power-on
- System image file is "flash:/c2950-i6q4l2-mz.121-22.EA11.bin"
复制代码 ROS用的就是原来置顶那个2.9.27
ROS:- [wolf@wolf_ros2927] interface bonding> /int eth pr
- Flags: X - disabled, R - running
- # NAME MTU MAC-ADDRESS ARP
- 0 R Ethernet2/1 1500 00:08:C7:08:91:20 enabled
- 1 R Ethernet2/2 1500 00:08:C7:08:91:21 enabled
- 2 R ;;; B1-R-2270,SY_2270_ME60(00:18:82:41:9D:28)
- Ethernet0/1 1500 00:E0:00:04:55:EB enabled
- [wolf@wolf_ros2927] interface bonding>
复制代码 其中Ethernet2/1和2/2是准备做802.3ad的口,接在2950的fa0/17和fa0/18上- Flags: X - disabled, R - running
- 0 R name="bonding1" mtu=1500 mac-address=00:08:C7:08:91:20 arp=enabled
- slaves=Ethernet2/1,Ethernet2/2 mode=802.3ad primary=none link-monitoring=none
- arp-interval=100ms mii-interval=100ms down-delay=0s up-delay=0s lacp-rate=30secs
复制代码 这是bonding口设置
2950:- interface FastEthernet0/17
- channel-group 6 mode active
- channel-protocol lacp
- spanning-tree portfast
- !
复制代码- sw_wolf#sh etherchannel detail
- Channel-group listing:
- ----------------------
- Group: 6
- ----------
- Group state = L2
- Ports: 1 Maxports = 16
- Port-channels: 1 Max Port-channels = 16
- Protocol: LACP
- Ports in the group:
- -------------------
- Port: Fa0/17
- ------------
- Port state = Up Mstr In-Bndl
- Channel group = 6 Mode = Active Gcchange = -
- Port-channel = Po6 GC = - Pseudo port-channel = Po6
- Port index = 0 Load = 0x00 Protocol = LACP
- Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs.
- A - Device is in active mode. P - Device is in passive mode.
- Local information:
- LACP port Admin Oper Port Port
- Port Flags State Priority Key Key Number State
- Fa0/17 SA bndl 32768 0x6 0x6 0x11 0xD
- Partner's information:
- LACP port Oper Port Port
- Port Flags Priority Dev ID Age Key Number State
- Fa0/17 SA 255 0008.c708.9120 18s 0x9 0x1 0x45
- Age of the port in the current state: 0d:00h:00m:14s
- Port-channels in the group:
- ---------------------------
- Port-channel: Po6 (Primary Aggregator)
- ------------
- Age of the Port-channel = 0d:00h:11m:16s
- Logical slot/port = 1/0 Number of ports = 1
- HotStandBy port = null
- Port state = Port-channel Ag-Inuse
- Protocol = LACP
- Ports in the Port-channel:
- Index Load Port EC state No of bits
- ------+------+------+------------------+-----------
- 0 00 Fa0/17 Active 0
- Time since last port bundled: 0d:00h:00m:16s Fa0/17
- Time since last port Un-bundled: 0d:00h:00m:18s Fa0/17
- sw_wolf#
复制代码- sw_wolf#sh int f0/17
- FastEthernet0/17 is up, line protocol is down (notconnect)
- Hardware is Fast Ethernet, address is 0009.7cd4.11d1 (bia 0009.7cd4.11d1)
- MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
- reliability 255/255, txload 1/255, rxload 1/255
- Encapsulation ARPA, loopback not set
- Keepalive set (10 sec)
- Full-duplex, 100Mb/s, media type is 100BaseTX
- input flow-control is unsupported output flow-control is unsupported
- ARP type: ARPA, ARP Timeout 04:00:00
- Last input 00:00:04, output 00:00:01, output hang never
- Last clearing of "show interface" counters never
- Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
- Queueing strategy: fifo
- Output queue: 0/40 (size/max)
- 5 minute input rate 0 bits/sec, 0 packets/sec
- 5 minute output rate 0 bits/sec, 0 packets/sec
- 132 packets input, 14084 bytes, 0 no buffer
- Received 132 broadcasts (94 multicast)
- 0 runts, 0 giants, 0 throttles
- 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
- 0 watchdog, 94 multicast, 0 pause input
- 0 input packets with dribble condition detected
- 221 packets output, 23358 bytes, 0 underruns
- 0 output errors, 0 collisions, 7 interface resets
- 0 babbles, 0 late collision, 0 deferred
- 0 lost carrier, 0 no carrier, 0 PAUSE output
- 0 output buffer failures, 0 output buffers swapped out
- sw_wolf#
复制代码- sw_wolf#sh int port-channel 6
- Port-channel6 is down, line protocol is down (notconnect)
- Hardware is EtherChannel, address is 0009.7cd4.11d1 (bia 0009.7cd4.11d1)
- MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
- reliability 255/255, txload 1/255, rxload 1/255
- Encapsulation ARPA, loopback not set
- Auto-duplex, Auto-speed, media type is unknown media type
- input flow-control is off, output flow-control is off
- ARP type: ARPA, ARP Timeout 04:00:00
- Last input never, output never, output hang never
- Last clearing of "show interface" counters never
- Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
- Queueing strategy: fifo
- Output queue: 0/40 (size/max)
- 5 minute input rate 0 bits/sec, 0 packets/sec
- 5 minute output rate 0 bits/sec, 0 packets/sec
- 32 packets input, 2912 bytes, 0 no buffer
- Received 32 broadcasts (16 multicast)
- 0 runts, 0 giants, 0 throttles
- 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
- 0 watchdog, 16 multicast, 0 pause input
- 0 input packets with dribble condition detected
- 99 packets output, 10560 bytes, 0 underruns
- 0 output errors, 0 collisions, 1 interface resets
- 0 babbles, 0 late collision, 0 deferred
- 0 lost carrier, 0 no carrier, 0 PAUSE output
- 0 output buffer failures, 0 output buffers swapped out
- sw_wolf#
复制代码 |