ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • network bgp peer-group show

    Display BGP peer groups information

    Availability: This command is available to cluster administrators at the admin privilege level.

    Description

    The network bgp peer-group show command displays the BGP peer groups configuration.

    Parameters

    { [-fields <fieldname>,…​]

    If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

    | [-instance ] }

    If you specify the -instance parameter, the command displays detailed information about all fields.

    [-ipspace <IPspace>] - IPspace Name

    This parameter selects peer groups that match the specified IPspace.

    [-peer-group <text>] - Peer Group Name

    This parameter selects peer groups that match the specified name.

    [-bgp-lif <lif-name>] - BGP LIF

    This parameter selects peer groups that match the specified BGP Interface.

    [-peer-address <IP Address>] - Peer Router Address

    This parameter selects peer groups that match the specified peer router address.

    [-peer-asn <integer>] - Peer Router Autonomous number

    This parameter selects peer groups that match the specified autonomous system number.

    [-state <BGP Session State>] - Peer Group State

    This parameter selects peer groups that match the specified BGP session state.

    [-bgp-node <nodename>] - BGP LIF Node

    This parameter selects peer groups that match the specified bgp-node value. This value is calculated based on the current node of the corresponding BGP LIF.

    [-bgp-port <netport>] - BGP LIF Port

    This parameter selects peer groups that match the specified bgp-port value. This value is calculated based on the current port of the associated BGP LIF.

    [-route-preference <integer>] - Route Preference

    This parameter selects peer groups that match the specified route preference value.

    [-asn-prepend-type <ASN Prepend type>] - ASN prepend type

    This parameter selects peer groups that match the specified asn-prepend-type value. The possible values are local-asn and peer-asn .

    [-asn-prepend-count <integer>] - ASN prepend count

    This parameter selects peer groups that match the specified asn-prepend-count value.

    [-community <BGP community>,…​] - BGP Community

    This parameter selects peer groups that match the specified community value.

    [-med <integer>] - Multi Exit Discriminator

    This parameter selects peer groups that match the specified med value.

    [-use-peer-as-next-hop {true|false}] - Use Peer Address As Next Hop

    This parameter selects peer groups that match the specified use-peer-as-next-hop value.

    Examples

    cluster1::> network bgp peer-group show
        IPspace: Default
        Peer        Local BGP Peer router                      Autonomous
        Group       Interface Address/subnet    state          Number     Node   Port
        ----------  --------- ----------------- -------------- ---------- ------ -----
        gp1         bgp_lif1  10.0.5.37         up                     10 node1  e1a
        gp2         bgp_lif2  10.0.6.38         up                     12 node1  e2a
    Top of Page