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>