View Global IPv6 Information

View and manage general IPv6 information.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. Display IPv6 information for an interface:

    show ipv6 interface [gigabitethernet {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}] [loopback <1-256>][tunnel <1–2000>][vlan <1-4059>] [vrf WORD<1–16>] [vrfids WORD<0-512>]

  3. Display IPv6 tunnel information:

    show ipv6 interface tunnel <1-2000>

  4. Display IPv6 address information for the specified slot and port:

    show ipv6 address interface gigabitethernet {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]} [vrf WORD<1–16>] [vrfids WORD<0-512>]

  5. Display IPv6 address information for the specified IPv6 address:

    show ipv6 address interface ip WORD<0-46> [vrf WORD<1–16>] [vrfids WORD<0-512>]

  6. Display IPv6 address information for the specified tunnel:

    show ipv6 address interface tunnel <1–2000>

  7. Display IPv6 address information for the specified VLAN:

    show ipv6 address interface vlan <1-4059>

  8. Display the current state of IPv6 forwarding:

    show ipv6 forwarding [vrf WORD<1–16>] [vrfids WORD<0-512>]

  9. Display information on the current state of IPv6 functionality:

    show ipv6 global [vrf WORD<1–16>] [vrfids WORD<0-512>]

  10. Display IPv6 Gigabit Ethernet (GbE) router advertisement information:

    show ipv6 nd interface gigabitethernet [{slot/port[-slot/port][,...]}]

  11. Display IPv6 Gigabit Ethernet (GbE) router advertisement information:

    show ipv6 nd interface gigabitethernet [{slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}]

  12. Display IPv6 VLAN router advertisement information:

    show ipv6 nd interface vlan [<1-4059>]

  13. Display detailed information in IPv6 router advertisements:

    show ipv6 nd-prefix detail [vrf WORD<1–16> | vrfids WORD<0–512>]

  14. Display GbE interface information in IPv6 router advertisements:

    show ipv6 nd-prefix interface gigabitethernet [{slot/port[-slot/port][,...]}]

  15. Display GbE interface information in IPv6 router advertisements:

    show ipv6 nd-prefix interface gigabitethernet [{slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}]

  16. Display VLAN interface information in IPv6 router advertisements:

    show ipv6 nd-prefix interface vlan [<1-4059>]

  17. Display VLAN information in IPv6 router advertisements:

    show ipv6 nd-prefix vlan <1-4059>

  18. Display IPv6 neighbor entries with specific brouter port numbers:

    show ipv6 neighbor interface gigabitethernet {slot/port[/sub-port]}

  19. Display IPv6 neighbor information for neighbors of the specified type:

    show ipv6 neighbor type <1–4>

  20. Display IPv6 neighbor information:

    show ipv6 neighbor [WORD<0-46>]

Examples

Switch:1(config)#show ipv6 interface vlan

===========================================================================================================================
                                             Vlan Ipv6 Interface
===========================================================================================================================
IFINDX VLAN PHYSICAL          ADMIN   OPER  TYPE  MTU  HOP REACHABLE   RETRANSMIT  MCAST    IPSEC    RPC      RPCMODE
INDX        ADDRESS           STATE   STATE            LMT TIME        TIME        STATUS
---------------------------------------------------------------------------------------------------------------------------
2070   22   e4:5d:52:3c:65:02 disable down  ETHER 1500 64  30000       1000        disable  disable  disable  existonly

===========================================================================================================================
                               Vlan Ipv6 Address
===========================================================================================================================
IPV6 ADDRESS                            VLAN-ID      TYPE    ORIGIN    STATUS
---------------------------------------------------------------------------------------------------------------------------
fe80:0:0:0:e65d:52ff:fe3c:6502          V-22         UNICAST LINKLAYER INACCESSIBLE

1 out of 2 Total Num of Interface Entries displayed.
1 out of 2 Total Num of Address Entries displayed.
Switch:1#show ipv6 interface tunnel

========================================================================================================
                                  Tunnel Ipv6 Interface - GlobalRouter
