SG-300 CLI How to display trunk ports
Hello
I have a very simple question about CLI on SG-300. How to display trunk ports via cli? I have switch with 28 ports and I wanted to see what switchport mode is applied to every port - or simply we can just focus on trunk ports. On Cisco Catalysts there is "show trunk" command in order to get list of ports in Trunk mode. Is there any way to do it on SG-300?
srv-sw-1#show version
SW version 1.3.0.62 ( date 02-May-2013 time 14:55:01 )
Boot version 1.1.0.6 ( date 11-May-2011 time 18:31:00 )
HW version V02
thank you
michal
Hi,
I remember something at least that works port by port:
>#sh int switchport fa 1
Port : fa1
Port Mode: Trunk
Gvrp Status: disabled
Ingress Filtering: true
Acceptable Frame Type: admitAll
Ingress UnTagged VLAN ( NATIVE ): 1
Port is member in:
Vlan Name Egress rule Port Membership Type
1 1 Untagged System
Displays detailed info about each port, range command will not work, but it's something.
You can check for vlans and or tags with:
sh vlan
sh vlan tag 1.
NTex
Similar Messages
-
How to check trunk port on 3548 xl switch
Hi all,
i have 3548 xl switch i know on other switches i can use command
sh int trunk but on this switch it does not work.
do anyone knows which command we can use to check trunk ports other then this
sh int fa switchport???????????
thanks
maheshHi all,
i have 3548 xl switch i know on other switches i can use command
sh int trunk but on this switch it does not work.
do anyone knows which command we can use to check trunk ports other then this
sh int fa switchport???????????
thanks
mahesh
Hi Mahesh,
What error it shows when you issue show interface trunk on switches ..
Ganesh.H -
How do I connect a new Thunderbolt MBP to and old 23" HD Cinema Display ADC port
A question Im sure many have asked but I cant find a straight forward answer.
I simply will be buying a new thunderbolt MBP 15 and NEED to connect it an old 23" Apple Cinema Display that uses the old ADC connector.
Can I do it and if so how? I realise theres a potential under powering issue?
ThanksHello Sigh
I am sure there is no way to get your ADC connector display to function with your new Mac Book Pro.
I tried everying I could and gave up and purchased a 24" Apple refurbbished Cinema Display for $599 + tax on 4/27/2011. The Apple part number is FBXXXXL/A, Model A1287.
Gave my year 2002 ADC 22" display to a friend.
d
Sent- Tuesday, August 9, 2011-- 3:49 PM(Pacific Time)
Don Macdonald
< Edited by Host >
Re: How do I connect a new Thunderbolt MBP to and old 23" HD Cinema Display ADC port Jul 8, 2011 4:58 PM (in response to Russy47)
Got my new MBP 2011 today. Hooked it up to my 23" Apple Cinema Display fine, using the Apple DVI to ADC converter > Mini Display port adaptors. I could then mirror display, but only at 1440 x 900 resolution.
My dream is to have it like my old laptop--I mostly leave it shut, and main display is on the Cinema Display. So far, if I close the laptop lid on my new MBP, display shuts off. Also, can't get it to bump up the resolution to 1920.
Sigh. -
How to configure a port channel with VLAN trunking (and make it work..)
We're trying to configure a port channel group with trunked ports to connect a NetApp HA pair. We want to create two data LIFs and connect them to the switch stack. We are trying to create 2 data lifs, one for cifs and one for nfs that are on different vlans.
We want the same ports to be able to allow multiple vlans to communicate. (trunked)
These data lifs should be able to fail over to different nodes in the HA pair and still be able to communicate on the network.
What this means is that we have to connect 4 ports each for each node in the NetApp HA Pair to the switches and create a port channel of some type that allows for trunked vlans. When we configure the ports, the configuration is as follows (below):
We are only able to configure an IP on one of the vlans.
When we configure an IP from another vlan for the data lif, it does not respond to a ping.
Does anyone have any idea what I'm doing wrong on the Cisco switch?
interface GigabitEthernet4/0/12
description Netapp2-e0a
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,511,519
channel-protocol lacp
channel-group 20 mode active
end
interface GigabitEthernet4/0/13
description Netapp2-e0c
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,511,519
channel-protocol lacp
channel-group 20 mode active
end
interface GigabitEthernet6/0/12
description Netapp2-e0b
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,511,519
channel-protocol lacp
channel-group 20 mode active
end
interface GigabitEthernet6/0/13
description Netapp2-e0d
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,511,519
channel-protocol lacp
channel-group 20 mode active
end
interface Port-channel20
description Netapp2-NFS
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,511,519
spanning-tree portfast
spanning-tree bpduguard enable
endOur problem was fixed by the storage people. They changed the server end to trunk, and the encapsulation / etherchannel.
I like all the suggestions, and they probably helped out with the configuration getting this to work.
Thanks!
interface Port-channel20
description Netapp2-NFS
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,511,519
switchport mode trunk
interface GigabitEthernet4/0/12
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,511,519
switchport mode trunk
channel-protocol lacp
channel-group 20 mode active
interface GigabitEthernet4/0/13
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,511,519
switchport mode trunk
channel-protocol lacp
channel-group 20 mode active
interface GigabitEthernet6/0/12
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,511,519
switchport mode trunk
channel-protocol lacp
channel-group 20 mode active
interface GigabitEthernet6/0/13
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,511,519
switchport mode trunk
channel-protocol lacp
channel-group 20 mode active -
How to display check box in atable control
hi
here is my requirement
how can i display check box in table control and also when i check that check box it has to dispaly one pop up screen with the records of table control row
points will be rewarded
Thanks&Regards
Nagesh.ParuchuriHi,
See this code for how to display check box in atable control
*---- Table declaration.
TABLES: KNA1.
CONTROLS TC1 TYPE TABLEVIEW USING SCREEN 200.
CONTROLS TC2 TYPE TABLEVIEW USING SCREEN 300.
*---- Data declaration.
DATA:OKCODE LIKE SY-UCOMM.
DATA:V_KNA1 LIKE KNA1.
*DATA:ERROR TYPE C.
*---- Internal Table declaration.
DATA:BEGIN OF IT_TAB OCCURS 0,
CHK,
VBELN TYPE VBELN_VA,
KUNNR TYPE KUNAG,
ERDAT TYPE ERDAT,
AUDAT TYPE AUDAT,
VBTYP TYPE VBTYP,
END OF IT_TAB.
DATA:BEGIN OF IT_TAB1 OCCURS 0,
VBELN TYPE VBELN_VA,
POSNR TYPE POSNR_VA,
MATNR TYPE MATNR,
MATWA TYPE MATWA,
PMATN TYPE PMATN,
END OF IT_TAB1.
*& Module USER_COMMAND_0100 INPUT
MODULE USER_COMMAND_0100 INPUT.
OKCODE = SY-UCOMM.
CASE OKCODE.
WHEN 'DISP' OR SPACE.
SELECT *
FROM VBAK
INTO CORRESPONDING FIELDS OF TABLE IT_TAB
WHERE KUNNR = KNA1-KUNNR.
IF SY-SUBRC <> 0.
MESSAGE 'No sales document exists'(001) TYPE 'I'.
ENDIF.
LEAVE TO SCREEN 200.
CLEAR OKCODE.
*--- To leave Transaction
WHEN 'BACK' .
LEAVE PROGRAM.
CLEAR OKCODE.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Module validate_kunnr INPUT
MODULE VALIDATE_KUNNR INPUT.
V_KNA1 = KNA1.
SELECT SINGLE *
FROM KNA1
WHERE KUNNR = KNA1-KUNNR.
*-----Process error condition
IF SY-SUBRC <> 0.
CLEAR KNA1.
KNA1-KUNNR = V_KNA1-KUNNR.
CASE OKCODE..
WHEN 'BACK' OR 'EXIT' .
LEAVE PROGRAM.
ENDCASE.
MESSAGE 'Customer Does Not Exist'(002) TYPE 'I'.
LEAVE TO SCREEN 100.
ENDIF.
ENDMODULE. " validate_kunnr INPUT
*& Module STATUS_0100 OUTPUT
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'PF'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0200 INPUT
MODULE USER_COMMAND_0200 INPUT.
CASE OKCODE.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
LEAVE TO SCREEN 100.
CLEAR OKCODE.
CLEAR IT_TAB1.
WHEN 'DISP' .
CLEAR OKCODE.
READ TABLE IT_TAB WITH KEY CHK = 'X'.
IF SY-SUBRC = 0.
SELECT VBELN POSNR MATNR MATWA PMATN
FROM VBAP
INTO TABLE IT_TAB1
WHERE VBELN = IT_TAB-VBELN.
IF SY-SUBRC = 0.
SORT IT_TAB.
DESCRIBE TABLE IT_TAB LINES TC1-LINES.
LEAVE TO SCREEN 300.
ELSE.
MESSAGE E016(YBHV).
ENDIF.
ELSE.
MESSAGE 'Please select one record' TYPE 'I'.
ENDIF.
ENDCASE.
ENDMODULE. " USER_COMMAND_0200 INPUT
*& Module STATUS_0200 OUTPUT
MODULE STATUS_0200 OUTPUT.
SET PF-STATUS 'PF3'.
ENDMODULE. " STATUS_0200 OUTPUT
*& Module USER_C.OMMAND_0300 INPUT
text
MODULE USER_COMMAND_0300 INPUT.
SET PF-STATUS 'PF3'.
CASE OKCODE.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
CLEAR OKCODE.
LEAVE TO SCREEN 200.
ENDCASE.
ENDMODULE. " USER_COMMAND_0300 INPUT
*& Module modify INPUT
MODULE MODIFY INPUT.
MODIFY IT_TAB INDEX TC1-CURRENT_LINE.
ENDMODULE. " modify INPUT
*& Module okcode OUTPUT
text
MODULE OKCODE OUTPUT.
CLEAR OKCODE.
ENDMODULE. " okcode OUTPUT
Reward Pointsa If usefull
Regards
Fareedas -
How to display the proxy settings for a specific group of servers in an OU ?
Hi,
Can anyone here please assist me in how to display the value of Proxy server settings from the computers in a specific OU member ?
$Computers = Get-ADComputer -Filter * -SearchBase "OU=Terminal Servers,OU=Servers,DC=domain,DC=com" | Where-Object { Test-Connection $_.Name -Count 1 -Quiet }
ForEach ($Computer in $Computers) {
| Export-csv "C:\Proxy-Setting-Results.csv" -Append -NoTypeInformation -UseCulture
I've done similar script for some other task but not sure how to do this for Proxy setting.
Thanks.
/* Server Support Specialist */Proxy settings are not set in Active Directory
The below code works for 2003 servers and Win XP
$colItems = get-wmiobject -class "Win32_Proxy" -namespace "root\CIMV2" `
-computername $env:computername
foreach ($objItem in $colItems) {
write-host "Caption: " $objItem.Caption
write-host "Description: " $objItem.Description
write-host "Proxy Port Number: " $objItem.ProxyPortNumber
write-host "Proxy Server: " $objItem.ProxyServer
write-host "Server Name: " $objItem.ServerName
write-host "Setting ID: " $objItem.SettingID
write-host
You can try checking the registry values- Works in 2008 + and Windows 7
Get-Item 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings'
or use netsh
netsh winhttp show proxy -r <remotemachinename>
Regards Chen V [MCTS SharePoint 2010] -
How to display non-URL-based thumbnail images in JTable
I'm trying to display thumbnail images as a tooltip popup for certain cells in a JTable. The thumbnail images are java image objects that have been retrieved dynamically as the result of a separate process--there is no associated URL. For this reason, I can't use the setToolTipText() method of the JTable.
My attempts to JTable's createToolTip() method also failed as it seems the ToolTipManager never calls this method for a JTable.
As a workaround, I've added a MouseMotionListener to the JTable that detects when the mouse is over the desired table cells. However, I'm not sure how to display the popup over the JTable. The only component that I can get to display over the JTable is a JPopupMenu, but I don't want to display a menu--just the image. Can anyone suggest a way to display a small popup image over the table?
Thanks.Thank You Rodney. This explains why my createToolTip() method wasn't being called, but unfortunately I'm no closer to my goal of displaying a true custom tooltip using a non-URL image rather than a text string. If I make a call to setToolTipText(), at any point, the text argument becomes the tooltip and everything I have tried in createToolTip() has no effect. However, as you pointed out, if I don't call setToolTipText(), the table is not registered with the tooltip manager and createToolTip() is never even called.
To help clarify, I have attached an SSCCE below. Please note that I use a URL image only for testing. In my actual application, the images are available only as Java objects--there are no URLs.
import javax.swing.*;
import java.awt.*;
import java.net.URL;
import java.net.MalformedURLException;
public class Test {
static Object[][] data = {
{"Cell 0,0", "Cell 0,1"},
{"Cell 1,0", "Cell 1,1"}};
static String[] columnNames = {"Column 0", "Column 1"};
static JFrame frame;
static String testImageURLName = "http://l.yimg.com/k/omg/us/img/7c/0a/4009_4182164952.jpg";
static JTable testTable = new JTable(data, columnNames) {
public JToolTip createToolTip() {
System.out.println("testTable.createToolTip() called");
Image testImage = getTestImage();
// this.setToolTipText("Table ToolTip Text");
JLabel customTipLabel = new JLabel(new ImageIcon(testImage));
customTipLabel.setToolTipText("Custom ToolTip Text");
JToolTip parentTip = super.createToolTip();
parentTip.setComponent(customTipLabel);
return parentTip;
// This image is loaded from a URL only for test purposes!!!
// Ordinarily, the image object would come from the application
// and no URL would be available.
public static Image getTestImage() {
try {
URL iconURL = new URL(testImageURLName);
ImageIcon icon = new ImageIcon(iconURL);
return icon.getImage();
catch (MalformedURLException ex) {
JOptionPane.showMessageDialog(frame,
"Set variable \"testImageName\" to a valid file name");
System.exit(1);
return null;
public static void main(String[] args) throws Exception {
frame = new JFrame("Test Table");
frame.setSize(300, 100);
// Set tool tip text so that table is registered w/ tool tip manager
testTable.setToolTipText("main tooltip");
frame.getContentPane().add(testTable);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
} -
How to hide the PORT NUMBER from the URL
Hi,
We have Application on Node 1 and Database on Node 2
Apps Version: 11.5.10.2
DB: 9.2.0.6
We recently added a new node to act as web server for iSupport.
Now we are able to access the url using public Ip-address which looks like
http://<Internet Ip-Address>:<PORT NUMBER>
Eg: http://******.com:8000
But we dont want the *'PORT NUMBER(8000)'* to be displayed.
How to hide the port number ?..
Thanks in Advance,
MaheshHi Hsawwan,
Can you plz explain me the steps how to hide the port number from the url as our network administrator is not aware of this.
Regards,
Mahesh -
How to display a single massage to all the page
Hi
I am developing a webportal with jsp. in this website there are two parts one is Admin and another one is End user part. what ever the Admin Publishes from the Admin Part that will be Updated to End user Part.
Now I have 15 pages in the End User Part and at the Admin Part I have One page to Enter the News and Update it in the Database.
I am using java bean to select the News from the Database.
Now my Question is How to display the News to all the 15 is there any simple way to do this or I have to use this
<jsp:useBean id=""portal" scope="request" class="data.portalBean"/>
<jsp:setProperty name="port" property="*"/>
and access the JavaBean method to select the News and display
Please tell me if there is any simple way to do this
Thank you for your help
Cheers
jofinCreate an include page with jsp:useBean and so on and include that page in all 15 pages using jsp:include.
-
How to display the entire application in two different languages in apex
Hi,
How to display the entire application in two different languages in apex...
For example i need to display each item in both English and Hindi..
To achieve this initially i have the select the language otherwise the item label alone ll be displayed in both languages ...
Anyhow how it ll be apex is it possible
Regards,
PavanHi pars,
http://www.packtpub.com/sites/default/files/1346-chapter-6-creating-multilingual-apex-applications.pdf?utm_source=packtp…
In this link also i struck in
In page 10 of that document
The application is now ready to be translated. Everything is in place to run it in any language imaginable.To ca ll the application in another language, change the URL of your application to the following:
http://yourdomain:port/pls/apex/f?p=&APP_ID.:&PAGE_ID.:&SESSION_ID.:LANG:NO::FSP_LANGUAGE_PREFERENCE:nl
This example will call the chosen page in the application and show it in the Dutch language instead of in English. To select another language change the property nl at the end of the URL to your desired language code.
Thanks alot for ur suggestions.kindly provide more inputs.............. -
Revision: 15505
Revision: 15505
Author: [email protected]
Date: 2010-04-16 09:29:26 -0700 (Fri, 16 Apr 2010)
Log Message:
Fix image smoothing, which had been broken as a result of some changes to how the display object of an ImageElement is exposed. Add integration test.
Modified Paths:
osmf/trunk/framework/OSMF/org/osmf/elements/ImageElement.as
osmf/trunk/framework/OSMFIntegrationTest/org/osmf/elements/TestImageElementIntegration.asThat's a comment in the file. It has no effect at all.
-
How to display decimal values (8.00, 8.01, 8.10)
Can you please tell me anyone how to display the decimal values.
Ex: amount number(5,2)
inserted the table value 300.00
when I am select the value using it has to display as the same 300.00.
Thanks,
RameshI suggest you read oracle documentation about TO_CHAR function and number format models.
SQL> select to_char(0.00, '99990.99') from dual ;
TO_CHAR(0
0.00
1 row selected.
SQL> select to_char(99.78, '99990.99') from dual ;
TO_CHAR(9
99.78
1 row selected.
SQL> -
How to display abap reports in EP
Hi all,
I have developed new reports in R/3.
how to display these abap reports in EP...Hi Rajasekaran,
Please follow these steps,
<b>R/3 Side:</b>
1)Create new T-CODE in SE93 .
2)Assign Ur Report Program to Ur T-code
<b>Portal side:
Creating a System:</b>
1)System Admin -> System Config ->System Landscape -->Create a New system
(from template)-> Select SAP system with dedicated Application Server ->fillup the following Properties in your system
Application Host : Ur R/3 server Host Ex (10.252.10.122)
SAP Client : ex (800)
SAP System ID (SID) :eg(ID3)
SAP System Number : Eg: (00)
Server Port :Eg :3200 (00= instance )
System Type : r/3
User Mapping Type :admin,user
2)Create alias for your system and set Usermapping .
3)Test Ur system .
<b>Creating a Iview:</b>
1)Create a Transaction Iview
2)Assign ur system alias to this Iview.
3)Assign u tcode to this Iview.
5)Preview
Regards,
Ramganesan K. -
How to display servlet dynamically generated image ?
Hi,
How to display servlet dynamically generated image ?
I have a servlet generating a buffered image in the doGet. I want to display the image in a jsp page with other information. I'm not able to get it properly displayed.
**Try n# 1 **************************************************************
This displays my image but nothing elle :
ServletOutputStream sos = pResponse.getOutputStream();
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(sos);
encoder.encode(img);
**Try n# 2 ****************************************************************
I tried also :
In the servlet :
request.setAttribute("renderedImage", img);
and in the jsp page :
BufferedImage image = (BufferedImage) request.getAttribute("renderedImage");
<img src="<%=ImageIO.write(image,"jpeg",response.getOutputStream())%>" width="300" height="280"/>
This last try draws big crap in the jsp page, thank you in advance.
NelsonCall another servlet from the IMG tag. Have the servlet stream out the image using ImageIO (instead of writing HTML).
-
How to display flash file in adf pages
how to display flash file in adf pages need help
Thanks all,
It is resolved.
the code i am using to display a flash is below.
<f:verbatim>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version
=10,0,0,0" width="300" height="300" id="11gR1_aniH_grey" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="wmode" value="transparent" />
<param name="movie" value="mx2004demo.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#4d5c64" />
<embed src="../Images/mx2004demo.swf" quality="high" width="300" height="300" name="mx2004demo.swf" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false"
type="application/x-shockwave-flash" wmode="transparent"
pluginspage="http://www.adobe.com/go/getflashplayer" />
</object>
</f:verbatim>
Maybe you are looking for
-
I am attempting to use my TV as an external display to watch movies and such. I am using a DVI to HDMI cable for the connection. When I plug the cable into the laptop (MacBook Pro) it will start to sync up but then will continually switch between the
-
Style sheet cross browser issues
Hi I am having a couple of issues with a test site i am producing The URL is above. All works ok in I.E.8 but in IE7 the links on the header are no longer in-line causing them to dissapear from view in some cases. And in IE6 the header size appears d
-
How do you remove the unnecessary udpate, Photoshop CS6? I can't update, it fails.
-
Message Indicator but no message
My new Tour 9630 indicates unopened messages that cannot be found. I have tried "show all", viewed saved messages in all email sub-folders and gone into each and hit the "u" key but nothing. any suggestions??
-
Hi Gurus, We get 1 invoice with more than 1 line relating to a PO. Line one on invoice and PO is correct, but line 2 on the invoice is goods that we have returned and will never receive it and therefore the supplier has given us a credit note. The PO