2-394
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
rep block port
Examples
This example shows how to configure REP VLAN load balancing on the Switch B primary edge port
(Gigabit Ethernet port 1/0/1) and to configure Gigabit Ethernet port 1/0/2 of Switch A as the alternate
port to block VLANs 1 to 100. The alternate port is identified by its port ID, shown in bold in the output
of the
show interface rep detail
command for the Switch A port.
Switch A#
show interface gigabitethernet0/2 rep detail
GigabitEthernet0/2 REP enabled
Segment-id: 2 (Segment)
PortID: 0080001647FB1780
Preferred flag: No
Operational Link Status: TWO_WAY
Current Key: 007F001647FB17800EEE
Port Role: Open
Blocked Vlan: <empty>
Admin-vlan: 1
Preempt Delay Timer: 35 sec
Load-balancing block port: none
Load-balancing block vlan: none
STCN Propagate to:
PDU/TLV statistics:
LSL PDU rx: 107122, tx: 192493
Switch B#
config t
Switch (config)#
interface gigabitethernet1/0/1
Switch (config-if)#
rep block port id 0080001647FB1780 vlan 1-100
Switch (config-if)#
exit
This example shows how to configure VLAN load balancing by using a neighbor offset number and how
to verify the configuration by entering the
show interfaces rep detail
privileged EXEC command:
Switch#
config t
Switch (config)#
interface gigabitethernet1/0/2
Switch (config-if)#
rep block port 6 vlan 1-110
Switch (config-if)#
end
Switch#
show interface gigabitethernet1/0/2 rep detail
GigabitEthernet0/2 REP enabled
Segment-id: 2 (Segment)
PortID: 0080001647FB1780
Preferred flag: No
Operational Link Status: TWO_WAY
Current Key: 007F001647FB178009C3
Port Role: Open
Blocked Vlan: <empty>
Admin-vlan: 3
Preempt Delay Timer: 35 sec
Load-balancing block port: 6
Load-balancing block vlan: 1-110
STCN Propagate to: none
LSL PDU rx: 1466780, tx: 3056637
HFL PDU rx: 2, tx: 0
BPA TLV rx: 1, tx: 2119695
BPA (STCN, LSL) TLV rx: 0, tx: 0
BPA (STCN, HFL) TLV rx: 0, tx: 0
EPA-ELECTION TLV rx: 757406, tx: 757400
EPA-COMMAND TLV rx: 1, tx: 1
EPA-INFO TLV rx: 178326, tx: 178323
Related Commands