D-Link DGS-3100 Switch User Manual


 
DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual
75
spe
cified by listing switch number and the beginning port number on
that switch, separated by a colon. Then the highest port number of
the range is specified. The beginning and end of the port list range
are separated by a dash. For example, 1:3 specifies switch number
1, port 3. 1:22 specifies switch number 1, port 22. 1:3-22 specifies all
of the ports of switch 1, between port 3 and port 22 in numerical
order.
<ch1-32> a port-channel.
externalCost Defines a metric that indicates the relative cost of
forwarding packets to the specified port list. Port cost can be set
automatically or as a metric value. The default value is auto.
auto – Automatically sets the speed for forwarding packets
to the specified port(s) in the list for optimal efficiency.
Default port cost:10Mbps port = 2000000. 100Mbps port =
200000. Gigabit port = 20000. Port-channel = 20000.
<value 1-200000000> - Defines a value between 1 and
200000000 to determine the external cost. The lower the
number, the greater the probability the port will be chosen to
forward packets.
edge [true | false]true designates the port as an edge port. Edge
ports cannot create loops, however an edge port can lose edge port
status if a topology change creates a potential for a loop. An edge
port normally should not receive BPDU packets. If a BPDU packet is
received it automatically loses edge port status. false indicates that
the port does not have edge port status. The default setting for this
parameter is false.
p2p [true | false | auto]true indicates a point-to-point (P2P) link.
P2P ports transition to a forwarding state rapidly thus benefiting from
RSTP. A p2p value of false indicates that the port cannot have p2p
status. auto allows the port to have p2p status whenever possible
and operate as if the p2p status were true. (A port that operates in
full-duplex is assumed to be point-to-point, while a half-duplex port is
considered as a shared port). If the port cannot maintain this status
(for example if the port is forced to half-duplex operation) the p2p
status changes to operate as if the p2p value were false. The default
setting for this parameter is auto.
state [enable | disable] Allows STP to be enabled or disabled for
the ports specified in the port list. The default is enable.
fbpdu [enable | disable | system] If enabled - allows the forwarding
of STP BPDU packets from other network devices Disable –
blocking STP BPDU packets from other network devices. System –
indicates that port will behave as global switch’s fbpdu value
configured. Fbpdu value valid only when STP port state is disabled
or global STP state is disabled. The default is system.
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To configure STP with path cost 19 and state enable for ports 1-5 of module 1.
DGS3100# config stp ports 1:1-5 externalCost 19 state enable
Success.
DGS3100#