Cisco Systems WSC2960X48TDL manual Configuration Examples for System MTU

Page 85

Configuring System MTU

Configuration Examples for System MTU

 

Command or Action

Step 2

system mtu bytes

Example:

Switch(config)# system mtu 2500

Step 3

system mtu jumbo bytes

Example:

Switch(config)# system mtu jumbo 7500

Step 4

end

Example:

Switch(config)# end

Purpose

(Optional) Change the MTU size for all interfaces on the switch stack that are operating at 10 or 100 Mb/s.

The range is 1500 to 1998 bytes; the default is 1500 bytes.

(Optional) Changes the MTU size for all Gigabit Ethernet interfaces on the switch or the switch stack.

The range is 1500 to 9198 bytes; the default is 1500 bytes.

Returns to privileged EXEC mode.

Step 5

copy running-config startup-config

Saves your entries in the configuration file.

 

Example:

 

 

Switch# copy running-config startup-config

 

Step 6

reload

Reloads the operating system.

 

Example:

 

 

Switch# reload

 

Step 7

show system mtu

Verifies your settings.

 

Example:

 

 

Switch# show system mtu

 

Configuration Examples for System MTU

This example shows how to set the maximum packet size for a Gigabit Ethernet port to 7500 bytes:

Switch(config)# system mtu jumbo 7500

Switch(config)# exit

Switch# reload

If you enter a value that is outside the allowed range for the specific type of interface, the value is not accepted. This example shows the response when you try to set Gigabit Ethernet interfaces to an out-of-range number:

Switch(config)# system mtu jumbo 25000

^

% Invalid input detected at '^' marker.

Catalyst 2960-X Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX

OL-29034-01

73

