09-24-2007 11:13 AM - edited 03-05-2019 06:40 PM
I'd like to know if is it possible to verify a traffic in a subinterface of a port-channel.
When I perform a show int portx.x the traffic is the same of the original port-channel
csco-dist-bnu01#sh interfaces port-channel 24
Port-channel24 is up, line protocol is up (connected)
Hardware is EtherChannel, address is 001a.302b.8fc0 (bia 001a.302b.8fc0)
Description: AGG: CONEXAO CISCO SW-SRV-BNU01 Po24
MTU 1500 bytes, BW 2000000 Kbit, DLY 10 usec,
reliability 255/255, txload 7/255, rxload 4/255
Encapsulation 802.1Q Virtual LAN, Vlan ID 1., loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/s
input flow-control is off, output flow-control is off
Members in this channel: Gi5/1 Gi6/1
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters 3d03h
Input queue: 0/75/226/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
30 second input rate 35956000 bits/sec, 12621 packets/sec
30 second output rate 62460000 bits/sec, 12637 packets/sec
L2 Switched: ucast: 0 pkt, 0 bytes - mcast: 0 pkt, 0 bytes
L3 in Switched: ucast: 0 pkt, 0 bytes - mcast: 0 pkt, 0 bytes mcast
L3 out Switched: ucast: 0 pkt, 0 bytes mcast: 0 pkt, 0 bytes
2671995130 packets input, 872035144522 bytes, 0 no buffer
Received 2829256 broadcasts (5231 IP multicasts)
0 runts, 881 giants, 8 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 0 multicast, 0 pause input
0 input packets with dribble condition detected
2674646627 packets output, 1684498475854 bytes, 0 underruns
0 output errors, 0 collisions, 0 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
csco-dist-bnu01#sh interfaces port-channel 24.101
Port-channel24.101 is up, line protocol is up (connected)
Hardware is EtherChannel, address is 001a.302b.8fc0 (bia 001a.302b.8fc0)
Description: CLIENTE:
Internet address is X.X.X.X/30
MTU 1500 bytes, BW 2000000 Kbit, DLY 10 usec,
reliability 255/255, txload 7/255, rxload 4/255
Encapsulation 802.1Q Virtual LAN, Vlan ID 101.
ARP type: ARPA, ARP Timeout 04:00:00
0 packets input, 0 bytes
0 packets output, 0 bytes
csco-dist-bnu01#
09-24-2007 12:55 PM
Hi Alexandre
I might have misunderstood your question but are you asking how to view the individual interfaces within a port-channel ?
If so
switch# sh etherchannel summary
This will show you the etherchannels and the individual ports/interfaces with each etherchannel. You can then run
sh int "interface"
on the individual interfaces.
Hope this has answered your question
Jon
09-24-2007 12:59 PM
Hi Jon,
I'd like to know how much traffic is passing on a subinterface of a portchannel.
If you see the show commands they only show the traffic on the main port-channel
09-24-2007 01:01 PM
Hi
What do you mean by "subinterface" ?
Jon
09-24-2007 03:23 PM
2960#show ether sum
Flags: D - down P - in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
Number of channel-groups in use: 6
Number of aggregators: 6
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(SU) - Gi0/21(P) Gi0/22(P) Gi0/23(P)
Gi0/24(P)
2 Po2(SU) - Gi0/1(P) Gi0/2(P)
3 Po3(SD) - Gi0/3(D) Gi0/4(D)
4 Po4(SD) - Gi0/5(D) Gi0/6(D)
5 Po5(SD) - Gi0/7(D) Gi0/8(D)
6 Po6(SD) - Gi0/9(D) Gi0/10(D)
2960#show int gi0/1 | inc sec
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
Keepalive set (10 sec)
30 second input rate 548982000 bits/sec, 45760 packets/sec
30 second output rate 14256000 bits/sec, 26982 packets/sec
2960G-E#show int po2 | inc sec
MTU 1500 bytes, BW 2000000 Kbit, DLY 10 usec,
30 second input rate 1069103000 bits/sec, 89112 packets/sec
30 second output rate 27796000 bits/sec, 52549 packets/sec
2960#
09-24-2007 08:19 PM
Collected from your output:
Members in this channel: Gi5/1 Gi6/1
If you want to know how much each interface is consuming, type:
show int g5/1
show int g6/1
HTH,
09-25-2007 12:12 AM
I am curious what po24.101 is.
It appears to be a completely separate portchannel, considering it has a separate vlan ID and appearing to be a routed interface while po24 appears to be L2.
Can you explain that a bit further? My understanding about the naming scheme of port-channels may be more limited than I thought and I believe that channel-groups could only include integers.
This raises other questions/research subjects for myself: Are you trying to see individual VLAN (vlan 101) traffic that passes over a specific port channel rather than find the physical interface (gi5/1 & gi6/1) throughput?
09-25-2007 02:55 AM
Hi Keith
On the old 4006 switches you used to see this sort of configuration. Basically to set up inter-vlan routing you had a port-channel that was a link between the switch and the router within the 4006 chassis.
So with 4500/6500 you would
1) Create vlan at layer 2 ie
vlan 101
2) Create layer 3 SVI for the routing
interface vlan 101
ip address 192.168.5.1 255.255.255.0
no shut
On a 4006 you
1) Create vlan at layer 2
set vlan 101
2) Configure port-channel with vlan ID
interface po1.101
encapsulation dot1q
ip address 192.168.5.1 255.255.255.0
You have to use the vlan ID ie 101 as the subinterface.
It's really routing on a stick and it was a kind of halfway house before the later switches to be able to do inter-vlan routing on the switch.
I have only ever come across it on 4006 switches but it may be applicable on other switches.
It does raise a good question as you say.
Alexandre, could you be more specific as to what you are trying to find out ?
Jon
09-25-2007 01:37 PM
Thanks Jon
.... but now I'm confused even more!
Mind you, I only have CatOS experience through 2948s. His show interface call gives IOS responses, not what I am familiar with regarding the (2948) CatOS. So, with the information you provided, his po24.101 is thoroughly grinding me.
Perhaps the OP will saunter back in eventually and provide some insight.
09-25-2007 01:48 PM
Ignore. I guess I get it. All my portchannels on the 6500 are set to switchports, so they do not allow sub-ints.
To the OP, no idea! Sorry.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: