peer

gre-config-instance

Adds the GRE tunnel‘s end-point peers. A maximum of two peers, representing the tunnel‘s end points, can be added for each GRE tunnel.

Supported in the following platforms:

Syntax

peer <1-2> ip <IPv4/IPv6>

Parameters

peer <1-2> ip <IPv4/IPv6>
peer <1-2> ip <IPv4/IPv6> Configures the tunnel‘s end-point peers
  • <1-2> – Specify a numeric index for each peer to help differentiate the tunnel end points.
    • ip – Specify the IP address (IPv4/IPv6) of the added GRE peer to serve as a network address identifier.
      • <IPv4/IPv6> – Specify the peer‘s IPv4 or IPv6 address.

Example

nx9500-6C8809(config-profile test410-gre-tunnel-test)#peer 1 ip 192.168.13.6

nx9500-6C8809(config-profile test410-gre-tunnel-test)#show context
 gre tunnel testGRETunnel
  peer 1 ip 192.168.13.6
  native tagged
  dscp 20
  failover interval 200 retry 5
nx9500-6C8809(config-profile test410-gre-tunnel-test)#

Related Commands

no Removes the GRE tunnel settings based on the parameters passed