D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 1 Interface Configuration
1-9
DES-7200(config)# define interface-range resource
fastethernet 1/1-4
DES-7200(config)# end
This example defines a macro for multiple ranges:
DES-7200# configure terminal
DES-7200(config)# define interface-range ports1to2N5to7
fastethernet 1/1-2, 1/5-7
DES-7200(config)# end
This example uses the macro ports1to2N5to7 to set the specified range of
interfaces:
DES-7200# configure terminal
DES-7200(config)# interface range macro ports1to2N5to7
DES-7200(config-if-range)#
This example deletes the macro ports1to2N5to7:
DES-7200# configure terminal
DES-7200(config)# no define interface-range ports1to2N5to7
DES-7200# end
1.2.4 Selecting
Interface
Media Type
Some interfaces come with multiple media types for your choice.Once you have
selected a media, interface attributes like connection status, speed, duplex, and
flow control will be determined. When you change the media, interface
attributes will use their default values. Change the default values when
necessary.
The interfaces with multiple media types support the interface media auto-select.
If the interface media auto-select has been configured, and only one media is
connected to the interface, the device will use the media connected currently; if
the two media types are connected to the interface, the device will use the
media configured first. The auto-select prefere media is electrical interface by
default, use the command medium-type auto-select prefer fiber to set the
prefer media as optical interface. In the auto-select mode, the interface
attributes like speed, duplex, and flow control will use the default values.
This configuration takes effect for only physical ports. Aggregate port and SVI
port do not support setting media types.
This configuration command takes effect for only the ports that supports media
selection.
The ports configured to be the members of an aggregate port must have the
same media type. Otherwise, they cannot be added to the AP. The port type of