Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

config

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
Hall of Fame Super Silver

Re: config

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

Community Member

Re: config

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.

Hall of Fame Super Gold

Re: config

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!

116
Views
0
Helpful
3
Replies
CreatePlease to create content