========================================================================================================
IF   Descr         VLAN PHYSICAL          ADMIN   OPER  TYPE  MTU  HOP REACHABLE   RETRANSMIT  MCAST   
INDX                    ADDRESS           STATE   STATE            LMT TIME        TIME        STATUS 
--------------------------------------------------------------------------------------------------------
6656 T-1           0    n/a               enable  down  P2P   1280 64  30000       1000        disable

====================================================================================================
                              Tunnel Ipv6 Address
====================================================================================================
IPV6 ADDRESS                            TUNNEL-ID    TYPE    ORIGIN    STATUS   
----------------------------------------------------------------------------------------------------
11:0:0:0:0:0:11:11/32                        T-1          UNICAST MANUAL    INACCESSIBLE INF      INF      
fe80:0:0:0:0:0:b0b:b0b/64                    T-1          UNICAST LINKLAYER INACCESSIBLE INF      INF      

1 out of 5 Total Num of Interface Entries displayed.
2 out of 9 Total Num of Address Entries displayed.
Switch:1#show ipv6 address interface tunnel 2

==========================================================================================
                                   Address Information
==========================================================================================
IPV6 ADDRESS/PREFIX LENGTH                   VID/BID/TID  TYPE    ORIGIN    STATUS
------------------------------------------------------------------------------------------
44:211:0:0:0:0:0:2/64                        T-2          UNICAST MANUAL    PREFERRED
fe80:0:0:0:0:0:d301:3702/64                  T-2          UNICAST LINKLAYER PREFERRED

2 out of 407 Total Num of Address Entries displayed.
Switch:1#show ipv6 address interface vlan 100

==========================================================================================
                                   Address Information
==========================================================================================
IPV6 ADDRESS/PREFIX LENGTH                   VID/BID/TID  TYPE    ORIGIN    STATUS
------------------------------------------------------------------------------------------
10:1:50:0:0:0:0:7/64                         V-100        UNICAST MANUAL    PREFERRED
fe80:0:0:0:b2ad:aaff:fe46:f19a/64            V-100        UNICAST LINKLAYER PREFERRED

2 out of 407 Total Num of Address Entries displayed.
Switch:1#show ipv6 forwarding
        Ipv6 forwarding - GlobalRouter : enable
        ecmp                           : disable
        ecmp-max-path                  : 1
Switch:1#show ipv6 global
================================================================================
                     IPv6 Global Information - GlobalRouter
================================================================================
	forwarding                     : disable
	default-hop-cnt                : 64
	number-of-interfaces           : 1
	icmp-error-interval            : 1000
	icmp-error-quota               : 50
	icmp-unreach-msg               : disable
	icmp-addr-unreach-msg          : enable
	icmp-port-unreach-msg          : enable
	icmp-echo-multicast-request    : enable
	static-route-admin-status      : enable
	alternative-route              : enable
	ecmp                           : disable
	ecmp-max-path                  : 1
	source-route                   : disable
	host-autoconfig                : disable
Switch:1#show ipv6 nd interface vlan

======================================================================================================
                                      Vlan Ipv6 Nd - GlobalRouter
======================================================================================================
IFID VLAN   RTR-ADV MAX-INT MIN-INT LIFETIME MANAG OTHER DAD-NS MTU     HOP
REACHABLE RETRANSMIT   
                                             FLAG  CONF                 LIMIT
TIME      TIME         
------------------------------------------------------------------------------------------------------
2092  V-44  True    600     200     1800     False False 1      0(d)    64(d)  30000(i)  1000(i)      
2081  V-33  True    600     200     1800     False False 1      0(d)    64(d)  30000(i)  1000(i)  

Note:  (s) = Set, (d) = Default, (i) = inherit.

2 out of 2 Total Num of Ipv6 ND Entries displayed.
Switch:1#show ipv6 nd-prefix interface gigabitethernet

====================================================================================
                              Port Ipv6 Nd Prefix
====================================================================================
INTF  IPV6                                           BTR   VALID       PREF     EUI
INDEX ADDRESS/PREFIX                                       LIFE        LIFE
------------------------------------------------------------------------------------
344   2011:beef:4004:0:0:0:0:0/64     	               5/25   2592000    604800 1

1 out of 9 Total Num of Ipv6 ND prefix Entries displayed.

Switch:1#show ipv6 nd-prefix interface vlan

