Monday, July 22, 2013

Implement Cisco L3 Switch for EPS E-UTRAN (S1-MME,S1-U Interface)


Here are the last config on Cisco layer 3 switch (L3_Switch) for implement E-UTRAN network (S1-MME, S1-U interface).

Please refer to LTE Interface and Virtual Routing for picture. Config for S11 and SGi, S5, S6a Interface.

#### Parameter (S11, SGi, S5, S6a, S1-MME, S1-U)

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
Ethernet0/9: S1_MME
Ethernet0/10: S1_ENODEB
Ethernet0/11: S1U_SGW
Ethernet0/12: S1U_ENODEB

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
MME_S1 192.168.0.2/28, gateway (default route) 192.168.0.1
ENODEB_S1 192.168.2.2/28, gateway (default route) 192.168.2.1
SGW_S1U 192.168.4.2/28, gateway (default route) 192.168.4.1
ENODEB_S1U 192.168.6.2/28, gateway (default route) 192.168.6.1


#### Config

L3_Switch#
vlan 19
 name S1_MME
 state active
 no shutdown

interface Ethernet0/9
 switchport
 switchport access vlan 19

interface vlan19
 description S1_MME
 ip vrf forwarding S1_VR
 ip address 192.168.0.2 255.255.255.240
 ip address 192.168.0.1 255.255.255.240
 no shutdown

vlan 20
 name S1_ENODEB
 state active
 no shutdown

interface Ethernet0/10
 switchport
 switchport access vlan 20

interface vlan20
 description S1_ENODEB
 ip vrf forwarding S1_VR
 ip address 192.168.2.2 255.255.255.240
 ip address 192.168.2.1 255.255.255.240
 no shutdown

vlan 21
 name S1U_SGW
 state active
 no shutdown

interface Ethernet0/11
 switchport
 switchport access vlan 21

interface vlan21
 description S1U_SGW
 ip vrf forwarding S1_VR
 ip address 192.168.4.2 255.255.255.240
 ip address 192.168.4.1 255.255.255.240
 no shutdown

vlan 22
 name S1U_ENODEB
 state active
 no shutdown

interface Ethernet0/12
 switchport
 switchport access vlan 22

interface vlan22
 description S1U_ENODEB
 ip vrf forwarding S1_VR
 ip address 192.168.6.2 255.255.255.240
 ip address 192.168.6.1 255.255.255.240
 no shutdown

Correction for IP address in interface L3_Switch, Thank you :-)

Saturday, July 20, 2013

Compare Juniper Config use show | compare


Light posting in weekend about compare. I ever posted about Compare Cisco Config use Diff. Actually I find that feature because I got inspired from JunOS feature.

You can compare configuration with any filename/URL of configuration file or index of rollback configuration file. Usually it's use after modify configuration and want to save or commit.

user@Juniper> configure 
Entering configuration mode

[edit]
user@Juniper# set system services ssh 

[edit]
user@Juniper# show | compare rollback 0 
[edit system services]
+    ssh;

  • it's mean compare new config after modify and current configuration (rollback 0)
  • + indicates the configuration line exists (different) after modify

or you can use : (the same result)
show | compare only it's mean compare new config after modify and current configuration (rollback 0)

[edit]
user@Juniper# show | compare 
[edit system services]
+    ssh;

Easy right! Thank you for reading and have nice weekend :-)

Friday, July 19, 2013

Cisco Enable Secret, Enable Password and Virtual Terminal Password


Would you like to enter the initial configuration dialog?

That dialog will be appear at first time you are start up Cisco device. For advanced user and bettter initial will choose 'no'. Why 'no' ? You can setup by enter configure terminal and copy paste from example configuration, that is easiest way.

Escape character is '^]'.

% Please answer 'yes' or 'no'.
Would you like to enter the initial configuration dialog? [yes/no]: no


Press RETURN to get started!

What happen if will choose 'yes' ? Several dialog will appear and some question have default settings are in square brackets '[]'. If you decide to choose 'yes', some mandatory parameter must be fill. That are enable secret, enable password and virtual terminal password. What are they ?

  The enable secret is a password used to protect access to
  privileged EXEC and configuration modes. This password, after
  entered, becomes encrypted in the configuration.
  Enter enable secret: 
% No defaulting allowed
  Enter enable secret: 
% No defaulting allowed
  Enter enable secret: 

  The enable password is used when you do not specify an
  enable secret password, with some older software versions, and
  some boot images.
  Enter enable password: 
% No defaulting allowed
  Enter enable password: 
% No defaulting allowed
  Enter enable password: 

  The virtual terminal password is used to protect
  access to the router over a network interface.
  Enter virtual terminal password: 
% No defaulting allowed
  Enter virtual terminal password: 
% No defaulting allowed
  Enter virtual terminal password: 

The last dialog is selection to saving config.

[0] Go to the IOS command prompt without saving this config.
[1] Return back to the setup without saving this config.
[2] Save this configuration to nvram and exit.

Enter your selection [2]: 0
% You can enter the setup, by typing setup at IOS command prompt


Press RETURN to get started!

Have fun with Cisco IOS and have nice weekend.