2540-M2 configuration on SG-XPCIE2FC-QF4 port 1

Hello..
One of my M5000 is running with two of SG-XPCIE2FC-QF4 card. Port 0 is directly connected (without SAN switches) to a 2008 model 2540 storage and now I need to attach my newly bought 2540-M2 to port 1 of these FC HBAs. I mapped the LUNs to the correct storage domains using CAM. In Solaris, even if I do devfsadm any number times nothing comes up in format! Any idea? Does the port 1 support 2540-M2? Need some patches? Please help...

Thanks for your reply...
After many map-umapps to the default storage domain finally I could get the LUNS visible to Solaris. Now the issues is that port 1 on HBA (on the slot 2 PCI-E) is showing NOT CONNECTED! I have replaced fiber cables and powered off-on the array but no use. I did not reboot the server, only did a devfsadm -v. Old LUNs are Active/Standby mode as it has two paths, but the new ones are having only one path and threfore no redundancy. Any clues? see below outputs..
#cfgadm -al -o show_FCP_dev
Ap_Id Receptacle Occupant Condition Information
When Type Busy Phys_Id
c1 connected configured unknown
unavailable fc-private n /devices/pci@0,600000/pci@0/pci@9/SUNW,qlc@0/fp@0,0:fc
c1::202400a0b839c57a,0 connected configured unknown
unavailable disk n /devices/pci@0,600000/pci@0/pci@9/SUNW,qlc@0/fp@0,0:fc::202400a0b839c57a,0
c1::202400a0b839c57a,1 connected configured unknown
unavailable disk n /devices/pci@0,600000/pci@0/pci@9/SUNW,qlc@0/fp@0,0:fc::202400a0b839c57a,1
c1::202400a0b839c57a,5 connected configured unknown
unavailable disk n /devices/pci@0,600000/pci@0/pci@9/SUNW,qlc@0/fp@0,0:fc::202400a0b839c57a,5
c1::202400a0b839c57a,31 connected configured unknown
unavailable disk n /devices/pci@0,600000/pci@0/pci@9/SUNW,qlc@0/fp@0,0:fc::202400a0b839c57a,31
c2 connected configured unknown
unavailable fc-private n /devices/pci@0,600000/pci@0/pci@9/SUNW,qlc@0,1/fp@0,0:fc
c2::20360080e523efc2,0 connected configured unknown
unavailable disk n /devices/pci@0,600000/pci@0/pci@9/SUNW,qlc@0,1/fp@0,0:fc::20360080e523efc2,0
c2::20360080e523efc2,1 connected configured unknown
unavailable disk n /devices/pci@0,600000/pci@0/pci@9/SUNW,qlc@0,1/fp@0,0:fc::20360080e523efc2,1
c2::20360080e523efc2,2 connected configured unknown
unavailable disk n /devices/pci@0,600000/pci@0/pci@9/SUNW,qlc@0,1/fp@0,0:fc::20360080e523efc2,2
c2::20360080e523efc2,31 connected configured unknown
unavailable disk n /devices/pci@0,600000/pci@0/pci@9/SUNW,qlc@0,1/fp@0,0:fc::20360080e523efc2,31
c3 connected configured unknown
unavailable fc-private n /devices/pci@1,700000/SUNW,qlc@0/fp@0,0:fc
c3::202500a0b839c57a,0 connected configured unknown
unavailable disk n /devices/pci@1,700000/SUNW,qlc@0/fp@0,0:fc::202500a0b839c57a,0
c3::202500a0b839c57a,1 connected configured unknown
unavailable disk n /devices/pci@1,700000/SUNW,qlc@0/fp@0,0:fc::202500a0b839c57a,1
c3::202500a0b839c57a,5 connected configured unknown
unavailable disk n /devices/pci@1,700000/SUNW,qlc@0/fp@0,0:fc::202500a0b839c57a,5
c3::202500a0b839c57a,31 connected configured unknown
unavailable disk n /devices/pci@1,700000/SUNW,qlc@0/fp@0,0:fc::202500a0b839c57a,31
c4                             connected    unconfigured unknown
unavailable  fc           n        /devices/pci@1,700000/SUNW,qlc@0,1/fp@0,0:fc
#luxadm -e port
/devices/pci@0,600000/pci@0/pci@9/SUNW,qlc@0/fp@0,0:devctl CONNECTED
/devices/pci@0,600000/pci@0/pci@9/SUNW,qlc@0,1/fp@0,0:devctl CONNECTED
/devices/pci@1,700000/SUNW,qlc@0/fp@0,0:devctl CONNECTED
*/devices/pci@1,700000/SUNW,qlc@0,1/fp@0,0:devctl NOT CONNECTED*
luxadm_-e_dump_map_-devices-pci@0,600000-pci@0-pci@9-SUNW,qlc@0,1-fp@0,0:devctl.out
Pos AL_PA ID Hard_Addr Port WWN Node WWN Type
0 e4 2 e4 20360080e523efc2 20060080e523efc2 0x0 (Disk device)
1 1 7d 0 2101001b3230e8c2 2001001b3230e8c2 0x1f (Unknown Type,Host Bus Adapter)
luxadm_-e_dump_map_-devices-pci@0,600000-pci@0-pci@9-SUNW,qlc@0-fp@0,0:devctl
Pos AL_PA ID Hard_Addr Port WWN Node WWN Type
0 ef 0 ef 202400a0b839c57a 200400a0b839c57a 0x0 (Disk device)
1 1 7d 0 2100001b3210e8c2 2000001b3210e8c2 0x1f (Unknown Type,Host Bus Adapter)
luxadm_-e_dump_map_-devices-pci@1,700000-SUNW,qlc@0-fp@0,0:devctl
Pos AL_PA ID Hard_Addr Port WWN Node WWN Type
0 e4 2 e4 202500a0b839c57a 200400a0b839c57a 0x0 (Disk device)
1 1 7d 0 2100001b3210cbc3 2000001b3210cbc3 0x1f (Unknown Type,Host Bus Adapter)
luxadm_probe.out
No Network Array enclosures found in /dev/es
Found Fibre Channel device(s):
Node WWN:200400a0b839c57a Device Type:Disk device
Logical Path:/dev/rdsk/c7t600A0B800039C57A0000030348798E6Ad0s2
Node WWN:200400a0b839c57a Device Type:Disk device
Logical Path:/dev/rdsk/c7t600A0B800039C57A0000030748798F30d0s2
Node WWN:200400a0b839c57a Device Type:Disk device
Logical Path:/dev/rdsk/c7t600A0B800039CA0E000002F948798F93d0s2
Node WWN:20060080e523efc2  Device Type:Disk device
Logical Path:/dev/rdsk/c7t60080E500023EFC2000004C84E857119d0s2
Node WWN:20060080e523efc2  Device Type:Disk device
Logical Path:/dev/rdsk/c7t60080E500023EFC2000004CB4E857181d0s2
Node WWN:20060080e523efc2  Device Type:Disk device
Logical Path:/dev/rdsk/c7t60080E500023EFC2000004CD4E8571BEd0s2
(highlited are the new LUNs added)
#format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> 72g
/pci@0,600000/pci@0/pci@8/pci@0/scsi@1/sd@0,0
1. c0t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@0,600000/pci@0/pci@8/pci@0/scsi@1/sd@1,0
2. c7t600A0B800039C57A0000030348798E6Ad0 <SUN-LCSM100_F-0670 cyl 38398 alt 2 hd 512 sec 64>
/scsi_vhci/ssd@g600a0b800039c57a0000030348798e6a
3. c7t600A0B800039C57A0000030748798F30d0 <SUN-LCSM100_F-0670 cyl 51198 alt 2 hd 128 sec 64>
/scsi_vhci/ssd@g600a0b800039c57a0000030748798f30
4. c7t600A0B800039CA0E000002F948798F93d0 <SUN-LCSM100_F-0670 cyl 51198 alt 2 hd 128 sec 64>
/scsi_vhci/ssd@g600a0b800039ca0e000002f948798f93
5. c7t60080E500023EFC2000004C84E857119d0 <SUN-LCSM100_F-0777-2.00TB> appsnew
/scsi_vhci/ssd@g60080e500023efc2000004c84e857119
6. c7t60080E500023EFC2000004CB4E857181d0 <SUN-LCSM100_F-0777 cyl 63998 alt 2 hd 256 sec 64> temp1new
/scsi_vhci/ssd@g60080e500023efc2000004cb4e857181
7. c7t60080E500023EFC2000004CD4E8571BEd0 <SUN-LCSM100_F-0777 cyl 63998 alt 2 hd 256 sec 64> temp2new
/scsi_vhci/ssd@g60080e500023efc2000004cd4e8571be
#luxadm display /dev/rdsk/c7t600A0B800039C57A0000030348798E6Ad0s2
DEVICE PROPERTIES for disk: /dev/rdsk/c7t600A0B800039C57A0000030348798E6Ad0s2
Vendor: SUN
Product ID: LCSM100_F
Revision: 0670
Serial Num: SX73502942
Unformatted capacity: 614400.000 MBytes
Write Cache: Enabled
Read Cache: Enabled
Minimum prefetch: 0x3
Maximum prefetch: 0x3
Device Type: Disk device
Path(s):
/dev/rdsk/c7t600A0B800039C57A0000030348798E6Ad0s2
/devices/scsi_vhci/ssd@g600a0b800039c57a0000030348798e6a:c,raw
Controller /devices/pci@0,600000/pci@0/pci@9/SUNW,qlc@0/fp@0,0
Device Address 202400a0b839c57a,5
Host controller port WWN 2100001b3210e8c2
Class primary
State ONLINE
Controller /devices/pci@1,700000/SUNW,qlc@0/fp@0,0
Device Address 202500a0b839c57a,5
Host controller port WWN 2100001b3210cbc3
Class secondary
State STANDBY
Whereas the new volumes have only one path;
#luxadm display /dev/rdsk/c7t60080E500023EFC2000004CD4E8571BEd0s2
DEVICE PROPERTIES for disk: /dev/rdsk/c7t60080E500023EFC2000004CD4E8571BEd0s2
Vendor: SUN
Product ID: LCSM100_F
Revision: 0777
Serial Num: SV12601017
Unformatted capacity: 512000.000 MBytes
Write Cache: Enabled
Read Cache: Enabled
Minimum prefetch: 0x3
Maximum prefetch: 0x0
Device Type: Disk device
Path(s):
/dev/rdsk/c7t60080E500023EFC2000004CD4E8571BEd0s2
/devices/scsi_vhci/ssd@g60080e500023efc2000004cd4e8571be:c,raw
Controller /devices/pci@0,600000/pci@0/pci@9/SUNW,qlc@0,1/fp@0,0
Device Address 20360080e523efc2,0
Host controller port WWN 2101001b3230e8c2
Class primary
State ONLINE

