show policy conditions
语法
show policy conditions <condition-name> <detail> <dynamic> <logical-system (all | logical-system-name)>
语法(EX 系列交换机)
show policy conditions <condition-name> <detail> <dynamic>
描述
显示所有已配置的条件以及配置管理器正在与之交互的路由表。 detail
如果包含关键字,则输出还会显示每个条件的从属路由。
选项
none | 显示所有已配置的条件和关联的路由表。 |
condition-name | (可选)仅显示有关指定条件的信息。 |
detail | (可选)显示指定的输出级别。 |
dynamic | (可选)显示有关动态数据库中条件的信息。 |
logical-system (all | logical-system-name) | (可选)在所有逻辑系统或特定逻辑系统上执行此操作。 |
所需权限级别
视图
输出字段
表 1 列出了 show 策略条件 命令的输出字段。输出字段按其出现的大致顺序列出。
字段名称 |
字段说明 |
输出级别 |
---|---|---|
条件 |
配置条件的名称。 |
所有级别 |
事件 |
条件类型。如果配置了 |
所有级别 |
从属路由 |
取决于条件的路由列表以及最新一代编号。 |
|
条件表 |
与条件关联的路由表列表,以及最新一代号和依赖项数。 |
所有级别 |
如果路由条件存在 |
配置为在指定表中查找路由的条件列表。 |
所有级别 |
示例输出
显示策略条件详细信息
user@host> show policy conditions detail Configured conditions: Condition cond1, event: Existence of a route in a specific routing table Dependent routes: 172.16.4.4/32, generation 3 6.6.6.6/32, generation 3 10.10.10.10/32, generation 3 Condition cond2, event: Existence of a route in a specific routing table Dependent routes: None Condition tables: Table inet.0, generation 4, dependencies 3, If–route-exists conditions: cond1 (static) cond2 (static)
发布信息
在 Junos OS 9.0 版中引入的命令。