For feedback and comments:
documentation.feedback@alcatel-lucent.com

Table of Contents Previous Next Index PDF


Multi-Chassis IPSec Redundancy
In This Chapter
This section provides information about multi-chassis IPSec redundancy configurations.
Topics in this section include:
Applicability
This feature is applicable to 7750 SR-7/12/12e with IOM3-XP or IMMs and chassis mode D and the 7450 ESS-6/7/12 with IOM3-XP or IMM in mixed mode.
The configuration was tested on release 12.0.R1.
Overview
Multi-Chassis IPSec redundancy (MC-IPSec) is a stateful inter-chassis IPSec failover mechanism. IPSec tunnel states are synchronized between the master and standby chassis. A tunnel-group failure on the master or a master chassis failure could trigger MC-IPSec failover to the standby chassis.
The following are some highlights of this feature:
This feature has the following building blocks:
 
Figure 238: MC-IPSec Architecture
The fundamentals of MC-IPSec are:
Configuration
The test topology is shown in Figure 239.
Figure 239: Test Topology
Test setup:
The MC-IPSec configuration commands are shown below.
config>redundancy>multi-chassis>
	peer <ip-address> [create]
		sync
			ipsec
			tunnel-group <tunnel-group-id> sync-tag <tag-name> [create]
		mc-ipsec
			bfd-enable
			discovery-interval <interval-1> [boot <interval-2>]
			hold-on-neighbor-failure <multiplier>
			keep-alive-interval <interval>
			tunnel-group <tunnel-group-id> [create]
				peer-group <tunnel-group-id>
				priority <priority>
				shutdown
 
config>router>policy-options>policy-statement>entry>from>
	state ipsec-master-with-peer|ipsec-non-master|ipsec-master-without-peer
	protocol ipsec
 
config>service>ies>if>
config>service>vprn>if>
	static-tunnel-redundant-next-hop <ip-address>
	dynamic-tunnel-redundant-next-hop <ip-address>
 
config>isa>tunnel-grp>
	ipsec-responder-only
 
config>vrrp>policy>priority-event>
	mc-ipsec-non-forwarding <tunnel-grp-id>
		hold-clear <seconds>
		hold-set <seconds>
		priority <priority-level> explicit
 
Parameters:
peer <ip-address> [create] — This command creates or enters a multi-chassis peer. The peer’s address by default is the peer’s system address. This can be changed on the peer using the config>redundancy>multi-chassis>peer>source-address command.
sync>ipsec — This command enables MCS to synchronize IPSec states.
tunnel-group <tunnel-group-id> sync-tag <tag-name> [create] — This command enables MCS to synchronize the IPSec states of the specified tunnel-group.The sync-tag parameter is used to match peer’s tunnel-group. The tunnel-group states with same sync-tag on both chassis will be synced.
mc-ipsec — This command enters the multi-chassis IPSec configuration context.
bfd-enable — This command enables tracking a central BFD session, if the BFD session goes down, then the system considers the peer is down and changes the mc-ipsec status of the configured tunnel-group accordingly.
The BFD session uses the source address of MCS as its source address and the MCS peer address as the destination address. Other BFD parameters are configured with the bfd command on the interface that the MCS source address resides on.
Configuration of this command is optional.
discovery-interval <interval-1> [boot <interval-2>] — This command specifies the time interval that the tunnel-group stays in “Discovery” state. Interval-1 is used as discovery-interval when a new tunnel-group is added to multi-chassis redundancy (mp-ipsec); interval-2 is used as discovery-interval after system boot-up, it is optional, and when it is not specified, interval-1’s value will be used. Both intervals have a default value of 300 seconds.
hold-on-neighbor-failure <multiplier> — This command specifies the number of keep-alive failures before considering the peer to be down. Default is 3.
keep-alive-interval <interval> — This command specifies the time interval of the mastership election protocol keep-alive packets. Default value is 1 seconds, range: 0.5 ~ 50 seconds.
tunnel-group <tunnel-group-id> [create] — This command enables multi-chassis redundancy for the specified tunnel-group, or enters an already configured tunnel-group context. The configured tunnel-groups could failover independently.
peer-group <tunnel-group-id> — This command specifies the corresponding tunnel-group id on the peer node. The peer tunnel-group id is not necessary equal to local tunnel-group id.
priority <priority> — This command specifies the local priority of the tunnel-group, this is used to elect a master, where the higher number wins. If the priorities are the same, then the peer which has more active ISAs wins; if priority and the number of active ISAs are same, then the peer with higher IP address wins. Default value is 100, range: 0..255
shutdown — This command disables the multi-chassis redundancy for the specified tunnel-group
state ipsec-master-with-peer|ipsec-non-master|ipsec-master-without-peer — These commands specify the mc-ipsec state in a “from” statement of a route policy entry.
ipsec-master-with-peer: The corresponding tunnel-group is Master with peer reachable.
ipsec-master-without-peer: The corresponding tunnel-group is Master with peer unreachable.
ipsec-non-master: The corresponding tunnel-group is not Master.
protocol ipsec — This command specifies the IPSec as protocol in a “from” statement of a route policy entry. protocol ipsec means the /32 local gateway routes (of both static and dynamic tunnels) and reverse route of dynamic tunnel.
static-tunnel-redundant-next-hop <ip-address>
dynamic-tunnel-redundant-next-hop <ip-address> — This command specifies the redundant next-hop address on a public or private IPSec interface (with public or private tunnel-sap) for a static/dynamic IPSec tunnel. The specified next-hop address will be used by the standby node to shunt traffic to the master in case it receives any traffic.
The next-hop address will be resolved in the routing table of the corresponding service.
Notes:
ipsec-responder-only — With this command configured, the system will only act as IKE responder except for the automatic CHILD_SA rekey upon MC-IPSec switchover.
This command is required for MC-IPSec support of static LAN-to-LAN tunnel
mc-ipsec-non-forwarding <tunnel-grp-id> — This command creates a new VRRP policy priority event: mc-ipsec-non-forwarding. It will be triggered whenever the specified tunnel-group enters non-forwarding state.
hold-clear <seconds> — This command configures hold time before clearing the event. Default value is 0 seconds. Range: 0..86400 seconds
hold-set <seconds> — This command configures hold time before setting the event. Default value is 0 seconds. Range: 0..86400 seconds
priority <priority-level> explicit — This command sets the VRRP in-use priority to the configured value upon the event. Default value is 0, range: 0..254
 
 
Before starting
 
