efa policy prefix-list list
Lists the IPv4 prefix list on the specified devices.
Syntax
Parameters
- --type string
- Specifies the type of prefix
list. The only valid value is
ipv4
. - --ip string
- Specifies a comma-separated range of device IP addresses. For example: 10.1.1.13,10.1.1.50,10.1.1.101.
Examples
This example displays the IPv4 prefix list on two devices.
$ efa policy prefix-list list –-type ipv4 –-ip 10.20.246.10-11 Prefix-list details: Name: prefix_v4_1 +------+---------+--------+------------+----+----+---------------+-------------+ | Type | Seq num | Action | Prefix | Ge | Le | DeviceIP | AppState | +------+---------+--------+------------+----+----+---------------+-------------+ | ipv4 | 10 | permit | 10.0.0.0/8 | 16 | | 10.20.246.10 | cfg-in-sync | +------+---------+--------+------------+----+----+---------------+-------------+ | ipv4 | 10 | permit | 10.0.0.0/8 | 16 | | 10.20.246.11 | cfg-in-sync | +------+---------+--------+------------+----+----+---------------+-------------+