Similar Messages

  • While configuring speed 1000 i am getting error as sw2-storage-vdc(config-if)# speed 1000 ERROR: Ethernet2/6: Configuration does not match the port capability.

    storage-vdc(config-if)# show module
    Mod  Ports  Module-Type                         Model              Status
    2    32     1/10 Gbps Ethernet Module           N7K-F132XP-15      ok
    sw1-gd78(config-if)# sh module
    Mod  Ports  Module-Type                         Model              Status
    2    48     1/2/4/8 Gbps FC Module              DS-X9248-96K9      ok
    4    8      10 Gbps FCoE Module                 DS-X9708-K9        ok
    7    0      Supervisor/Fabric-2a                DS-X9530-SF2AK9    active *
    8    0      Supervisor/Fabric-2a                DS-X9530-SF2AK9    ha-standby
    10   22     4x1GE IPS, 18x1/2/4Gbps FC Module   DS-X9304-18K9      ok
    Mod  Sw              Hw      World-Wide-Name(s) (WWN)
    2    5.2(2)          1.1     20:41:00:0d:ec:fb:8a:00 to 20:70:00:0d:ec:fb:8a:00
    4    5.2(2)          0.107   --
    7    5.2(2)          1.8     --
    8    5.2(2)          1.8     --
    10   5.2(2)          1.3     22:41:00:0d:ec:fb:8a:00 to 22:52:00:0d:ec:fb:8a:00
    sw1-gd78(config-if)# sh run int ethernet4/6
    !Command: show running-config interface Ethernet4/6
    !Time: Mon Feb 20 22:56:12 2012
    version 5.2(2)
    interface Ethernet4/6
      no shutdown
    sw1-gd78(config-if)# no shut
    sw1-gd78(config-if)# speed 1000
    ERROR: Ethernet4/6: Configuration does not match the port capability.
    sw1-gd72# sh int ethernet4/6 capabilities
    Ethernet4/6
      Model:                 DS-X9708-K9
      Type (SFP capable):    10Gbase-SR
      Speed:                 1000,10000
      Duplex:                full
      Trunk encap. type:     802.1Q
      Channel:               yes
      Broadcast suppression: percentage(0-100)
      Flowcontrol:           rx-(off/on/desired),tx-(off/on/desired)
      Rate mode:             dedicated
      QOS scheduling:        rx-(2q4t),tx-(1p3q4t)
      CoS rewrite:           yes
      ToS rewrite:           yes
      SPAN:                  yes
      UDLD:                  yes
      Link Debounce:         yes
      Link Debounce Time:    yes
      MDIX:                  no
      Port Group Members:    none
      TDR capable:           no
      FabricPath capable:    yes
      Port mode:             Switched
    sw1-gd72# sh int ethernet4/6 transceiver details
    Ethernet4/6
        transceiver is present
        type is 10Gbase-SR
        name is CISCO-FINISAR
        part number is FTLX8571D3BCL-CS
        revision is C
        serial number is FNS12090EMJ
        nominal bitrate is 10300 MBit/sec
        Link length supported for 50/125um OM2 fiber is 82 m
        Link length supported for 50/125um OM3 fiber is 300 m
        Link length supported for 62.5/125um fiber is 26 m
        cisco id is --
        cisco extended id number is 4
               SFP Detail Diagnostics Information (internal calibration)
                                         Alarms                  Warnings
                                    High        Low         High          Low
      Temperature   36.21 C        75.00 C     -5.00 C     70.00 C        0.00 C
      Voltage        3.29 V         3.63 V      2.97 V      3.46 V        3.13 V
      Current        8.11 mA       11.80 mA     4.00 mA    10.80 mA       5.00 mA
      Tx Power       -2.65 dBm       1.49 dBm  -11.30 dBm   -1.50 dBm     -7.30 dBm
      Rx Power       -2.21 dBm       1.99 dBm  -13.97 dBm   -1.00 dBm     -9.91 dBm
      Transmit Fault Count = 0
      Note: ++  high-alarm; +  high-warning; --  low-alarm; -  low-warning

    Ankit,
    You are trying to set speed 1000 on a 10g sfp.
    type is 10Gbase-SR
    You will need to insert a 1gig sfp and then you will be able to set the speed.
    Also, I noticed that you posted first with interface 2/6 and the output you gave me was for 4/6. Are you sure you're in the right interface?

  • Solaris 10connectivity to EMC: failed to configure ANY device on FCA port

    I'm connecting a E2900 server with a EMC symmetrix storage with fiber channel.
    But I'm getting the following errors, and I'm not able to see the external disks. Any help is really appreciated.
    bash-3.00# cfgadm -al
    c3 fc-fabric connected unconfigured unknown
    c3::5006048c52a5b746 unavailable  connected    unconfigured failed
    c4 fc-fabric connected unconfigured unknown
    c4::5006048c52a5b749 unavailable  connected    unconfigured failed
    bash-3.00# cfgadm -c configure c3
    cfgadm: Library error: report LUNs failed: 5006048c52a5b746
    failed to configure ANY device on FCA port
    bash-3.00# tail -f /var/adm/messages
    Nov 27 16:42:12 cosemm1 scsi: [ID 243001 kern.warning] WARNING: /pseudo/fcp@0 (fcp0):
    Nov 27 16:42:12 cosemm1 Unsupported LUN Addressing method 40 in response to REPORT_LUN
    bash-3.00#
    SO is Solaris 10 and I have installed recommended pathes:
    118833-36 SunOS 5.10: Kernel patch
    125100-10 SunOS 5.10: Kernel patch
    120011-14 SunOS 5.10: Kernel patch
    127111-01 SunOS 5.10: Kernel patch
    119130-33 SunOS 5.10: Sun Fibre Channel Device Drivers (only necessary for Leadville Stack driver)
    125184-04 SunOS 5.10: Sun Fibre Channel Device Drivers.
    120222-21 SunOS 5.10: Emulex-Sun LightPulse fibre channel adapter driver v2.20k (only required for Emulex HBAs running Leadville)
    125166-06 SunOS 5.10: Qlogic ISP fibre channel device driver v2.22 (only required for Qlogic HBAs running Leadville)
    122640-05 SunOS 5.10: zfs genesis patch (require for zfs)
    120473-12 SunOS 5.10: lib nss ldap PAM zfs patch (require for zfs)
    119090-24 SunOS 5.10: iSCSI device driver and utilities
    Also I have modified /etc/system adding those lines:
    set ssd:ssd_max_throttle=20
    forceload: drv/ssd
    bash-3.00# modinfo |grep qlc
    66 7ba7e000 ce1f8 282 1 qlc (SunFC Qlogic FCA v20070717-2.22)
    bash-3.00# luxadm -e port
    /devices/ssm@0,0/pci@18,600000/SUNW,qlc@1/fp@0,0:devctl CONNECTED
    /devices/ssm@0,0/pci@19,600000/SUNW,qlc@2/fp@0,0:devctl CONNECTED
    bash-3.00# luxadm qlgc
    Found Path to 2 FC100/P, ISP2200, ISP23xx Devices
    Opening Device: /devices/ssm@0,0/pci@19,600000/SUNW,qlc@2/fp@0,0:devctl
    Detected FCode Version: QLA2460 Host Adapter FCode(SPARC): 1.26 05/17/07
    Opening Device: /devices/ssm@0,0/pci@18,600000/SUNW,qlc@1/fp@0,0:devctl
    Detected FCode Version: QLA2460 Host Adapter FCode(SPARC): 1.26 05/17/07
    Complete
    bash-3.00# luxadm -e port
    /devices/ssm@0,0/pci@18,600000/SUNW,qlc@1/fp@0,0:devctl CONNECTED
    /devices/ssm@0,0/pci@19,600000/SUNW,qlc@2/fp@0,0:devctl CONNECTED
    bash-3.00# luxadm -e dump_map /devices/ssm@0,0/pci@18,600000/SUNW,qlc@1/fp@0,0:
    devctl
    Pos Port_ID Hard_Addr Port WWN Node WWN Type
    0 610f13 0 5006048c52a5b746 5006048c52a5b746 0x0 (Disk device)
    1 617613 0 2100001b320122b7 2000001b320122b7 0x1f (Unknown Type,Host Bus Adapter)
    bash-3.00# luxadm -e dump_map /devices/ssm@0,0/pci@19,600000/SUNW,qlc@2/fp@0,0:
    devctl
    Pos Port_ID Hard_Addr Port WWN Node WWN Type
    0 620f13 0 5006048c52a5b749 5006048c52a5b749 0x0 (Disk device)
    1 627613 0 2100001b32014eb8 2000001b32014eb8 0x1f (Unknown Type,Host Bus Adapter)

    Check the configuration on the EMC side. This error message is the heart of the problem:
    "Unsupported LUN Addressing method 40 in response to REPORT_LUN"
    A quick Googling leads me to believe this means you're trying to assign a LUN ID higher than 255 to the host.
    Best of luck!

  • How to configure Mail to use different ports for POP and SMTP?

    I am trying to configure Mail for my AT&T account. It requires me to configure POP (incoming) mail for port 995, and SMTP (outgoing) mail for port 465. However there doesn't seem to be an option to configure different ports for these. Is that correct, or am I missing something?
    Alternatively can I configure two accounts, one for POP incoming and one for SMTP outgoing? My incoming POP account does work, but in configuring an outgoing account I still have to configure a POP server name and that will not work for the outgoing port.
    Any advice on how to solve this would be appreciated.

    Understand. It is really quite easy to do in Mail, too. Kappy told you how to set up the smtp piece. I gave you pop info. These two things are on different panels within Account Preferences.
    To recap his and my posts
    SMTP:
    In Mail Prefs, click on the accounts icon. Click on your att yahoo account on the list. On the right of the window, in the lower portion, you see an smtp server menu. Open it and select edit. Select Edit Server, then click on its Advanced tab. Set up port 465 with SSL.
    POP:
    This is on a different panel in Mail PRefs Accounts. Now in Mail Prefs, click on the accounts icon. Click on your att yahoo account on the list. On the right of the window, you see three tabs, acc't info, mbox behaviors, and Advanced. This is where things are different than for smtp. You are going to configure stuff on a different "advanced" panel than where you were for the smtp stuff. Click on the advanced tab. There is a field for port with a SSL checkbox next to it and an authentication drop down menu. Check the box and it should quickfill change from 110 to 995. Autentication drop down is probably already default to password.
    Did you visit the URL I gave you previously? It even gives you screen shots.

  • Does configuring an endpoint opens a port in the guest VM firewall?

    Hi there. I found out that if I want to access a specific port in a VM (Java RMI in my case), I have to configure an endpoint for this port. However, I was surprised that configuring an endpoint was enough to access the port. I didn't change the firewall
    rules in the guest for this port and it was immediately accessible from outside Microsoft Azure.
    Does configuring an endpoint opens a port in the guest VM firewall?

    Hi,
    According to the official article below, it indicates that "Firewall configuration is done automatically for ports associated with Remote Desktop and Secure Shell (SSH), and in most cases for Windows PowerShell Remoting. For ports specified for
    all other endpoints, no configuration is done automatically to the firewall in the guest operating system. When you create an endpoint, you'll need to configure the appropriate ports in the firewall to allow the traffic you intend to route through the endpoint."
    How to Set Up Endpoints to a Virtual Machine
    Best regards,
    Susie

  • How do I configure my airport utility for port mapping?

    I am trying to view my FOSCAM cameras over the internet while away from home. They work fine in my house using Wi-Fi. Instructions say to do port forwarding. I have cameras set up, but can't get my router to port forward. I found "Port Forwarding" in Airport Utlility then NETWORK. 'Router mode: DHCP and NAT';on 'Port Settings I click on the "+" at the bottom. 'Private IP Address: populates to 10.0.1.201'. What goes in the other blocks?

    Please check out the following AirPort User Tip for details on how to configure Port Mapping on the AirPort routers. I would suggest that you check your FOSCAM documentation as to what TCP and/or UDP ports are required to access their IP cameras from a remote location.

  • How to configure SMTP on a different port?

    Hi All,
    We have just moved one of our BO servers to a cloud based environment and the exchange server in our new environment uses a different port instead of the default port 25.
    Though we have configured all job servers in CMC to use the new port the error message we get when we schedule a report still indicates we are using port 25. Is there like a conifuration file or xml where we need to update this? If not, is there any other way to configure email destination on a different port?
    We are using BO XI 3.1 SP3, MySQL repositiry, Tomcat server.
    Error message we get:
    server error. [Error initializing SMTP server. Return code: [TCP send failed.]. Reason: [X.Y.Z.A:25].]: [CrystalEnterprise.Smtp]
    Thanks in advance...
    Thanks,
    Hari...

    Thanks for the reply. Here is my situation explained.
    We have a few WebI reports that need to be scheduled as Excel and PDF on a regular basis[weekly] to few users. These schedules work fine in our test environment where the Mail server is configured on port 25. However in our production enviornment , Mail server is configured on a different port. What I can confirm is that the port is open and if I try emailing through command prompt, I can connect the exchange server and send emails.
    I have changed the setting on all Job servers [Adaptive Job Server, CrystalReports Job Server, DeskI Job Server, Destinaton Job Server, LOV Job Server, Program Job Server and Publication Job server], but still the email schedules fail and I am confused because the failure message [as in my first post] says it failed over port 25. Where is it still picking up Port 25 from though I have changed the confiuration on all Job servers?
    Any guidance will be greatly appreciated.

  • Configuration of sshd to allow port forwarding (tunneling)?

    I'm having a tough time setting up my sshd daemon to allow me to tunnel.  I use the following to connect and get these bind errors as shown below:
    $ ssh bigbox -D 7000
    bind: Address already in use
    channel_setup_fwd_listener: cannot listen to port: 7000
    Could not request local forwarding.
    Can someone advise me what I need to enable to allow tunneling/forwarding?  Here is my server's /etc/ssh/sshd_config
    # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
    ListenAddress 0.0.0.0
    Protocol 2
    ChallengeResponseAuthentication no
    UsePAM yes
    AllowAgentForwarding yes
    AllowTcpForwarding yes
    #GatewayPorts yes
    #X11Forwarding yes
    #X11DisplayOffset 10
    #X11UseLocalhost yes
    PrintMotd yes
    PrintLastLog yes
    TCPKeepAlive yes
    #UseLogin no
    #UsePrivilegeSeparation yes
    #PermitUserEnvironment no
    #Compression delayed
    #ClientAliveInterval 0
    #ClientAliveCountMax 3
    #UseDNS yes
    #PidFile /var/run/sshd.pid
    #MaxStartups 10
    PermitTunnel yes
    #ChrootDirectory none
    # override default of no subsystems
    Subsystem sftp /usr/lib/ssh/sftp-server
    DenyUsers root
    Last edited by graysky (2010-01-23 19:48:20)

    Here my functional sshd_config that I use as a socks proxy -- keep in mind this is using key authentication, so don't lock yourself out by accident! Notice you have to define the port you are using -- make sure first it's not being used by another application, which could also result in the error message you saw.
    I setup the socks proxy on the client machine by: ssh -fND <localport> -l <login> -p <server port> <location>
    so if you have sshd running on port 7000 on your server: ssh -fND 7000 -l graysky -p 7000 bigbox.
    (although without the -l and -p if bigbox is defined in .ssh/config)
    # Package generated configuration file
    # See the sshd(8) manpage for details
    # What ports, IPs and protocols we listen for
    Port 7000
    # Use these options to restrict which interfaces/protocols sshd will bind to
    #ListenAddress ::
    #ListenAddress 0.0.0.0
    Protocol 2
    # HostKeys for protocol version 2
    HostKey /etc/ssh/ssh_host_rsa_key
    HostKey /etc/ssh/ssh_host_dsa_key
    #Privilege Separation is turned on for security
    UsePrivilegeSeparation yes
    # Lifetime and size of ephemeral version 1 server key
    KeyRegenerationInterval 3600
    ServerKeyBits 768
    # Logging
    SyslogFacility AUTH
    LogLevel INFO
    # Authentication:
    LoginGraceTime 120
    PermitRootLogin no
    StrictModes yes
    RSAAuthentication yes
    PubkeyAuthentication yes
    AuthorizedKeysFile %h/.ssh/authorized_keys
    # Don't read the user's ~/.rhosts and ~/.shosts files
    IgnoreRhosts yes
    # For this to work you will also need host keys in /etc/ssh_known_hosts
    #RhostsRSAAuthentication no
    # similar for protocol version 2
    #HostbasedAuthentication no
    # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
    #IgnoreUserKnownHosts yes
    # To enable empty passwords, change to yes (NOT RECOMMENDED)
    PermitEmptyPasswords no
    # Change to yes to enable challenge-response passwords (beware issues with
    # some PAM modules and threads)
    ChallengeResponseAuthentication no
    # Change to no to disable tunnelled clear text passwords
    PasswordAuthentication no
    # Kerberos options
    #KerberosAuthentication no
    #KerberosGetAFSToken no
    #KerberosOrLocalPasswd yes
    #KerberosTicketCleanup yes
    # GSSAPI options
    #GSSAPIAuthentication no
    #GSSAPICleanupCredentials yes
    X11Forwarding yes
    X11DisplayOffset 10
    PrintMotd no
    PrintLastLog yes
    TCPKeepAlive yes
    #UseLogin no
    #MaxStartups 10:30:60
    Banner /etc/issue.net
    # Allow client to pass locale environment variables
    AcceptEnv LANG LC_*
    Subsystem sftp /usr/lib/openssh/sftp-server
    UsePAM yes
    Good luck!
    Scott

  • SEFOS configuration to connect a 24 port NEM to a Cisco Router

    Hi - In need some configuration advice realting the Swtich ethethern 24 port Nem card for a B6000.
    The Uplink ports are not connecting.
    See Below.
    Ex0/1 up, line protocol is down (not connect)
    Bridge Port Type: Customer Bridge Port
    Hardware Address is 00:21:28:f2:85:55
    MTU 9216 bytes, Full duplex, 10 Gbps, No-Negotiation
    HOL Block Prevention enabled.
    Input flow-control is off,output flow-control is off
    The port config is :-
    interface extreme-internet 0/1
    no shutdown
    no negotaiation
    speed 1000
    dot1x port-control auto
    spanning-tree portfast
    swtichport mode trunk

    Was this resolved? If so what was the resolution? Thanks in advance.
    Sean.

  • Right way of configuring higher MTU over a Port Channel

    Hi guys,
    I have a running critical Port-Channel between two locations.
    Here's the config
    SW1:
    interface Port-channel2
     switchport
     switchport trunk encapsulation dot1q
     switchport mode trunk
    end
    interface GigabitEthernet1/45
     switchport trunk encapsulation dot1q
     switchport mode trunk
     channel-protocol lacp
     channel-group 2 mode active
    end
    interface GigabitEthernet1/46
     switchport trunk encapsulation dot1q
     switchport mode trunk
     channel-protocol lacp
     channel-group 2 mode active
    end
    SW2
    interface GigabitEthernet1/1
     switchport trunk encapsulation dot1q
     switchport mode trunk
     channel-protocol lacp
     channel-group 2 mode passive
    end
    interface GigabitEthernet1/2
     switchport trunk encapsulation dot1q
     switchport mode trunk
     channel-protocol lacp
     channel-group 2 mode passive
    end
    interface Port-channel2
     switchport
     switchport trunk encapsulation dot1q
     switchport mode trunk
    end
    Now I need to increase the MTU from default value to 9198. What the right way to do it and avoid any connectivity loss, PortChannel restart.
    Does it matter what switch I start first?
    Thanks!
    L.E. both SW are WS-C4948

    Hi,
    Because you are using layer 2 interfaces - there is no fragmentation support at layer 2, and interfaces receiving frames which have an unsupported size will be dropped.
    I think the best way for you to proceed is to lab this up; and verify what happens - it may be that you need to make changes on switches at either end of the channel within a very short time frame to prevent too large an outage.
     When you are ready to maike your change - think the best way to do this is to use the interface range command, and apply the 'mtu' command to all the interfaces in this range. I don't think it matters which switch you apply this change to first, and I don't believe if you are hinting at the 802.3ad (controlled by system-priority) decision maker, that it makes any difference.
    HTH
    Mike

  • How to configure Null Modem on serial port?

    Previously, I use a windows XP to accept incoming connection by Network Connections > Create a New Connection > Accept Incoming Connection
    I would like to deploy an Cisco router to replace this XP, how can i configure it? I convert the RS232 to smart serial cable, here is my configuration, fa0/0 connected to office LAN and S0/0 connected to null modem devices
    The connection is up, however, the S0/0 is flapping up and down, and return packet is dropped by the router with msg encryption error
    interface Serial0/0
     physical-layer async
     ip address 10.0.0.1 255.255.255.0
     ip nat outside
     encapsulation ppp
     dialer in-band
     async mode interactive
     peer default ip address 10.0.0.2
    interface FastEthernet0/0
     ip address 172.16.1.31 255.255.0.0
     ip nat inside
     duplex auto
     speed auto
    dial-peer cor custom
    line con 0
    line 1
     modem InOut
     transport input all
     autoselect during-login
     autoselect ppp
     stopbits 1

    Thank you  Ravens Fan
        I  used your idea on the receive part and it worked fine but it has two problems:
    1) when  I use the waveform graph  it keeps  increasing the X scale infinitely.
    2) when using the waveform chart and set the chart history to 100 it work fine at first but it goes out of shape after a while.
    I think that's all due to the n dimention array is there a way to make a 100 dimention array in a way that new elements erase old ones.
    Another thing I
    wanted to be sure I understand it right, on the sending loop I should set the “digital
    waveform to binary” to U16 so that at the receiving part the chart (or graph)
    will read it as U32 ,but shouldn’t the receiving signal be different than the
    sent signal; since different points.
    I attached the new VI.
    Thank you
    Attachments:
    sine on serial 16 bit test.vi ‏105 KB

  • What is the Pin configuration for the I/O port on a 5B08 backplane?

    I'm currently trying to troubleshoot my pressure transducer readings. I'm trying to ensure the signal conditioner is producing the same value the daq board is compared to an oscilloscope reading. Hence, I need to know which pins on the 5B08 backplane I/O port is for the voltage output to the DAQ board.

    Here is the latest User Manual for the 5B08 (start on page 6 of the pdf): http://www.ni.com/pdf/manuals/321029a.pdf. Hope this helps. Have a great day!

  • CSCtl73663 - C2960S configured "switchport backup " at SFP port shows flexlink flap

    Hi
    Is CSCtl73663 fixed in 12.2(55)SE5 ?
    Thanks in advance.
    Hajime

    Sorry, this is only fixed in 12.2(58)SE and 15.0(1)SE (and later).

  • How do you configure the set of port to use for FTP passive data connection

    I was able to start the ftp server xml db and connect to it locally. When I tried to connect to it from home, I was able to log in but when i do a "get" command the sessions hangs. I also tried passive mode and do a "get" command and it gives me a connection refused error. I am using the default port 2100. I think this might be a firewall issue with the data connection port. I am not sure which range of ports to open for the passive ftp connection on the server side or where to go and set them for for the ftp server to use? Or this issue might not be firewall related??? Any thoughts. Thanks.

    This is a typical problem with VPN/Firewall software and FTP on ports other than 21.
    When you open the FTP data connection the FTP Server identifies which port the data will be sent on using the PORT command which is sent on the command port (typically 21 with a normal FTP server, 2100 by default with XDB). THe client then opens that PORT to accept the data (file, output of an ls etc).
    As I understand it most VPN/Firewall are configured to monitor 21 for 'PORT' requests. They then understand to allow connection on the PORT number passed on the command PORT. Hence with Port 21 firewall / VPN software is not a problem. However since the XDB command PORT is something other than 21 they do not see / honour the PORT commands from the server and hence the client cannot open the data connection on the specified PORT
    As to how to solve it, I wish I knew (After 5 years I still can't use XDB FTP from home to a machine in the office once the VPN tunnel is open :( ). I'm sure it's going to be firewall / VPN software specific and may need the VPN servers to be configured.
    The best bet would be to run the FTP server on 21...
    Add the following line to your listener.ora file
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = hostname) (PORT = 21))
    (PROTOCOL_STACK = (PRESENTATION = FTP) (SESSION = RAW)))
    and then restart the listener as root
    Start the listener as root.
    At the operating system prompt, enter tnslsnr with optional command line arguments. The usage is as follows:
    tnslsnr [listener_name] [-user user] [-group group]
    where:
    Table 4-3 tnslsnr Utility Options
    Option Description
    listener_name
    Specify the name of the listener. If omitted, the default name LISTENER will be used.
    -user user
    Specify the user whose privileges the listener will use when super user (root) privileges are not needed. After performing the privileged operations, the listener will give up root privileges irreversibly.
    -group group
    Specify the group whose privileges the listener will use when super user (root) group privileges are not needed. After performing the privileged operations, the listener will give up root group privileges irreversibly.
    The listener will temporarily switch to the provided user and group immediately after startup. All subsequent operations will be done with the specified user and group privileges, except the system calls necessary to listen on configured endpoints. The listener will revert to super user (root) for a short period of time to listen on reserved addresses, such as TCP ports less than 1024. After the listener starts listening on all of its endpoints configured in listener.ora, it will switch to the specified user and group irreversibly. Therefore, the listener will give up the root privilege that it initially had. In the current release, -user and -group command line arguments only accept user and group identifiers specified in numeric form.
    For example, to execute a root listener called mylsnr and have it use privileges of a user identified

  • The "VISA Configure Serial Port" VI will only run at 9600 Baud

    I have written a Serial Port monitor "RS232 RW.vi"  that works for the most part. The problem is that it will not respond to alternate port configuration settings.... For instance: the default RS232 Serial port configuration is:
    (COM1,9600 baud,8 data bits,1 Stop bit, None no parity)
    As a test, I am using a Null Modem Cable to connect From my LabView Com1 port to another PC running RealTerm Serial Port Monitor.. Using my newly designed "RS232 RW.vi"  With port settings of (COM1,9600 baud,8 data bits,1 Stop bit, None no parity),  I can send and receive data back and forth all day long no problems....
    However, if I configure the "RS232 RW.vi"  port to any other configuration, such as (COM1,2400 baud ,7 data bits,1 stop bit, Odd parity).. It will not take the expected chances and continues to operate @ 9600 baud etc.
    I then changed the "RS232 RW.vi"  default settings to (2400,7,1,Odd)
    it still refuses to deviate from (COM1, 9600,8,1,None...)
    I also went into the Win XP  Device Manager on the LabView system and manually configured Com1 to 2400,7,1,Odd  
    and still,.... the "RS232 RW.vi"  will only operate @ 9600,8,1,None
    Can anyone else test drive my VI and see if they have the same problem of not being able to see new changes in the Port configuration settings ..other than (COM1, 9600,8,1,None...).... ?
    FYI.. Unfortunately my LabView is running on Version 6.0 so you may need to up-convert the attached vi
    Solved!
    Go to Solution.
    Attachments:
    RS232 RW.vi ‏102 KB

    Instead of just appreciating the comments, you need to implement them.
    Having the VISA close inside the loop is definitely the problem.  And Crossrulz is 100% correct about the problem being that the serial port gets reset to the default baud rate after closing the port.  Here is the proof.
    Note that while you may have set the port settings manually in device manager, those settings are revised by the VISA driver.  If you look in Measurement and Automation Explorer under Devices and Interfaces >> Serial and Parallel, you'll see the default settings that the VISA driver uses.  If you change the setting there, your program will work the way you want.  But that is not the correct fix.  The correct fix is to get the VISA close out of the while loop.
    The port settings are established in this order.
    1.  By the Windows device drivers.
    2.  By the VISA driver as established in MAX.  Since you are useing VISA, these settings will automatically override #1.
    3.  By the port settings you set programmatically in your LabVIEW program.
    Attachments:
    Example_VI.png ‏18 KB

