Difference between revisions of "Device configuration for MupsBox"

From Mupssoft Wiki
Jump to navigation Jump to search
Line 9: Line 9:
 
'''BASIC CONFIG - SUMMARY STEPS'''
 
'''BASIC CONFIG - SUMMARY STEPS'''
  
1.    '''enable'''
+
1.    Router> '''enable'''
  
2.    '''configure terminal'''
+
2.    Router# '''configure terminal'''
 +
 
 +
3.    Router(config)# '''interface gigabitethernet''' 0/0
 +
 
 +
4.    Router(config-if)# '''ip adress''' 10.9.90.201 255.255.255.0
 +
 
 +
5.    Router(config-if)# '''no shutdown'''
 +
 
 +
6.    Router(config-if)# '''exit'''
 +
 
 +
7.    Router(config)# '''ip route 0.0.0.0 0.0.0.0''' 10.9.90.1
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 92: Line 102:
  
  
 +
'''BASIC SSH CONFIG - SUMMARY STEPS'''
 +
 +
8.      Router(config)# '''ip domain name''' domain.local
 +
 +
9.      Router(config)# '''hostname''' MBRouter
 +
 +
10.    MBRouter(config)# '''crypto key generate rsa modulus 1024'''
 +
 +
11.    MBRouter(config)# '''username''' ''root'' privilege 15 '''secret''' ''PassW0rd''
 +
 +
12.    MBRouter(config)# '''aaa new-model'''
 +
 +
13.    MBRouter(config)# '''line vty 0 4'''
 +
 +
14.    MBRouter(config-line)# '''transport input ssh'''
 +
 +
MBRouter(config-line)# '''exit'''
 
{| class="wikitable"
 
{| class="wikitable"
 
|+BASIC SSH CONFIG - DETAILED STEPS
 
|+BASIC SSH CONFIG - DETAILED STEPS
Line 169: Line 196:
  
 
MBRouter(config-line)# transport input ssh
 
MBRouter(config-line)# transport input ssh
 +
 +
MBRouter(config-line)# exit
 
|
 
|
 
|}
 
|}
  
 +
'''ADDITIONAL CONFIG - SUMMARY STEPS'''
 +
 +
15.    MBRouter(config)# '''enable secret''' PassW0rd
 +
 +
16.    MBRouter(config)# '''service password-encryption'''
 +
 +
17.    MBRouter(config)# '''end'''
 +
 +
18.    MBRouter# '''copy running-config startup-config'''
  
 
{| class="wikitable"
 
{| class="wikitable"
|+BASIC SSH CONFIG - DETAILED STEPS
+
|+ADDITIONAL CONFIG - DETAILED STEPS
 
!
 
!
 
!Comman or Action
 
!Comman or Action
 
!Purpose
 
!Purpose
 
|-
 
|-
|'''Step 8'''
+
|'''Step 15'''
|'''ip domain name''' ''domain name''
+
|'''enable secre'''t ''PassW0rd''
 
 
 
 
  
  
Line 188: Line 224:
 
'''Example:'''
 
'''Example:'''
  
Router(config)# ip domain name domain.local
+
MBRouter(config)# enable secret PassW0rd
 
|Enables privileged EXEC mode.
 
|Enables privileged EXEC mode.
  
 
* Enter your password if prompted.
 
* Enter your password if prompted.
 
|-
 
|-
|'''Step 9'''
+
|'''Step 16'''
|'''hostname''' ''newhostname''
+
|'''service password-encryption'''
  
  
 
'''Example:'''
 
'''Example:'''
  
Router(config)# hostname MBRouter
+
MBRouter(config)# service password-encryption
 
|Enters global configuration mode.
 
|Enters global configuration mode.
 
|-
 
|-
|'''Step 10'''
+
|'''Step 17'''
|'''crypto key generate rsa modulus 1024'''
+
|'''end'''
 
 
 
 
 
 
 
 
'''Example:'''
 
 
 
MBRouter(config)# crypto key generate rsa modulus 1024
 
|
 
|-
 
|'''Step 11'''
 
|'''username''' ''root'' privilege 15 '''secret''' ''PassW0rd''
 
 
 
  
  
 
'''Example:'''
 
'''Example:'''
  
MBRouter(config)# username root privilege 15 secret PassW0rd
+
MBRouter(config)# end
 
|
 
|
 
|-
 
|-
|'''Step 12'''
+
|'''Step 18'''
|'''aaa new-model'''
+
|'''copy running-config startup-config'''
 
 
  
  
'''Example:'''
+
Example:
  
MBRouter(config)# aaa new-model
+
MBrouter# copy running-config startup-config
|
 
|-
 
|'''Step 13'''
 
|'''line vty 0 4'''
 
 
 
 
 
 
 
'''Example:'''
 
 
 
MBRouter(config)# line vty 0 4
 
|
 
|-
 
|'''Step 14'''
 
|'''transport input ssh'''
 
 
 
 
 
'''Example:'''
 
 
 
MBRouter(config-line)# transport input ssh
 
 
|
 
|
 
|}
 
|}
Line 269: Line 273:
 
  font-size:8pt; font-face:verdana,sans-serif;  border:0.2em outset #ceebf7;
 
  font-size:8pt; font-face:verdana,sans-serif;  border:0.2em outset #ceebf7;
 
  padding:0.1em; font-weight:bolder; -moz-border-radius:8px; ">
 
  padding:0.1em; font-weight:bolder; -moz-border-radius:8px; ">
[[#top| Back to the Top ]]</span></div><div id="turnkey-credit"> <div style="clear: both;"> [https://www.turnkeylinux.org/mediawiki MediaWiki Appliance] - Powered by [https://www.turnkeylinux.org TurnKey Linux] </div> </div><div id="turnkey-credit"> <div style="clear: both;"> [https://www.turnkeylinux.org/mediawiki MediaWiki Appliance] - Powered by [https://www.turnkeylinux.org TurnKey Linux] </div> </div><div id="turnkey-credit"> <div style="clear: both;"> [https://www.turnkeylinux.org/mediawiki MediaWiki Appliance] - Powered by [https://www.turnkeylinux.org TurnKey Linux] </div> </div><div id="turnkey-credit"> <div style="clear: both;"> [https://www.turnkeylinux.org/mediawiki MediaWiki Appliance] - Powered by [https://www.turnkeylinux.org TurnKey Linux] </div> </div><div id="turnkey-credit"> <div style="clear: both;"> [https://www.turnkeylinux.org/mediawiki MediaWiki Appliance] - Powered by [https://www.turnkeylinux.org TurnKey Linux] </div> </div>
+
[[#top| Back to the Top ]]</span></div><div id="turnkey-credit"> <div style="clear: both;"> [https://www.turnkeylinux.org/mediawiki MediaWiki Appliance] - Powered by [https://www.turnkeylinux.org TurnKey Linux] </div> </div><div id="turnkey-credit"> <div style="clear: both;"> [https://www.turnkeylinux.org/mediawiki MediaWiki Appliance] - Powered by [https://www.turnkeylinux.org TurnKey Linux] </div> </div><div id="turnkey-credit"> <div style="clear: both;"> [https://www.turnkeylinux.org/mediawiki MediaWiki Appliance] - Powered by [https://www.turnkeylinux.org TurnKey Linux] </div> </div><div id="turnkey-credit"> <div style="clear: both;"> [https://www.turnkeylinux.org/mediawiki MediaWiki Appliance] - Powered by [https://www.turnkeylinux.org TurnKey Linux] </div> </div><div id="turnkey-credit"> <div style="clear: both;"> [https://www.turnkeylinux.org/mediawiki MediaWiki Appliance] - Powered by [https://www.turnkeylinux.org TurnKey Linux] </div> </div><div id="turnkey-credit"> <div style="clear: both;"> [https://www.turnkeylinux.org/mediawiki MediaWiki Appliance] - Powered by [https://www.turnkeylinux.org TurnKey Linux] </div> </div>

Revision as of 00:52, 8 June 2021

Device Configuration

Introduction

This section is not a tutorial on configuration different manufacturers. Here you will find the minimum settings in the CLI (for access from MUPSBOX to devices).


Vendor Configuration

Cisco - IOS v15

Minimum configuration:

BASIC CONFIG - SUMMARY STEPS

1.    Router> enable

2.    Router# configure terminal

3. Router(config)# interface gigabitethernet 0/0

4. Router(config-if)# ip adress 10.9.90.201 255.255.255.0

5. Router(config-if)# no shutdown

6. Router(config-if)# exit

7. Router(config)# ip route 0.0.0.0 0.0.0.0 10.9.90.1

BASIC CONFIG - DETAILED STEPS
Comman or Action Purpose
Step 1 enable


Example:

Router> enable

Enables privileged EXEC mode.
  • Enter your password if prompted.
Step 2 configure terminal


Example:

Router# configure terminal

Enters global configuration mode.
Step 3 interface gigabitethernet slot/port


Example:

Router(config)# interface gigabitethernet 0/0

Specify the port adapter type and the location of the interface to be configured.
Step 4 ip address ip subnetmask


Example:

Router(config-if)# ip address 10.9.90.201 255.255.255.0

Step 5 no shutdown


Example:

Router(config-if)# no shutdown

Step 6 exit


Example:

Router(config-if)# exit

Step 7 ip route 0.0.0.0 0.0.0.0 gateway


Example:

Router(config)# ip route 0.0.0.0 0.0.0.0 10.9.90.1


BASIC SSH CONFIG - SUMMARY STEPS

8.     Router(config)# ip domain name domain.local

9.     Router(config)# hostname MBRouter

10. MBRouter(config)# crypto key generate rsa modulus 1024

11. MBRouter(config)# username root privilege 15 secret PassW0rd

12. MBRouter(config)# aaa new-model

13. MBRouter(config)# line vty 0 4

14. MBRouter(config-line)# transport input ssh

MBRouter(config-line)# exit

BASIC SSH CONFIG - DETAILED STEPS
Comman or Action Purpose
Step 8 ip domain name domain name



Example:

Router(config)# ip domain name domain.local

Enables privileged EXEC mode.
  • Enter your password if prompted.
Step 9 hostname newhostname


Example:

Router(config)# hostname MBRouter

Enters global configuration mode.
Step 10 crypto key generate rsa modulus 1024



Example:

MBRouter(config)# crypto key generate rsa modulus 1024

Step 11 username root privilege 15 secret PassW0rd


Example:

MBRouter(config)# username root privilege 15 secret PassW0rd

Step 12 aaa new-model


Example:

MBRouter(config)# aaa new-model

Step 13 line vty 0 4


Example:

MBRouter(config)# line vty 0 4

Step 14 transport input ssh


Example:

MBRouter(config-line)# transport input ssh

MBRouter(config-line)# exit

ADDITIONAL CONFIG - SUMMARY STEPS

15.    MBRouter(config)# enable secret PassW0rd

16.    MBRouter(config)# service password-encryption

17. MBRouter(config)# end

18. MBRouter# copy running-config startup-config

ADDITIONAL CONFIG - DETAILED STEPS
Comman or Action Purpose
Step 15 enable secret PassW0rd


Example:

MBRouter(config)# enable secret PassW0rd

Enables privileged EXEC mode.
  • Enter your password if prompted.
Step 16 service password-encryption


Example:

MBRouter(config)# service password-encryption

Enters global configuration mode.
Step 17 end


Example:

MBRouter(config)# end

Step 18 copy running-config startup-config


Example:

MBrouter# copy running-config startup-config

MupsBox will sort the data and display only the values found. These data can be exported to Excel for further processing.

Cisco - IOS L2 v15

To search for data by given dates and times, check the boxes next to them and select the date and time you are interested in:

Syslog Filter by Date and Time

Cisco - IOS L2 v12

To filter by prefix, click the down arrow in the prefix field, as shown in the figure below and select the prefix or prefixes by which you need to filter the data.

Syslog Filter by Prefix

To filter by device and topic, do the same.

Cisco - ASA

For more flexible filtering, use a custom filter.

Custom Filter

Custom Filter