Atajos útiles del 'show' de Cisco IOS
Muchas veces de las que hacemos un "show running-config" o lo que es más a menudo "sh run" no queremos ver todo si no un parte de la configuración, para ello hay algunos atajos muy útiles que no siempre se recuerdan:
router# sh run int fa0/0 Building configuration... Current configuration : 93 bytes ! interface FastEthernet0/0 ip address 10.1.2.1 255.255.255.0 duplex auto speed auto end
router#sh run | section interface interface FastEthernet0/0 ip address 10.1.2.1 255.255.255.0 duplex auto speed auto interface FastEthernet1/0 ip address 192.168.4.1 255.255.255.0 duplex auto speed auto
router#sh run | begin interface interface FastEthernet0/0 ip address 10.1.2.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet1/0 ip address 192.168.4.1 255.255.255.0 duplex auto speed auto ! ip http server no ip http secure-server ip classless ! control-plane ! !
router# sh run interface f0/0 | include ip ip address 10.1.1.1 255.255.255.0
router#sh ip interface brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 10.1.1.1 YES manual up up FastEthernet1/0 192.168.1.1 YES manual up up
router#sh run
Building configuration...
Current configuration : 663 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname blog_demo
!
boot-start-marker
boot-end-marker
!
!
memory-size iomem 5
no aaa new-model
ip subnet-zero
!
!
!
!
ip cef
ip ips po max-events 100
/192.168
filtering...
ip address 192.168.4.1 255.255.255.0
duplex auto
speed auto
!
ip http server
NOTA: Extraído de "www.globalconfig.net/brandons_blog/2008/06/shortucts.html" (página ya no existe)