====================================================================================
                              Vlan Ipv6 Nd Prefix
====================================================================================
INTF  IPV6                                           VLAN  VALID       PREF EUI
INDEX ADDRESS/PREFIX                                 ID    LIFE        LIFE
------------------------------------------------------------------------------------
2148  2011:beef:100:0:0:0:0:0/64                     100   2592000     604800 1
2158  2011:beef:110:0:0:0:0:0/64                     110   2592000     604800 1
2248  2011:beef:200:0:0:0:0:0/64                     200   2592000     604800 1
2258  2011:beef:210:0:0:0:0:0/48                     210   2592000     604800 1
2548  2011:beef:500:0:0:0:0:0/64                     500   2592000     604800 1
2648  2011:beef:600:0:0:0:0:0/64                     600   2592000     604800 1
2948  2011:beef:900:0:0:0:0:0/64                     900   2592000     604800 1

7 out of 9 Total Num of Ipv6 ND prefix Entries displayed.
Switch:1#show ipv6 nd-prefix vlan 100

================================================================================
                         Nd-Prefix Address Information
================================================================================
INTF  IPV6                                           VLAN  VALID    PREF     EUI
INDEX ADDRESS/PREFIX                                 ID    LIFE     LIFE
--------------------------------------------------------------------------------
2148  2011:beef:100:0:0:0:0:0/64                     100   2592000  604800   1
--------------------------------------------------------------------------------
Legend: EUI: eui-not-used(1), eui-used-with-ul-complement(2)eui-used-without-ul-complement(3)
Switch:1#show ipv6 neighbor type 4

==============================================================================================================
                                     Neighbor Information - GlobalRouter
==============================================================================================================
NET ADDRESS/                             IPV6   PHYS         TYPE    STATE      LAST               TUNNEL            
PHYSICAL ADDRESS                         INTF   INTF                            UPD                    
--------------------------------------------------------------------------------------------------------------
123:0:0:0:0:0:0:123/                     C-1    cpp          LOCAL   REACHABLE  0 days 00h:00m:01s                      
    00:00:00:00:00:01                             
--------------------------------------------------------------------------------------------------------------

1 out of 1 Total Num of Neighbor Entries displayed.
Switch:1(config)#show ipv6 neighbor

==============================================================================================================                              
                                     Neighbor Information - GlobalRouter
==============================================================================================================
NET ADDRESS/                             IPV6   PHYS         TYPE    STATE      LAST               TUNNEL            
PHYSICAL ADDRESS                         INTF   INTF                            UPD                    
--------------------------------------------------------------------------------------------------------------
22:0:0:0:0:0:0:22/                       V-22   1/2          DYNAMIC REACHABLE  0 days 00h:00m:01s                    
    84:83:71:49:38:82                             
22:0:0:0:0:0:0:44/                       V-22   cpp          LOCAL   REACHABLE  0 days 00h:00m:00s                     
    d4:ea:0e:c8:8c:81                             
fe80:0:0:0:8683:71ff:fe49:3882/          V-22   1/2          DYNAMIC DELAY      0 days 00h:00m:00s                    
    84:83:71:49:38:82                             
fe80:0:0:0:d6ea:eff:fec8:8c81/           V-22   cpp          LOCAL   REACHABLE  0 days 00h:00m:00s                    
    d4:ea:0e:c8:8c:81                             
--------------------------------------------------------------------------------------------------------------

Variable Definitions

Use the data in the following table to use the show ipv6 commands.

Variable

Value

address interface ip WORD<0-46>

Specifies the IPv6 address.

neighbor [WORD<0-46>]

Specifies the IPv6 address of the neighbor.

loopback <1-256>

Specifies the loopback interface ID value. If you do not specify a value, the output includes all IPv6 loopback interfaces.

{slot/port[/sub-port][-slot/port[/sub-port]][,...]}

Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

type <1–4>

Specifies the neighbor type as one of the following:

  • 1 - other

  • 2 - dynamic

  • 3 - static

  • 4 - local

tunnel <1–2000>

Specifies the tunnel ID.

vlan <1-4059>

Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.

vrfWORD<1–16>

Specifies the VRF name.

vrfidsWORD<1–256>

Specifies the VRF ID.