display ipv6 interface prefix
Use display ipv6 interface prefix to display IPv6 prefix information for an interface.
Syntax
display ipv6 interface interface-type interface-number prefix
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
interface-type interface-number: Specifies an interface by its type and number.
Examples
# Display IPv6 prefix information for VLAN-interface 10.
<Sysname> display ipv6 interface vlan-interface10 prefix Prefix: 1001::/65 Origin: ADDRESS Age: - Flag: AL Lifetime(Valid/Preferred): 2592000/604800 Prefix: 2001::/64 Origin: STATIC Age: - Flag: L Lifetime(Valid/Preferred): 3000/2000 Prefix: 3001::/64 Origin: RA Age: 600 Flag: A Lifetime(Valid/Preferred): -
Table 46: Command output
Filed | Description |
---|---|
Prefix | IPv6 address prefix. |
Origin | How the prefix is generated:
|
Age | Aging time in seconds. If the prefix does not age out, this field displays a hyphen (-). |
Flag | Flags carried in RA messages. If no flags are available, this field displays a hyphen (-).
|
Lifetime | Lifetime in seconds advertised in RA messages. If the prefix does not need to be advertised, this field displays a hyphen (-).
|
Related commands
ipv6 nd ra prefix