efa policy extcommunity-list list
List extcommunity-list details.
Syntax
Parameters
- --name string
- The name of the extended community list.
- --type { standard | extended }
- The type of extended community list. Valid options are standard, extended.
- --ip string
- Specifies comma-separated range of device IP addresses. Example: 10.1.1.13,10.1.1.50,10.1.1.101.
Examples
This example lists extcommunity-list details.
efa policy extcommunity-list list
Extended community list details: Name: excommlist-1 Seq: 5 Action: permit Route Target: 1:100 2:200 3:145 4:123 Site of Origin: 1.2.3.4:12 5:400 10.11.12.13:22 ExtValue: Name: excommlist-1 Seq: 6 Action: permit Route Target: 1:45 Site of Origin: 10.11.2.3:22 ExtValue: Name: excommlist-1 Seq: 9 Action: deny Route Target: 1:345 Site of Origin: 6:12 ExtValue: Name: excommlist-2 Seq: 2 Action: permit Route Target: Site of Origin: ExtValue: _15000_
This example lists the extcommunity-list details for the specified device and extended community list.
efa policy extcommunity-list list --ip 10.20.246.29 --name excommlist-1 Extended community list details: Name: excommlist-1 Seq: 6 Action: permit Route Target: 1:45 Site of Origin: 10.11.2.3:22 ExtValue: Name: excommlist-1 Seq: 9 Action: deny Route Target: 1:345 Site of Origin: 6:12 ExtValue: IP Addresses: +--------------+-----+--------------+-------------+ | Name | Seq | IP Address | App State | +--------------+-----+--------------+-------------+ | excommlist-1 | 6 | 10.20.246.29 | cfg-in-sync | +--------------+-----+--------------+-------------+ | excommlist-1 | 9 | 10.20.246.29 | cfg-in-sync | +--------------+-----+--------------+-------------+