¿Tiene una cuenta?
En este documento se analiza el problema que puede enfrentar al configurar un paquete grande en un switch Nexus de la serie 5000. En este ejemplo, se prueba el tamaño del paquete transferido entre un switch Nexus 5000 y Nexus 7000 con un tamaño de paquete distinto de los 64 bytes (predeterminado) o un host que necesita este requisito en la red.
No hay requisitos específicos para este documento.
La información de este documento se basa en esta serie de switches Nexus
Nexus 5020
NX-OS versión 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 Convenciones de Consejos Técnicos de Cisco para obtener más información sobre las convenciones sobre documentos.
La pérdida de paquetes puede ocurrir entre dos switches Nexus 5000 o entre un switch Nexus serie 5000 y Nexus serie 7000.
Cuando hace ping a un host con el tamaño de paquete de 9216 bytes, puede ver una pérdida de paquetes del 50 por ciento.
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
Si un paquete Jumbo tiene que atravesar un Nexus 5020 y un Nexus 7010, debe configurar el Policy-map en Nexus 5020 y establecer el tamaño jumbomtu del sistema en el Nexus 7010 Series Switch.
Complete estos pasos para configurar el Policy-map en 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 Guía de Configuración de Switching de Capa 2 de Cisco Nexus serie 5000 NX-OS, Versión 4.2(1)N1(1) para obtener más información.
Complete estos pasos para configurar la trama Jumbo en un 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, puede hacer ping con un tamaño de paquete de más de 1500 bytes: Ping -l 9000 x.x.x.x
También puede ejecutar el comando show interface ethernet port/slot para verificar si la trama Jumbo está configurada.
En el Nexus 5000, ingrese el 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)
En el Nexus 7000, ingrese el 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
Nota: El contador Jumbo de la serie Nexus 7000 no se soporta y las tramas Tx y Rx muestran un valor nulo, pero si nota el tamaño de MTU muestra la trama Jumbo configurada.
Actualmente, no hay información específica de troubleshooting disponible para esta configuración.
Revisión | Fecha de publicación | Comentarios |
---|---|---|
1.0 |
03-Dec-2015 |
Versión inicial |