Добрый день!
Имеем:
Код:
Command: show switch
Device Type : DES-3552 Fast Ethernet Switch
Firmware Version : Build 3.00.B020
Хочу найти в конфиге определенную строчку, в который содержится пробел - не ищет. Когда пробелы убираешь - все нормально.
Код:
sw-4:admin#sh conf cur
Command: show config current_config
#-------------------------------------------------------------------------------
# DES-3552 Fast Ethernet Switch
# Configuration
#
# Firmware: Build 3.00.B020
# Copyright(C) 2012 D-Link Corporation. All rights reserved.
#-------------------------------------------------------------------------------
# STACK
config stacking force_master_role state disable
# DEVICE
config temperature threshold high 65
config temperature threshold low 11
config temperature trap state enable
config temperature log state enable
Код:
sw-4:admin#sh conf cur inc "high 65"
Command: show config current_config include "high 65"
No filter matched.
Код:
sw-4:admin#sh conf cur b "high 65"
Command: show config current_config begin "high 65"
No filter matched.
Код:
sw-4:admin#sh conf cur inc "high"
Command: show config current_config include "high"
config temperature threshold high 65
config sred all all threshold low 60 high 80 drop_rate low 1 high 1 drop_green disable
Можно сделать так что бы искал с пробелами?