0% found this document useful (0 votes)
56 views2 pages

Cisco Command Line

1. The document provides instructions for various network configuration tasks including adding a route, backing up a print server database, configuring AAA authentication on a switch, enabling SNMP on a switch, enabling SNMP traps, enabling port security on an interface, and configuring spanning tree portfast and BPDU guard. 2. It also includes commands for enabling broadcast storm control on an interface, booting a Nexus switch, backing up a switch configuration, checking the last MAC address on a port, finding the port number for a host MAC address, and finding the MAC address for a host IP. 3. The document provides a collection of configuration examples and commands for tasks like routing, backups, switch security, and network monitoring
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views2 pages

Cisco Command Line

1. The document provides instructions for various network configuration tasks including adding a route, backing up a print server database, configuring AAA authentication on a switch, enabling SNMP on a switch, enabling SNMP traps, enabling port security on an interface, and configuring spanning tree portfast and BPDU guard. 2. It also includes commands for enabling broadcast storm control on an interface, booting a Nexus switch, backing up a switch configuration, checking the last MAC address on a port, finding the port number for a host MAC address, and finding the MAC address for a host IP. 3. The document provides a collection of configuration examples and commands for tasks like routing, backups, switch security, and network monitoring
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

1. Route add from Local host.

============================
route add -p <remote network> mask <subnet mask> <Local Gateway>

2. Print Server Backup


======================
Backup Location: C:\Program Files\GenevaLogic\Print-Limit Pro\server\data\
backups
Step 1: cd \Program Files\GenevaLogic\Print-Limit Pro\server\bin\win
Step 2: db-tools.exe import-db -f "C:\Program Files\GenevaLogic\Print-Limit Pro\
server\data\backups\export-2013-09-17T12-03-44.zip"

3. AAA Authenticaion
====================
Switch(config)#username admin privilege 15 secret <password>
Switch(config)# aaa new-model
Switch(config)#aaa authentication login default local
Switch(config)# line vty 0 4
Switch(config-line)# login authentication default
Switch(config-line)# end

4. Activate snmp service in particuler switch


=============================================
switch(config)#snmp-server community public RO
switch(config)#snmp-server host 172.16.4.125 version 2c public

5. Enable traps on switch


=========================
switch(config)#snmp-server enable traps
switch(config)#snmp-server host 172.16.4.125 public snmp envmon
switch(config)#snmp-server host 172.16.4.125 public snmp port-security
switch(config)#snmp-server host 172.16.4.125 traps version 2c public

6. Enable Port-Security
=======================
C4F5S2(config)#int fa0/13
C4F5S2(config-if)#switchport port-security
C4F5S2(config-if)#switchport port-security mac-address sticky
C4F5S2(config-if)#switchport port-security mac-address sticky C89C.DCFE.3D9A
C4F5S2(config-if)#switchport POrt-security Violation SHUtdown
C4F5S2(config-if)#switchport POrt-security Maximum 1
C4F5S2(config-if)#exit

7. Configure spanning tree Portfast / BPDU Guard


================================================
Switch(config) #interface gigabitinternet 0/1
Switch(config-if)#spanning-tree portfast
Switch(config-if)#spanning-tree bpduguard enable

8. Enabling Broadcast Storm Control


===================================
Switch# configure terminal
Switch(config)# interface g0/1
Switch(config-if)# storm-control broadcast level pps 1500
Switch(config-if)# storm-control action shutdown
Switch(config-if)# exit

9. Nexus boot loading Command


=============================
loader> boot n3000-uk9-kickstart.6.0.2.U6.7.bin
switch(boot)#load bootflash:n3000-uk9.6.0.2.U6.7.bin

10. Back up switch configuration


===============================
Telnet �F c:\<file name.txt> <IP address of switch>
telnet -f C:\Users\NOC\Desktop\CORE-SW.TXT 172.16.

11. Check last Mac-address in particuler port


============================================
switch#sh port-security int <int no.>

12. Find port number on particuler host


======================================
switch#sh mac-address-table address <host mac>

13. Find the mac address on particuler host


===========================================
C1F2S1#sh arp | include <IP>

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy