- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- Limit Port via CLI
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-12-2020 01:08 AM
11-12-2020 01:08 AM
Hello,
I have an Aruba 2530 switch and want to limit port 45 to 10 MBit via the "CLI".
The command "int 45 speed-duplex auto-10-10" causes the error message "Invalid input: int".
Can someone give me the correct syntax?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-12-2020 01:18 AM
11-12-2020 01:18 AM
SolutionHi @Benjamin89 !
configure
interface 45 speed-duplex auto-10
OR
configure
interface 45
speed-duplex auto-10
exit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-12-2020 01:19 AM - edited 11-12-2020 01:20 AM
11-12-2020 01:19 AM - edited 11-12-2020 01:20 AM
Re: Limit Port via CLI
Hello
You are probably not in the global configuration context. You need to enter configure terminal or shortened config before you can change any config settings.
Here is what happens when I enter directly int 34 speed-duplex
HP-2530-48#
HP-2530-48# int 45 speed-duplex
Invalid input: int
Here I first enter conf, the promt changes and after that I can enter interface 45 speed-duplex. You can see all the options for your reference
HP-2530-48# conf
HP-2530-48(config)# int 45 speed-duplex ?
10-half 10 Mbps only, half duplex.
100-half 100 Mbps only, half duplex.
10-full 10 Mbps only, full duplex.
100-full 100 Mbps only, full duplex.
1000-full 1000 Mbps only, full duplex.
auto Auto-negotiate link parameters.
auto-10 10 Mbps only, auto-negotiate link parameters.
auto-100 100 Mbps only, auto-negotiate link parameters.
auto-2500 2500 Mbps only, auto-negotiate link parameters.
auto-5000 5000 Mbps only, auto-negotiate link parameters.
auto-2500-5000 2500 or 5000 Mbps only, auto-negotiate link parameters.
auto-1000 1000 Mbps only, auto-negotiate link parameters.
auto-10-100 10 or 100 Mbps only, auto-negotiate link parameters.
auto-1000-2500 1000 or 2500 Mbps only, auto-negotiate link parameters.
auto-1000-2500-5000 1000, 2500, or 5000 Mbps only, auto-negotiate link
parameters.
auto-10g 10 Gbps only, auto-negotiate link parameters.
HP-2530-48(config)# int 45 speed-duplex
I think auto-10-10 is also not a valid option. You need to determine if the end device supports autenogotiation or only fixed settings, if it supports full or only half duplex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-12-2020 11:44 PM
11-12-2020 11:44 PM
Re: Limit Port via CLI
Thank you very much!
It works
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP