Use this command to determine whether another computer is on the network. To use the command, configure the switch for network (in-band) connection. The source and target devices must have the ping utility enabled and running on top of TCP/IP. The switch can be pinged from any IP workstation with which the switch is connected through the default VLAN (VLAN 1), as long as there is a physical path between the switch and the workstation. The terminal interface sends three pings to the target station. Use the interface keyword to ping an interface by using the link-local address or the global IPv6 address of the interface. You can use a loopback, tunnel, or logical interface as the source. Use the optional size keyword to specify the size of the ping packet. The <ipv6-address> is the IPv6 address of the device you want to query.
|
Format
|
ping ipv6 interface {<slot/port> | tunnel <tunnel-id>} | loopback <loopback-id>} {link-local-address <link-local-address> | <ipv6-address>} [size <datagram-size>]
|
|
Mode
|
Privileged EXEC
User Exec
|
traceroute ipv6
Use this command to discover the routes that packets actually take when traveling to their destination through the network on a hop-by-hop basis. The <ipv6-address> parameter must be a valid IPv6 address. The optional <port> parameter is the UDP port used as the destination of packets sent as part of the traceroute. This port should be an unused port on the destination system. The range for <port> is 0 (zero) to 65535.The default value is 33434.
|
Format
|
traceroute ipv6 <ipv6-address> [<port>]
|
|
Mode
|
Privileged EXEC
|
show ipv6 brief
Use this command to display the IPv6 status of forwarding mode and IPv6 unicast routing mode.
|
Format
|
show ipv6 brief
|
|
Mode
|
Privileged EXEC
|
TABLE 5-3
|
Entry
|
Definition
|
|
IPv6 Forwarding Mode
|
Shows whether the IPv6 forwarding mode is enabled.
|
|
IPv6 Unicast Routing Mode
|
Shows whether the IPv6 unicast routing mode is enabled.
|
show ipv6 interface
Use this command to show the usability status of IPv6 interfaces.
|
Format
|
show ipv6 interface {brief | <slot/port>}
|
|
Mode
|
Privileged EXEC
|
If you use the brief parameter, the following information displays for all configured IPv6 interfaces.
TABLE 5-4 Entry Definitions for show ipv6 interface
|
Entry
|
Definition
|
|
Interface
|
Shows the interface in slot/port format.
|
|
IPv6 Routing Operational Mode
|
Shows whether the mode is enabled or disabled.
|
|
IPv6 Address/Length
|
Shows the IPv6 address and length on interfaces with IPv6 enabled.
If you specify an interface, the following information also appears.
|
|
IPv6 is enabled
|
Appears if IPv6 is enabled on the interface.
|
|
Routing Mode
|
Shows whether IPv6 routing is enabled or disabled.
|
|
Administrative Mode
|
Shows whether the interface administrative mode is enabled or disabled.
|
|
Interface Maximum Transmission Unit
|
Shows the MTU size, in bytes.
|
|
Router Duplicate Address Detection Transmits
|
Shows the number of consecutive duplicate address detection probes to transmit.
|
|
Router Advertisement NS Interval
|
Shows the interval, in milliseconds, between router advertisements for advertised neighbor solicitations.
|
|
Router Lifetime Interval
|
Shows the router lifetime value of the interface in router advertisements.
|
|
Router Advertisement Reachable Time
|
Shows the amount of time, in milliseconds, to consider a neighbor reachable after neighbor discovery confirmation.
|
|
Router Advertisement Interval
|
Shows the frequency, in seconds, that router advertisements are sent.
|
|
Router Advertisement Managed Config Flag
|
Shows whether the managed configuration flag is set (enabled) for router advertisements on this interface.
|
|
Router Advertisement Other Config Flag
|
Shows whether the other configuration flag is set (enabled) for router advertisements on this interface.
|
|
Router Advertisement Suppress Flag
|
Shows whether router advertisements are suppressed (enabled) or sent (disabled). If an IPv6 prefix is configured on the interface, the following information also appears.
|
|
IFPv6 Prefix is
|
Shows the IPv6 prefix for the specified interface.
|
|
Preferred Lifetime
|
Shows the amount of time the advertised prefix is a preferred prefix.
|
|
Valid Lifetime
|
Shows the amount of time the advertised prefix is valid.
|
|
Onlink Flag
|
Shows whether the onlink flag is set (enabled) in the prefix.
|
|
Autonomous Flag
|
Shows whether the autonomous address-configuration flag (autoconfig) is set (enabled) in the prefix.
|
show ipv6 neighbor
Use this command to display information about the IPv6 neighbors.
|
Format
|
show ipv6 neighbor
|
|
Mode
|
Privileged EXEC
|
TABLE 5-5 Entry Definitions for show ipv6 neighbor
|
Entry
|
Definition
|
|
Interface
|
Shows the interface in slot/port format.
|
|
IPv6 Address
|
IPV6 address of neighbor or interface
|
|
MAC Address
|
Link-layer Address
|
|
IsRtr
|
Shows whether the neighbor is a router. If the value is TRUE, the neighbor is known to be a router, and FALSE otherwise. A value of FALSE might not mean Note that routers are not always known to be routers.
|
|
Neighbor State
|
State of neighbor cache entry. Possible values are Incomplete, Reachable, Stale, Delay, Probe, and Unknown.
|
|
Last Updated
|
Shows the system uptime when the information for the neighbor was last updated.
|
clear ipv6 neighbors
Use this command to clear all entries IPv6 neighbor table or an entry on a specific interface. Use the <slot/port> parameter to specify the interface.
|
Format
|
clear ipv6 neighbors [<slot/port>]
|
|
Mode
|
Privileged EXEC
|
show ipv6 route
This command displays the IPv6 routing table.
- The <ipv6-address> specifies a specific IPv6 address for which the best-matching route would be displayed.
- The <ipv6-prefix/ipv6-prefix-length> specifies a specific IPv6 network for which the matching route would be displayed.
- The <interface> specifies that the routes with next-hops on the <interface> be displayed.
- The <protocol> specifies the protocol that installed the routes.
- The <protocol> is one of the following keywords: connected, ospf, static.
- The all specifies that all routes including best and non-best routes are displayed. Otherwise, only the best routes are displayed.
| Note - If you use the connected keyword for <protocol>, the all option is not available because there are no best or non-best connected routes.
|
|
Format
|
show ipv6 route [{<ipv6-address> [<protocol>] | {{<ipv6-prefix/ipv6-prefix-length> | <unit/slot/port>} [<protocol>] | <protocol> | summary} [all] | all}]
|
|
Modes
|
Privileged EXEC
User EXEC
|
|
Route Codes
|
Displays the key for the routing protocol codes that might appear in the routing table output.
|
The show ipv6 route command displays the routing tables in the following format:
Codes: C - connected, S - static
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF Ext 1, OE2 - OSPF Ext 2
ON1 - OSPF NSSA Ext Type 1, ON2 - OSPF NSSA Ext Type 2
|
The columns for the routing table display the following information.
TABLE 5-6 Entry Definitions for show ipv6 route
|
Entry
|
Definition
|
|
Code
|
The code for the routing protocol that created this routing entry.
|
|
IPv6-Prefix/ IPv6-Prefix-Length
|
The IPv6-Prefix and prefix-length of the destination IPv6 network corresponding to this route.
|
|
Preference/ Metric
|
The administrative distance (preference) and cost (metric) associated with this route. An example of this output is [1/0], where 1 is the preference and 0 is the metric.
|
|
Tag
|
Displays the decimal value of the tag associated with a redistributed route, if it is not 0.
|
|
Next-Hop
|
The outgoing router IPv6 address to use when forwarding traffic to the next router (if any) in the path toward the destination
|
|
Interface
|
The outgoing router interface to use when forwarding traffic to the next destnation.
|
show ipv6 route preferences
Use this command to show the preference value associated with the type of route. Lower numbers have a greater preference. A route with a preference of 255 cannot be used to forward traffic.
|
Format
|
show ipv6 route preferences
|
|
Mode
|
Privileged EXEC
|
TABLE 5-7 Entry Definitions for show ipv6 route preferences
|
Entry
|
Definition
|
|
Local
|
Preference of directly-connected routes.
|
|
Static
|
Preference of static routes.
|
|
OSPF Intra
|
Preference of routes within the OSPF area.
|
|
OSPF Inter
|
Preference of routes to other OSPF routes that are outside of the area.
|
|
OSPF Ext T1
|
Preference of OSPF Type-1 external routes.
|
|
OSPF Ext T2
|
Preference of OSPF Type-2 external routes.
|
|
OSPF NSSA T1
|
Preference of OSPF NSSA Type 1 routes.
|
|
OSPF NSSA T2
|
Preference of OSPF NSSA Type 1 routes.
|
| Note - The configuration of NSSA preferences is not supported in this release.
|
show ipv6 route summary
This command displays the summary of the routing table. Use all to display the count summary for all routes, including best and non-best routes. Use the command without parameters to display the count summary for only the best routes.
|
Format
|
show ipv6 route summary [all]
|
|
Modes
|
Privileged EXEC
User EXEC
|
TABLE 5-8 Entry Definitions for show ipv6 route summary
|
Entry
|
Definition
|
|
Connected Routes
|
Total number of connected routes in the routing table.
|
|
Static Routes
|
Total number of static routes in the routing table.
|
|
OSPF Routes
|
Total number of routes installed by OSPFv3 protocol.
|
|
Number of Prefixes
|
Summarizes the number of routes with prefixes of different lengths
|
|
Total Routes
|
Shows the total number of routes in the routing table.
|
show ipv6 vlan
This command displays IPv6 VLAN routing interface addresses.
|
Format
|
show ipv6 vlan
|
|
Modes
|
Privileged EXEC
User EXEC
|
TABLE 5-9 Entry Definitions for show ipv6 vlan
|
Entry
|
Definition
|
|
MAC Address used by Routing VLANs
|
Shows the MAC address.
|
|
VLAN ID
|
Shows the VLAN ID of a configured VLAN.
|
|
Logical Interface
|
Shows the interface in slot/port format that is associated with the VLAN ID.
|
|
IPv6 Address/Prefix Length
|
Shows the IPv6 prefix and prefix length associated with the VLAN ID.
|
show ipv6 traffic
Use this command to show traffic and statistics for IPv6 and ICMPv6. Specify a logical, loopback, or tunnel interface to view information about traffic on a specific interface. If you do not specify an interface, the command displays information about traffic on all interfaces.
|
Format
|
show ipv6 traffic [{<slot/port> | loopback <loopback-id> | tunnel <tunnel-id>}]
|
|
Mode
|
Privileged EXEC
|
TABLE 5-10 Entry Definitions for show ipv6 traffic
|
Entry
|
Definition
|
|
Total Datagrams Received
|
Total number of input datagrams received by the interface, including those received in error.
|
|
Received Datagrams Locally Delivered
|
Total number of datagrams successfully delivered to IPv6 user-protocols (including ICMP). This counter increments at the interface to which these datagrams were addressed, which might not necessarily be the input interface for some of the datagrams.
|
|
Received Datagrams Discarded Due To Header Errors
|
Number of input datagrams discarded due to errors in their IPv6 headers, including version number mismatch, other format errors, hop count exceeded, errors discovered in processing their IPv6 options, etc.
|
|
Received Datagrams Discarded Due To MTU
|
Number of input datagrams that could not be forwarded because their size exceeded the link MTU of outgoing interface.
|
|
Received Datagrams Discarded Due To No Route
|
Number of input datagrams discarded because no route could be found to transmit them to their destination.
|
|
Received Datagrams With Unknown Protocol
|
Number of locally-addressed datagrams received successfully but discarded because of an unknown or unsupported protocol. This counter increments at the interface to which these datagrams were addressed, which might not be necessarily the input interface for some of the datagrams.
|
|
Received Datagrams Discarded Due To Invalid Address
|
Number of input datagrams discarded because the IPv6 address in their IPv6 header's destination field was not a valid address to be received at this entity. This count includes invalid addresses (for example, ::0) and unsupported addresses (for example, addresses with unallocated prefixes). For entities which are not IPv6 routers and therefore do not forward datagrams, this counter includes datagrams discarded because the destination address was not a local address.
|
|
Received Datagrams Discarded Due To Truncated Data
|
Number of input datagrams discarded because datagram frame didn't carry enough data.
|
|
Received Datagrams Discarded Other
|
Number of input IPv6 datagrams for which no problems were encountered to prevent their continue processing, but which were discarded (e.g., for lack of buffer space). Note that this counter does not include datagrams discarded while awaiting re-assembly.
|
|
Received Datagrams Reassembly Required
|
Number of IPv6 fragments received which needed to be reassembled at this interface. Note that this counter increments at the interface to which these fragments were addressed, which might not be necessarily the input interface for some of the fragments.
|
|
Datagrams Successfully Reassembled
|
Number of IPv6 datagrams successfully reassembled. Note that this counter increments at the interface to which these datagrams were addressed, which might not be necessarily the input interface for some of the fragments.
|
|
Datagrams Failed To Reassemble
|
Number of failures detected by the IPv6 reassembly algorithm (for whatever reason: timed out, errors, etc.). Note that this is not necessarily a count of discarded IPv6 fragments since some algorithms (notably the algorithm in by combining them as they are received. This counter increments at the interface to which these fragments were addressed, which might not be necessarily the input interface for some of the fragments.
|
|
Datagrams Forwarded
|
Number of output datagrams which this entity received and forwarded to their final destinations. In entities which do not act as IPv6 routers, this counter will include only those packets which were Source-Routed via this entity, and the Source-Route processing was successful. Note that for a successfully forwarded datagram the counter of the outgoing interface increments.
|
|
Datagrams Locally Transmitted
|
Total number of IPv6 datagrams which local IPv6 user-protocols (including ICMP) supplied to IPv6 in requests for transmission. Note that this counter does not include any datagrams counted in ipv6IfStatsOutForwDatagrams.
|
|
Datagrams Transmit Failed
|
Number of output IPv6 datagrams for which no problem was encountered to prevent their transmission to their destination, but which were discarded (e.g., for lack of buffer space). Note that this counter would include datagrams counted in ipv6IfStatsOutForwDatagrams if any such packets met this (discretionary) discard criterion.
|
|
Fragments Created
|
Number of output datagram fragments that have been generated as a result of fragmentation at this output interface.
|
|
Datagrams Successfully Fragmented
|
Number of IPv6 datagrams that have been successfully fragmented at this output interface.
|
|
Datagrams Failed To Fragment
|
Number of IPv6 datagrams that have been discarded because they needed to be fragmented at this output interface but could not be.
|
|
Multicast Datagrams Received
|
Number of multicast packets received by the interface.
|
|
Multicast Datagrams Transmitted
|
Number of multicast packets transmitted by the interface.
|
|
Total ICMPv6 messages received
|
Total number of ICMP messages received by the interface which includes all those counted by ipv6IfIcmpInErrors. Note that this interface is the interface to which the ICMP messages were addressed which may not be necessarily the input interface for the messages.
|
|
ICMPv6 Messages with errors
|
Number of ICMP messages which the interface received but determined as having ICMP-specific errors (bad ICMP checksums, bad length, etc.).
|
|
ICMPv6 Destination Unreachable Messages
|
Number of ICMP Destination Unreachable messages received by the interface.
|
|
ICMPv6 Messages Prohibited Administratively
|
Number of ICMP destination unreachable/communication administratively prohibited messages received by the interface.
|
|
ICMPv6 Time Exceeded Messages
|
Number of ICMP Time Exceeded messages received by the interface.
|
|
ICMPv6 Parameter Problem Messages
|
Number of ICMP Parameter Problem messages received by the interface.
|
|
ICMPv6 messages with too big packets
|
Number of ICMP Packet Too Big messages received by the interface.
|
|
ICMPv6 Echo Request Messages Received
|
Number of ICMP Echo (request) messages received by the interface.
|
|
ICMPv6 Echo Reply Messages Received
|
Number of ICMP Echo Reply messages received by the interface.
|
|
ICMPv6 Router Solicit Messages Received
|
Number of ICMP Router Solicit messages received by the interface.
|
|
ICMPv6 Router Advertisement Messages Received
|
Number of ICMP Router Advertisement messages received by the interface.
|
|
ICMPv6 Neighbor Solicit Messages Received
|
Number of ICMP Neighbor Solicit messages received by the interface.
|
|
ICMPv6 Neighbor Advertisement Messages Received
|
Number of ICMP Neighbor Advertisement messages received by the interface.
|
|
ICMPv6 Redirect Messages Received
|
Number of Redirect messages received by the interface.
|
|
Transmitted
|
Number of ICMPv6 Group Membership Query messages received by the interface.
|
|
Total ICMPv6 Messages Transmitted
|
Total number of ICMP messages which this interface attempted to send. Note that this counter includes all those counted by icmpOutErrors.
|
|
ICMPv6 Messages Not Transmitted Due To Error
|
Number of ICMP messages which this interface did not send due to problems discovered within ICMP such as a lack of buffers. This value should not include errors discovered outside the ICMP layer such as the inability of IPv6 to route the resultant datagram. In some implementations there may be no types of error which contribute to this counter's value.
|
|
ICMPv6 Destination Unreachable Messages Transmitted
|
Number of ICMP Destination Unreachable messages sent by the interface.
|
|
ICMPv6 Messages Prohibited Administratively Transmitted
|
Number of ICMP destination unreachable/communication administratively prohibited messages sent.
|
|
ICMPv6 Time Exceeded Messages Transmitted
|
Number of ICMP Time Exceeded messages sent by the interface.
|
|
ICMPv6 Parameter Problem Messages Transmitted
|
Number of ICMP Parameter Problem messages sent by the interface.
|
|
ICMPv6 Packet Too Big Messages Transmitted
|
Number of ICMP Packet Too Big messages sent by the interface.
|
|
ICMPv6 Echo Request Messages Transmitted
|
Number of ICMP Echo (request) messages sent by the interface.ICMP echo messages sent
|
|
ICMPv6 Echo Reply Messages Transmitted
|
Number of ICMP Echo Reply messages sent by the interface.
|
|
ICMPv6 Router Solicit Messages Transmitted
|
Number of ICMP Router Solicitation messages sent by the interface.
|
|
ICMPv6 Router Advertisement Messages Transmitted
|
Number of ICMP Router Advertisement messages sent by the interface.
|
|
ICMPv6 Neighbor Solicit Messages Transmitted
|
Number of ICMP Neighbor Solicitation messages sent by the interface.
|
|
ICMPv6 Neighbor Advertisement Messages Transmitted
|
Number of ICMP Neighbor Advertisement messages sent by the interface.
|
|
ICMPv6 Redirect Messages Received
|
Number of Redirect messages sent. For a host, this object will always be zero, since hosts do not send redirects.
|
|
ICMPv6 Group Membership Query Messages Received
|
Number of ICMPv6 Group Membership Query messages sent.
|
|
ICMPv6 Group Membership Response Messages Received
|
Number of ICMPv6 group Membership Response messages sent.
|
|
ICMPv6 Group Membership Reduction Messages Received
|
Number of ICMPv6 Group Membership Reduction messages sent.
|
|
ICMPv6 Duplicate Address Detects
|
Number of duplicate addresses detected by the interface
|
clear ipv6 statistics
Use this command to clear IPv6 statistics for all interfaces or for a specific interface, including loopback and tunnel interfaces. IPv6 statistics display in the output of the show ipv6 traffic command. If you do not specify an interface, the counters for all IPv6 traffic statistics reset to zero.
|
Format
|
clear ipv6 statistics [{<slot/port> | loopback <loopback-id> | tunnel <tunnel-id>}]
|
|
Mode
|
Privileged EXEC
|
OSPFv3 Commands
This section describes the commands you use to configure OSPFv3, which is a link-state routing protocol that you use to route traffic within a network.
ipv6 ospf
This command enables OSPF on a router interface or loopback interface.
|
Default
|
disabled
|
|
Format
|
ipv6 ospf
|
|
Mode
|
Interface Config
|
no ipv6 ospf
This command disables OSPF on a router interface or loopback interface.
|
Format
|
no ipv6 ospf
|
|
Mode
|
Interface Config
|
ipv6 ospf areaid
This command sets the OSPF area to which the specified router interface belongs. The <areaid> is an IPv6 address, formatted as a 4-digit dotted-decimal number or a decimal value in the range of <0-4294967295>. The <areaid> uniquely identifies the area to which the interface connects. Assigning an area id, which does not exist on an interface, causes the area to be created with default values.
|
Format
|
ipv6 ospf areaid <areaid>
|
|
Mode
|
Interface Config
|
ipv6 ospf cost
This command configures the cost on an OSPF interface. The <cost> parameter has a range of 1 to 65535.
|
Default
|
10
|
|
Format
|
ipv6 ospf cost <1-65535>
|
|
Mode
|
Interface Config
|
no ipv6 ospf cost
This command configures the default cost on an OSPF interface.
|
Format
|
no ipv6 ospf cost
|
|
Mode
|
Interface Config
|
ipv6 ospf dead-interval
This command sets the OSPF dead interval for the specified interface. The value for <seconds> is a valid positive integer, which represents the length of time in seconds that a router's Hello packets have not been seen before its neighbor routers declare that the router is down. The value for the length of time must be the same for all routers attached to a common network. This value should be some multiple of the Hello Interval (i.e. 4). Valid values range for <seconds> is from 1 to 2147483647.
|
Default
|
40
|
|
Format
|
ipv6 ospf dead-interval <seconds>
|
|
Mode
|
Interface Config
|
no ipv6 ospf dead-interval
This command sets the default OSPF dead interval for the specified interface.
|
Format
|
no ipv6 ospf dead-interval
|
|
Mode
|
Interface Config
|
ipv6 ospf hello-interval
This command sets the OSPF hello interval for the specified interface. The value for <seconds> is a valid positive integer, which represents the length of time in seconds. The value for the length of time must be the same for all routers attached to a network.
Valid values for <seconds> range from 1 to 65535.
|
Default
|
10
|
|
Format
|
ipv6 ospf hello-interval <seconds>
|
|
Mode
|
Interface Config
|
no ipv6 ospf hello-interval
This command sets the default OSPF hello interval for the specified interface.
|
Format
|
no ipv6 ospf hello-interval
|
|
Mode
|
Interface Config
|
ipv6 ospf mtu-ignore
This command disables OSPF maximum transmission unit (MTU) mismatch detection. OSPF Database Description packets specify the size of the largest IP packet that can be sent without fragmentation on the interface. When a router receives a Database Description packet, it examines the MTU advertised by the neighbor. By default, if the MTU is larger than the router can accept, the Database Description packet is rejected and the OSPF adjacency is not established.
|
Default
|
enabled
|
|
Format
|
ipv6 ospf mtu-ignore
|
|
Mode
|
Interface Config
|
no ipv6 ospf mtu-ignore
This command enables the OSPF MTU mismatch detection.
|
Format
|
no ipv6 ospf mtu-ignore
|
|
Mode
|
Interface Config
|
ipv6 ospf network
This command changes the default OSPF network type for the interface. Normally, the network type is determined from the physical IP network type. By default all Ethernet networks are OSPF type broadcast. Similarly, tunnel interfaces default to point-to-point. When an Ethernet port is used as a single large bandwidth IP network between two routers, the network type can be point-to-point since there are only two routers. Using point-to-point as the network type eliminates the overhead of the OSPF designated router election. It is normally not useful to set a tunnel to OSPF network type broadcast.
|
Default
|
broadcast
|
|
Format
|
ipv6 ospf network {broadcast | point-to-point}
|
|
Mode
|
Interface Config
|
no ipv6 ospf network
This command sets the interface type to the default value.
|
Format
|
ipv6 ospf network {broadcast | point-to-point}
|
|
Mode
|
Interface Config
|
ipv6 ospf priority
This command sets the OSPF priority for the specified router interface. The priority of the interface is a priority integer from 0 to 255. A value of 0 indicates that the router is not eligible to become the designated router on this network.
|
Default
|
1, which is the highest router priority
|
|
Format
|
ipv6 ospf priority <0-255>
|
|
Mode
|
Interface Config
|
no ipv6 ospf priority
This command sets the default OSPF priority for the specified router interface.
|
Format
|
no ipv6 ospf priority
|
|
Mode
|
Interface Config
|
ipv6 ospf retransmit-interval
This command sets the OSPF retransmit Interval for the specified interface. The retransmit interval is specified in seconds. The value for <seconds> is the number of seconds between link-state advertisement retransmissions for adjacencies belonging to this router interface. This value is also used when retransmitting database description and link-state request packets. Valid values range from 0 to 3600 (1 hour).
|
Default
|
5
|
|
Format
|
ipv6 ospf retransmit-interval <seconds>
|
|
Mode
|
Interface Config
|
no ipv6 ospf retransmit-interval
This command sets the default OSPF retransmit Interval for the specified interface.
|
Format
|
no ipv6 ospf retransmit-interval
|
|
Mode
|
Interface Config
|
ipv6 ospf transmit-delay
This command sets the OSPF Transit Delay for the specified interface. The transmit delay is specified in seconds. In addition, it sets the estimated number of seconds it takes to transmit a link state update packet over this interface. Valid values for <seconds> range from 1 to 3600 (1 hour).
|
Default
|
1
|
|
Format
|
ipv6 ospf transmit-delay <seconds>
|
|
Mode
|
Interface Config
|
no ipv6 ospf transmit-delay
This command sets the default OSPF Transit Delay for the specified interface.
|
Format
|
no ipv6 ospf transmit-delay
|
|
Mode
|
Interface Config
|
ipv6 router ospf
Use this command to enter Router OSPFv3 Config mode.
|
Format
|
router ospf
|
|
Mode
|
Global Config
|
area default-cost (OSPFv3)
This command configures the monetary default cost for the stub area. The operator must specify the area id and an integer value between 1-16777215.
|
Format
|
area <areaid> default-cost <1-16777215>
|
|
Mode
|
Router OSPFv3 Config
|
area nssa (OSPFv3)
This command configures the specified areaid to function as an NSSA.
|
Format
|
area <areaid> nssa
|
|
Mode
|
Router OSPFv3 Config
|
no area nssa
This command disables nssa from the specified area id.
|
Format
|
no area <areaid> nssa
|
|
Mode
|
Router OSPFv3 Config
|
area nssa default-info-originate (OSPFv3)
This command configures the metric value and type for the default route advertised into the NSSA. The optional metric parameter specifies the metric of the default route and is to be in a range of 1-16777214. If no metric is specified, the default value is 10. The metric type can be comparable (nssa-external 1) or non-comparable (nssa-external 2).
|
Format
|
area <areaid> nssa default-info-originate [<metric>] [{comparable | non-comparable}]
|
|
Mode
|
Router OSPFv3 Config
|
area nssa no-redistribute (OSPFv3)
This command configures the NSSA ABR so that learned external routes will not be redistributed to the NSSA.
|
Format
|
area <areaid> nssa no-redistribute
|
|
Mode
|
Router OSPFv3 Config
|
area nssa no-summary (OSPFv3)
This command configures the NSSA so that summary LSAs are not advertised into the NSSA.
|
Format
|
area <areaid> nssa no-summary
|
|
Mode
|
Router OSPFv3 Config
|
area nssa translator-role (OSPFv3)
This command configures the translator role of the NSSA. A value of always causes the router to assume the role of the translator the instant it becomes a border router and a value of candidate causes the router to participate in the translator election process when it attains border router status.
|
Format
|
area <areaid> nssa translator-role {always | candidate}
|
|
Mode
|
Router OSPFv3 Config
|
area nssa translator-stab-intv (OSPFv3)
This command configures the translator <stabilityinterval> of the NSSA. The <stabilityinterval> is the period of time that an elected translator continues to perform its duties after it determines that its translator status has been deposed by another router.
|
Format
|
area <areaid> nssa translator-stab-intv <stabilityinterval>
|
|
Mode
|
Router OSPFv3 Config
|
area range (OSPFv3)
This command creates a specified area range for a specified NSSA. The <ipaddr> is a valid IP address. The <subnetmask> is a valid subnet mask. The LSDB type must be specified by either summarylink or nssaexternallink, and the advertising of the area range can be allowed or suppressed.
|
Format
|
area <areaid> range <ipv6-prefix> <prefix-length> {summarylink | nssaexternallink} [advertise | not-advertise]
|
|
Mode
|
Router OSPFv3 Config
|
no area range
This command deletes a specified area range. The <ipaddr> is a valid IP address. The <subnetmask> is a valid subnet mask.
|
Format
|
no area <areaid> range <ipv6-prefix> <prefix-length>
|
|
Mode
|
Router OSPFv3 Config
|
area stub (OSPFv3)
This command creates a stub area for the specified area ID. A stub area is characterized by the fact that AS External LSAs are not propagated into the area. Removing AS External LSAs and Summary LSAs can significantly reduce the link state database of routers within the stub area.
|
Format
|
area <areaid> stub
|
|
Mode
|
Router OSPFv3 Config
|
no area stub
This command deletes a stub area for the specified area ID.
|
Format
|
no area <areaid> stub
|
|
Mode
|
Router OSPFv3 Config
|
area stub no-summary (OSPFv3)
This command disables the import of Summary LSAs for the stub area identified by <areaid>.
|
Default
|
enabled
|
|
Format
|
area <areaid> stub no-summary
|
|
Mode
|
Router OSPFv3 Config
|
no area stub no-summary
This command sets the Summary LSA import mode to the default for the stub area identified by <areaid>.
|
Format
|
no area <areaid> stub summarylsa
|
|
Mode
|
Router OSPFv3 Config
|
area virtual-link (OSPFv3)
This command creates the OSPF virtual interface for the specified <areaid> and <neighbor>. The <neighbor> parameter is the Router ID of the neighbor.
|
Format
|
area <areaid> virtual-link <neighbor>
|
|
Mode
|
Router OSPFv3 Config
|
no area virtual-link
This command deletes the OSPF virtual interface from the given interface, identified by <areaid> and <neighbor>. The <neighbor> parameter is the Router ID of the neighbor.
|
Format
|
no area <areaid> virtual-link <neighbor>
|
|
Mode
|
Router OSPFv3 Config
|
area virtual-link dead-interval (OSPFv3)
This command configures the dead interval for the OSPF virtual interface on the virtual interface identified by <areaid> and <neighbor>. The <neighbor> parameter is the Router ID of the neighbor. The range for <seconds> is 1 to 65535.
|
Default
|
40
|
|
Format
|
area <areaid> virtual-link <neighbor> dead-interval <seconds>
|
|
Mode
|
Router OSPFv3 Config
|
no area virtual-link dead-interval
This command configures the default dead interval for the OSPF virtual interface on the virtual interface identified by <areaid> and <neighbor>. The <neighbor> parameter is the Router ID of the neighbor.
|
Format
|
no area <areaid> virtual-link <neighbor> dead-interval
|
|
Mode
|
Router OSPFv3 Config
|
area virtual-link hello-interval (OSPFv3)
This command configures the hello interval for the OSPF virtual interface on the virtual interface identified by <areaid> and <neighbor>. The <neighbor> parameter is the Router ID of the neighbor. The range for <seconds> is 1 to 65535.
|
Default
|
10
|
|
Format
|
area <areaid> virtual-link <neighbor> hello-interval <seconds>
|
|
Mode
|
Router OSPFv3 Config
|
no area virtual-link hello-interval
This command configures the default hello interval for the OSPF virtual interface on the virtual interface identified by <areaid> and <neighbor>. The <neighbor> parameter is the Router ID of the neighbor.
|
Format
|
no area <areaid> virtual-link <neighbor> hello-interval
|
|
Mode
|
Router OSPFv3 Config
|
area virtual-link retransmit-interval (OSPFv3)
This command configures the retransmit interval for the OSPF virtual interface on the virtual interface identified by <areaid> and <neighbor>. The <neighbor> parameter is the Router ID of the neighbor. The range for <seconds> is 0 to 3600.
|
Default
|
5
|
|
Format
|
area <areaid> virtual-link <neighbor> retransmit-interval <seconds>
|
|
Mode
|
Router OSPFv3 Config
|
no area virtual-link retransmit-interval
This command configures the default retransmit interval for the OSPF virtual interface on the virtual interface identified by <areaid> and <neighbor>. The <neighbor> parameter is the Router ID of the neighbor.
|
Format
|
no area <areaid> virtual-link <neighbor> retransmit-interval
|
|
Mode
|
Router OSPFv3 Config
|
area virtual-link transmit-delay (OSPFv3)
This command configures the transmit delay for the OSPF virtual interface on the virtual interface identified by <areaid> and <neighbor>. The <neighbor> parameter is the Router ID of the neighbor. The range for <seconds> is 0 to 3600 (1 hour).
|
Default
|
1
|
|
Format
|
area <areaid> virtual-link <neighbor> transmit-delay <seconds>
|
|
Mode
|
Router OSPFv3 Config
|
no area virtual-link transmit-delay
This command configures the default transmit delay for the OSPF virtual interface on the virtual interface identified by <areaid> and <neighbor>. The <neighbor> parameter is the Router ID of the neighbor.
|
Format
|
no area <areaid> virtual-link <neighbor> transmit-delay
|
|
Mode
|
Router OSPFv3 Config
|
default-information originate (OSPFv3)
This command is used to control the advertisement of default routes.
|
Default
|
metric--unspecified
type--2
|
|
Format
|
default-information originate [always] [metric <0-16777214>] [metric-type {1 | 2}]
|
|
Mode
|
Router OSPFv3 Config
|
no default-information originate (OSPFv3)
This command is used to control the advertisement of default routes.
|
Format
|
no default-information originate [metric] [metric-type]
|
|
Mode
|
Router OSPFv3 Config
|
default-metric (OSPFv3)
This command is used to set a default for the metric of distributed routes.
|
Format
|
default-metric <1-16777214>
|
|
Mode
|
Router OSPFv3 Config
|
no default-metric (OSPFv3)
This command is used to set a default for the metric of distributed routes.
|
Format
|
no default-metric
|
|
Mode
|
Router OSPFv3 Config
|
distance ospf (OSPFv3)
This command sets the route preference value of OSPF in the router. Lower route preference values are preferred when determining the best route. The type of OSPF route can be intra, inter, type-1, or type-2. The OSPF specification (RFC 2328) requires that preferences must be given to the routes learned via OSPF in the following order: intra < inter < type-1 < type-2. The <preference> range is 1 to 255. A route with a preference of 255 cannot be used to forward traffic.
|
Default
|
intra--8
inter--10
type-1--13
type-2--50
|
|
Format
|
distance ospf {intra | inter | type1 | type2} <preference>
|
|
Mode
|
Router OSPFv3 Config
|
no distance ospf
This command sets the default route preference value of OSPF in the router. The type of OSPF route can be intra, inter, type-1, or type-2.
|
Format
|
no distance ospf {intra | inter | type1 | type2}
|
|
Mode
|
Router OSPFv3 Config
|
enable (OSPFv3)
This command resets the default administrative mode of OSPF in the router (active).
|
Default
|
enabled
|
|
Format
|
enable
|
|
Mode
|
Router OSPFv3 Config
|
no enable (OSPFv3)
This command sets the administrative mode of OSPF in the router to inactive.
|
Format
|
no enable
|
|
Mode
|
Router OSPFv3 Config
|
exit-overflow-interval (OSPFv3)
This command configures the exit overflow interval for OSPF. It describes the number of seconds after entering Overflow state that a router will wait before attempting to leave the Overflow State. This allows the router to again originate non-default AS-external-LSAs. When set to 0, the router will not leave Overflow State until restarted. The range for <seconds> is 0 to 2147483647 seconds.
|
Default
|
0
|
|
Format
|
exit-overflow-interval <seconds>
|
|
Mode
|
Router OSPFv3 Config
|
no exit-overflow-interval
This command configures the default exit overflow interval for OSPF.
|
Format
|
no exit-overflow-interval
|
|
Mode
|
Router OSPFv3 Config
|
external-lsdb-limit (OSPFv3)
This command configures the external LSDB limit for OSPF. If the value is -1, then there is no limit. When the number of non-default AS-external-LSAs in a router's link-state database reaches the external LSDB limit, the router enters overflow state. The router never holds more than the external LSDB limit non-default AS-external-LSAs in it database. The external LSDB limit MUST be set identically in all routers attached to the OSPF backbone and/or any regular OSPF area. The range for <limit> is -1 to 2147483647.
|
Default
|
-1
|
|
Format
|
external-lsdb-limit <limit>
|
|
Mode
|
Router OSPFv3 Config
|
no external-lsdb-limit
This command configures the default external LSDB limit for OSPF.
|
Format
|
no external-lsdb-limit
|
|
Mode
|
Router OSPFv3 Config
|
maximum-paths (OSPFv3)
This command sets the number of paths that OSPF can report for a given destination where maxpaths is platform dependent.
|
Default
|
4
|
|
Format
|
maximum-paths <maxpaths>
|
|
Mode
|
Router OSPFv3 Config
|
no maximum-paths
This command resets the number of paths that OSPF can report for a given destination back to its default value.
|
Format
|
no maximum-paths
|
|
Mode
|
Router OSPFv3 Config
|
redistribute (OSPFv3)
This command configures the OSPFv3 protocol to allow redistribution of routes from the specified source protocol/routers.
|
Default
|
metric--unspecified
type--2
tag--0
|
|
Format
|
redistribute {static | connected} [metric <0-16777214>] [metric-type {1 | 2}] [tag <0-4294967295>]
|
|
Mode
|
Router OSPFv3 Config
|
no redistribute
This command configures OSPF protocol to prohibit redistribution of routes from the specified source protocol/routers.
|
Format
|
no redistribute {static | connected} [metric] [metric-type] [tag]
|
|
Mode
|
Router OSPFv3 Config
|
router-id (OSPFv3)
This command sets a 4-digit dotted-decimal number uniquely identifying the router ospf id. The <ipaddress> is a configured value.
|
Format
|
router-id <ipaddress>
|
|
Mode
|
Router OSPFv3 Config
|
trapflags
This command enables OSPF traps.
|
Default
|
enabled
|
|
Format
|
trapflags
|
|
Mode
|
Router OSPFv3 Config
|
no trapflags
This command disables OSPF traps.
|
Format
|
no trapflags
|
|
Mode
|
Router OSPFv3 Config
|
show ipv6 ospf
This command displays information relevant to the OSPF router.
|
Format
|
show ipv6 ospf
|
|
Mode
|
Privileged EXEC
|
| Note - Some of the information below displays only if you enable OSPF and configure certain features.
|
TABLE 5-11 Entry Definitions for show ipv6 ospf
|
Entry
|
Definition
|
|
Router ID
|
Is a 32 bit integer in dotted decimal format identifying the router, about which information is displayed. This is a configured value.
|
|
OSPF Admin Mode
|
Shows whether the administrative mode of OSPF in the router is enabled or disabled. This is a configured value.
|
|
ASBR Mode
|
Reflects whether the ASBR mode is enabled or disabled. Enable implies that the router is an autonomous system border router. Router automatically becomes an ASBR when it is configured to redistribute routes learned from other protocol. The possible values for the ASBR status is enabled (if the router is configured to re-distribute routes learnt by other protocols) or disabled (if the router is not configured for the same).
|
|
ABR Status
|
Shows whether the router is an OSPF Area Border Router.
|
|
Exit Overflow Interval
|
Shows the number of seconds that, after entering Overflow State, a router will attempt to leave Overflow State.
|
|
External LSA Count
|
Shows the number of external (LS type 5) link-state advertisements in the link-state database.
|
|
External LSA Checksum
|
Shows the sum of the LS checksums of external link-state advertisements contained in the link-state database.
|
|
New LSAs Originated
|
Shows the number of new link-state advertisements that have been originated.
|
|
LSAs Received
|
Shows the number of link-state advertisements received determined to be new instantiations.
|
|
External LSDB Limit
|
Shows the maximum number of non-default AS-external-LSAs entries that can be stored in the link-state database.
|
|
Default Metric
|
Default value for redistributed routes.
|
|
Default Route Advertise
|
Indicates whether the default routes received from other source protocols are advertised or not
|
|
Always
|
Shows whether default routes are always advertised.
|
|
Metric
|
Shows the metric for the advertised default routes. If the metric is not configured, this field is blank.
|
|
Metric Type
|
Shows whether the routes are External Type 1 or External Type 2.
|
|
Maximum Paths
|
Shows the maximum number of paths that OSPF can report for a given destination.
|
|
Redistributing
|
This field is a heading and appears only if you configure the system to take routes learned from a non-OSPF source and advertise them to its peers.
|
|
Source
|
Shows source protocol/routes that are being redistributed. Possible values are static, connected, BGP, or RIP.
|
|
Metric
|
Shows the metric of the routes being redistributed.
|
|
Metric Type
|
Shows whether the routes are External Type 1 or External Type 2.
|
|
Tag
|
Shows the decimal value attached to each external route.
|
|
Subnets
|
For redistributing routes into OSPF, the scope of redistribution for the specified protocol.
|
|
Distribute-List
|
Shows the access list used to filter redistributed routes.
|
show ipv6 ospf area
This command displays information about the area. The <areaid> identifies the OSPF area that is being displayed.
|
Format
|
show ipv6 ospf area <areaid>
|
|
Modes
|
Privileged EXEC
User EXEC
|
TABLE 5-12 Entry Definitions for show ospf area
|
Entry
|
Definition
|
|
AreaID
|
Is the area id of the requested OSPF area.
|
|
External Routing
|
Is a number representing the external routing capabilities for this area.
|
|
Spf Runs
|
Is the number of times that the intra-area route table has been calculated using this area's link-state database.
|
|
Area Border Router Count
|
The total number of area border routers reachable within this area.
|
|
Area LSA Count
|
Total number of link-state advertisements in this area's link-state database, excluding AS External LSAs.
|
|
Area LSA Checksum
|
A number representing the Area LSA Checksum for the specified AreaID excluding the external (LS type 5) link-state advertisements.
|
|
Stub Mode
|
Represents whether the specified Area is a stub area or not. The possible values are enabled and disabled. This is a configured value.
|
|
Import Summary LSAs
|
Shows whether to import summary LSAs (enabled).
|
|
OSPF Stub Metric Value
|
Shows the metric value of the stub area. This field displays only if the area is a configured as a stub area.
The following OSPF NSSA specific information displays only if the area is configured as an NSSA.
|
|
Import Summary LSAs
|
Shows whether to import summary LSAs into the NSSA.
|
|
Redistribute into NSSA
|
Shows whether to redistribute information into the NSSA.
|
|
Default Information Originate
|
Shows whether to advertise a default route into the NSSA
|
|
Default Metric
|
Shows the metric value for the default route advertised into the NSSA.
|
|
Default Metric Type
|
Shows the metric type for the default route advertised into the NSSA.
|
|
Translator Role
|
Shows the NSSA translator role of the ABR, which is always or candidate.
|
|
Translator Stability Interval
|
Shows the amount of time that an elected translator continues to perform its duties after it determines that its translator status has been deposed by another router.
|
|
Translator State
|
Shows whether the ABR translator state is disabled, always, or elected.
|
show ipv6 ospf border-routers
This command displays ospfv3 routes to reach area border and AS border routers.
|
Format
|
show ipv6 ospf border-routers
|
|
Mode
|
Privileged EXEC
|
TABLE 5-13 Entry Definitions for show ipv6 ospf border-routers
|
Entry
|
Definition
|
|
Type
|
The type of the route to the destination, which is one of the following values:
intra - Intra-area route
inter - Inter-area route
|
|
Router ID
|
Router ID of the destination.
|
|
Cost
|
Cost of using this route.
|
|
Area ID
|
The area ID of the area from which this route is learned.
|
|
Router Type
|
The router type of the destination; it is either an ABR or ASBR or both.
|
|
Next Hop
|
Address of the next hop toward the destination.
|
|
Next Hop Intf
|
The outgoing router interface to use when forwarding traffic to the next hop.
|
show ipv6 ospf database
This command displays information about the link state database when OSPFv3 is enabled. If you do not enter any parameters, the command displays the LSA headers for all areas. Use the optional <areaid> parameter to display database information about a specific area. Use the other optional parameters to specify the type of link state advertisements to display. Use external to display the external LSAs. Use inter-area to display the inter-area LSAs. Use link to display the link LSAs. Use network to display the network LSAs. Use nssa-external to display NSSA external LSAs. Use prefix to display intra-area Prefix LSAs. Use router to display router LSAs. Use unknown area, unknown as, or unknown link to display unknown area, AS or link-scope LSAs, respectively. Use <lsid> to specify the link state ID (LSID). Use adv-router to show the LSAs that are restricted by the advertising router. Use self-originate to display the LSAs in that are self originated. The information below is only displayed if OSPF is enabled.
|
Format
|
show ipv6 ospf [<areaid>] database [{external | inter-area {prefix | router} | link | net work | nssa-external | prefix | router | unknown {area | as | link}}] [<lsid>] [{adv-router [<rtrid>] | self-originate}]
|
|
Modes
|
Privileged EXEC
User EXEC
|
For each link-type and area, the following information is displayed.
TABLE 5-14 Entry Definitions for show ipv6 ospf database
|
Entry
|
Definition
|
|
Link Id
|
Is a number that uniquely identifies an LSA that a router originates from all other self originated LSAs of the same LS type.
|
|
Adv Router
|
The Advertising Router. Is a 32 bit dotted decimal number representing the LSDB interface.
|
|
Age
|
Is a number representing the age of the link state advertisement in seconds.
|
|
Sequence
|
Is a number that represents which LSA is more recent.
|
|
Checksum
|
Is the total number LSA checksum.
|
|
Options
|
This is an integer. It indicates that the LSA receives special handling during routing calculations.
|
|
Rtr Opt
|
Router Options are valid for router links only.
|
show ipv6 ospf database database-summary
Use this command to display the number of each type of LSA in the database and the total number of LSAs in the database.
|
Format
|
show ipv6 ospf database database-summary
|
|
Modes
|
Privileged EXEC
User EXEC
|
TABLE 5-15 Entry Definitions for show ipv6 ospf database database-memory
|
Entry
|
Definition
|
|
Router
|
Total number of router LSAs in the OSPFv3 link state database.
|
|
Network
|
Total number of network LSAs in the OSPFv3 link state database.
|
|
Inter-area Prefix
|
Total number of inter-area prefix LSAs in the OSPFv3 link state database.
|
|
Inter-area Router
|
Total number of inter-area router LSAs in the OSPFv3 link state database.
|
|
Type-7 Ext
|
Total number of NSSA external LSAs in the OSPFv3 link state database.
|
|
Link
|
Total number of link LSAs in the OSPFv3 link state database.
|
|
Intra-area Prefix
|
Total number of intra-area prefix LSAs in the OSPFv3 link state database.
|
|
Link Unknown
|
Total number of link-source unknown LSAs in the OSPFv3 link state database.
|
|
Area Unknown
|
Total number of area unknown LSAs in the OSPFv3 link state database.
|
|
AS Unknown
|
Total number of as unknown LSAs in the OSPFv3 link state database.
|
|
Type-5 Ext
|
Total number of AS external LSAs in the OSPFv3 link state database.
|
|
Self-Originated Type-5
|
Total number of self originated AS external LSAs in the OSPFv3 link state database.
|
|
Total
|
Total number of router LSAs in the OSPFv3 link state database.
|
show ipv6 ospf interface
This command displays the information for the IFO object or virtual interface tables.
|
Format
|
show ipv6 ospf interface {<slot/port> | loopback <loopback-id> | tunnel <tunnel-id>}
|
|
Modes
|
Privileged EXEC
User EXEC
|
TABLE 5-16 Entry Definitions for show ipv6 interface
|
Entry
|
Definition
|
|
IP Address
|
Shows the IPv6 address of the interface.
|
|
ifIndex
|
Shows the interface index number associated with the interface.
|
|
OSPF Admin Mode
|
Shows whether the admin mode is enabled or disabled.
|
|
OSPF Area ID
|
Shows the area ID associated with this interface.
|
|
Router Priority
|
Shows the router priority. The router priority determines which router is the designated router.
|
|
Retransmit Interval
|
Shows the frequency, in seconds, at which the interface sends LSA.
|
|
Hello Interval
|
Shows the frequency, in seconds, at which the interface sends Hello packets.
|
|
Dead Interval
|
Shows the amount of time, in seconds, the interface waits before assuming a neighbor is down.
|
|
LSA Ack Interval
|
Shows the amount of time, in seconds, the interface waits before sending an LSA acknowledgement after receiving an LSA.
|
|
Iftransit Delay Interval
|
Shows the number of seconds the interface adds to the age of LSA packets before transmission.
|
|
Authentication Type
|
Shows the type of authentication the interface performs on LSAs it receives.
|
|
Metric Cost
|
Shows the priority of the path. Low costs have a higher priority than high costs.
|
|
OSPF MTU-ignore
|
Shows whether to ignore MTU mismatches in database descriptor packets sent from neighboring routers. The following information only displays if OSPF is initialized on the interface:
|
|
OSPF Interface Type
|
Broadcast LANs, such as Ethernet and IEEE 802.5, take the value broadcast. The OSPF Interface Type will be 'broadcast'.
|
|
State
|
The OSPF Interface States are: down, loopback, waiting, point-to-point, designated router, and backup designated router.
|
|
Designated Router
|
The router ID representing the designated router.
|
|
Backup Designated Router
|
The router ID representing the backup designated router.
|
|
Number of Link Events
|
The number of link events.
|
|
Metric Cost
|
The cost of the OSPF interface.
|
show ipv6 ospf interface brief
This command displays brief information for the IFO object or virtual interface tables.
|
Format
|
show ipv6 ospf interface brief
|
|
Modes
|
Privileged EXEC
User EXEC
|
TABLE 5-17 Entry Definitions for show ipv6 interface brief
|
Entry
|
Definition
|
|
Interface
|
Valid slot and port number separated by forward slashes.
|
|
OSPF Admin Mode
|
States whether OSPF is enabled or disabled on a router interface.
|
|
OSPF Area ID
|
Represents the OSPF Area ID for the specified interface.
|
|
Router Priority
|
Shows the router priority. The router priority determines which router is the designated router.
|
|
Hello Interval
|
Shows the frequency, in seconds, at which the interface sends Hello packets.
|
|
Dead Interval
|
Shows the amount of time, in seconds, the interface waits before assuming a neighbor is down.
|
|
Retransmit Interval
|
Shows the frequency, in seconds, at which the interface sends LSA.
|
|
Retransmit Delay Interval
|
Shows the number of seconds the interface adds to the age of LSA packets before transmission.
|
|
LSA Ack Interval
|
Shows the amount of time, in seconds, the interface waits before sending an LSA acknowledgement after receiving an LSA.
|
show ipv6 ospf interface stats
This command displays the statistics for a specific interface. The command only displays information if OSPF is enabled.
|
Format
|
show ipv6 ospf interface stats <slot/port>
|
|
Modes
|
Privileged EXEC
User EXEC
|
TABLE 5-18 Entry Definitions for show ipv6 ospf interface stats
|
Entry
|
Definition
|
|
OSPFv3 Area ID
|
The area id of this OSPF interface.
|
|
IP Address
|
The IP address associated with this OSPF interface.
|
|
OSPFv3 Interface Events
|
The number of times the specified OSPF interface has changed its state, or an error has occurred.
|
|
Virtual Events
|
The number of state changes or errors that occurred on this virtual link.
|
|
Neighbor Events
|
The number of times this neighbor relationship has changed state, or an error has occurred.
|
|
Packets Received
|
The number of OSPFv3 packets received on the interface.
|
|
Packets Transmitted
|
The number of OSPFv3 packets sent on the interface.
|
|
LSAs Sent
|
The total number of LSAs flooded on the interface.
|
|
LSA Acks Received
|
The total number of LSA acknowledged from this interface.
|
|
LSA Acks Sent
|
The total number of LSAs acknowledged to this interface.
|
show ipv6 ospf neighbor
This command displays information about OSPF neighbors. If you do not specify a neighbor IP address, the output displays summary information in a table. If you specify an interface or tunnel, only the information for that interface or tunnel displays. The <ip-address> is the IP address of the neighbor, and when you specify this, detailed information about the neighbor displays. The information below only displays if OSPF is enabled and the interface has a neighbor.
|
Format
|
show ipv6 ospf neighbor [interface {<slot/port> | tunnel <tunnel_id>}][<ip-address>]
|
|
Modes
|
Privileged EXEC
User EXEC
|
If you do not specify an IP address, a table with the following columns displays for all neighbors or the neighbor associated with the interface that you specify.
TABLE 5-19 Entry Definitions for show ipv6 ospf neighbor
|
Entry
|
Definition
|
|
Router ID
|
Shows the 4-digit dotted-decimal number of the neighbor router.
|
|
Priority
|
Displays the OSPF priority for the specified interface. The priority of an interface is a priority integer from 0 to 255. A value of '0' indicates that the router is not eligible to become the designated router on this network.
|
|
Intf ID
|
Shows the interface ID of the neighbor.
|
|
Interface
|
Shows the interface of the local router in slot/port format.
|
|
State
|
Shows the state of the neighboring routers. Possible values are as follows:
- Down- initial state of the neighbor conversation - no recent information has been received from the neighbor.
- Attempt - no recent information has been received from the neighbor but a more concerted effort should be made to contact the neighbor.
- Init - an Hello packet has recently been seen from the neighbor, but bidirectional communication has not yet been established.
- 2 way - communication between the two routers is bidirectional.
- Exchange start - the first step in creating an adjacency between the two neighboring routers, the goal is to decide which router is the master and to decide upon the initial DD sequence number.
- Exchange - the router is describing its entire link state database by sending Database Description packets to the neighbor.
- Loading - Link State Request packets are sent to the neighbor asking for the more recent LSAs that have been discovered (but not yet received) in the Exchange state.
- Full - the neighboring routers are fully adjacent and they will now appear in router-LSAs and network-LSAs.
|
|
Dead Time
|
Shows the amount of time, in seconds, to wait before the router assumes the neighbor is unreachable.
If you specify an IP address for the neighbor router, the following fields display:
|
|
Interface
|
Shows the interface of the local router in slot/port format.
|
|
Area ID
|
The area ID associated with the interface.
|
|
Options
|
An integer value that indicates the optional OSPF capabilities supported by the neighbor. These are listed in its Hello packets. This enables received Hello Packets to be rejected (i.e., neighbor relationships will not even start to form) if there is a mismatch in certain crucial OSPF capabilities.
|
|
Router Priority
|
Displays the router priority for the specified interface.
|
|
Dead Timer Due
|
Shows the amount of time, in seconds, to wait before the router assumes the neighbor is unreachable.
|
|
State
|
Shows the state of the neighboring routers.
|
|
Events
|
Number of times this neighbor relationship has changed state, or an error has occurred.
|
|
Retransmission Queue Length
|
Is an integer representing the current length of the retransmission queue of the specified neighbor router Id of the specified interface.
|
show ipv6 ospf range
This command displays information about the area ranges for the specified <areaid>. The <areaid> identifies the OSPF area whose ranges are being displayed.
|
Format
|
show ipv6 ospf range <areaid>
|
|
Modes
|
Privileged EXEC
|
|
User EXEC
|
|
TABLE 5-20 Entry Definitions for show ipv6 ospf range
|
Entry
|
Definition
|
|
Area ID
|
The area id of the requested OSPF area.
|
|
IP Address
|
An IP Address which represents this area range.
|
|
Subnet Mask
|
A valid subnet mask for this area range.
|
|
Lsdb Type
|
The type of link advertisement associated with this area range.
|
|
Advertisement
|
The status of the advertisement: enabled or disabled.
|
show ipv6 ospf stub table
This command displays the OSPF stub table. The information below will only be displayed if OSPF is initialized on the switch.
|
Format
|
show ipv6 ospf stub table
|
|
Modes
|
Privileged EXEC
User EXEC
|
TABLE 5-21 Entry Definitions for show ipv6 ospf stub table
|
Entry
|
Definition
|
|
Area ID
|
A 32-bit identifier for the created stub area.
|
|
Type of Service
|
Type of service associated with the stub metric. For this release, Normal TOS is the only supported type.
|
|
Metric Val
|
The metric value is applied based on the TOS. It defaults to the least metric of the type of service among the interfaces to other areas. The OSPF cost for a route is a function of the metric value.
|
|
Import Summary LSA
|
Controls the import of summary LSAs into stub areas.
|
show ipv6 ospf virtual-link
This command displays the OSPF Virtual Interface information for a specific area and neighbor. The <areaid> parameter identifies the area and the <neighbor> parameter identifies the neighbor's Router ID.
|
Format
|
show ipv6 ospf virtual-link <areaid> <neighbor>
|
|
Modes
|
Privileged EXEC
User EXEC
|
TABLE 5-22 Entry Definitions for show ipv6 ospf virtual-link
|
Entry
|
Definition
|
|
Area ID
|
The area id of the requested OSPF area.
|
|
Neighbor Router ID
|
The input neighbor Router ID.
|
|
Hello Interval
|
The configured hello interval for the OSPF virtual interface.
|
|
Dead Interval
|
The configured dead interval for the OSPF virtual interface.
|
|
Iftransit Delay Interval
|
The configured transit delay for the OSPF virtual interface.
|
|
Retransmit Interval
|
The configured retransmit interval for the OSPF virtual interface.
|
|
Authentication Type
|
Shows the type of authentication the interface performs on LSAs it receives.
|
|
State
|
The OSPF Interface States are: down, loopback, waiting, point-to-point, designated router, and backup designated router. This is the state of the OSPF interface.
|
|
Neighbor State
|
The neighbor state.
|
show ipv6 ospf virtual-link brief
This command displays the OSPFV3 Virtual Interface information for all areas in the system.
|
Format
|
show ipv6 ospf virtual-link brief
|
|
Mode
|
Privileged EXEC
User EXEC
|
TABLE 5-23 Entry Definitions for show ipv6 ospf virtual-link brief
|
Entry
|
Definition
|
|
Area ID
|
The area id of the requested OSPFV3 area.
|
|
Neighbor
|
The neighbor interface of the OSPFV3 virtual interface.
|
|
Hello Interval
|
The configured hello interval for the OSPFV3 virtual interface.
|
|
Dead Interval
|
The configured dead interval for the OSPFV3 virtual interface.
|
|
Retransmit Interval
|
The configured retransmit interval for the OSPFV3 virtual interface.
|
|
Transit Delay
|
The configured transit delay for the OSPFV3 virtual interface.
|
DHCPv6 Commands
This section describes the command you use to configure the DHCPv6 server on the system and to view DHCPv6 information.
service dhcpv6
This command enables DHCPv6 configuration on the router.
|
Default
|
enabled
|
|
Format
|
service dhcpv6
|
|
Mode
|
Global Config
|
no service dhcpv6
This command disables DHCPv6 configuration on router.
|
Format
|
no service dhcpv6
|
|
Mode
|
Global Config
|
ipv6 dhcp server
Use this command to configure DHCPv6 server functionality on an interface. The <pool-name> is the DHCPv6 pool containing stateless and/or prefix delegation parameters, rapid-commit is an option that allows for an abbreviated exchange between the client and server, and <pref-value> is a value used by clients to determine preference between multiple DHCPv6 servers. For a particular interface DHCPv6 server and DHCPv6 relay functions are mutually exclusive.
|
Format
|
ipv6 dhcp server <pool-name> [rapid-commit] [preference <pref-value>]
|
|
Mode
|
Interface Config
|
ipv6 dhcp relay destination
Use this command to configure an interface for DHCPv6 relay functionality.
- Use the destination keyword to set the relay server IPv6 address. The <relay-address> parameter is an IPv6 address of a DHCPv6 relay server.
- Use the interface keyword to set the relay server interface. The <relay-interface> parameter is an interface (slot/port) to reach a relay server. The optional remote-id is the Relay Agent Information Option “remote ID” sub-option to be added to relayed messages. This can either be the special keyword duid-ifid, which causes the “remote ID” to be derived from the DHCPv6 server DUID and the relay interface number, or it can be specified as a user-defined string.
| Note - If <relay-address> is an IPv6 global address, then <relay-interface> is not required. If <relay-address> is a link-local or multicast address, then <relay-interface> is required. Finally, if you do not specify a value for <relay-address>, then you must specify a value for <relay-interface> and the DHCPV6-ALL-AGENTS multicast address (i.e. FF02::1:2) is used to relay DHCPv6 messages to the relay server.
|
|
Format
|
ipv6 dhcp relay {destination [<relay-address>] interface [<relay-interface>]| interface [<relay-interface>]} [remote-id (duid-ifid | <user-defined-string>)]
|
|
Mode
|
Interface Config
|
ipv6 dhcp relay-agent-info-opt
Use this command to configure a number to represent the DHCPv6 Relay Agent Information Option. The DHCPv6 Relay Agent Information Option allows for various sub-options to be attached to messages that are being relayed by the local router to a relay server. The relay server may in turn use this information in determining an address to assign to a DHCPv6 client.
|
Default
|
32
|
|
Format
|
ipv6 dhcp relay-agent-info-opt <32-65535>
|
|
Mode
|
Global Config
|
ipv6 dhcp relay-agent-info-remote-id-subopt
Use this command to configure a number to represent the DHCPv6 the “remote-id” sub-option.
|
Default
|
1
|
|
Format
|
ipv6 dhcp relay-agent-info-remote-id-subopt <1-65535>
|
|
Mode
|
Global Config
|
ipv6 dhcp pool
Use this command from Global Config mode to enter IPv6 DHCP Pool Config mode. Use the exit command to return to Global Config mode. To return to the User EXEC mode, enter CTRL+Z. The <pool-name> should be less than 31 alpha-numeric characters. DHCPv6 pools are used to specify information for DHCPv6 server to distribute to DHCPv6 clients. These pools are shared between multiple interfaces over which DHCPv6 server capabilities are configured.
|
Format
|
ipv6 dhcp pool <pool-name>
|
|
Mode
|
Global Config
|
no ipv6 dhcp pool
This command removes the specified DHCPv6 pool.
|
Format
|
no ipv6 dhcp pool <pool-name>
|
|
Mode
|
Global Config
|
domain-name (IPv6)
This command sets the DNS domain name which is provided to DHCPv6 client by DHCPv6 server. DNS domain name is configured for stateless server support. Domain name consist of no more than 31 alpha-numeric characters. DHCPv6 pool can have multiple number of domain names with maximum of 8.
|
Format
|
domain-name <dns-domain-name>
|
|
Mode
|
IPv6 DHCP Pool Config
|
no domain-name
This command will remove dhcpv6 domain name from dhcpv6 pool.
|
Format
|
no domain-name <dns-domain-name>
|
|
Mode
|
IPv6 DHCP Pool Config
|
dns-server (IPv6)
This command sets the ipv6 DNS server address which is provided to dhcpv6 client by dhcpv6 server. DNS server address is configured for stateless server support. DHCPv6 pool can have multiple number of domain names with maximum of 8.
|
Format
|
dns-server <dns-server-address>
|
|
Mode
|
IPv6 DHCP Pool Config
|
no dns-server
This command will remove DHCPv6 server address from DHCPv6 server.
|
Format
|
no dns-server <dns-server-address>
|
|
Mode
|
IPv6 DHCP Pool Config
|
prefix-delegation (IPv6)
Multiple IPv6 prefixes can be defined within a pool for distributing to specific DHCPv6 Prefix delegation clients. Prefix is the delegated IPv6 prefix. DUID is the client's unique DUID value (Example: 00:01:00:09:f8:79:4e:00:04:76:73:43:76'). Name is 31 characters textual client’s name which is useful for logging or tracing only. Valid lifetime is the valid lifetime for the delegated prefix in seconds and preferred lifetime is the preferred lifetime for the delegated prefix in seconds.
|
Default
|
preferred-lifetime: 2592000
valid-lifetime: 604800
|
|
Format
|
prefix-delegation <prefix/prefixlength> <DUID> [name <hostname>] [valid-lifetime <04294967295>][preferred-lifetime < 0-4294967295>]
|
|
Mode
|
IPv6 DHCP Pool Config
|
no prefix-delegation
This command deletes a specific prefix-delegation client.
|
Format
|
no prefix-delegation <prefix/prefix-delegation> <DUID>
|
|
Mode
|
IPv6 DHCP Pool Config
|
show ipv6 dhcp
This command displays the DHCPv6 server name and status.
|
Format
|
show ipv6 dhcp
|
|
Mode
|
Privileged EXEC
|
|
DHCPv6 is Enabled (Disabled)
|
Shows the status of the DHCPv6 server.
|
|
Server DUID:
|
If configured, shows the DHCPv6 unique identifier
|
show ipv6 dhcp statistics
This command displays the IPv6 DHCP statistics for all interfaces.
|
Format
|
show ipv6 dhcp statistics
|
|
Mode
|
Privileged EXEC
|
TABLE 5-24 Entry Definitions for show ipv6 dhcp statistics
|
Entry
|
Definition
|
|
DHCPv6 Solicit Packets Received
|
Number of solicit received statistics.
|
|
DHCPv6 Request Packets Received
|
Number of request received statistics.
|
|
DHCPv6 Confirm Packets Received
|
Number of confirm received statistics.
|
|
DHCPv6 Renew Packets Received
|
Number of renew received statistics.
|
|
DHCPv6 Rebind Packets Received
|
Number of rebind received statistics.
|
|
DHCPv6 Release Packets Received
|
Number of release received statistics.
|
|
DHCPv6 Decline Packets Received
|
Number of decline received statistics.
|
|
DHCPv6 Inform Packets Received
|
Number of inform received statistics.
|
|
DHCPv6 Relay-forward Packets Received
|
Number of relay forward received statistics.
|
|
DHCPv6 Relay-reply Packets Received
|
Number of relay-reply received statistics.
|
|
DHCPv6 Malformed Packets Received
|
Number of malformed packets statistics.
|
|
Received DHCPv6 Packets Discarded
|
Number of DHCP discarded statistics.
|
|
Total DHCPv6 Packets Received
|
Total number of DHCPv6 received statistics.
|
|
DHCPv6 Advertisement Packets Transmitted
|
Number of advertise sent statistics.
|
|
DHCPv6 Reply Packets Transmitted
|
Number of reply sent statistics.
|
|
DHCPv6 Reconfig Packets Transmitted
|
Number of reconfigure sent statistics.
|
|
DHCPv6 Relay-reply Packets Transmitted
|
Number of relay-reply sent statistics.
|
|
DHCPv6 Relay-forward Packets Transmitted
|
Number of relay-forward sent statistics.
|
|
Total DHCPv6 Packets Transmitted
|
total number of DHCPv6 sent statistics.
|
show ipv6 dhcp interface
This command displays DHCPv6 information for all relevant interfaces or the specified interface. If you specify an interface, you can use the optional statistics parameter to view statistics for the specified interface.
|
Format
|
show ipv6 dhcp interface <slot/port> [statistics]
|
|
Mode
|
Privileged EXEC
|
TABLE 5-25 Entry Definitions for show ipv6 dhcp interface
|
Entry
|
Definition
|
|
IPv6 Interface
|
Shows the interface name in <slot/port> format.
|
|
Mode
|
Shows whether the interface is a IPv6 DHCP relay or server.
|
|
(Server)
|
If the interface mode is server, the following information displays.
|
|
Pool Name
|
Shows the pool name specifying information for DHCPv6 server distribution to DHCPv6 clients.
|
|
Server Preference
|
Shows the preference of the server.
|
|
Option Flags
|
Shows whether rapid commit is enabled..
|
|
(Relay)
|
If the interface mode is relay, the following information displays
|
|
Relay Address
|
Shows the IPv6 address of the relay server.
|
|
Relay Interface Number
|
Shows the relay server interface in <slot/port> format.
|
|
Relay Remote ID
|
If configured, shows the name of the relay remote.
|
|
Option Flags
|
Shows whether rapid commit is configured.
|
If you use the statistics parameter, the command displays the IPv6 DHCP statistics for the specified interface. See show ipv6 dhcp statistics for information about the output.
clear ipv6 dhcp
Use this command to clear DHCPv6 statistics for all interfaces or for a specific interface. Use the <slot/port> parameter to specify the interface.
|
Format
|
clear ipv6 dhcp {statistics | interface <slot/port> statistics}
|
|
Mode
|
Privileged EXEC
|
show ipv6 dhcp pool
This command displays configured DHCP pool.
|
Format
|
show ipv6 dhcp pool <pool-name>
|
|
Mode
|
Privileged EXEC
|
TABLE 5-26 Entry Definitions for show ipv6 dhcp pool
|
Entry
|
Definition
|
|
DHCP Pool Name
|
Unique pool name configuration.
|
|
Client DUID
|
Client’s DHCP unique identifier. DUID is generated using the combination of the local system burned-in MAC address and a timestamp value.
|
|
Host
|
Name of the client.
|
|
Prefix/Prefix Length
|
IPv6 address and mask length for delegated prefix.
|
|
Preferred Lifetime
|
Preferred lifetime in seconds for delegated prefix.
|
|
Valid Lifetime
|
Valid lifetime in seconds for delegated prefix.
|
|
DNS Server Address
|
Address of DNS server address.
|
|
Domain Name
|
DNS domain name.
|
show ipv6 dhcp binding
This command displays configured DHCP pool.
|
Format
|
show ipv6 dhcp binding [<ipv6-address>]
|
|
Mode
|
Privileged EXEC
|
TABLE 5-27 Entry Definitions for show ipv6 dhcp interface
|
Entry
|
Definition
|
|
DHCP Client Address
|
Address of DHCP Client
|
|
DUID
|
String that represents the Client DUID.
|
|
IAID
|
Identity Association ID
|
|
Prefix/Prefix Length
|
IPv6 address and mask length for delegated prefix.
|
|
Prefix Type
|
IPV6 Prefix type (IAPD, IANA, or IATA).
|
|
Client Address
|
Address of DHCP Client.
|
|
Client Interface
|
IPv6 Address of DHCP Client.
|
|
Expiration
|
Address of DNS server address.
|
|
Valid Lifetime
|
Valid lifetime in seconds for delegated prefix.
|
|
Preferred Lifetime
|
Preferred lifetime in seconds for delegated prefix.
|