terça-feira, 21 de julho de 2015

Jumbo-frame em Nexus



Para habilitar jumbo-frame nos Nexus o procedimento é um pouco diferente do que na família Catalyst, principalmente nos NK5000 pois ele não é configurado diretamente na interface, e sim via criação de policy-map:

#### NK5000 #####

Nexus-5000#(config)#policy-map type network-qos jumbo
Nexus-5000#(config-pmap-nq)#class type network-qos class-default
Nexus-5000#(config-pmap-c-nq)#mtu 9216
Nexus-5000#(config-pmap-c-nq)#exit
Nexus-5000#(config-pmap-nq)#exit
Nexus-5000#(config)#system qos
Nexus-5000#(config-sys-qos)#service-policy type network-qos jumbo

#### NK 7000 ####

Nexus-7000#(config)#system jumbomtu 9216
Nexus-7000#(config)#interface ethernet x/x
Nexus-7000#(config-if)#switchport
Nexus-7000#(config-if)#mtu 9216
Nexus-7000#(config-if)#exit

teste:

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

Para verificar se os pacotes estão passando como jumbo:

Nexus-5000#sh interface | i jumbo
    6282476388 jumbo packets  0 storm suppression bytes
    973464292 jumbo packets
    50449832929 jumbo packets  0 storm suppression bytes
    4438885746 jumbo packets
    20209137901 jumbo packets  0 storm suppression bytes
    59089087 jumbo packets
    393291611 jumbo packets  0 storm suppression bytes
    294686869 jumbo packets
    0 jumbo packets  0 storm suppression bytes
    6928598 jumbo packets  0 storm suppression bytes
    5583553 jumbo packets
    0 jumbo packets  0 storm suppression bytes
    0 jumbo packets
    0 jumbo packets  0 storm suppression bytes
    0 jumbo packets
    104706 jumbo packets  0 storm suppression bytes
    1267230 jumbo packets
    0 jumbo packets  0 storm suppression bytes
    0 jumbo packets
    60106784 jumbo packets  0 storm suppression bytes
    1880458521 jumbo packets
    21217692 jumbo packets  0 storm suppression bytes
    141464559 jumbo packets
    0 jumbo packets  0 storm suppression bytes
    0 jumbo packets
    1771459 jumbo packets  0 storm suppression bytes
    29358557 jumbo packets
    0 jumbo packets  0 storm suppression bytes
    0 jumbo packets
    0 jumbo packets  0 storm suppression bytes
    0 jumbo packets
    341143701 jumbo packets  0 storm suppression bytes
    1116766050 jumbo packets
    0 jumbo packets  0 storm suppression bytes
    0 jumbo packets
    0 jumbo packets  0 storm suppression bytes
    0 jumbo packets
    0 jumbo packets  0 storm suppression bytes
    1076318737 jumbo packets  0 storm suppression bytes
    8500007349 jumbo packets
    79183564 jumbo packets  0 storm suppression bytes
    4459855 jumbo packets
    0 jumbo packets  0 storm suppression bytes
    336104 jumbo packets
    43565271083 jumbo packets  0 storm suppression bytes
    13412518838 jumbo packets
    778580427 jumbo packets  0 storm suppression bytes
    1989775948 jumbo packets
    2520815039 jumbo packets  0 storm suppression bytes


Abraços

Nenhum comentário:

Postar um comentário