Displaying IPv6 Global Information

After configuring and enabling IPv6 in your network, you can use various show commands to view IPv6 information.
Before entering the commands in this task, you must have IPv6 enabled and configured in your network.

You can display output for the following global IPv6 parameters:

  • IPv6 cache
  • IPv6 interfaces
  • IPv6 neighbors
  • IPv6 route table
  • IPv6 TCP connections and the status of individual connections
  • IPv6 traffic statistics
Note: The following steps can be used in any order. For more details about the fields displayed in the output and other options for some of the commands, refer to the RUCKUS FastIron Command Reference.
  1. To display general IPv6 interface information, enter the show ipv6 interface command.
    device> show ipv6 interface
    
    Routing Protocols : R - RIP  O - OSPF
    Interface           Status        Routing    Global Unicast Address
    Ethernet 1/3/3      down/down     R
    Ethernet 1/3/5      down/down
    Ethernet 1/3/17     up/up                    2017::c017:101/64
    Ethernet 1/3/19     up/up                    2019::c019:101/64
    VE 4                down/down
    VE 14               up/up                    2024::c060:101/64
    Loopback 1          up/up                             ::1/128
    Loopback 2          up/up                    2005::303:303/128
    Loopback 3          up/up
    
  2. To display detailed information for a specific interface, use the show ipv6 interface with specific interface options.
    device> show ipv6 interface ethernet 1/3/1
    
    Interface Ethernet 1/3/1 is up, line protocol is up
      IPv6 is enabled, link-local address is fe80::2e0:52ff:fe99:97
      Global unicast address(es):
      Joined group address(es):
        ff02::9
        ff02::1:ff99:9700
        ff02::2
        ff02::1
      MTU is 1500 bytes
      ICMP redirects are enabled
      ND DAD is enabled, number of DAD attempts: 3
      ND reachable time is 30 seconds
      ND advertised reachable time is 0 seconds
      ND retransmit interval is 1 seconds
      ND advertised retransmit interval is 0 seconds
      ND router advertisements are sent every 200 seconds
      ND router advertisements live for 1800 seconds
      No Inbound Access List Set
      No Outbound Access List Set
      RIP enabled
    In this example, detailed information is displayed for the Ethernet interface 1/3/1.
  3. To display the IPv6 neighbor table, enter the show ipv6 neighbor command.
    device(config)# show ipv6 neighbor
    
    Total number of Neighbor entries: 3
    IPv6 Address              LinkLayer-Addr  State       Age   Port      vlan  IsR
    2001:DB8::55              0000.0002.0002  *REACH      0     e 1/3/11  -     0
    2000:4::110               0000.0091.bb37  REACH       20    e 1/3/1   5     1
    fe80::2e0:52ff:fe91:bb37  0000.0091.bb37  DELAY       1     e 1/3/2   4     1
    fe80::2e0:52ff:fe91:bb40  0000.0091.bb40  STALE       5930  e 1/3/3   5     1
    
  4. To display IPv6 cache information, use the show ipv6 cache command.
    device> show ipv6 cache
    
    Total number of cache entries: 10
        IPv6 Address                  Next Hop                      Port
    1   2001:DB8::2                   LOCAL                         tunnel 2
    2   2001:DB8::106                 LOCAL                         ethe 1/3/2
    3   2001:DB8::110                 DIRECT                        ethe 1/3/2
    4   2001:DB8:46a::1               LOCAL                         ethe 1/3/2
    5   2001:DB8::2e0:52ff:fe99:9737  LOCAL                         ethe 1/3/2
    6   2001:DB8::ffff:ffff:feff:ffff LOCAL                         loopback 2
    7   2001:DB8::c0a8:46a            LOCAL                         tunnel 2
    8   2001:DB8::c0a8:46a            LOCAL                         tunnel 6
    9   2001:DB8::1                   LOCAL                         loopback 2
    10  2001:DB8::2e0:52ff:fe99:9700  LOCAL                         ethe 1/3/1
    
    Other options are available to display detailed IPv6 cache information for a specific interface.
  5. To display the IPv6 route table, use the show ipv6 route command.
    device> show ipv6 route
    
    IPv6 Routing Table - 7 entries:
    Type Codes:  C - Connected, S - Static, R - RIP, O - OSPF, B - BGP
    OSPF Sub Type Codes: O - Intra, Oi - Inter, O1 - Type1 external, O2 - Type2 external
    Type  IPv6 Prefix             Next Hop Router           Interface     Dis/Metric
    C     2000:4::/64               ::                      ethe 1/3/2    0/0
    S     2001:DB8::/16             ::                      tunnel 6      1/1
    S     2001:DB8:1234::/32        ::                      tunnel 6      1/1
    C     2001:DB8:46a::/64         ::                      ethe 1/3/2    0/0
    C     2001:DB8::1/128           ::                      loopback 2    0/0
    O     2001:DB8::2/128       fe80::2e0:52ff:fe91:bb37    ethe 1/3/2    110/1
    C     2001:DB8::/64             ::                      tunnel 2      0/0
    
    Other options are available to display detailed information for a specific IPv6 address, IPv6 prefix, or a specific routing protocol.
  6. To display general information about each TCP connection on the router, use the show ipv6 tcp connections command.
    device> show ipv6 tcp connections
    
    Local IP address:port <-> Remote IP address:port TCP state
    10.168.182.110:23 <->    10.168.8.186:4933     ESTABLISHED
    10.168.182.110:8218 <->  10.168.182.106:179    ESTABLISHED
    10.168.182.110:8039 <->  10.168.2.119:179      SYN-SENT
    10.168.182.110:8159 <->  10.168.2.102:179      SYN-SENT
    2000:4::110:179 <->       2000:4::106:8222       ESTABLISHED (1440)
    Total 5 TCP connections
    TCP MEMORY USAGE PERCENTAGE
    FREE TCP = 98 percent
    FREE TCP QUEUE BUFFER = 99 percent
    FREE TCP SEND BUFFER = 97 percent
    FREE TCP RECEIVE BUFFER = 100 percent
    FREE TCP OUT OF SEQUENCE BUFFER = 100 percent
    This example displays general information about each TCP connection on the router, including the percentage of free memory for each of the internal TCP buffers. Other options are available to display detailed information for a specific TCP connection.
  7. To display IPv6 traffic statistics, use the show ipv6 traffic command.
    device> show ipv6 traffic
    
    IP6 Statistics
      36947 received, 66818 sent, 0 forwarded, 36867 delivered, 0 rawout
      0 bad vers, 23 bad scope, 0 bad options, 0 too many hdr
      0 no route, 0 can not forward, 0 redirect sent
      0 frag recv, 0 frag dropped, 0 frag timeout, 0 frag overflow
      0 reassembled, 0 fragmented, 0 ofragments, 0 can not frag
      0 too short, 0 too small, 11 not member
      0 no buffer, 66819 allocated, 21769 freed
      0 forward cache hit, 46 forward cache miss
    ICMP6 Statistics
    Received:
      0 dest unreach, 0 pkt too big, 0 time exceeded, 0 param prob
      2 echo req, 1 echo reply, 0 mem query, 0 mem report, 0 mem red
      0 router soli, 2393 router adv, 106 nei soli, 3700 nei adv, 0 redirect
      0 bad code, 0 too short, 0 bad checksum, 0 bad len
      0 reflect, 0 nd toomany opt, 0 badhopcount
    Sent:
      0 dest unreach, 0 pkt too big, 0 time exceeded, 0 param prob
      1 echo req, 2 echo reply, 0 mem query, 0 mem report, 0 mem red
      0 router soli, 2423 router adv, 3754 nei soli, 102 nei adv, 0 redirect
      0 error, 0 can not send error, 0 too freq
    Sent Errors:
      0 unreach no route, 0 admin, 0 beyond scope, 0 address, 0 no port
      0 pkt too big, 0 time exceed transit, 0 time exceed reassembly
      0 param problem header, 0 nextheader, 0 option, 0 redirect, 0 unknown
    UDP Statistics
      470 received, 7851 sent, 6 no port, 0 input errors
    TCP Statistics
      57913 active opens, 0 passive opens, 57882 failed attempts
      159 active resets, 0 passive resets, 0 input errors
      565189 in segments, 618152 out segments, 171337 retransmission