Step 0: Configure CE-1.
 
#--------------------------------------------------
echo "Router (Network Side) Configuration"
#--------------------------------------------------
    router 
        interface "int-CE1-S1"
            address 172.16.1.100/24
            port 1/1/3
            no shutdown
        exit
        interface "system"
            no shutdown
        exit
        autonomous-system 64496
#--------------------------------------------------
echo "Static Route Configuration"
#--------------------------------------------------
        static-route 0.0.0.0/0 next-hop 172.16.1.254
#--------------------------------------------------
echo "IPsec Configuration"
#--------------------------------------------------
    ipsec
        ike-policy 1 create
            ike-version 2
            dpd
        exit                          
        ipsec-transform 1 create
        exit
    exit
#--------------------------------------------------
echo "Service Configuration"
#--------------------------------------------------
    service
        ies 1 customer 1 create
            interface "int-IPsec-Public-1" create
                address 10.10.10.254/24
                tos-marking-state untrusted
                sap tunnel-1.public:1 create
                exit
            exit
            no shutdown
        exit                          
        vprn 2 customer 1 create
            ipsec
                security-policy 1 create
                    entry 10 create
                        local-ip 192.168.1.1/32
                        remote-ip 192.168.2.1/32
                    exit
                exit
            exit
            route-distinguisher 64496:2
            interface "int-loopback-1" create
                address 192.168.1.1/32
                loopback
            exit
            interface "int-IPsec-private-1" tunnel create
                sap tunnel-1.private:1 create
                    ipsec-tunnel "tunnel-1" create
                        security-policy 1
                        local-gateway-address 10.10.10.1 peer 10.10.20.1
delivery-service 1
                        dynamic-keying
                            ike-policy 1
                            pre-shared-key "ALU"
                            transform 1
                        exit
                        no shutdown
                    exit
                exit
            exit
            static-route 192.168.2.1/32 ipsec-tunnel "tunnel-1"
            no shutdown
        exit
exit
 
Step 1.
 
 
        vpls 3 customer 1 create
            stp
                shutdown
            exit
            sap 1/1/1 create
            exit
            sap 1/1/2 create
            exit
            sap 1/1/3 create
            exit
            no shutdown
        exit
 
Step 2.
 
 
#--------------------------------------------------
echo "Router (Network Side) Configuration"
#--------------------------------------------------
    router 
        interface "int-P1-SeGW1"
            address 192.168.254.2/30
            port 1/1/1
            no shutdown
        exit
        interface "int-P1-SeGW2"
            address 192.168.253.2/30
            port 1/1/2
            no shutdown
        exit                          
        interface "system"
            address 192.0.2.3/32
            no shutdown
        exit
        autonomous-system 64496
#--------------------------------------------------
echo "OSPFv2 Configuration"
#--------------------------------------------------
        ospf
            area 0.0.0.0
                interface "system"
                    no shutdown
                exit
                interface "int-P1-SeGW1"
                    no shutdown
                exit
                interface "int-P1-SeGW2"
                    no shutdown
                exit
            exit
        exit
 
#--------------------------------------------------
echo "Service Configuration"
#--------------------------------------------------
    service
        sdp 200 create
            far-end 192.0.2.1
            signaling off
            keep-alive
                shutdown
            exit
            no shutdown
        exits
        sdp 300 create
            far-end 192.0.2.2
            signaling off
            keep-alive
                shutdown
            exit
            no shutdown
        exit
        vprn 2 customer 1 create
            route-distinguisher 64496:2
            vrf-target target:64496:2
            interface "int-loopback-1" create
                address 192.168.2.1/32
                loopback
            exit
            spoke-sdp 200 create
                description "SDP to SeGW-1"
            exit
            spoke-sdp 300 create
                description "SDP to SeGW-2"
            exit
            no shutdown
        exit
    exit
#--------------------------------------------------
echo "BGP Configuration"
#--------------------------------------------------
        bgp
            group "MPBGP"
                family vpn-ipv4
                peer-as 64496         
                neighbor 192.0.2.1
                exit
                neighbor 192.0.2.2
                exit
            exit
            no shutdown
        exit
    exit
 
 
Step 3.
 
#--------------------------------------------------
echo "ISA Configuration"
#--------------------------------------------------
    isa
        tunnel-group 1 create
            ipsec-responder-only
            multi-active
            mda 1/2
            no shutdown
        exit
exit
#--------------------------------------------------
echo "Router (Network Side) Configuration"
#--------------------------------------------------
    router 
        interface "int-SeGW1-P1"
            address 192.168.254.1/30
            port 1/1/4
            no shutdown
        exit
        interface "int-SeGW1-SeGW2"
            address 192.168.255.1/30
            port 1/1/2
            no shutdown
        exit
        interface "system"
            address 192.0.2.1/32
            bfd 100 receive 100 multiplier 3
            no shutdown
        exit
        autonomous-system 64496
