peer

gre tunnel

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 on the following devices:

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

rfs4000-229D58(config-device 00-23-68-22-9D-58-gre-tunnel-testGRETunnel)#peer 1
ip 192.168.13.6

rfs4000-229D58(config-device 00-23-68-22-9D-58-gre-tunnel-testGRETunnel)#show context
 gre tunnel testGRETunnel
  peer 1 ip 192.168.13.6
  native tagged
  dscp 20
  failover interval 200 retry 5
rfs4000-229D58(config-device 00-23-68-22-9D-58-gre-tunnel-testGRETunnel)#

Related Commands

no Removes the GRE tunnel settings based on the parameters passed