Table Of Contents
Configuration Examples
Managing Power in a LAN
Managing Power with IP Routing
Configuration Examples
•
Managing Power in a LAN
•
Managing Power with IP Routing
Note
The examples in this document are for a Catalyst 3750-E or 3750 switch (for example, gigabitethernet 1/0/5). To specify an interface on your network device, see your device software documentation.
Managing Power in a LAN
Multiple switches connected in the same LAN and in the same EnergyWise domain.
Figure 4-1 EnergyWise with LANs
The domain configuration includes
•
UDP default port (43440)
•
Gigabit Ethernet port 1/0/23 on Switch 2 with a connected Catalyst PoE switch.
On Switch 1, configure the domain:
Switch(config)# energywise domain cisco secret 0 cisco protocol udp port 43440 interface
gigabitethernet1/0/23
On Switch 1, verify that the EnergyWise protocols discovered the neighbors:
Switch# show energywise neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone
Id Neighbor Name Ip:Port Prot Capability
-- ------------- ------- ---- ----------
4 Switch-2 192.168.20.2:43440 udp S I
Managing Power with IP Routing
Switch 1 and Switch 2 are in a disjointed domain. Neighbors might not be discovered automatically.
Figure 4-2 EnergyWise with IP Routing
On Switch 1, to prevent a disjointed domain, manually assign Switch 2 as a static neighbor or the reverse.
Switch(config)# energywise neighbor 192.168.2.2 43440
Switch 1 discovers Switch 3 as a neighbor because they are in the same LAN.
On Switch 1, verify neighbor discovery.
Switch# show energywise neighbors
Capability Codes: R-Router, T-Trans Bridge, B-Source Route Bridge
S-Switch, H-Host, I-IGMP, r-Repeater, P-Phone
Id Neighbor Name Ip:Port Prot Capability
-- ------------- ------- ---- ----------
6 Switch-2 192.168.2.2:43440 static S I
9 Switch-3 192.168.1.3:43440 cdp S I
Switch 1 uses both static and dynamic protocols to detect neighbors.
Verify that switches are in the same domain:
Switch# energywise query name * collect usage
EnergyWise query, timeout is 3 seconds:
192.168.1.2 Switch-1 96.0 (W)
192.168.40.2 shipping.1 6.3 (W)
192.168.40.2 guest.1 10.3 (W)
192.168.50.2 shipping.2 8.5 (W)
192.168.50.2 lobby.1 10.3 (W)
Queried: 72 Responded: 72 Time: 0.65 second
In a routed network, a switch port assigned to a VLAN can be connected to a router interface. The IP address of the VLAN SVI is 192.168.1.2, and the IP address of the router interface is 192.168.1.1.
Configure the domain:
Switch(config)# energywise domain cisco secret 0 cisco protocol udp port 43440 ip
192.168.1.2
Note
To prevent a disjointed domain, you can also configure a helper address on Router A and specify that the router use UDP to forward broadcast packets with the
ip helper-address address interface configuration command.
ip forward-protocol udp [port] global configuration command.