The following sample output displays the IPv6 traffic statistics.

device> show ipv6 traffic

IP6 Statistics
  9423729 received, 34650 sent, 0 forwarded
  0 filtered, 0 fragmented, 0 reassembled, 0 bad header
  0 no route, 0 unknown proto, 0 no buffer, 2477 other errors
ICMP6 Statistics
Received:
  2 total, 0 errors, 0 unreachable, 0 time exceed
  0 parameter, 0 source quench, 0 redirect, 0 echo,
  2 echo reply, 0 timestamp, 0 timestamp reply, 0 addr mask
  0 addr mask reply, 0 irdp advertisement, 0 irdp solicitation
Sent:
  29 total, 0 errors, 18 unreachable, 0 time exceed
  0 parameter, 0 source quench, 0 redirect, 11 echo,
  0 echo reply, 0 timestamp, 0 timestamp reply, 0 addr mask
  0 addr mask reply, 0 irdp advertisement, 0 irdp solicitation
 
UDP Statistics
  528301 received, 75777 sent, 1091 no port, 0 input errors, 0 no data
 
TCP Statistics
  0 active opens, 0 passive opens, 0 failed attempts
  1662 active resets, 0 passive resets, 0 input errors
  1662 in segments, 0 out segments, 0 retransmission
  0 in connections requests, 4 out connections requests, 0 connections established,
  0 acks, 0  duplicate acks, 0 duplicate bytes
  0 bad checksum, 0 no checksum, 0 invalid header length
  0 illegal TCP MSS option length, 0 illegal option, 0 minimum TCP header, 0 invalid segment