#--------------------------------------------------
echo "Static Route Configuration"
#--------------------------------------------------
        static-route 10.10.10.0/24 next-hop 172.16.1.100
#--------------------------------------------------
echo "OSPFv2 Configuration"
#--------------------------------------------------
        ospf
            area 0.0.0.0
                interface "system"
                    no shutdown
                exit
                interface "int-SeGW1-SeGW2"
                    no shutdown
                exit
                interface "int-SeGW1-P1"
                    no shutdown
                exit
            exit
        exit
#--------------------------------------------------
echo "IPsec Configuration"
#--------------------------------------------------
    ipsec
        ike-policy 1 create
            ike-version 2
            ipsec-lifetime 7200
            isakmp-lifetime 172800    
        exit
        ipsec-transform 1 create
        exit
    exit
#--------------------------------------------------
echo "Service Configuration"
#--------------------------------------------------
    service
        sdp 100 create
            signaling off
            far-end 192.0.2.2
            keep-alive
                shutdown
            exit
            no shutdown
        exit
        sdp 200 create
            signaling off
            far-end 192.0.2.3
            keep-alive
                shutdown
            exit
            no shutdown
        exit
        ies 1 customer 1 create
            interface "int-SeGW1-S1" create
                address 172.16.1.252/24
                vrrp 10
                    backup 172.16.1.254
                    priority 200
                    policy 1
                    ping-reply
                exit
                sap 1/1/3 create
                exit
            exit
            interface "int-IPsec-Public-1" create
                address 10.10.20.254/24
                tos-marking-state untrusted
                sap tunnel-1.public:1 create
                exit
                static-tunnel-redundant-next-hop 192.168.255.2
            exit
            no shutdown
        exit
        vprn 2 customer 1 create
            ipsec
                security-policy 1 create
                    entry 10 create
                        local-ip 192.168.2.1/32
                        remote-ip 192.168.1.1/32
                    exit
                exit
            exit
            vrf-export "IPsec-to-MPBGP"
            route-distinguisher 64496:2
            vrf-target target:64496:2
            interface "int-IPsec-Private-1" tunnel create
                sap tunnel-1.private:1 create
                    ipsec-tunnel "tunnel-1" create
                        security-policy 1
                        local-gateway-address 10.10.20.1 peer 10.10.10.1
                                                         delivery-service 1
                        dynamic-keying
                            ike-policy 1
                            pre-shared-key "ALU"
                            transform 1
                        exit
                        no shutdown
                    exit              
                exit
                static-tunnel-redundant-next-hop 192.168.20.2
            exit
            interface "int-Redundant-1" create
                address 192.168.20.1/30
                spoke-sdp 100:20 create
                    ingress
                        vc-label 2049
                    exit
                    egress
                        vc-label 2048
                    exit
                    no shutdown
                exit
            exit
            static-route 192.168.1.1/32 ipsec-tunnel "tunnel-1"
            spoke-sdp 100 create
                description "SDP to SeGW-2"
            exit
            spoke-sdp 200 create
                description "SDP to P-1"
            exit
            no shutdown
        exit
    exit
 
Step 4.
 
*A:SeGW-1>config>redundancy# info 
----------------------------------------------
        multi-chassis
            peer 192.0.2.2 create
                sync
                    ipsec
                    tunnel-group 1 sync-tag "tag-1" create
                    no shutdown
                exit
                mc-ipsec
                    bfd-enable
                    tunnel-group 1 create
                        peer-group 1
                        priority 200
                        no shutdown
                    exit
                exit
                no shutdown
            exit 
        exit 
----------------------------------------------
*A:SeGW-1>config>router# info 
----------------------------------------------
        interface "system"
            address 192.0.2.1/32
            bfd 100 receive 100 multiplier 3
            no shutdown
        exit
 
 
 
Step 5.
State “ipsec-master-without-peer” could be used to attract traffic to the designated master in case of “Dual Master” (meaning two chassis lose the MIMP connection in base routing instance). In this example, SeGW-1 has local preference 200 and SeGW-2 has local preference 100 for ipsec-master-without-peer.
 
#--------------------------------------------------
echo "Policy Configuration"
#--------------------------------------------------
        policy-options
            begin
            prefix-list "CE1-Internal"
                prefix 192.168.1.1/32 exact
            exit
            community "vprn2" members "target:64496:2"
            policy-statement "IPsec-to-MPBGP"
                entry 10
                    from
                        prefix-list "CE1-Internal"
                        state ipsec-master-with-peer
                    exit
                    action accept
                        community add "vprn2"
                        local-preference 200
                    exit
                exit
                entry 20
                    from
                        prefix-list "CE1-Internal"
                        state ipsec-non-master
                    exit
                    action accept
                        community add "vprn2"
                        local-preference 100
                    exit
                exit
                entry 30
                    from
                        prefix-list "CE1-Internal"
                        state ipsec-master-without-peer
                    exit
                    action accept
                        community add "vprn2"
                        local-preference 200
                    exit
                exit
                default-action accept
                    community add "vprn2"
                exit
            exit
            commit
        exit
#--------------------------------------------------
echo "BGP Configuration"
#--------------------------------------------------
        bgp
            group "MPBGP"
                family vpn-ipv4
                peer-as 64496         
                neighbor 192.0.2.2
                exit
                neighbor 192.0.2.3
                exit
            exit
            no shutdown
        exit
exit
----------------------------------------------
A:SeGW-1>config>service>
        vprn 2 customer 1 create
            vrf-export "IPsec-to-MPBGP"
 
 
