enable
Los comandos show para mostrar información se ejecutan en este modo.
configure terminal
write
do <comando>
Switch(config)#do write
Dispositivo(config)#do show ...
history
Switch>enable Switch#show mac address-table
Switch>enable Switch#show running-config
Switch>enable Switch#show vlan
Switch>enable Switch#show vlan brief
Switch>enable Switch#show vlan id <num_vlan>
switch> enable switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#vlan <n> Switch(config-vlan)#name <nombreVLAN> Switch(config-vlan)#exit
switch(config-if)# switchport access vlan <n>
Switch>enable Switch#configure terminal Switch(config)#interface <puerto> switch(config-if) switchport mode trunk
Router#show ip interface
router# show ip route
router(config)# ip route <address> <mask> <gateway>
router(config)# no ip route <address> <mask> <gateway>
Router>enable Router#configure terminal Router(config)#interface <puerto-a-crear>
Router>enable Router#configure terminal Router(config)#interface <nombre_interfaz_virtual> Router(config-subif)#encapsulation dot1q <VLAN>
Router(config-subif)#ip address <IP mascara-de-red>
--- System Configuration Dialog --- Would you like to enter the initial configuration dialog? [yes/no]: n Press RETURN to get started! Router>
enable
.Router>enable Router#
Router#configure terminal Router(config)#
Router(config)#hostname Router-A Router-A(config)#
Router-A(config)#interface fa0/0 Router-A(config-if)#
Router-A(config-if)#ip address 192.168.1.254 255.255.255.0
no shutdown
. Luego nos aparecerá información de que el interfaz se ha activado.Router-A(config-if)#no shutdown
exit
.Router-A(config-if)#exit Router-A(config)#
Router-A(config)#interface se0/0/0 Router-A(config-if)#
Router-A(config-if)#ip address 200.1.10.1 255.255.255.0 Router-A(config-if)#
Router-A(config-if)#clock rate 64000 Router-A(config-if)#
no shutdown
.Router-A(config-if)#no shutdown
end
.Router-A(config-if)#end Router-A#
Router-A#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] Router-A#
Router-A#show ip route Router-A#conf terminal Router-A(config)#router rip Router-A(config-router)#version 2 Router-A(config-router)#network 192.168.1.0 Router-A(config-router)#network 200.1.10.0 Router-A(config-router)#do wr Building configuration... [OK] Router-A(config-router)#exit Router-A#show ip protocols