下面是一个运行BGP的2921的示例命令和输出:BGP router identifier a.b.c.d, local AS number xxxxxentries using 16976960 bytes of memory1 BGP116 BGP extended community entries using 7
- "{% if output.msg[0].bgp_state == Established %}{{output.msg[0].neighbor}} BGP IS UP{% elif %}{{output.msg[0].neighbor}}BGP IS DOWN{%- endif %}"
- "{% if output.msg[1].bgp_state == Established %}- "{% if output.msg[2].bgp