OcNOS-SP : System Management Guide : System Management Command Reference : Interface Commands : show ip prefix-list
show ip prefix-list
Use this command to display the prefix list entries for IPv4 interfaces.
Syntax Description
show ip prefix-list
show ip prefix-list WORD
show ip prefix-list WORD seq <1-4294967295>
show ip prefix-list WORD A.B.C.D/M
show ip prefix-list WORD A.B.C.D/M longer
show ip prefix-list WORD A.B.C.D/M first-match
show ip prefix-list summary
show ip prefix-list summary WORD
show ip prefix-list detail
show ip prefix-list detail WORD
Parameters
WORD
Name of a prefix list.
A.B.C.D/M
IP prefix <network>/<length> (for example, 35.0.0.0/8).
first-match
First matched prefix.
longer
Lookup longer prefix.
<1-4294967295>
Sequence number.
detail
Detail of prefix lists.
summary
Summary of prefix lists.
Command Mode
Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following is a sample output of the show ip prefix-list command showing prefix-list entries.
#show ip prefix-list
ip prefix-list myPrefixList: 3 entries
seq 5 permit 172.1.1.0/16
seq 10 permit 173.1.1.0/16
seq 15 permit 174.1.1.0/16
Last modified date: 10/19/2023