Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cli]

For questions involving the command line interface (CLI) on network devices. For instance, you need help with commands on a switch or having trouble finding the right command for your configuration.

1
vote
1answer
9 views

SG3xx Password Reset/Recovery

Trying to reset a password for a number of switches I have. Didn't save the text file I had jotted it down in....of course. Connected via serial, but cannot seem to locate any concise info on ...
1
vote
1answer
29 views

Suppress CLI terminal output on IOS

I would like to know if we can suppress certain lines from being displayed on the CLI. Example: I call following TCL script, that in itself calls some other scripts. What i Get on the screen is this: ...
4
votes
1answer
57 views

Working with Cisco IOS.sh and grep

I just learned about Cisco IOS.sh and found that you're able to run commands similar to UNIX based systems on Cisco devices. First question: Is IOS.sh router or switch specific? Or are they able to ...
2
votes
2answers
52 views

Cisco WLC: Displaying AP configuration commands

Is there a way to display on a WLC a list of commands used for configuration of a given AP? I believe it's possible on Juniper Trapeze WLCs, wouldn't understand why Cisco would disable such an option. ...
1
vote
1answer
71 views

Is there a similar command to Cisco's “dir all” on a HP Procurve switch?

I'm using a HP Procurve switch (e.g. pc2910 pc2510 pc5510) Is there a command similar to Cisco's "dir all" on a HP Procurve switch ?
0
votes
1answer
222 views

Brocade smooth reboot command

I am newbie regarding switches. I have Brocade ICX 7250 and 7450. I would like to know, what is the command for smooth reboot of switch. I do not want to unplug power cable and lost configuration. I ...
0
votes
1answer
44 views

How to see full description, When issuing “display ip interface description” ?? on huawei router

I have a router with many interfaces when I issue the command display ip interface description I get something similar to this Eth-Trunk1.444 10.2.2.2/28 U U <= Gige E To ...
3
votes
1answer
127 views

Set password of a Switch to “C?1sc0” using CLI in Cisco Packet Tracer

I have been asked to set the password of a Switch to "C?1sc0" in Cisco Packet Tracer. The problem is that when i type "?" in CLI it prints out: Router(config)#enable password ? 7 Specifies a ...
3
votes
1answer
50 views

what is the point of making directories in a cisco cli

what is the point of making directories in a Cisco router. I noticed its was kinda like Linux mkdir and all that stuff, but what is the purpose?
2
votes
1answer
403 views

Show interfaces brief information

In packet tracer if you hover over a router you will see its interfaces with IP addresses, vlans, etc. However during my CCNA exams (during the troubleshooting) this feature is disabled. Is there a ...
2
votes
2answers
408 views

HP ProCurve 2524 - CLI Command to find Fiber Transceiver's Serial Number

Is there any cli command allowing to check the serial numbers of the inserted mini-GBIC modules on a HP J4813A ProCurve Switch 2524? The show interfaces transceiver [PORT-NUMBER] command which works ...
1
vote
1answer
120 views

Which regex flavor is used in the Junos CLI?

I'm trying to do some regex matching in the Junos CLI, like show configuration | match "fancy.pants(reg|ex)". I especially want to look for word boundaries and other character classes. I'm used to \b, ...
2
votes
1answer
265 views

CLI Commands For Half-Open TCP Connections

I have an HP ProCurve 2910al (J9146A) and I am being requested to drop connections or timeout connections with half-open TCP connections. I am having trouble finding commands or even understanding ...
2
votes
2answers
128 views

Finding the available capacity on switch interface in bytes or bits

Below is the output from my "show interface " command PE1.18:01:44#sh interfaces Ethernet 3 Ethernet3 is up, line protocol is up (connected) Hardware is Ethernet, address is 001c.7374.3d95 ...
6
votes
2answers
378 views

Can Junos show a matching config statement in context, like IOS `| section`?