Step 6.
 
*A:SeGW-1>config>vrrp# info 
----------------------------------------------
        policy 1
            priority-event
                mc-ipsec-non-forwarding 1
                    priority 50 explicit
                exit
            exit
        exit
----------------------------------------------
*A:SeGW-1>config>service>ies# info 
----------------------------------------------
            interface "int-SeGW1-S1" create
                address 172.16.1.252/24
                vrrp 10
                    backup 172.16.1.254
                    priority 200
                    policy 1
                    ping-reply
                exit
                sap 1/1/3 create
                exit
            exit
 
 
Step 7.
 
#--------------------------------------------------
echo "ISA Configuration"
#--------------------------------------------------
    isa
        tunnel-group 1 create
            ipsec-responder-only
            multi-active
            mda 1/2
            no shutdown               
        exit
    exit
#--------------------------------------------------
echo "Redundancy Configuration"
#--------------------------------------------------
    redundancy                        
        multi-chassis
            peer 192.0.2.1 create
                sync
                    ipsec
                    tunnel-group 1 sync-tag "tag-1" create
                    no shutdown
                exit
                mc-ipsec
                    bfd-enable
                    tunnel-group 1 create
                        peer-group 1
                        priority 150
                        no shutdown
                    exit
                exit
                no shutdown
            exit 
        exit 
    exit 
 
#--------------------------------------------------
echo "Router (Network Side) Configuration"
#--------------------------------------------------
    router 
        interface "int-SeGW2-P1"
            address 192.168.253.1/30
            port 1/1/4
            no shutdown
        exit
        interface "int-SeGW2-SeGW1"
            address 192.168.255.2/30
            port 1/1/2
            no shutdown
        exit
        interface "system"
            address 192.0.2.2/32
            bfd 100 receive 100 multiplier 3
            no shutdown
        exit
        autonomous-system 64496       
#--------------------------------------------------
echo "Static Route Configuration"
#--------------------------------------------------
        static-route 10.10.10.0/24 next-hop 172.16.1.100
#--------------------------------------------------
echo "OSPFv2 Configuration"
#--------------------------------------------------
        ospf
            area 0.0.0.0
                interface "system"
                    no shutdown
                exit
                interface "int-SeGW2-SeGW1"
                    no shutdown
                exit
                interface "int-SeGW2-P1"
                    no shutdown
                exit
            exit
        exit
 
#--------------------------------------------------
echo "IPsec Configuration"
#--------------------------------------------------
    ipsec                             
        ike-policy 1 create
            ike-version 2
            ipsec-lifetime 7200
            isakmp-lifetime 172800
        exit
        ipsec-transform 1 create
        exit
    exit
#--------------------------------------------------
echo "Service Configuration"
#--------------------------------------------------
    service
        sdp 100 create
            far-end 192.0.2.1
            signaling off
            keep-alive
                shutdown
            exit
            no shutdown
        exit
        sdp 300 create
            far-end 192.0.2.3
            signaling off
            keep-alive                
                shutdown
            exit
            no shutdown
        exit
        ies 1 customer 1 create
            interface "int-SeGW2-S1" create
                address 172.16.1.253/24
                vrrp 10
                    backup 172.16.1.254
                    ping-reply
                exit
                sap 1/1/3 create
                exit
            exit
            interface "int-IPsec-Public-1" create
                address 10.10.20.254/24
                tos-marking-state untrusted
                sap tunnel-1.public:1 create
                exit
                static-tunnel-redundant-next-hop 192.168.255.1
            exit
            no shutdown
        exit
        vprn 2 customer 1 create
            ipsec
                security-policy 1 create
                    entry 10 create
                        local-ip 192.168.2.1/32
                        remote-ip 192.168.1.1/32
                    exit
                exit
            exit
            vrf-export "IPsec-to-MPBGP"
            route-distinguisher 64496:2
            vrf-target target:64496:2
            interface "int-IPsec-Private-1" tunnel create
                sap tunnel-1.private:1 create
                    ipsec-tunnel "tunnel-1" create
                        security-policy 1
                        local-gateway-address 10.10.20.1 peer 10.10.10.1
                                                         delivery-service 1
                        dynamic-keying
                            ike-policy 1
                            pre-shared-key "ALU"
                            transform 1
                        exit
                        no shutdown   
                    exit
                exit
                static-tunnel-redundant-next-hop 192.168.20.1
            exit
            interface "int-Redundant-1" create
                address 192.168.20.2/30
                spoke-sdp 100:20 create
                    ingress
                        vc-label 2048
                    exit
                    egress
                        vc-label 2049
                    exit
                    no shutdown
                exit
            exit
            static-route 192.168.1.1/32 ipsec-tunnel "tunnel-1"
            spoke-sdp 100 create
                description "SDP to SeGW-1"
            exit
            spoke-sdp 300 create
                description "SDP to P-1"
            exit
            no shutdown
        exit
    exit
#--------------------------------------------------
echo "Router (Service Side) Configuration"
#--------------------------------------------------
    router 
#--------------------------------------------------
echo "Policy Configuration"
#--------------------------------------------------
        policy-options
            begin
            prefix-list "CE1-Internal"
                prefix 192.168.1.1/32 exact
            exit
            community "vprn2" members "target:64496:2"
            policy-statement "IPsec-to-MPBGP"
                entry 10
                    from
                        prefix-list "CE1-Internal"
                        state ipsec-master-with-peer
                    exit
                    action accept
                        community add "vprn2"
                        local-preference 200
                    exit
                exit
                entry 20
                    from
                        prefix-list "CE1-Internal"
                        state ipsec-non-master
                    exit
                    action accept
                        community add "vprn2"
                        local-preference 100
                    exit
                exit
                entry 30
                    from
                        prefix-list "CE1-Internal"
                        state ipsec-master-without-peer
                    exit
                    action accept
                        community add "vprn2"
                        local-preference 100
                    exit
                exit
                default-action accept
                    community add "vprn2"
                exit
            exit
            commit
        exit
