Several ports to listen for SSH on Catalyst switches
Hello community,
On Cisco routers, you can set up multiple SSH ports (instead of the default tcp 22) in combination with rotary groups. Then attach these rotating groups of specific VTY lines. It works very well.
But it seems on Cisco switches, you cannot set different ports of SSH. The order Router(config) #ip ssh port portnum Rotary group is not available. You can use the rotating on the VTY lines, but it does for Telnet connections.
Did someone knows if it is possible to use rotating groups on switches with SSH? What I'm trying to achieve is, I want to use multiple lists of AAA method and define these specific VTY lines slot. In this way, I am able to designate specific users, connecting from specific IP on a dedicated VTY line addresses, with a personalized list of AAA method.
Any help is very appreciated!
Kind regards
Dion Dohmen
Hello
I am currently using 12.2 (58) SE2 on the 3560.
Software Cisco IOS, C3560 Software (C3560-IPSERVICESK9-M), Version 12.2 (58) SE2, RELEASE SOFTWARE (fc1)
I lowered my IOS to check if she is still supported for the 3560 on 12.2 (55) SE1 and is not.
XXX availability is 1 minute
System to regain the power ROM
System restarted at 14:38:50 GMT Tuesday, July 29, 2014
System image file is "flash:/c3560-ipservicesk9-mz.122-55.SE1.bin".
XXX (config) #ip ssh?
new authentication attempts to specify number of authentication retries
DSCP DSCP IP value for SSH traffic
Configure logging for SSH logging
priority of the value of IP precedence for SSH traffic
source-interface interface to specify to address SSH source
connections
timeout specify SSH timeout
Protocol version to specify supported version
XXX (config) #ip ssh
I then upgraded to 12.2 (55) SE9 and there is still not supported.
XXX availability is 1 minute
System to regain the power ROM
System restarted at 14:47:49 GMT Tuesday, July 29, 2014
System image file is "flash:/c3560-ipservicesk9-mz.122-55.SE9.bin".
XXX (config) #ip ssh?
new authentication attempts to specify number of authentication retries
DSCP DSCP IP value for SSH traffic
Configure logging for SSH logging
priority of the value of IP precedence for SSH traffic
source-interface interface to specify to address SSH source
connections
timeout specify SSH timeout
Protocol version to specify supported version
XXX (config) #ip ssh
I would recommend that you upgrade, but I unfortunately don't see any point.
Thank you
Nehmaan
Tags: Cisco Security
Similar Questions
-
several hosts aaa server for authentication vpn
ASA5510 - 7.2 (1)
Using the following configuration, I try to have several radius servers configured for authentication backup in case of failure of the primary vpn. This seems to work ok. But once the main server upward when the asa will begin to use it again. The release of "aaa-Server 172.25.4.20 host" said
Server status: FAILURE, server disabled at 08:04:25.
How do reactivate you it?
RADIUS protocol AAA-server adauth
adauth AAA-server 172.25.4.20
key *.
authentication port 1812
accounting-port 1813
adauth AAA-server 172.25.4.40
key *.
authentication port 1812
accounting-port 1813
tunnel-group group general attributes
address pool pool
authentication-server-group adauth
by default-group-policy
You can add the option in the Group aaa-server:
"reactivation in timed mode.
This causes a dead server is added to the pool after 30 seconds.
The following link has some good info on the options available. I suggest looking for the doc for the "reactivation".
http://www.Cisco.com/univercd/CC/TD/doc/product/multisec/asa_sw/v_7_2/cmd_ref/crt_711.PDF
-Eric
Be sure to note all the useful messages.
-
Which TCP port is used for VMWare Infrastructure Client?
Hello, my ESXi server sits on the private network, and I'm trying to PAT so that I can access the external network using VMWare Infrastructure Client Server. Does anyone know what port is VMWare Infrastructure Client listen? Thank you.
Priscilla
Do the external network for VMware NAT
I guess you mean that your server is located in the internal network and Client is on the outside.
If the customer does not have to "listen" for connections it opens TCP ports - HI 1024-65535 to servers as follows.
Servers (including GSX) TCP ports: 8222, 8333, 902
If you have ESX (i) then TCP ports: 80, 443, 902
T:OMI
Psalm Points, please
-
Creation of local listener for 11.2
Version: 11g Rel 2
Platform: Solaris 10
2 node RAC
Because of our custom requirements, we create our DBs CARS manually. Due to downtime, we create a listener for each DBs.
If you are using dbca, all the below mentioned are the things in dbca. But if I used dbca I shouldn't know the existence of the file endpoints_listener.ora... and so on.
Here's the scenario
=============
We already have our SCAN listener running on the port 31548.
Now we create our local listener. So, I used netca to create the listener.
NETCA added the following lines the listener.ora and endpoints_listener.oraDB name : HEWPROD Listener name : LSNRHEWPROD (using netca to create this listener) Port : 25382 Host name of Node1 : HWSTM348 Host name of Node2 : HWSTM349
Question1.1. listener.ora ================== LSNRHEWPROD=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LSNRHEWPROD)))) # line added by Agent ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LSNRHEWPROD=ON # line added by Agent 2. endpoints_listener.ora ============================ LSNRHEWPROD_HWSTM348=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=hwstm348-vip)(PORT=25382))(ADDRESS=(PROTOCOL=TCP)(HOST=10.213.107.87)(PORT=25382)(IP=FIRST)))) # line added by Agent
What is the endpoints_listener.ora file? What does the word "point limit"?
Question2.
After the creation of the earpiece using netca, we follow these steps on each nodes to get the listener service DB
The statement above works despite the fact that he has none of these headphones with the namealter system set local_listener='listener_<instance_name>' scope=both; eg: alter system set local_listener='listener_hewprod1' scope=both;
The real listener created by netca is LSNRHEWPROD. But how the (parameter LOCAL_LISTENER) command above?listener_hewprod1
Yes, they can listen on the same port because each process uses a different IP address.
The SCAN_LISTENER is listenening to a maximum of 3 different IP addresses.
The local listener is listening on the virtual IP address, which is different from the SCAN LISTENER addresses.Do not hesitate if you have any questions!
Melanie
-
VI re - enter several times a loop for
HW can I call a same vi... (reentrent vi several times a loop for). using reference function call.
Thanks in advance
Bilel
Use x 8 for reference VI options open to call dynamically live reentrant
For more information read the help of LabVIEW for this nodes!
Christian
-
Implementing custom listener for ListField
I'm trying to implement a listener for a custom field I created that would launch a new screen when you click on the field. However, nothing happens when I click on the custom field. I use BlackBerry Java plug-in for Eclipse, JDK 1.3 and JRE 6.0. All my code is attached. MyScreen.java contains the code where I'm trying to implement a function fieldChanged.
//MyApp.Java package mypackage; import net.rim.device.api.system.CodeModuleManager; import net.rim.device.api.ui.UiApplication; /** * This class extends the UiApplication class, providing a * graphical user interface. */ public class MyApp extends UiApplication { /** * Entry point for application * @param args Command line arguments (not used) */ public static void main(String[] args) { CodeModuleManager.promptForResetIfRequired(); // Create a new instance of the application and make the currently // running thread the application's event dispatch thread. MyApp theApp = new MyApp(); theApp.enterEventDispatcher(); } /** * Creates a new MyApp object */ public MyApp() { // Push a screen onto the UI stack for rendering. pushScreen(new MyScreen()); } }
//MyScreen.java package mypackage; import net.rim.device.api.ui.container.*; //for vertical manager import net.rim.device.api.ui.Field; import net.rim.device.api.ui.FieldChangeListener; import net.rim.device.api.ui.Manager; //import net.rim.device.api.ui.Screen; import net.rim.device.api.ui.component.*; import net.rim.device.api.ui.Color; import net.rim.device.api.ui.decor.BackgroundFactory; /** * A class extending the MainScreen class, which provides default standard * behavior for BlackBerry GUI applications. */ public final class MyScreen extends MainScreen { /** * Creates a new MyScreen object */ private CustomField cField; public MyScreen() { // Set the displayed title of the screen setTitle("My New App"); cField = new CustomField("4.PNG","This is my 4th custom field!!"); ButtonClickListener listener = new ButtonClickListener(); cField.setChangeListener(listener); add(cField); }//MyScreen function class ButtonClickListener implements FieldChangeListener { public void fieldChanged(Field field, int context) { //we need to determine which button was clicked if(field == cField) new SpeedBumpScreen(); } }//ButtonClickListener }
//CustomField.java package mypackage; import java.util.Vector; import net.rim.device.api.system.Bitmap; import net.rim.device.api.ui.*; import net.rim.device.api.ui.component.*; class CustomField extends ListField implements ListFieldCallback { private Vector rows; public CustomField(String customImg, String customLabel) { super(0, ListField.MULTI_SELECT); setRowHeight(80); setEmptyString("Hooray, no items here!", DrawStyle.HCENTER); //setCallback(this); Bitmap p1 = Bitmap.getBitmapResource(customImg); rows = new Vector(); TableRowManager row = new TableRowManager(); row.add(new BitmapField(p1)); // SET THE item NAME LABELFIELD // if overdue, bold/underline LabelField item = new LabelField("item #" + customLabel, DrawStyle.ELLIPSIS); // overdue item.setFont(Font.getDefault().derive( Font.BOLD | Font.UNDERLINED)); System.out.println("OVERDUE"); row.add(item); // SET THE LIST NAME row.add(new LabelField("List Name #" + String.valueOf(1), DrawStyle.ELLIPSIS) { protected void paint(Graphics graphics) { graphics.setColor(0x00878999); super.paint(graphics); } }); // SET THE DUE DATE/TIME row.add(new LabelField("Due Date #" + String.valueOf(1), DrawStyle.ELLIPSIS | LabelField.USE_ALL_WIDTH | DrawStyle.RIGHT) { protected void paint(Graphics graphics) { graphics.setColor(0x00878787); super.paint(graphics); } }); rows.addElement(row); setSize(rows.size()); } //end public CustomField() // ListFieldCallback Implementation public void drawListRow(ListField listField, Graphics g, int index, int y, int width) { CustomField list = (CustomField) listField; TableRowManager rowManager = (TableRowManager) list.rows .elementAt(index); rowManager.drawRow(g, 0, y, width, list.getRowHeight()); } //end drawListRow() private class TableRowManager extends Manager { public TableRowManager() { super(0); } //end pulic TableRowManager // Causes the fields within this row manager to be layed out then // painted. public void drawRow(Graphics g, int x, int y, int width, int height) { // Arrange the cell fields within this row manager. layout(width, height); // Place this row manager within its enclosing list. setPosition(x, y); // Apply a translating/clipping transformation to the graphics // context so that this row paints in the right area. g.pushRegion(getExtent()); // Paint this manager's controlled fields. subpaint(g); g.setColor(0x00CACACA); g.drawLine(0, 0, getPreferredWidth(), 0); // Restore the graphics context. g.popContext(); }//end drawRow() // Arranges this manager's controlled fields from left to right within // the enclosing table's columns. protected void sublayout(int width, int height) { // set the size and position of each field. int fontHeight = Font.getDefault().getHeight(); int preferredWidth = getPreferredWidth(); // start with the Bitmap Field of the priority icon Field field = getField(0); layoutChild(field, 32, 32); setPositionChild(field, 0, 0); // set the item name label field field = getField(1); layoutChild(field, preferredWidth - 16, fontHeight + 1); setPositionChild(field, 34, 3); // set the list name label field field = getField(2); layoutChild(field, 150, fontHeight + 1); setPositionChild(field, 34, fontHeight + 6); // set the due time name label field field = getField(3); layoutChild(field, 150, fontHeight + 1); setPositionChild(field, preferredWidth - 152, fontHeight + 6); setExtent(preferredWidth, getPreferredHeight()); }//end sublayout() // The preferred width of a row is defined by the list renderer. public int getPreferredWidth() { return Graphics.BLACK; } // The preferred height of a row is the "row height" as defined in the // enclosing list. public int getPreferredHeight() { return getRowHeight(); } }// private class TableRowManager extends Manager public Object get(ListField listField, int index) { // TODO Auto-generated method stub return null; } public int getPreferredWidth(ListField listField) { // TODO Auto-generated method stub return 0; } public int indexOfList(ListField listField, String prefix, int start) { // TODO Auto-generated method stub return 0; } } //end class CustomField extends ListField implements ListFieldCallback
//SpeedBumpScreen.java package mypackage; import net.rim.device.api.ui.Field; import net.rim.device.api.ui.component.RichTextField; import net.rim.device.api.ui.container.MainScreen; public final class SpeedBumpScreen extends MainScreen { /** * Creates a new HelloWorldScreen object */ SpeedBumpScreen() { // Set the displayed title of the screen setTitle("Speed bump screen"); // Add a read only text field (RichTextField) to the screen. The // RichTextField is focusable by default. Here we provide a style // parameter to make the field non-focusable. add(new RichTextField("This is the speed bump screen!", Field.NON_FOCUSABLE)); } }
In addition, there is nothing in the ListField that will actually generate an event.
Here is a simple extension to the ListField which will make "clickable". In your FieldChangeListener you can use getSelectedindex to determine which line has the focus.
Please ask if this isn't clear:
public class ClickableListField extends ListField { public ClickableListField(int numberOfRows) { super(numberOfRows); } protected boolean navigationClick(int status, int time) { this.fieldChangeNotify(2); return true; } protected boolean touchEvent(TouchEvent message) { int x = message.getX( 1 ); int y = message.getY( 1 ); if( x < 0 || y < 0 || x > getExtent().width || y > getExtent().height ) { // Outside the field return false; } // If click, process Field changed if ( message.getEvent() == TouchEvent.CLICK ) { this.fieldChangeNotify(2); return true; } return super.touchEvent(message); } }
-
Listener for ObjectChoiceField
I am trying to add a listener for an ObjectChoiceField in the same way I did for a ButtonField in this code. But I get an error in this line ObjectChoiceField choiceSelected = field (ObjectChoiceField);
For now I check to headset ObjecChoiceField with a dialog.alert. If it works then I intend to add a BitmapField to the screen that would alter the images with different selections in the drop-down list (ObjectChoiceField).
Any help would be appreciated!
SerializableAttribute public class TestListeners extends UiApplication {}
Public Shared Sub main (String [] args) {}
PAP TestListeners = new TestListeners();
theApp.enterEventDispatcher ();
}
public TestListeners() {}
pushScreen (new TestListenersScreen());
}
final TestListenersScreen class extends form {}
public TestListenersScreen() {}
HorizontalFieldManager _fieldManagerBottom = new HorizontalFieldManager();
Add (_fieldManagerBottom);
ButtonField canadaButton = new ButtonField ("Canada");
ButtonField ukButton = new ButtonField ("UK");
ButtonField usButton = new ButtonField ("USA");
FieldChangeListener buttonListener = new FieldChangeListener() {}
' Public Sub fieldChanged (field field, int context) {}
ButtonField buttonPressed = field (ButtonField);
Status.Show (buttonPressed.getLabel () + "button has been pressed");
}};
canadaButton.setChangeListener (buttonListener);
ukButton.setChangeListener (buttonListener);
usButton.setChangeListener (buttonListener);
_fieldManagerBottom.Add (canadaButton);
_fieldManagerBottom.Add (ukButton);
_fieldManagerBottom.Add (usButton);
String [] choiceArray = {'image1', 'image2', 'image3'};
ObjectChoiceField choice = new ObjectChoiceField ("Drop-down list for choosing" choiceArray, 1);
ChoiceListener myChoiceListener = new ChoiceListener();
choice.setChangeListener (myChoiceListener);
Add (Choice);
}
}
}
/ public class ChoiceListener implements FieldChangeListener {}
' Public Sub fieldChanged (field field, int context) {}
ObjectChoiceField choiceSelected = (ObjectChoiceField) field.<-->-->
Dialog.Alert ("choice" + choiceSelected.getSelectedIndex () + "has been pressed");
}
};
What is the error you get?
I have field listeners that listen on the buttons and the ObjectChoiceFields. I use code like:
' Public Sub fieldChanged (field field, int context) {}
If (field instanceof ObjectChoiceField) {}
ObjectChoiceField test = field (ObjectChoiceField);
Dialog.Alert ("choice" + test.getSelectedIndex () + "has been pressed");
}
}
-
I read through the API to find out how to add a listener for memos. I want to take the changes/additions/deletions of memos using the MemoPad application. BlackBerryPIM has MEMO_LIST, but
addListChangeListener(ListChangeListener listener) has:
pimListType - the type of PIM list to open; valid values include CONTACT_LIST, EVENT_LIST and TODO_LIST.
Can I set a listener to the evolution of the memo? If so, how?
use BlackBerryPIM.MEMO_LIST
-
There are 3 types of ways to listen for incoming sms in the following link:
All those who receive the javax.wireless.messaging.Message for further processing.
I need to check the priority of the message received, which is only available in net.rim.blackberry.api.mail.Message and not javax.wireless.messaging.Message.
Can someone guide me to get the net.rim.blackberry.api.mail.Message When listening for incoming sms?
Thank you.
Net.rim.blackberry.api.mail.Message is actually for mails not for sms
Press the button Bravo thank the user who has helped you.
If your problem has been resolved then please mark the thread as "accepted Solution".
-
Reg: How to set the listener for AutoTextEditField...
Hello
I want to put the listener for the two AutoTextEditField and PasswordEditField.
Please answer as soon as POSSIBLE.
AutoTextEditField RegistrationNo = new AutoTextEditField ("RegNumber :","");
Regno string = "";
RegistrationNo.setChangeListener (new FieldChangeListener)
{
' Public Sub fieldChanged (field field, int context)
{
System.out.println ("* inside listener for RigiNumber * :"); ")
every time when to enter something on RegistrationNo it will be added to the string regnoRegno = regno + RegistrationNo.getText ();
}
}); -
event listener for when the Panel is open?
is there an event listener for when a CEP Panel is open.
I have a persistent Panel the onload works only when the Panel is opened for the first time. I want to keep persistent, but I want to know when the Panel is open again
Maybe I've misunderstood something, because my English is bad. Unfortunately the listener for events at the opening of the Panel, I also have not found, I had to go through the back door.
-
Serial Port is configured for a virtual machine...
Dear team,
I found the serial port is configured on one of the virtual machine, which follows is the blink of an eye the same.
Just want, serial port is required for the devices on which?
Usually, you see the serial port after a P2V and not detached from the VM.
Why is it necessary? Nowadays it probably isn't, but there are days where we still used modems on (among other things) serial ports. Introducing a serial port to the virtual machine, you can go through the device that was attached to the serial port of the server host directly on the virtual computer.
Today it is not really useful and you can probably just close the virtual machine and remove it.
Matt
-
I am able to set up a record generic subdomain for my business catalyst site?
I am able to set up a record generic subdomain for my business catalyst site?
Without this you is impossible in the DNS BC system
Brett
-
I have 8 sliders in an HBox, and I want to add a listener for each one that will allow me to know what cursor is somehow. Each slider represents a channel for a device, and even if I can add a listener which relays a number that represents the new value of the slider, he didn't tell me what cursor is. Although I can add an int value that represents the number of the channel of the cursor to its user data, it doesn't seem to be a way to extract the return type (number). The code looks like this:
HBox hbox = new HBox (8); spacing of
for (int i = 0; i < gain.length; i ++) / / for each output
{
[i] gain = SetLook (new Slider (0,100,0));
gain .setUserData (i + 1); / / the number of input
hbox.getChildren () .add (gain [i]);
.valueProperty () .addListener (new ChangeListener < number > () [i] gain
{
@Override
public void changed (ObservableValue <? extends number > ov, oldValue, newValue number number)
{
makeGainChange ((int) newValue.getUserData (), newValue.intValue ());
makeGainChange (1, newValue.intValue ());
}
});
}HBox hbox = new HBox(8); // spacing for(int i = 0; i < gain.length; i++) // for each output { gain = SetLook(new Slider(0,100,0)); // gain.setUserData(i+1); // the input number hbox.getChildren().add(gain); // Add this: final int inputNumber = i+1 ; gain.valueProperty().addListener(new ChangeListener
() { @Override public void changed(ObservableValue extends Number> ov, Number oldValue, Number newValue) { // now pass the input number to your method: makeGainChange(inputNumber, newValue.intValue()); } }); } Edited by: James_D 7 April 2013 12:16
-
How do I listen for the change in the position of a node
Hello
I want to create a knot of thread/connection between two nodes of the scene. I want this thread node to be updated when one of the nodes is moving. In the common scenario I'd listen for change events in the nodes of the target of the post and update the thread:
targetNode1.translateXProperty () .addListener (new ChangeListener < number > () {}
public void changed (value of ObservableValue, oldValue, newValue number number) {}
wire.setStartX (targetNode1.getTranslateX ());
wire.setStartX (targetNode1.getTranslateY ());
wire.setEndX (targetNode2.getTranslateX ());
wire.setEndY (targetNode2.getTranslateY ());
}
});
The problem is that the target nodes are children of a different container nodes (who are moving in fact). To listen for change events in the properties to translate target nodes does not work (their parent nodes are moving actually)
Is there way of list of change in the overall position of the target relative to the scene nodes?That's right, it's not a super easy way to do. You need to connect listeners to each node in the parent hierarchy. The reason for which we do not have this feature built-in, is because it is extremely expensive (early versions of JavaFX 1.0 pre had "boundsInScene" but which was incredibly convenient, also completely killed performance). Do this for a few nodes is not a problem, but the fact for each node in the scene would be your 3 GHz machine to its knees :-).
Richard
Maybe you are looking for
-
icloud photos windows mov files
Hello no problems with my Iphone6 and sync photos to my Photos of Icloud running Windows. All photos are here... but I also see a MOV file with photo... Why is it...? Given that the photo is a pure why during synchronization jpeg or download I get a
-
How to delete data from the iPhone 5 c?
How to remove data from my iPhone 5 c?
-
How can I synchronize Safari bookmarks with those in Firefox?
I have a PC running Firefix and Firefox Sync OK. I have an ipad 2 with Firefox Home installed and connected fine to my FF sync account. I was expecting FF home to synchronize bookmarks on ipad Safari with those on the desktop. Apparently not so much.
-
Tecra A4 PTA40: Need of drivers and utilities for Vista Toshiba
can someone tell me if the drivers and software from Toshiba (ConfigFree, Bluetooth Stack, Hotkeys, help,...) is available for Windows Vista? Thank you
-
How to recover lost Outlook express emails?
We had to wipe everything off of our computer and use the recovery disk to reinstall the computer. Now, I forgot to save all my outlook express emails. Is there anyway to get back them? Thank you!Patrice