Book now with code EOY2025
ciscofun wrote: Dear all, i just started working on my IE workbook Vol.1 , and found a question that would like to ask, below is what i need help on. on Page.4 under the "Bridging and Switching" 1. there is a command call : sh int status | include (port|fa0/13), what does the "|" and the "include (port|fa0/13)" means, how does it works ?? 2. i followed the workbook to type this command, but nothing comes out from the switch, which does not match the outcome of the workbook's after running this command... but i checked all the commands in my switch are correct. below is the outcome captured from my 3550 R12_Switch# R12_Switch# R12_Switch#sh int status | include (port|fa0/13) R12_Switch#sh int status | include (port|fa0/13) R12_Switch#sh int status | include (port|fa0/13) R12_Switch# R12_Switch# can any one advice ? Thank you.
Cisco-gw(config-router)#do sh ip int bri | i Fast FastEthernet0/0 192.168.1.3 YES NVRAM up up Cisco-gw(config-router)#
S3550-1# S3550-1#sh int status | include (port|fa0/13) S3550-1#sh int status | include (Port|Fa0/13) Port Name Status Vlan Duplex Speed Type Fa0/13 connected trunk a-full a-100 10/100BaseTX S3550-1#
mikej412 wrote: In the 2nd part, the | means OR You want to include only the output lines from the show interface status command that includes the words Port (so that you get the "header line" for the output) OR the interface that you are interested in -- Fa0/13 The reason you're not getting any output is because the "match option" is case sensitive.S3550-1# S3550-1#sh int status | include (port|fa0/13) S3550-1#sh int status | include (Port|Fa0/13) Port Name Status Vlan Duplex Speed Type Fa0/13 connected trunk a-full a-100 10/100BaseTX S3550-1# Use Port instead of port and Fa0/13 instead of fa0/13
gojericho0 wrote: I like using the carrot ^ as well especially for syslog events. It allows you to specify what the line begins with
Use code EOY2025 to receive $250 off your 2025 certification boot camp!