Friday, July 19, 2013

Implement Juniper L3 Switch for EPC (SGi,S5,S6a Interface)


Another example complete config on Juniper layer 3 switch (L3_Switch) for implement EPC (SGi, S5, S6a interface). Please find parameter for crosscheck. Previous posting is implement Cisco L3 Switch for EPC (SGi,S5,S6a Interface), have posted config on Juniper for S11 Interface.

Please refer to LTE Interface and Virtual Routing for picture.

#### Parameter (S11, SGi, S5, S6a)

L3_Switch (JunOS)
ge-0/0/1: S11_MME
ge-0/0/2: S11_SGW
ge-0/0/3: S11_DNS
ge-0/0/4: S6a_HSS
ge-0/0/5: S6a_MME
ge-0/0/6: S5_SGW
ge-0/0/7: S5_PGW
ge-0/0/8: SGi_PGW

IP Address & Routing
MME_S11 192.168.16.2/28, gateway (default route) 192.168.16.1
SGW_S11 192.168.20.2/28, gateway (default route) 192.168.20.1
DNS_S11 192.168.21.2/28, gateway (default route) 192.168.21.1
HSS_S6a 192.168.8.2/28, gateway (default route) 192.168.8.1
MME_S6a 192.168.9.2/28, gateway (default route) 192.168.9.1
SGW_S5 192.168.24.2/28, gateway (default route) 192.168.24.1
PGW_S5 192.168.28.2/28, gateway (default route) 192.168.28.1
PGW_SGi 192.168.32.2/28, gateway (default route) 192.168.32.1

#### Config

set interfaces ge-0/0/4 description "S6a_HSS"
set interfaces ge-0/0/4 ether-options no-auto-negotiation
set interfaces ge-0/0/4 ether-options link-mode full-duplex
set interfaces ge-0/0/4 ether-options speed 100m
set interfaces ge-0/0/4 unit 0 family inet address 192.168.8.1/28
set interfaces ge-0/0/5 description "S6a_MME"
set interfaces ge-0/0/5 ether-options no-auto-negotiation
set interfaces ge-0/0/5 ether-options link-mode full-duplex
set interfaces ge-0/0/5 ether-options speed 100m
set interfaces ge-0/0/5 unit 0 family inet address 192.168.9.1/28
set interfaces ge-0/0/6 description "SGW_S5"
set interfaces ge-0/0/6 ether-options no-auto-negotiation
set interfaces ge-0/0/6 ether-options link-mode full-duplex
set interfaces ge-0/0/6 ether-options speed 100m
set interfaces ge-0/0/6 unit 0 family inet address 192.168.24.1/28
set interfaces ge-0/0/7 description "PGW_S5"
set interfaces ge-0/0/7 ether-options no-auto-negotiation
set interfaces ge-0/0/7 ether-options link-mode full-duplex
set interfaces ge-0/0/7 ether-options speed 100m
set interfaces ge-0/0/7 unit 0 family inet address 192.168.28.1/28
set interfaces ge-0/0/8 description "PGW_SGi"
set interfaces ge-0/0/8 ether-options no-auto-negotiation
set interfaces ge-0/0/8 ether-options link-mode full-duplex
set interfaces ge-0/0/8 ether-options speed 100m
set interfaces ge-0/0/8 unit 0 family inet address 192.168.32.1/28
set routing-instances S5_VR instance-type virtual-router
set routing-instances S5_VR interface ge-0/0/6.0
set routing-instances S5_VR interface ge-0/0/7.0
set routing-instances S6a_VR instance-type virtual-router
set routing-instances S6a_VR interface ge-0/0/4.0
set routing-instances S6a_VR interface ge-0/0/5.0
set routing-instances SGi_VR instance-type virtual-router
set routing-instances SGi_VR interface ge-0/0/8.0

Thursday, July 18, 2013

Implement Cisco L3 Switch for EPC (SGi,S5,S6a Interface)


Here are complete config on Cisco layer 3 switch (L3_Switch) in Core Network (EPC) for implement SGi,S5,S6a Interface. I have posted config for Implement S11 Interface.

Please refer to LTE Interface and Virtual Routing for picture.

#### Parameter (S11, SGi, S5, S6a)

L3_Switch (Cisco)
Ethernet0/1: S11_MME
Ethernet0/2: S11_SGW
Ethernet0/3: S11_DNS
Ethernet0/4: S6a_HSS
Ethernet0/5: S6a_MME
Ethernet0/6: S5_SGW
Ethernet0/7: S5_PGW
Ethernet0/8: SGi_PGW

