home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

show ip prefix-list

Displays IP prefix lists.

show ip prefix-list [ detail | summary | list-name [ seq seq-num | ipv4net [ first-match | longer ] ] ]
detail
Displays detailed information for all IP prefix lists.
summary
Displays summary information for all IP prefix lists.
list-name
Displays information about the named IP prefix list.
seq-num
Displays the specified sequence from the named IP prefix list.
ipv4net
Displays the select prefix of the named IP prefix list.
first-match
Displays the first match from the select prefix of the named IP prefix list.
longer
Displays the longer match of the select prefix from the named IP prefix list.

Operational mode

Use this command to display prefix lists.

The following example shows prefix lists.

vyatta@vyatta:~$ show ip prefix-list
ZEBRA: ip prefix-list ABC: 1 entries
   seq 1 permit 192.168.2.0/24 ge 25
RIP: ip prefix-list ABC: 1 entries
   seq 1 permit 192.168.2.0/24 ge 25
OSPF: ip prefix-list ABC: 1 entries
   seq 1 permit 192.168.2.0/24 ge 25
BGP: ip prefix-list ABC: 1 entries
   seq 1 permit 192.168.2.0/24 ge 25
vyatta@vyatta:~$