Para parceiros
Este documento discute o problema que você pode enfrentar ao configurar um pacote Jumbo em um switch Nexus 5000 Series. Neste exemplo, você testa o tamanho do pacote que é transferido entre um Switch Nexus 5000 e Nexus 7000 com tamanho de pacote diferente de 64 bytes (padrão) ou um host que precisa desse requisito na rede.
Não existem requisitos específicos para este documento.
As informações neste documento se baseiam nessas séries de switches Nexus
Nexus 5020
NX-OS versão 4.1(3)N2(1a)
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Consulte as Convenções de Dicas Técnicas da Cisco para obter mais informações sobre convenções de documentos.
A perda de pacotes pode ocorrer entre dois switches Nexus 5000 ou entre um switch Nexus 5000 e Nexus 7000 Series.
Ao fazer ping em um host com o tamanho do pacote de 9216 bytes, você pode ver uma perda de pacote de 50%.
Nexus-5000#ping 172.16.0.1 packet-size 9216 c 20 PING 172.16.0.1 (172.16.0.1): 9216 data bytes 9224 bytes from 172.16.0.1: icmp_seq=0 ttl=254 time=6.094 ms Request 1 timed out 9224 bytes from 172.16.0.1: icmp_seq=2 ttl=254 time=5.507 ms Request 3 timed out 9224 bytes from 172.16.0.1: icmp_seq=4 ttl=254 time=5.529 ms Request 5 timed out 9224 bytes from 172.16.0.1: icmp_seq=6 ttl=254 time=10.09 ms Request 7 timed out 9224 bytes from 172.16.0.1: icmp_seq=8 ttl=254 time=5.597 ms Request 9 timed out 9224 bytes from 172.16.0.1: icmp_seq=10 ttl=254 time=5.497 ms Request 11 timed out 9224 bytes from 172.16.0.1: icmp_seq=12 ttl=254 time=5.491 ms Request 13 timed out 9224 bytes from 172.16.0.1: icmp_seq=14 ttl=254 time=5.555 ms Request 15 timed out 9224 bytes from 172.16.0.1: icmp_seq=16 ttl=254 time=6.021 ms Request 17 timed out 9224 bytes from 172.16.0.1: icmp_seq=18 ttl=254 time=5.51 ms --- 172.16.0.1 ping statistics --- 20 packets transmitted, 10 packets received, 50.00% packet loss round-trip min/avg/max = 5.491/6.089/10.09 ms
Se um pacote Jumbo tiver que atravessar um Nexus 5020 e um Nexus 7010, você precisará configurar o Policy-map no Nexus 5020 e definir o tamanho do jumbomtu do sistema no Switch Nexus 7010 Series.
Conclua estes passos para configurar o mapa de políticas no Nexus 5020:
Nexus-5020 |
---|
!--- You can enable the Jumbo MTU !--- for the whole switch by setting the MTU !--- to its maximum size (9216 bytes) in !--- the policy map for the default !--- Ethernet system class (class-default). switch(config)#policy-map type network-qos jumbo switch(config-pmap-nq)#class type network-qos class-default switch(config-pmap-c-nq)#mtu 9216 switch(config-pmap-c-nq)#exit switch(config-pmap-nq)#exit switch(config)#system qos switch(config-sys-qos)#service-policy type network-qos jumbo |
Consulte o Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 4.2(1)N1(1) para obter mais informações.
Conclua estes passos para definir o quadro jumbo em um Switch Nexus 7010:
Nexus-7010 |
---|
!--- Set the MTU to its maximum !--- size (9216 bytes) in order !--- to enable the Jumbo MTU !--- for the whole switch. switch(config)#system jumbomtu 9216 !--- Set the MTU specification for an interface. switch(config)#interface ethernet x/x !--- By default, Cisco NX-OS configures Layer 3 parameters. In order to configure Layer 2 parameters, use this command. switch(config-if)#switchport switch(config-if)#mtu 9216 switch(config-if)#exit |
Para verificar, você pode fazer ping com um tamanho de pacote superior a 1500 bytes: Ping -l 9000 x.x.x
Você também pode executar o comando show interface ethernet port/slot para verificar se o quadro Jumbo está definido.
No Nexus 5000, insira o comando show queuing interface ethernet 1/1:
Nexus5000# show queuing interface ethernet 1/1 Ethernet1/1 queuing information: TX Queuing qos-group sched-type oper-bandwidth 0 WRR 50 1 WRR 50 RX Queuing qos-group 0 q-size: 243200, HW MTU: 9280 (9216 configured)
No Nexus 7000, insira o comando show interface ethernet 1/9:
Nexus-7010#show interface ethernet 1/9 Ethernet1/9 is up Hardware: 10000 Ethernet, address: 0000.0000.0000 (bia 0000.0000.0000) MTU 9216 bytes, BW 10000000 Kbit, DLY 10 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA Port mode is access full-duplex, 10 Gb/s, media type is 10g Beacon is turned off Auto-Negotiation is turned off Input flow-control is off, output flow-control is off Rate mode is dedicated Switchport monitor is off Last link flapped 00:57:24 Last clearing of "show interface" counters 00:56:14 30 seconds input rate 0 bits/sec, 0 packets/sec 30 seconds output rate 360 bits/sec, 0 packets/sec Load-Interval #2: 5 minute (300 seconds) input rate 0 bps, 0 pps; output rate 448 bps, 0 pps RX 5894254 unicast packets 0 multicast packets 0 broadcast packets 5894254 input packets 29108950332 bytes 0 jumbo packets 0 storm suppression packets 0 runts 0 giants 0 CRC 0 no buffer 0 input error 0 short frame 0 overrun 0 underrun 0 ignored 0 watchdog 0 bad etype drop 0 bad proto drop 0 if down drop 0 input with dribble 0 input discard 0 Rx pause TX 5894228 unicast packets 2225 multicast packets 0 broadcast packets 5896453 output packets 29109001641 bytes 0 jumbo packets 0 output error 0 collision 0 deferred 0 late collision 0 lost carrier 0 no carrier 0 babble 0 Tx pause 0 interface resets
Observação: o contador Jumbo no Nexus 7000 Series não é suportado e os quadros Tx e Rx mostram um valor nulo, mas se você observar o tamanho da MTU, ele exibirá o quadro Jumbo configurado.
Atualmente, não existem informações disponíveis específicas sobre Troubleshooting para esta configuração.
Revisão | Data de publicação | Comentários |
---|---|---|
1.0 |
03-Dec-2015 |
Versão inicial |