This Cisco command will list all passwords on a switch. mrrobot#sh ru | inc password service password-encryption password 7 00141215174C04140B70 password 7 00141215174C04140B70mrrobot#sh ru | inc password service password-encryption password 7 00141215174C04140B70 password 7 00141215174C04140B70 The inc command looks for any text that matches the argument. Like this: mrrobot#sh ru | inc line line con …

To set an IP address on a VLAN on a Cisco switch, firstly access the configuration section for the VLAN in configuration mode. arya(config)#interface vlan 1arya(config)#interface vlan 1 Then the administrator may set an IP address for the VLAN. arya(config-if)#ip address 172.18.31.210 255.255.255.0arya(config-if)#ip address 172.18.31.210 255.255.255.0 Then you are all set. To save the running …

To set a new hostname on a Cisco router, switch to privileged exec mode by typing enable at the prompt. Enter configuration mode by entering this command. eng_floor_2#configure terminaleng_floor_2#configure terminal Then set the hostname by typing this command. eng_floor_2(config)#hostname eng_floor_2eng_floor_2(config)#hostname eng_floor_2 Now the proper hostname has been set on the switch. eng_floor_2#show running-config Building configuration… …