cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
311
Views
0
Helpful
3
Replies

config

Just Kennie
Level 1
Level 1

what basic command do i type

1. i want to trak all mac address learnt from port r0/2 on a switch.

2.nms server is 192.168.1.1/24

3.ip add = 2.2.2.2/8

3 Replies 3

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Kennie,

you should provide more details:

are you looking for IOS commands or for commands to be given on NMS server to perform an SNMP walk?

in first case

1) sh mac-address-table int typex/y

2) snmp-server community

3) what is the switch management ip address?

Hope to help

Giuseppe

i want ios command on the switch to achieve this, the management ip of the switch can be 2.2.2.2/8 ...also.

2. What command will i use to configure a switch so that if password recovery is perform, automatically, the start-up config is delated.

interface vlan 1

ip add 2.2.2.2 255.0.0.0

no shut

Password recover of a switch is very simple. Hold down the "mode" button, apply power and, depending on the model, wait for either 10 seconds or port 1 changes color. Go to rommon, enter flash_init, boot_helper and delete "config.text" file. Viola!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card