#--------------------------------------------------
echo "BGP Configuration"
#--------------------------------------------------
        bgp
            group "MPBGP"
                family vpn-ipv4       
                peer-as 64496
                neighbor 192.0.2.1
                exit
                neighbor 192.0.2.3
                exit
            exit
            no shutdown
        exit
    exit
 
 
 
Step 8.
 
A:SeGW-1# show redundancy multi-chassis mc-ipsec peer 192.0.2.2 
===============================================================================
Multi-Chassis MC-IPsec
===============================================================================
Peer Name       : (Not Specified)
Peer Addr       : 192.0.2.2           
Keep Alive Intvl: 1.0 secs            Hold on Nbr Fail     : 3
Discovery Intvl : 300 secs            Discovery Boot Intvl : 300 secs
BFD             : Enable              
Last update     : 04/04/2014 10:23:35 
 
======================================================================
Multi-Chassis IPsec Multi Active Tunnel-Group Table
======================================================================
ID             Peer Group     Priority  Admin State    Mastership
----------------------------------------------------------------------
1              1              200       Up             master
----------------------------------------------------------------------
Multi Active Tunnel Group Entries found: 1
======================================================================
===============================================================================
A:SeGW-1# 
 
 
A:SeGW-2# show redundancy multi-chassis mc-ipsec peer 192.0.2.1 
===============================================================================
Multi-Chassis MC-IPsec
===============================================================================
Peer Name       : (Not Specified)
Peer Addr       : 192.0.2.1           
Keep Alive Intvl: 1.0 secs            Hold on Nbr Fail     : 3
Discovery Intvl : 300 secs            Discovery Boot Intvl : 300 secs
BFD             : Enable              
Last update     : 04/04/2014 10:23:50 
 
======================================================================
Multi-Chassis IPsec Multi Active Tunnel-Group Table
======================================================================
ID             Peer Group     Priority  Admin State    Mastership
----------------------------------------------------------------------
1              1              150       Up             standby
----------------------------------------------------------------------
Multi Active Tunnel Group Entries found: 1
======================================================================
===============================================================================
A:SeGW-2#
 
 
A:SeGW-1# show router vrrp instance 
===============================================================================
VRRP Instances
===============================================================================
Interface Name                   VR Id Own Adm  State       Base Pri   Msg Int
                                 IP        Opr  Pol Id      InUse Pri  Inh Int
-------------------------------------------------------------------------------
int-SeGW1-S1                     10    No  Up   Master       200       1
                                 IPv4      Up   1           200        No
  Backup Addr: 172.16.1.254                                             
-------------------------------------------------------------------------------
Instances : 1
===============================================================================
A:SeGW-1#
 
 
A:SeGW-2# show router vrrp instance 
===============================================================================
VRRP Instances
===============================================================================
Interface Name                   VR Id Own Adm  State       Base Pri   Msg Int
                                 IP        Opr  Pol Id      InUse Pri  Inh Int
-------------------------------------------------------------------------------
int-SeGW2-S1                     10    No  Up   Backup       100       1
                                 IPv4      Up   n/a         100        No
  Backup Addr: 172.16.1.254                                             
-------------------------------------------------------------------------------
Instances : 1
===============================================================================
A:SeGW-2#
.
Step 9.
 
A:CE-1# ping router 2 192.168.2.1 
PING 192.168.2.1 56 data bytes
64 bytes from 192.168.2.1: icmp_seq=2 ttl=63 time=2.35ms.
64 bytes from 192.168.2.1: icmp_seq=3 ttl=63 time=2.31ms.
64 bytes from 192.168.2.1: icmp_seq=4 ttl=63 time=2.28ms.
64 bytes from 192.168.2.1: icmp_seq=5 ttl=63 time=2.27ms.
Request timed out. icmp_seq=1.
 
---- 192.168.2.1 PING Statistics ----
5 packets transmitted, 4 packets received, 20.00% packet loss
round-trip min = 2.27ms, avg = 2.30ms, max = 2.35ms, stddev = 0.031ms
A:CE-1# 
 
 
A:CE-1# show ipsec tunnel 
===============================================================================
IPsec Tunnels
===============================================================================
TunnelName                       LocalAddress      SvcId        Admn   Keying
  SapId                            RemoteAddress     DlvrySvcId   Oper   Sec
                                                                         Plcy
-------------------------------------------------------------------------------
tunnel-1                         10.10.10.1        2            Up     Dynamic
  tunnel-1.private:1               10.10.20.1        1            Up     1
-------------------------------------------------------------------------------
IPsec Tunnels: 1
===============================================================================
A:CE-1# 
 
 
 
Step 10.
 
A:SeGW-1# show ipsec tunnel 
===============================================================================
IPsec Tunnels
===============================================================================
TunnelName                       LocalAddress      SvcId        Admn   Keying
  SapId                            RemoteAddress     DlvrySvcId   Oper   Sec
                                                                         Plcy
-------------------------------------------------------------------------------
tunnel-1                         10.10.20.1        2            Up     Dynamic
  tunnel-1.private:1               10.10.10.1        1            Up     1
-------------------------------------------------------------------------------
IPsec Tunnels: 1
===============================================================================
A:SeGW-1#
 
 
A:SeGW-2# show ipsec tunnel 
===============================================================================
IPsec Tunnels
===============================================================================
TunnelName                       LocalAddress      SvcId        Admn   Keying
  SapId                            RemoteAddress     DlvrySvcId   Oper   Sec
                                                                         Plcy
-------------------------------------------------------------------------------
tunnel-1                         10.10.20.1        2            Up     Dynamic
  tunnel-1.private:1               10.10.10.1        1            Up     1
-------------------------------------------------------------------------------
IPsec Tunnels: 1
===============================================================================
A:SeGW-2#
 
 
A:SeGW-2# show redundancy multi-chassis sync 
===============================================================================
Multi-chassis Peer Table
===============================================================================
Peer
-------------------------------------------------------------------------------
Peer IP Address         : 192.0.2.1
Description             : (Not Specified)
Authentication          : Disabled
Source IP Address       : 192.0.2.2
Admin State             : Enabled
Warm standby            : No
Remote warm standby     : No
-------------------------------------------------------------------------------
Sync-status
-------------------------------------------------------------------------------
Client Applications     : IPsec 
Sync Admin State        : Up
Sync Oper State         : Up
Sync Oper Flags         : 
DB Sync State           : inSync
Num Entries             : 2
Lcl Deleted Entries     : 0
Alarm Entries           : 0
OMCR Standby Entries    : 0
OMCR Alarm Entries      : 0
Rem Num Entries         : 2
Rem Lcl Deleted Entries : 0
Rem Alarm Entries       : 0
Rem OMCR Standby Entries: 0
Rem OMCR Alarm Entries  : 0
===============================================================================
===============================================================================
A:SeGW-2#
 
 
A:P-1# show router bgp routes vpn-ipv4 
===============================================================================
 BGP Router ID:192.0.2.3        AS:64496       Local AS:64496      
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
 
===============================================================================
BGP VPN-IPv4 Routes
===============================================================================
Flag  Network                                            LocalPref   MED
      Nexthop                                            Path-Id     Label
      As-Path                                                        
-------------------------------------------------------------------------------
u*>i  64496:2:192.168.1.1/32                             200         None
      192.0.2.1                                          None        262143
      No As-Path                                                      
*i    64496:2:192.168.1.1/32                             100         None
      192.0.2.2                                          None        262143
      No As-Path                                                      
u*>i  64496:2:192.168.20.0/30                            100         None
      192.0.2.1                                          None        262143
      No As-Path                                                      
*>i   64496:2:192.168.20.0/30                            100         None
      192.0.2.2                                          None        262143
      No As-Path                                                      
-------------------------------------------------------------------------------
Routes : 4
===============================================================================
A:P-1#
 
Step 11.
Note: notEligible means the tunnel-group is down, refer to the SR OS MS-ISA Guide for details description of MIMP states.
 
A:SeGW-1# show redundancy multi-chassis mc-ipsec peer 192.0.2.2 
===============================================================================
Multi-Chassis MC-IPsec
===============================================================================
Peer Name       : (Not Specified)
Peer Addr       : 192.0.2.2           
Keep Alive Intvl: 1.0 secs            Hold on Nbr Fail     : 3
Discovery Intvl : 300 secs            Discovery Boot Intvl : 300 secs
BFD             : Enable              
Last update     : 04/04/2014 10:23:35 
======================================================================
Multi-Chassis IPsec Multi Active Tunnel-Group Table
======================================================================
ID             Peer Group     Priority  Admin State    Mastership
----------------------------------------------------------------------
1              1              200       Up             master
----------------------------------------------------------------------
Multi Active Tunnel Group Entries found: 1
======================================================================
===============================================================================
A:SeGW-1#
 
 
A:SeGW-1# show router vrrp instance 
===============================================================================
VRRP Instances
===============================================================================
Interface Name                   VR Id Own Adm  State       Base Pri   Msg Int
                                 IP        Opr  Pol Id      InUse Pri  Inh Int
-------------------------------------------------------------------------------
int-SeGW1-S1                     10    No  Up   Master       200       1
                                 IPv4      Up   1           200        No
  Backup Addr: 172.16.1.254                                             
-------------------------------------------------------------------------------
Instances : 1
===============================================================================
A:SeGW-1#
 
 
A:SeGW-2# show redundancy multi-chassis mc-ipsec peer 192.0.2.1 
===============================================================================
Multi-Chassis MC-IPsec
===============================================================================
Peer Name       : (Not Specified)
Peer Addr       : 192.0.2.1           
Keep Alive Intvl: 1.0 secs            Hold on Nbr Fail     : 3
Discovery Intvl : 300 secs            Discovery Boot Intvl : 300 secs
BFD             : Enable              
Last update     : 04/04/2014 10:23:50 
 
======================================================================
Multi-Chassis IPsec Multi Active Tunnel-Group Table
======================================================================
ID             Peer Group     Priority  Admin State    Mastership
----------------------------------------------------------------------
1              1              150       Up             standby
----------------------------------------------------------------------
Multi Active Tunnel Group Entries found: 1
======================================================================
===============================================================================
A:SeGW-2#
 
 
A:SeGW-2# show router vrrp instance 
 
===============================================================================
VRRP Instances
===============================================================================
Interface Name                   VR Id Own Adm  State       Base Pri   Msg Int
                                 IP        Opr  Pol Id      InUse Pri  Inh Int
-------------------------------------------------------------------------------
int-SeGW2-S1                     10    No  Up   Backup       100       1
                                 IPv4      Up   n/a         100        No
  Backup Addr: 172.16.1.254                                             
