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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
317 views

where can I check assigned phisical IPAddress on FXOS cli and is that possible to access GUI of FXOS?

I am a newbie of my companie's Network department and my boss wants me to check the IP-ADDRESS of each port of our Firepower of cisco. We have two models of it, one is 4100 series and another is 2100 ...
Myung Seok Kang's user avatar
1 vote
2 answers
147 views

What issues can rise from web gui config changes then making other changes from the CLI?

I'm using a 9200L Cisco switch If I make changes in the CLI, then I make changes in the Web interface and vice versa. Will there be issues down the road with the config file getting corrupt or ...
13months's user avatar
  • 131
0 votes
1 answer
110 views

If asa Cli gets too long, it automatically gets omitted as "$". Is there no way to stop this?

When saving logs in our environment, it is inconvenient to have a CLI omitted as $, so as the title suggests, I would like to prevent $ from being omitted when entering CLI or marking it, is it ...
Myung Seok Kang's user avatar
0 votes
1 answer
128 views

Cisco ca-trustpoint Not Adding SAN For CSRs

When doing the following to make the CSR for a certificate I add the IP Address line. But when I look at the certificate it doesn't look like the IP address is added to the SAN. In fact the ...
JukEboX's user avatar
  • 461
1 vote
1 answer
526 views

How do you redirect Fortigate packet sniffer CLI output to a log file?

I want to run the fortigate packet sniffer: https://community.fortinet.com/t5/FortiGate/Troubleshooting-Tip-Using-the-FortiOS-built-in-packet-sniffer/ta-p/194222 and when I do so, I only get CLI ...
Ryu S.'s user avatar
  • 123
1 vote
0 answers
153 views

Default admin deleted. Cant access CLI on Palo Alto but have access to GUI

I accidentally deleted the default admin for CLI on Palo Alto and now I can't log in. I have access to the GUI. I don't want to blow the image. Any ideas? What I have tried: I created a new superuser ...
Igorski88's user avatar
  • 111
2 votes
1 answer
200 views

Change file permissions for Checkpoint r80.30 so scpuser can download file

Using checkpoint r80.30, how can I change the permissions of a file in the /var/log/ folder so that I can download it to my PC using a scpuser account? I have connected to the firewall using the ...
The Footsie's user avatar
0 votes
0 answers
37 views

Cisco Kron Job starts later and later

I use a Kron job to ring a shit bell for our manufacturing plant. The application works, but the job starts 35+ seconds late. The problem seems to be getting worse, a few days ago it was at 35 secs ...
noobInTraining's user avatar
2 votes
1 answer
898 views

Why configuration file of Palo Alto doesn't contain local policies?

I am working with Palo Alto devices. For most devices I worked with, local policies are a part of running configuration so when I am executing cli command "show running config" I get the ...
Verru's user avatar
  • 21
1 vote
0 answers
63 views

1941W wireless clients losing DHCP IP address [closed]

I am attempting to 'extend' a 192.168.1.0\24 network with an experimental network 192.168.10.0\24 using a 1941W router. I have configured 1941W to distribute a 192.168.10.0\24 network, with WLAN ...
davidhood2's user avatar
1 vote
1 answer
600 views

Help with Cisco Wireless LAN Controller CLI Flexconnect configurations

Having transitioned into a full time Python programmer and automation architect, I've sadly lost a lot of hands on experience. I'm currently working with a customer to configure 20 Cisco 8510 ...
Cow's user avatar
  • 1,732
0 votes
1 answer
512 views

Accessing an interface range that spans beyond one stack on a Cisco Switch

I want to configure Interfaces 0/3, 1/2 and 1/3 for example. Using interface range gig 0/3-1/3 did not work, is it simply not possible or is there a different syntax? EDIT: Of course aside using ...
Flying Thunder's user avatar
3 votes
1 answer
65 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 ...
dresden47's user avatar
2 votes
2 answers
205 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: ...
Mario Jost's user avatar
  • 1,709
5 votes
1 answer
3k 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 ...
Craken's user avatar
  • 681
3 votes
2 answers
6k 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. ...
Martin Ledermann's user avatar
1 vote
1 answer
792 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 ?
HIDEO's user avatar
  • 21
0 votes
1 answer
17k 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 ...
Frihu's user avatar
  • 13
0 votes
1 answer
609 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 ...
Forrest's user avatar
  • 57
3 votes
1 answer
376 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 ...
Mariksel Azemaj's user avatar
3 votes
1 answer
74 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?
Eric's user avatar
  • 33
2 votes
1 answer
2k 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 ...
Sinan Samet's user avatar
2 votes
3 answers
7k 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 ...
Martin Ledermann's user avatar
1 vote
1 answer
697 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, ...
Jacktose's user avatar
  • 476
2 votes
1 answer
629 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 ...
JukEboX's user avatar
  • 461
2 votes
2 answers
539 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 ...
user258699's user avatar
7 votes
2 answers
2k 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 ...
Jacktose's user avatar
  • 476
4 votes
3 answers
2k 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 ...
user40059's user avatar
2 votes
1 answer
62 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?
Terminator's user avatar
1 vote
3 answers
19k 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 ...
F.H.'s user avatar
  • 123
2 votes
2 answers
708 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 ...
Max's user avatar
  • 837
0 votes
3 answers
4k 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 ...
Akbari's user avatar
  • 101
0 votes
2 answers
50 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 ...
Will's user avatar
  • 141
3 votes
1 answer
2k 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 ...
neirbowj's user avatar
  • 879
0 votes
1 answer
150 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 ...
dgr's user avatar
  • 3
3 votes
1 answer
3k 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 ...
veel84's user avatar
  • 403
1 vote
1 answer
261 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 ...
Helkas's user avatar
  • 137
2 votes
1 answer
6k 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 ...
Max's user avatar
  • 837
0 votes
1 answer
49 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 ...
JSelser's user avatar
  • 103
4 votes
2 answers
16k 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 ...
user1330287's user avatar
3 votes
2 answers
3k 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 ...
user1330287's user avatar
1 vote
1 answer
416 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 ...
user23590's user avatar
1 vote
1 answer
2k 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 ...
Konrad Gajewski's user avatar
3 votes
1 answer
6k 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 ...
R__raki__'s user avatar
  • 381
2 votes
1 answer
236 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....
BIGFATTOBY's user avatar
4 votes
3 answers
10k 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 ...
voices's user avatar
  • 313
6 votes
2 answers
26k 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 ...
David's user avatar
  • 63
3 votes
1 answer
6k 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 ...
DrBru's user avatar
  • 1,619
1 vote
0 answers
746 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 ...
Randal R.'s user avatar
3 votes
1 answer
4k 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 ...
Paulostation's user avatar