Maybe you are looking for

  • Printing from linux machine to Mac shared printer?

    I have a brand new Brother MFC 6800 that is connected to my Mac (10.4.4) via USB. I have a Linux box at home (Mandriva 2006), and I'd like to be able to print through the network to this printer. I've been searching the web for instructions for how t

  • RFC Adapter - Java Mapping

    Hello is it possible to map all incoming calls from SAP -> XI (RFC) to a single Java Mapping in detail: - in SAP (ABAP) i call a number of remote function modules with the same RFC destination - in XI i'd like to map all these calls to a single java

  • Operation is not valid due to the current state of the object

    We are working with the System.Transactions for transaction control. An error is happening when confirming a transaction. Even without having changed any information. The user opens a register and does not modify any information, press the Change but

  • ISE AuthZ policy based on FlexConnect Group

    Hi all, I understand that it is possible to have the WLC send different NAS-ID attributes to the CIsco ISE so that I can create specific AuthZ policies based on that NAS-ID attribute. The only thing is that I cannot see anywhere in the FlexConnect AP

  • Can't get Landscape printing aligned correctly...

    I'm new to Java and this forum, so any help with the following would be greatly appreciated: Description: Incorrect height alignment when printing Landscape. Hardware: Power Macintosh 8500/120, 48MB RAM. Brother HL-1650 Laser Printer, 8MB RAM. Softwa