-------------------------------------------------------------------------------
Instances : 1
===============================================================================
A:SeGW-2#
 
 
*A:SeGW-1# configure card 1 mda 2 shutdown
 
 
*A:SeGW-1# show redundancy multi-chassis mc-ipsec peer 192.0.2.2 
 
===============================================================================
Multi-Chassis MC-IPsec
===============================================================================
Peer Name       : (Not Specified)
Peer Addr       : 192.0.2.2           
Keep Alive Intvl: 1.0 secs            Hold on Nbr Fail     : 3
Discovery Intvl : 300 secs            Discovery Boot Intvl : 300 secs
BFD             : Enable              
Last update     : 04/04/2014 10:23:35 
 
======================================================================
Multi-Chassis IPsec Multi Active Tunnel-Group Table
======================================================================
ID             Peer Group     Priority  Admin State    Mastership
----------------------------------------------------------------------
1              1              200       Up             notEligible
----------------------------------------------------------------------
Multi Active Tunnel Group Entries found: 1
======================================================================
===============================================================================
*A:SeGW-1# 
 
 
 
 
*A:SeGW-1# show router vrrp instance 
===============================================================================
VRRP Instances
===============================================================================
Interface Name                   VR Id Own Adm  State       Base Pri   Msg Int
                                 IP        Opr  Pol Id      InUse Pri  Inh Int
-------------------------------------------------------------------------------
int-SeGW1-S1                     10    No  Up   Backup       200       1
                                 IPv4      Up   1           50         No
  Backup Addr: 172.16.1.254                                             
-------------------------------------------------------------------------------
Instances : 1
===============================================================================
*A:SeGW-1# 
 
 
A:SeGW-2# show redundancy multi-chassis mc-ipsec peer 192.0.2.1 
===============================================================================
Multi-Chassis MC-IPsec
===============================================================================
Peer Name       : (Not Specified)
Peer Addr       : 192.0.2.1           
Keep Alive Intvl: 1.0 secs            Hold on Nbr Fail     : 3
Discovery Intvl : 300 secs            Discovery Boot Intvl : 300 secs
BFD             : Enable              
Last update     : 04/04/2014 10:23:50 
======================================================================
Multi-Chassis IPsec Multi Active Tunnel-Group Table
======================================================================
ID             Peer Group     Priority  Admin State    Mastership
----------------------------------------------------------------------
1              1              150       Up             master
----------------------------------------------------------------------
Multi Active Tunnel Group Entries found: 1
======================================================================
===============================================================================
A:SeGW-2#
 
 
A:SeGW-2# show router vrrp instance 
===============================================================================
VRRP Instances
===============================================================================
Interface Name                   VR Id Own Adm  State       Base Pri   Msg Int
                                 IP        Opr  Pol Id      InUse Pri  Inh Int
-------------------------------------------------------------------------------
int-SeGW2-S1                     10    No  Up   Master       100       1
                                 IPv4      Up   n/a         100        No
  Backup Addr: 172.16.1.254                                             
-------------------------------------------------------------------------------
Instances : 1
===============================================================================
A:SeGW-2# 
 
 
Step 12.
Note: The MC-IPSec switchover could be triggered manually with the tools perform redundancy multi-chassis mc-ipsec force-switchover tunnel-group 1 command.
 
*A:SeGW-1# show redundancy multi-chassis mc-ipsec peer 192.0.2.2 
===============================================================================
Multi-Chassis MC-IPsec
===============================================================================
Peer Name       : (Not Specified)
Peer Addr       : 192.0.2.2           
Keep Alive Intvl: 1.0 secs            Hold on Nbr Fail     : 3
Discovery Intvl : 300 secs            Discovery Boot Intvl : 300 secs
BFD             : Enable              
Last update     : 04/04/2014 10:23:35 
======================================================================
Multi-Chassis IPsec Multi Active Tunnel-Group Table
======================================================================
ID             Peer Group     Priority  Admin State    Mastership
----------------------------------------------------------------------
1              1              200       Up             master
----------------------------------------------------------------------
Multi Active Tunnel Group Entries found: 1
======================================================================
===============================================================================
*A:SeGW-1#
 
 
*A:SeGW-1# show router vrrp instance 
===============================================================================
VRRP Instances
===============================================================================
Interface Name                   VR Id Own Adm  State       Base Pri   Msg Int
                                 IP        Opr  Pol Id      InUse Pri  Inh Int
-------------------------------------------------------------------------------
int-SeGW1-S1                     10    No  Up   Master       200       1
                                 IPv4      Up   1           200        No
  Backup Addr: 172.16.1.254                                             
-------------------------------------------------------------------------------
Instances : 1
===============================================================================
*A:SeGW-1#
 
 
 
A:SeGW-2# show redundancy multi-chassis mc-ipsec peer 192.0.2.1 
===============================================================================
Multi-Chassis MC-IPsec
===============================================================================
Peer Name       : (Not Specified)
Peer Addr       : 192.0.2.1           
Keep Alive Intvl: 1.0 secs            Hold on Nbr Fail     : 3
Discovery Intvl : 300 secs            Discovery Boot Intvl : 300 secs
BFD             : Enable              
Last update     : 04/04/2014 10:23:50 
 
======================================================================
Multi-Chassis IPsec Multi Active Tunnel-Group Table
======================================================================
ID             Peer Group     Priority  Admin State    Mastership
----------------------------------------------------------------------
1              1              150       Up             standby
----------------------------------------------------------------------
Multi Active Tunnel Group Entries found: 1
======================================================================
===============================================================================
A:SeGW-2# 
 
 
A:SeGW-2# show router vrrp instance 
===============================================================================
VRRP Instances
===============================================================================
Interface Name                   VR Id Own Adm  State       Base Pri   Msg Int
                                 IP        Opr  Pol Id      InUse Pri  Inh Int