Image 85
Contents First Published July 10 Americas HeadquartersPage N T E N T S Contents Configuring Auto-MDIX41 Configuring System MTU Configuring EEE Viii Convention Description Document ConventionsBold font Element Vertical barsReader Alert Conventions Related Documentation Obtaining Documentation and Submitting a Service RequestXii Command Modes Information About Using the Command-Line InterfaceThis chapter contains the following topics Configure Mode Access Method Prompt Exit Method About This ModeQuit Ctrl-ZCommand or Action Purpose Step Using the Help SystemMode HelpNo and default Forms of Commands Understanding Abbreviated CommandsCLI Error Messages Configuration Logging How to Use the CLI to Configure FeaturesConfiguring the Command History Error Message MeaningRecalling Commands Changing the Command History Buffer SizeCommand or Action Disabling the Command History Feature Enabling and Disabling Editing FeaturesPrivileged Exec mode Terminal no historyEditing Commands through Keystrokes Editing Command Lines That Wrap Access-list Searching and Filtering Output of show and more CommandsShow more command begin include exclude regular-expression Show more command begin include excludeCommand or Action Example OL-29034-01 Information About Configuring Interface Characteristics Finding Feature InformationInterface Types This module contains the following topicsPort-Based VLANs Switch PortsTrunk Ports Switch Virtual InterfacesEtherChannel Port Groups Power over Ethernet PortsUSB Mini-Type B Console Port Using the Switch USB PortsUSB Type a Ports Interface ConnectionsConnecting VLANs with the Switch Interface Configuration ModeFeature Default Ethernet Interface ConfigurationDefault Setting Layer 2 or switching mode switchport command VLANs 1Speed and Duplex Configuration Guidelines Interface Speed and Duplex ModeIeee 802.3x Flow Control Configuring Interfaces Procedure How to Configure Interface CharacteristicsGigabit Ethernet port 1 on switch 1 is selected Either gigabitethernet 1/0/1Adding a Description for an Interface Configure terminalDescription string Show interfaces interface-id descriptionConfigure terminal Enters global configuration mode Configuring a Range of InterfacesInterface range port-rangemacro Verifies the configuration of the interfaces in the range Configuring and Using Interface Range MacrosDefine interface-range macroname Setting the Interface Speed and Duplex Parameters Configuring Ethernet InterfacesInterface range macro macroname Nonegotiate Speed 10 100 1000 auto 10Command or Action Purpose Configuring Ieee 802.3x Flow ControlEnd Returns to privileged Exec mode Configuring SVI Autostate ExcludeEnter interface configuration mode Shutting Down and Restarting the Interface Switchport autostate excludeAn SVI line state up or down Interface vlan vlan-id gigabitethernet interface-idThis configuration applies to all switches in a stack Configuring the Console Media TypeConfigure terminal Line console Media-type rj45 End Shutdown Shuts down an interfaceConfigure terminal Enters the global configuration mode Configuring the USB Inactivity TimeoutCommand Purpose Monitoring Interface CharacteristicsShow interfaces interface-id status err-disabled Show interfaces interface-id switchportClearing and Resetting Interfaces and Counters Identifying Interfaces on a Stack-Capable Switch Examples Configuration Examples for Interface CharacteristicsConfiguring a Range of Interfaces Examples Adding a Description to an Interface ExampleSetting Interface Speed and Duplex Mode Example Configuring and Using Interface Range Macros ExamplesConfiguring the Console Media Type Example To disable the configuration, use these commands Configuring the USB Inactivity Timeout ExampleStandards and RFCs Standard/RFC NoneTechnical Assistance Description Link Cisco IOS Release 15.02EX This feature was introducedRelease Modification OL-29034-01 Restrictions for Auto-MDIX Prerequisites for Auto-MDIXThis module contains the following sections How to Configure Auto-MDIX Information about Configuring Auto-MDIXConfiguring Auto-MDIX on an Interface Auto-MDIX on an InterfaceMonitoring Auto-MDIX This example shows how to enable auto-MDIX on a port Example for Configuring Auto-MDIXInformation about the Ethernet Management Port Prerequisites for Ethernet Management PortsSupported Features on the Ethernet Management Port Ethernet Management Port Direct Connection to a SwitchDisabling and Enabling the Ethernet Management Port How to Configure the Ethernet Management PortWhat to Do Next Additional ReferencesRelated Topic Bootloader commandsMIBs Document TitleOL-29034-01 Configuring LLDP, LLDP-MED, and Wired Location Service Lldp Supported TLVs Lldp and Cisco Switch StacksLldp and Cisco Medianet LLDP-MED Supported TLVs Wired Location Service Configuration Guidelines Default Lldp ConfigurationLldp run Enables Lldp globally on the switch Configure terminal Lldp runLLDP, and enter interface configuration mode Enabling LldpLldp transmit Enables the interface to send Lldp packets Configuring Lldp CharacteristicsLldp receive Enables the interface to receive Lldp packets Show lldp Verifies the configurationSwitchconfig# lldp holdtime Command or Action Purpose Step Configuring LLDP-MED TLVsLldp med-tlv-select Specifies the TLV to enable Lldp med-tlv-select End Copy running-config startup-configConfiguration mode. The range is 1 to Configuring Network-Policy TLVDscp dvalue none untagged Voice voice-signalingvlan vlan-idcosShow network-policy profile Verifies the configuration Configuring Location TLV and Wired Location ServiceWay Use one of the followingInformation, and enter interface configuration mode Exit Returns to global configuration modeUse one of the following Verifies the configuration Enters location information for an interfaceCommand or Action Purpose Example Enabling Wired Location Service on the SwitchNmsp enable Enables the Nmsp features on the switch Configuring Network-Policy TLV ExamplesNmsp notification interval attachment location Command Description Civic location OL-29034-01 System MTU Guidelines Information about the MTUConfiguring the System MTU How to Configure MTU SizesShow system mtu Verifies your settings Configuration Examples for System MTUReload Reloads the operating system Additional References for System MTU Restrictions for PoE Configuring PoEInformation about PoE Power over Ethernet PortsSupported Protocols and Standards Class Powered-Device Detection and Initial Power AllocationPower Management Modes Power Monitoring and Power Policing Maximum Power Allocation Cutoff Power on a PoE Port Configuring a Power Management Mode on a PoE Port How to Configure PoEShow power inline Budgeting Power for Devices Connected to a PoE PortNever static max max-wattage No cdp run Optional Disables CDP Budgeting Power to All PoE portsConfigure terminal No cdp run Budgeting Power to a Specific PoE PortSpecifies the physical port to be configured, and enter Configuring Power PolicingPower inline consumption wattage Show power inline police Show errdisable recovery Power inline police actionlog errdisable ExitConfiguration mode Power inline police actionlog errdisableWhile still providing power to the port Power inline police action log-Generates a syslog messageDown the port and puts the port in the error-disabled state Configuration Examples for Configuring PoE Monitoring Power StatusBudgeting Power Example EEE Overview Information About EEEDefault EEE Configuration How to Configure EEEEEE is disabled by default Restrictions for EEEPower efficient-ethernet auto Specifies the interface to be configured, and enterCommand Monitoring EEEThis example shows how to enable EEE for an interface Configuration Examples for Configuring EEEThis example shows how to disable EEE for an interface Feature History and Information for Configuring EEE OL-29034-01 D E PoE