Difference between revisions of "Device configuration for MupsBox"

From Mupssoft Wiki
Jump to navigation Jump to search
Line 17: Line 17:
 
4.    Router(config-if)# '''ip adress''' 10.9.90.201 255.255.255.0
 
4.    Router(config-if)# '''ip adress''' 10.9.90.201 255.255.255.0
  
5.    Router(config-if)# '''no shutdown'''
+
5.    Router(config-if)# '''ipv6 address''' 2001:db8:B40:4000::101/64
  
6.    Router(config-if)# '''exit'''
+
6.    Router(config-if)# '''no shutdown'''
 +
 
 +
7.    Router(config-if)# '''exit'''
 +
 
 +
8.    Router(config)# '''ip route 0.0.0.0 0.0.0.0''' 10.9.90.1
 +
 
 +
9.    Router(config)# '''ipv6 route''' ::/0 2001:db8:B40:4000::1
  
7.    Router(config)# '''ip route 0.0.0.0 0.0.0.0''' 10.9.90.1
 
  
  
Line 27: Line 32:
 
'''BASIC SSH CONFIGURATION - SUMMARY STEPS'''
 
'''BASIC SSH CONFIGURATION - SUMMARY STEPS'''
  
8.    Router(config)# '''ip domain name''' domain.local  
+
10.    Router(config)# '''ip domain name''' domain.local  
  
9.    Router(config)# '''hostname''' MBRouter
+
11.    Router(config)# '''hostname''' MBRouter
  
10.    MBRouter(config)# '''crypto key generate rsa modulus 1024'''
+
12.    MBRouter(config)# '''crypto key generate rsa modulus 1024'''
  
11.    MBRouter(config)# '''username''' ''root'' privilege 15 '''secret''' ''PassW0rd''
+
13.    MBRouter(config)# '''username''' ''root'' privilege 15 '''secret''' ''PassW0rd''
  
12.    MBRouter(config)# '''aaa new-model'''
+
14.    MBRouter(config)# '''aaa new-model'''
  
13.    MBRouter(config)# '''line vty 0 4'''
+
15.    MBRouter(config)# '''line vty 0 4'''
  
14.    MBRouter(config-line)# '''transport input ssh'''
+
16.    MBRouter(config-line)# '''transport input ssh'''
  
 
MBRouter(config-line)# '''exit'''
 
MBRouter(config-line)# '''exit'''
Line 47: Line 52:
 
'''ADDITIONAL CONFIGURATION - SUMMARY STEPS'''
 
'''ADDITIONAL CONFIGURATION - SUMMARY STEPS'''
  
15.    MBRouter(config)# '''enable secret''' PassW0rd  
+
17.    MBRouter(config)# '''enable secret''' PassW0rd  
  
16.    MBRouter(config)# '''service password-encryption'''
+
18.    MBRouter(config)# '''service password-encryption'''
  
17.    MBRouter(config)# '''end'''
+
19.    MBRouter(config)# '''end'''
  
18.    MBRouter# '''copy running-config startup-config'''
+
20.    MBRouter# '''copy running-config startup-config'''
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 100: Line 105:
  
 
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.
+
|Sets the IPv4 address and subnet mask for the specified GE interface.
 
|-
 
|-
 
|'''Step 5'''
 
|'''Step 5'''
 +
|'''ipv6 address''' ip/prefix
 +
 +
 +
'''Example:'''
 +
 +
Router(config-if)# ipv6 address 2001:db8:B40:4000::101/64
 +
|Sets the IPv6 address and prefix for the specified GE interface
 +
|-
 +
|'''Step 6'''
 
|'''no shutdown'''
 
|'''no shutdown'''
  
Line 112: Line 126:
 
|Enables the GE interface, changing its state from administratively down to administratively up
 
|Enables the GE interface, changing its state from administratively down to administratively up
 
|-
 
|-
|'''Step 6'''
+
|'''Step 7'''
 
|'''exit'''
 
|'''exit'''
  
Line 122: Line 136:
 
|Exits configuration mode for the GE interface and returns to global configuration mode.
 
|Exits configuration mode for the GE interface and returns to global configuration mode.
 
|-
 
|-
|'''Step 7'''
+
|'''Step 8'''
 
|'''ip route 0.0.0.0 0.0.0.0''' ''gateway''
 
|'''ip route 0.0.0.0 0.0.0.0''' ''gateway''
  
Line 130: Line 144:
  
 
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
+
|Add route - default gateway for IPv4
 +
|-
 +
|'''Step 9'''
 +
|'''ipv6 route''' '''::/0''' ''gateway''
 +
 
 +
 
 +
 
 +
