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:
-
show run interface:
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
-
show run | section:
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
-
show run | begin :
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
!
!
–More–
-
show run | include:
router# sh run interface f0/0 | include ip
ip address 10.1.1.1 255.255.255.0
-
show ip interface brief:
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
-
Mientras se está haciendo un “sh run” se puede usar el carácter / para hacer una búsqueda específica:
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 “http://www.globalconfig.net/brandons_blog/2008/06/shortucts.html“







































0 comentarios ↓
No hay comentarios aún.
Deja un Commentario