Difference between revisions of "Device configuration for MupsBox"

From Mupssoft Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
<h3>'''Cisco - IOS v15'''</h3>Minimum configuration:
 
<h3>'''Cisco - IOS v15'''</h3>Minimum configuration:
  
'''BASIC CONFIG - SUMMARY STEPS'''
+
'''BASIC ETHERNET CONFIGURATION - SUMMARY STEPS'''
  
 
1.    Router> '''enable'''
 
1.    Router> '''enable'''
Line 25: Line 25:
  
  
'''BASIC SSH CONFIG - SUMMARY STEPS'''
+
'''BASIC SSH CONFIGURATION - SUMMARY STEPS'''
  
 
8.    Router(config)# '''ip domain name''' domain.local  
 
8.    Router(config)# '''ip domain name''' domain.local  
Line 45: Line 45:
  
  
'''ADDITIONAL CONFIG - SUMMARY STEPS'''
+
'''ADDITIONAL CONFIGURATION - SUMMARY STEPS'''
  
 
15.    MBRouter(config)# '''enable secret''' PassW0rd  
 
15.    MBRouter(config)# '''enable secret''' PassW0rd  
Line 56: Line 56:
  
 
{| class="wikitable"
 
{| class="wikitable"
|+BASIC CONFIG - DETAILED STEPS
+
|+BASIC ETHERNET CONFIGURATION - DETAILED STEPS
 
!
 
!
 
!Comman or Action
 
!Comman or Action
Line 100: Line 100:
  
 
Router(config-if)# ip address 10.9.90.201 255.255.255.0
 
Router(config-if)# ip address 10.9.90.201 255.255.255.0
|
+
|Sets the IP address and subnet mask for the specified GE interface.
 
|-
 
|-
 
|'''Step 5'''
 
|'''Step 5'''
Line 110: Line 110:
  
 
Router(config-if)# no shutdown
 
Router(config-if)# no shutdown
|
+
|Enables the GE interface, changing its state from administratively down to administratively up
 
|-
 
|-
 
|'''Step 6'''
 
|'''Step 6'''
Line 120: Line 120:
  
 
Router(config-if)# exit
 
Router(config-if)# exit
|
+
|Exits configuration mode for the GE interface and returns to global configuration mode.
 
|-
 
|-
 
|'''Step 7'''
 
|'''Step 7'''
Line 130: Line 130:
  
 
Router(config)# ip route 0.0.0.0 0.0.0.0 10.9.90.1
 
Router(config)# ip route 0.0.0.0 0.0.0.0 10.9.90.1
|
+
|Add route - default gateway
 
|}
 
|}
  
Line 142: Line 142:
 
|'''Step 8'''
 
|'''Step 8'''
 
|'''ip domain name''' ''domain name''
 
|'''ip domain name''' ''domain name''
 
 
  
  
Line 150: Line 148:
  
 
Router(config)# ip domain name domain.local
 
Router(config)# ip domain name domain.local
|Enables privileged EXEC mode.
+
|Specifies the default domain name that Cisco IOS software uses to complete unqualified host names
 +
 
  
* Enter your password if prompted.
 
 
|-
 
|-
 
|'''Step 9'''
 
|'''Step 9'''
Line 161: Line 159:
  
 
Router(config)# hostname MBRouter
 
Router(config)# hostname MBRouter
|Enters global configuration mode.
+
|Specifies the name for the router.
 
|-
 
|-
 
|'''Step 10'''
 
|'''Step 10'''
Line 278: Line 276:
 
  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><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>
+
[[#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><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 05:54, 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 ETHERNET CONFIGURATION - 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 SSH CONFIGURATION - 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


ADDITIONAL CONFIGURATION - 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

BASIC ETHERNET CONFIGURATION - 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

Sets the IP address and subnet mask for the specified GE interface.
Step 5 no shutdown


Example:

Router(config-if)# no shutdown

Enables the GE interface, changing its state from administratively down to administratively up
Step 6 exit


Example:

Router(config-if)# exit

Exits configuration mode for the GE interface and returns to global configuration mode.
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

Add route - default gateway


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


Example:

Router(config)# ip domain name domain.local

Specifies the default domain name that Cisco IOS software uses to complete unqualified host names


Step 9 hostname newhostname


Example:

Router(config)# hostname MBRouter

Specifies the name for the router.
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 - 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