IP Address & Routing
MME_S11 192.168.16.2/28, gateway (default route) 192.168.16.1
SGW_S11 192.168.20.2/28, gateway (default route) 192.168.20.1
DNS_S11 192.168.21.2/28, gateway (default route) 192.168.21.1
HSS_S6a 192.168.8.2/28, gateway (default route) 192.168.8.1
MME_S6a 192.168.9.2/28, gateway (default route) 192.168.9.1
SGW_S5 192.168.24.2/28, gateway (default route) 192.168.24.1
PGW_S5 192.168.28.2/28, gateway (default route) 192.168.28.1
PGW_SGi 192.168.32.2/28, gateway (default route) 192.168.32.1

#### Config

L3_Switch#
ip vrf S6a_VR
 rd 65000:8
ip vrf S5_VR
 rd 65000:24
ip vrf SGi_VR
 rd 65000:32

vlan 14
 name S6a_HSS
 state active
 no shutdown

interface Ethernet0/4

 switchport
 switchport access vlan 14

interface vlan14

 description S6a_HSS
 ip vrf forwarding S6a_VR
 ip address 192.168.8.1 255.255.255.240
 no shutdown

vlan 15

 name S6a_MME
 state active
 no shutdown

interface Ethernet0/5

 switchport
 switchport access vlan 15

interface vlan15

 description S6a_MME
 ip vrf forwarding S6a_VR
 ip address 192.168.9.1 255.255.255.240
 no shutdown

vlan 16

 name S5_SGW
 state active
 no shutdown

interface Ethernet0/6

 switchport
 switchport access vlan 16

interface vlan16

 description S5_SGW
 ip vrf forwarding S5_VR
 ip address 192.168.24.1 255.255.255.240
 no shutdown

vlan 17

 name S5_PGW
 state active
 no shutdown

interface Ethernet0/7

 switchport
 switchport access vlan 17

interface vlan17

 description S5_PGW
 ip vrf forwarding S5_VR
 ip address 192.168.28.1 255.255.255.240
 no shutdown

vlan 18

 name SGi_PGW
 state active
 no shutdown

interface Ethernet0/8

 switchport
 switchport access vlan 18

interface vlan18

 description SGi_PGW
 ip vrf forwarding SGi_VR
 ip address 192.168.32.1 255.255.255.240
 no shutdown

Revise Configuration Cisco L3 Switch for S11 Interface


Some of Cisco switch with layer 3 feature (Cisco 3750, etc) or routers with switching capabilities (Cisco 76 series, etc) have different way to config. In previous post Implement Cisco L3 Switch for S11 Interface and Implement Cisco L3 Switch for MME,SGW,DNS (S11 Interface), used physical-interface to configure IP address and virtual routing (VRF). Also don't forget to configure 'no switchport' to enable physical-interface as layer 3, due to some case interface as layer 2 by default.

#### Config

L3_Switch#
ip vrf S11_VR
 rd 65000:16

interface Ethernet0/1
 description S11_MME
 ip vrf forwarding S11_VR
 ip address 192.168.16.1 255.255.255.240
 duplex auto

interface Ethernet0/2
 description S11_SGW
 ip vrf forwarding S11_VR
 ip address 192.168.20.1 255.255.255.240
 duplex auto 

interface Ethernet0/3
 description S11_DNS
 ip vrf forwarding S11_VR
 ip address 192.168.21.1 255.255.255.240
 duplex auto 

The other way is used vlan-interface to configure IP address and virtual routing (VRF), create vlan-id and assign physical interface to access mode. Also don't forget to configure 'no switchport' to enable vlan-interface as layer 3, due to some case interface as layer 2 by default.

#### Config

L3_Switch#
ip vrf S11_VR
 rd 65000:16

vlan 11
 name S11_MME
 state active
 no shutdown

interface Ethernet0/1
 switchport
 switchport access vlan 11
 duplex auto

interface vlan11
 no switchport
 description S11_MME
 ip vrf forwarding S11_VR
 ip address 192.168.16.1 255.255.255.240

vlan 12
 name S11_SGW
 state active
 no shutdown

interface Ethernet0/2
 switchport
 switchport access vlan 12
 duplex auto

interface vlan12
 no switchport
 description S11_SGW
 ip vrf forwarding S11_VR
 ip address 192.168.20.1 255.255.255.240

vlan 13
 name S11_DNS
 state active
 no shutdown

interface Ethernet0/3
 switchport
 switchport access vlan 13
 duplex auto

interface vlan13
 no switchport
 description S11_DNS
 ip vrf forwarding S11_VR
 ip address 192.168.21.1 255.255.255.240

My apologies about it, for next I will use vlan-interface to configure Cisco switch interface as layer 3.