'''Example:'''
 +
 
 +
Router(config)# ipv6 route ::/0 2001:db8:B40:4000::1
 +
|Add route - default gateway for IPv6
 
|}
 
|}
  
Line 140: Line 164:
 
!Purpose
 
!Purpose
 
|-
 
|-
|'''Step 8'''
+
|'''Step 10'''
 
|'''ip domain name''' ''domain name''
 
|'''ip domain name''' ''domain name''
  
Line 152: Line 176:
  
 
|-
 
|-
|'''Step 9'''
+
|'''Step 11'''
 
|'''hostname''' ''newhostname''
 
|'''hostname''' ''newhostname''
  
Line 161: Line 185:
 
|Specifies the name for the router.
 
|Specifies the name for the router.
 
|-
 
|-
|'''Step 10'''
+
|'''Step 12'''
 
|'''crypto key generate rsa modulus 1024'''
 
|'''crypto key generate rsa modulus 1024'''
  
Line 172: Line 196:
 
|To generate Rivest, Shamir, and Adelman (RSA) key pairs.
 
|To generate Rivest, Shamir, and Adelman (RSA) key pairs.
 
|-
 
|-
|'''Step 11'''
+
|'''Step 13'''
 
|'''username''' ''root'' privilege 15 '''secret''' ''PassW0rd''
 
|'''username''' ''root'' privilege 15 '''secret''' ''PassW0rd''
  
Line 182: Line 206:
 
|Specifies the secret for the root.
 
|Specifies the secret for the root.
 
|-
 
|-
|'''Step 12'''
+
|'''Step 14'''
 
|'''aaa new-model'''
 
|'''aaa new-model'''
  
Line 192: Line 216:
 
|Enable AAA on router.
 
|Enable AAA on router.
 
|-
 
|-
|'''Step 13'''
+
|'''Step 15'''
 
|'''line vty 0 4'''
 
|'''line vty 0 4'''
  
Line 202: Line 226:
 
|Entering the configuration mode VTY is a virtual port and used to get Telnet or SSH access to the device.
 
|Entering the configuration mode VTY is a virtual port and used to get Telnet or SSH access to the device.
 
|-
 
|-
|'''Step 14'''
+
|'''Step 16'''
 
|'''transport input ssh'''
 
|'''transport input ssh'''
  
Line 220: Line 244:
 
!Purpose
 
!Purpose
 
|-
 
|-
|'''Step 15'''
+
|'''Step 17'''
 
|'''enable secre'''t ''PassW0rd''
 
|'''enable secre'''t ''PassW0rd''
  
Line 230: Line 254:
  
 
|-
 
|-
|'''Step 16'''
+
|'''Step 18'''
 
|'''service password-encryption'''
 
|'''service password-encryption'''
  
Line 245: Line 269:
 
Encryption prevents the password from being readable in the configuration file.
 
Encryption prevents the password from being readable in the configuration file.
 
|-
 
|-
|'''Step 17'''
+
|'''Step 19'''
 
|'''end'''
 
|'''end'''
  
Line 255: Line 279:
 
|Exits global configuration mode and returns to privileged EXEC mode.
 
|Exits global configuration mode and returns to privileged EXEC mode.
 
|-
 
|-
|'''Step 18'''
+
|'''Step 20'''
 
|'''copy running-config startup-config'''
 
|'''copy running-config startup-config'''
  
Line 269: Line 293:
  
  
<h2>'''Cisco - IOS L2 v12'''</h2>
+
<h2>'''Cisco - ASA'''</h2>
<p>Minimum* configuration:</p>
+
<p>Minimum* configuration. ASA Version 8.2(5):</p>
  
 
'''BASIC ETHERNET CONFIGURATION - SUMMARY STEPS'''
 
'''BASIC ETHERNET CONFIGURATION - SUMMARY STEPS'''
Line 533: Line 557:
  
  
<h2>'''Cisco - ASA'''</h2>
+
<h2>'''MikroTik'''</h2>
<p>For more flexible filtering, use a custom filter.</p>
+
<p>Minimum configuration for RouterOS V6</p>
  
 
<h2>'''Huawei'''</h2>
 
<h2>'''Huawei'''</h2>
Line 548: Line 572:
 
  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><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><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><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><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 04:51, 9 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)# ipv6 address 2001:db8:B40:4000::101/64

6. Router(config-if)# no shutdown

7. Router(config-if)# exit

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

9. Router(config)# ipv6 route ::/0 2001:db8:B40:4000::1



BASIC SSH CONFIGURATION - SUMMARY STEPS

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

11. Router(config)# hostname MBRouter

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

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

14. MBRouter(config)# aaa new-model

15. MBRouter(config)# line vty 0 4

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

MBRouter(config-line)# exit


ADDITIONAL CONFIGURATION - SUMMARY STEPS

17. MBRouter(config)# enable secret PassW0rd

18. MBRouter(config)# service password-encryption

19. MBRouter(config)# end

20. 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 IPv4 address and subnet mask for the specified GE interface.
Step 5 ipv6 address ip/prefix


Example:

Router(config-if)# ipv6 address 2001:db8:B40:4000::101/64

Sets the IPv6 address and prefix for the specified GE interface
Step 6 no shutdown


Example:

Router(config-if)# no shutdown

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


Example:

Router(config-if)# exit

Exits configuration mode for the GE interface and returns to global configuration mode.
Step 8 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 for IPv4
Step 9 ipv6 route ::/0 gateway


Example:

Router(config)# ipv6 route ::/0 2001:db8:B40:4000::1

Add route - default gateway for IPv6


BASIC SSH CONFIG - DETAILED STEPS
Comman or Action Purpose
Step 10 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 11 hostname newhostname


Example:

Router(config)# hostname MBRouter

Specifies the name for the router.
Step 12 crypto key generate rsa modulus 1024



Example:

MBRouter(config)# crypto key generate rsa modulus 1024

To generate Rivest, Shamir, and Adelman (RSA) key pairs.
Step 13 username root privilege 15 secret PassW0rd


Example:

MBRouter(config)# username root privilege 15 secret PassW0rd

Specifies the secret for the root.
Step 14 aaa new-model


Example:

MBRouter(config)# aaa new-model

Enable AAA on router.
Step 15 line vty 0 4


Example:

MBRouter(config)# line vty 0 4

Entering the configuration mode VTY is a virtual port and used to get Telnet or SSH access to the device.
Step 16 transport input ssh


Example:

MBRouter(config-line)# transport input ssh

MBRouter(config-line)# exit

Accept only ssh via vty line.
ADDITIONAL CONFIG - DETAILED STEPS
Comman or Action Purpose
Step 17 enable secret PassW0rd

Example:

MBRouter(config)# enable secret PassW0rd

Defines a new password or changes an existing password for access to privileged EXEC mode.


Step 18 service password-encryption


Example:

MBRouter(config)# service password-encryption

(Optional) Encrypts the password when the

password is defined or when the configuration

is written

Encryption prevents the password from being readable in the configuration file.

Step 19 end


Example:

MBRouter(config)# end

Exits global configuration mode and returns to privileged EXEC mode.
Step 20 copy running-config startup-config


Example:

MBrouter# copy running-config startup-config

Saves the running configuration file as the startup configuration file.

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


Cisco - ASA

Minimum* configuration. ASA Version 8.2(5):

BASIC ETHERNET CONFIGURATION - SUMMARY STEPS

1. Switch> enable

2. Switch# configure terminal

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

4. Switch(config-if)# no switchport

5. Switch(config-if)# ip adress 10.9.90.201 255.255.255.0

6. Switch(config-if)# exit

7. Switch(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

To generate Rivest, Shamir, and Adelman (RSA) key pairs.
Step 11 username root privilege 15 secret PassW0rd


Example:

MBRouter(config)# username root privilege 15 secret PassW0rd

Specifies the secret for the root.
Step 12 aaa new-model


Example:

MBRouter(config)# aaa new-model

Enable AAA on router.
Step 13 line vty 0 4


Example:

MBRouter(config)# line vty 0 4

Entering the configuration mode VTY is a virtual port and used to get Telnet or SSH access to the device.
Step 14 transport input ssh


Example:

MBRouter(config-line)# transport input ssh

MBRouter(config-line)# exit

Accept only ssh via vty line.
ADDITIONAL CONFIG - DETAILED STEPS
Comman or Action Purpose
Step 15 enable secret PassW0rd

Example:

MBRouter(config)# enable secret PassW0rd

Defines a new password or changes an existing password for access to privileged EXEC mode.


Step 16 service password-encryption


Example:

MBRouter(config)# service password-encryption

(Optional) Encrypts the password when the

password is defined or when the configuration

is written

Encryption prevents the password from being readable in the configuration file.

Step 17 end


Example:

MBRouter(config)# end

Exits global configuration mode and returns to privileged EXEC mode.
Step 18 copy running-config startup-config


Example:

MBrouter# copy running-config startup-config

Saves the running configuration file as the startup configuration file.


MikroTik

Minimum configuration for RouterOS V6

Huawei

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.


Custom Filter

Custom Filter