Cisco Systems 4500 Switch User Manual


  Open as PDF
of 1504
 
6-21
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 6 Configuring Interfaces
Configuring Optional Interface Features
To configure flow control, perform this task:
This example shows how to configure flow control on an oversubscribed Gigabit Ethernet port 7/5:
Switch# configure terminal
Switch(config)# interface g7/5
Switch(config-if)# flowcontrol send on
Switch(config-if)# end
Switch)# show interfaces gigabitEthernet 7/5 capabilities
GigabitEthernet7/5
Model: WS-X4548-GB-RJ45-RJ-45
Type: 10/100/1000-TX
Speed: 10,100,1000,auto
Duplex: half,full,auto
Trunk encap. type: 802.1Q,ISL
Trunk mode: on,off,desirable,nonegotiate
Channel: yes
Broadcast suppression: percentage(0-100), hw
Flowcontrol: rx-(off,on,desired),tx-(off,on,desired)
VLAN Membership: static, dynamic
Fast Start: yes
Queuing: rx-(N/A), tx-(1p3q1t, Sharing/Shaping)
CoS rewrite: yes
ToS rewrite: yes
Inline power: no
SPAN: source/destination
UDLD: yes
Link Debounce: no
Link Debounce Time: no
Port Security: yes
Dot1x: yes
Maximum MTU: 1552 bytes (Baby Giants)
Multiple Media Types: no
Diagnostic Monitoring: N/A
Switch)# show flowcontrol interface GigabitEthernet 7/5
Port Send FlowControl Receive FlowControl RxPause TxPause
admin oper admin oper
--------- -------- -------- -------- -------- ------- -------
Gi7/5 on off desired off 0 0
This example shows the output of the show interfaces and show flowcontrol commands on an
non-oversubscribed Gigabit Ethernet port 5/5:
Switch# show interfaces gigabitEthernet 5/5 capabilities
GigabitEthernet5/5
Model: WS-X4306-GB-Gbic
Type: No Gbic
Speed: 1000
Command Purpose
Step 1
Switch# configure terminal
Enters global configuration mode.
Step 2
Switch(config)# interface
interface-id
Enters interface configuration mode and specifies the interface to be
enabled for flowcontrol.
Step 3
Switch(config-if)# flowcontrol
{receive | send} {off | on |
desired}
Configures a Gigabit Ethernet port to send or receive pause frames.
Step 4
Switch(config-if)# end
Returns to configuration mode.
Step 5
Switch(config)# end
Returns to privileged EXEC mode.