-------------------------------------------------------------------------------
int-SeGW2-S1                     10    No  Up   Backup       100       1
                                 IPv4      Up   n/a         100        No
  Backup Addr: 172.16.1.254                                             
-------------------------------------------------------------------------------
Instances : 1
===============================================================================
A:SeGW-2#
 
 
A:SeGW-1# admin reboot
Are you sure you want to reboot (y/n)? y
 
A:SeGW-2# show redundancy multi-chassis mc-ipsec peer 192.0.2.1 
===============================================================================
Multi-Chassis MC-IPsec
===============================================================================
Peer Name       : (Not Specified)
Peer Addr       : 192.0.2.1           
Keep Alive Intvl: 1.0 secs            Hold on Nbr Fail     : 3
Discovery Intvl : 300 secs            Discovery Boot Intvl : 300 secs
BFD             : Enable              
Last update     : 04/04/2014 10:23:50 
======================================================================
Multi-Chassis IPsec Multi Active Tunnel-Group Table
======================================================================
ID             Peer Group     Priority  Admin State    Mastership
----------------------------------------------------------------------
1              1              150       Up             eligible
----------------------------------------------------------------------
Multi Active Tunnel Group Entries found: 1
======================================================================
===============================================================================
A:SeGW-2#
 
 
A:SeGW-2# show router vrrp instance 
===============================================================================
VRRP Instances
===============================================================================
Interface Name                   VR Id Own Adm  State       Base Pri   Msg Int
                                 IP        Opr  Pol Id      InUse Pri  Inh Int
-------------------------------------------------------------------------------
int-SeGW2-S1                     10    No  Up   Master       100       1
                                 IPv4      Up   n/a         100        No
  Backup Addr: 172.16.1.254                                             
-------------------------------------------------------------------------------
Instances : 1
===============================================================================
A:SeGW-2#
 
SeGW-1 comes up.
A:SeGW-1# show redundancy multi-chassis mc-ipsec peer 192.0.2.2 
===============================================================================
Multi-Chassis MC-IPsec
===============================================================================
Peer Name       : (Not Specified)
Peer Addr       : 192.0.2.2           
Keep Alive Intvl: 1.0 secs            Hold on Nbr Fail     : 3
Discovery Intvl : 300 secs            Discovery Boot Intvl : 300 secs
BFD             : Enable              
Last update     : 04/04/2014 10:58:07 
 
======================================================================
Multi-Chassis IPsec Multi Active Tunnel-Group Table
======================================================================
ID             Peer Group     Priority  Admin State    Mastership
----------------------------------------------------------------------
1              1              200       Up             discovery
----------------------------------------------------------------------
Multi Active Tunnel Group Entries found: 1
======================================================================
===============================================================================
A:SeGW-1#
 
 
A:SeGW-1# show redundancy multi-chassis mc-ipsec peer 192.0.2.2 
===============================================================================
Multi-Chassis MC-IPsec
===============================================================================
Peer Name       : (Not Specified)
Peer Addr       : 192.0.2.2           
Keep Alive Intvl: 1.0 secs            Hold on Nbr Fail     : 3
Discovery Intvl : 300 secs            Discovery Boot Intvl : 300 secs
BFD             : Enable              
Last update     : 04/04/2014 10:58:07 
 
======================================================================
Multi-Chassis IPsec Multi Active Tunnel-Group Table
======================================================================
ID             Peer Group     Priority  Admin State    Mastership
----------------------------------------------------------------------
1              1              200       Up             standby
----------------------------------------------------------------------
Multi Active Tunnel Group Entries found: 1
======================================================================
===============================================================================
A:SeGW-1#
 
 
A:SeGW-1# show router vrrp instance 
===============================================================================
VRRP Instances
===============================================================================
Interface Name                   VR Id Own Adm  State       Base Pri   Msg Int
                                 IP        Opr  Pol Id      InUse Pri  Inh Int
-------------------------------------------------------------------------------
int-SeGW1-S1                     10    No  Up   Backup       200       1
                                 IPv4      Up   1           50         No
  Backup Addr: 172.16.1.254                                             
-------------------------------------------------------------------------------
Instances : 1
===============================================================================
A:SeGW-1#
 
 
A:SeGW-2# show redundancy multi-chassis mc-ipsec peer 192.0.2.1 
===============================================================================
Multi-Chassis MC-IPsec
===============================================================================
Peer Name       : (Not Specified)
Peer Addr       : 192.0.2.1           
Keep Alive Intvl: 1.0 secs            Hold on Nbr Fail     : 3
Discovery Intvl : 300 secs            Discovery Boot Intvl : 300 secs
BFD             : Enable              
Last update     : 04/04/2014 10:23:50 
 
======================================================================
Multi-Chassis IPsec Multi Active Tunnel-Group Table
======================================================================
ID             Peer Group     Priority  Admin State    Mastership
----------------------------------------------------------------------
1              1              150       Up             master
----------------------------------------------------------------------
Multi Active Tunnel Group Entries found: 1
======================================================================
===============================================================================
A:SeGW-2#
 
 
Configuration Guidelines
The following is a list of configuration and operational guidelines that the user should follow for MC-IPSec:
1.
2.
3.
Conclusion
MC-IPSec provides a stateful multi-chassis IPSec redundancy solution. This is very important in a carrier grade network, especially in applications like mobile backhaul where high value 3G/4G mobile service run over IPSec tunnels.