Hard to describe what I'm asking. For example, here's a section of my config, with the full hierarchy: interfaces { ge-0/1/9 { vlan-tagging; unit 100 { description "my ...
5
votes
3answers
586 views

Blacklist CLI commands on a Nexus

Is there a way to make a Cisco Nexus 7k to reject a CLI command? Everyone knows about the impact, when you want to add a VLAN to a trunk, and if you forget the keyword aadd. If you do this with a ...
2
votes
1answer
50 views

what is the significance of the output of this command ? Cisco CLI

When i enter this command i get my neighbors with some IPs and these are not their Telnet IPs. Can you tell me where those IP belong to ? sh cdp entry * protocol I want to know what are those IPs?
1
vote
2answers
4k views

IPSec site to site VPN Fortigate

We have a site to site VPN connection to a branch office. Once in a while the connection drops for some reason and then we receive an error like this on the Fortigate 310b ike Negotiate ISAKMP SA ...
3
votes
2answers
314 views

Cisco CLI STP VLAN removal

Consider the following in the running config in Cisco IOS (switch): spanning-tree vlan 2-20 prio 4096 If the command "no spanning-tree vlan 5 prio 4096" is issued, will only VLAN 5 be removed ...
0
votes
3answers
636 views

Disabling paging in Huawei

I'm interacting with a MA5616 Huawei, and paging is enabled by default. So for a command like display adsl port state all, I'll be asked if I'd like to see more results. Is there anyway to disable ...
0
votes
2answers
34 views

How to user Netgear switch FMS726s

I just joined to a new company and they are using Netgear Switch FMS726s. I never used Netgear switches and their CLI. They have CLI and kinda similar to Cisco but I can't go back to edit my typo ...
4
votes
1answer
399 views

How to test an IP against a prefix list on JUNOS CLI

One can find routes matching an IP using show route 192.0.2.123. What is the equivalent way to find matching prefixes, if any, in a long prefix list? ... to determine quickly and conclusively whether ...
0
votes
1answer
62 views

How can I acces to CLI on a router? [closed]

I'm studying Telecomunications Engineering and I know how to configurate routers using the command line interface (I've done lots of simulations). My problem is that I'm trying to configurate 2 ...
3
votes
1answer
1k views

Disable empty power slot on Cisco 2960xr

I have a ws-C2960XR-24ps-I switch with 2 slots for power supply's but only 1 power supply inserted. So the switch is always logging an event : "%PLATFORM_ENV-1-FRU_PS_ACCESS: FRU Power Supply is not ...
1
vote
1answer
179 views

Command is in running config, but doesn't exist?

Can someone freaking explain this to me? It's driving me NUTS. Current running config: vpdn-group 1 ! Default PPTP VPDN group accept-dialin protocol pptp virtual-template 2 l2tp tunnel ...
2
votes
1answer
3k views

default interface cmd on cisco nexus 5k

Does anyone know of an equivalent "default interface X" comand for the Cisco Nexus 5000 platform? switch>en switch# conf t switch#(config)# default interface x -> dead thread here about the ...
0
votes
1answer
47 views

Affordable CLI enabled devices? [closed]

Im new to networking and i've been fiddling with Cisco's Packet Tracer for students Every device has a CLI you can access via console cable or other means to configure your network Now to my dismay ...
3
votes
2answers
11k views

Cisco IOS — How do I make the console prompt for a password upon serial line session 0 connection?

I'm using Putty to connect via a serial connection to the console. I have a line con 0 password set, as shown by show running-config. I close this session (via Putty), reconnect, and the CLI prompt ...
3
votes
2answers
1k views

Cisco IOS CLI — Difference between global configuration and console line configuration mode (using line console 0 command)?

Student here. Could someone please explain to me the difference between these two? I'm using a serial connection for this. Does the latter refer to one individual serial terminal session? Why would ...
1
vote
1answer
228 views

AAA Authorization

I have a 3750x with TACACS AAA configured. If I login using TACACS, CLI commands run fine, no wait between commands. However, if I disconnect from network, taking away the ability to hit the tacacs ...
1
vote
1answer
850 views

How to enable PoE on HP ProCurve 2650

I own a Hewlett-Pacard ProCurve 2650 switch. I want to switch on power-over-ethernet on one of the ports. I have no idea how to do it, so my question is: Does the 2650 support PoE? How do I enable it ...
4
votes
1answer
3k views

How to specify username for SSH in Juniper router?

Model: ACX2200 Version : 15.1X54-D10.5 I have two Juniper routers connected back-to-back , first router is enabled with TACACS login. Second router is not enabled with TACACS login yet. So to ...
2
votes
1answer
130 views

ASA 5505 | 1 public IP - 2 services www, SFTP (PAT)

I'm currently trying to reach my LAMP server from the outside. My LAN server has the IP of 10.255.255.2 and lets say my WAN IP is 84.238.29.84 Shouldn't it just be: objekt network HTTP-PAT host 10....
3
votes
3answers
2k views

DNS Resolution:<Backwards IP Address>.in-addr.arpa [closed]

Can somebody please explain whats going on here? localuser@localhost:~$ host 127.0.0.1 1.0.0.127.in-addr.arpa domain name pointer localhost. What's up with the IP address being resolved ...
4
votes
2answers
15k views

Correct Cisco ASA CLI Command To Delete Network Objects (force)

I am a newbie at managing my firewall so this is a really basic question. My firewall is a Cisco 5505. What is the appropriate command (or commands) to run on the command line interface to delete an ...
2
votes
1answer
2k views

Junos cli regex requirement

Hi I have seen someone do this a while back but for the life of me cant figure out the quick way to match on multiple strings easily. objective is to display any lines of config that matches either ...
1
vote
0answers
587 views

PowerConnect 2808 and syslog

I have a pair of Dell PowerConnect 2808 managed switches. I am attempting to enable syslog on them, but not having any luck. I have searched the web interface, used telnet to log into the CLI ...
1
vote
1answer
3k views

How to detect port changes in real time on Cisco 4506

Is it possible to detect if any cable was connected/disconnected in real time via Telnet session on Cisco Catalyst 4506? For example, I have an IBM Switch EN94093R that does it by default, when I ...
3
votes
2answers
2k views

HP Networking Switch CLI Comments?

Is there a comment character or do-nothing command in the HP CLI environment? I'm looking for an equivalent of the exclamation mark (!) in Cisco IOS.
4
votes
2answers
1k views

Cisco ISE - CLI Accounting

We've recently installed a POC for Cisco ISE and have confirmed that we are able to log into the switches that poll it for RADIUS information. Since we've moved from TACACS+, we can't seem to find the ...
1
vote
2answers
430 views

I've been told that Cisco is changing their commands with every IOS, that seems unlikely. Can anyone confirm that?

I'm thinking of starting to work on my CCNA since I'm getting a little training in Fortinet and maybe getting sent to certification class.
7
votes
4answers
708 views

Cisco IOS cli prompts - any way to know which interface you are configuring?

I'm used to the Juniper and Extreme worlds more than Cisco. I'm able to get by OK, but some basic cli issues arise that have finally frustrated me enough. Inside a Cisco ASA 5505/5510 running 8.3+ ...
0
votes
1answer
2k views

How do I connect to an HP 1910 switch console from GNU screen?

I'm trying to use GNU screen on Ubuntu 14.04 to connect to an HP 1910-8G switch console but it is not working. So far for all of my attempts, screen seems to terminate or just appears blank. Has ...
4
votes
1answer
697 views

Cisco “show archive config diff” displays crypto pki

I have a Cisco WS-C3560G-24PS. We're going to make some changes to it, so I ran the command show archive config diff to make sure everything is fine if we need to revert the changes. My problem is ...
4
votes
1answer
2k views

Log Messages In Juniper MX960

How do I check the Log Messages of Last Month on juniper MX960 Router. When I am typing the command: #show log Messages. It's just showing me the messages for last 15 days. We have two MX960 ...
4
votes
1answer
777 views

EX Series Switch Efficient BPDU Protect Statements

Is there an efficient way to explicitly configure all interfaces as edge ports except for one or two? Something along the lines of: set protocols rstp interface all edge set protocols rstp ...
2
votes
2answers
6k views

Cisco Command to display link status

I am having a bit of a brain freeze. I would like to know the command that displays the link status when a network cable is unplugged from the switch port. What is the command name?
5
votes
1answer
11k views

HP V1910, VLAN routing - what did I miss?

First time posting in this part of stack exchange and I'm a novice regarding advanced network configuration - plug & play switch installation I can handle ;o) I got myself a HP V1910-48G (former ...
6
votes
2answers
35k views

Show connected (up) interfaces on cisco devices

Is there any way to show a total count of interfaces that are in status "up" on a cisco router? The purpose is to let a script go through all routers and show a summarization count of "up" interfaces....
9
votes
2answers
786 views

Transaction based CLI on Ethernet Switches

I am familiar with CLI on managed Ethernet switches. However, recently I came across a term 'transaction based CLI' on switches. I am not exactly sure what is that and purpose of having it in switches....