21.03.2013 Views

Ethernet Switching on EX Series Switches - Juniper Networks

Ethernet Switching on EX Series Switches - Juniper Networks

Ethernet Switching on EX Series Switches - Juniper Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<str<strong>on</strong>g>Ethernet</str<strong>on</strong>g> <str<strong>on</strong>g>Switching</str<strong>on</strong>g> <strong>on</strong> <strong>EX</strong> <strong>Series</strong> <strong>Switches</strong><br />

Related<br />

Documentati<strong>on</strong><br />

setting a low MAC notificati<strong>on</strong> interval is that the network management system is better<br />

synchr<strong>on</strong>ized with the switch.<br />

MAC notificati<strong>on</strong> is disabled by default. When MAC notificati<strong>on</strong> is enabled, the default<br />

MAC notificati<strong>on</strong> interval is 30 sec<strong>on</strong>ds.<br />

•<br />

C<strong>on</strong>figuring MAC Notificati<strong>on</strong> (CLI Procedure) <strong>on</strong> page 163<br />

• C<strong>on</strong>figuring SNMP (J-Web Procedure)<br />

Understanding MAC Address Aging<br />

30<br />

<strong>Juniper</strong> <strong>Networks</strong> <strong>EX</strong> <strong>Series</strong> <str<strong>on</strong>g>Ethernet</str<strong>on</strong>g> <strong>Switches</strong> store MAC addresses in the <str<strong>on</strong>g>Ethernet</str<strong>on</strong>g><br />

switching table, also called the MAC table. When the aging time for a MAC address in the<br />

table expires, the address is removed.<br />

You can c<strong>on</strong>figure the MAC table aging time <strong>on</strong> all VLANs <strong>on</strong> the switch or <strong>on</strong> a per-VLAN<br />

basis. You can also c<strong>on</strong>figure aging time to be unlimited, either <strong>on</strong> all VLANs or per-VLAN,<br />

so that MAC addresses never age out of the table.<br />

To learn MAC addresses, the switch reads all packets that it detects <strong>on</strong> the LAN or <strong>on</strong><br />

the local VLAN, looking for MAC addresses of sending nodes. It places these addresses<br />

into its <str<strong>on</strong>g>Ethernet</str<strong>on</strong>g> switching table, al<strong>on</strong>g with two other pieces of informati<strong>on</strong>—the interface<br />

<strong>on</strong> which the traffic was received and the time when the address was learned.<br />

When the switch receives traffic <strong>on</strong> an interface, it searches the <str<strong>on</strong>g>Ethernet</str<strong>on</strong>g> switching table<br />

for the MAC address of the destinati<strong>on</strong>. If the MAC address is not found, the traffic is<br />

flooded out all of the other interfaces associated with the VLAN—if traffic is received <strong>on</strong><br />

an interface that is associated with VLAN v-10 and there is no entry in the <str<strong>on</strong>g>Ethernet</str<strong>on</strong>g><br />

switching table for VLAN v-10 (the <str<strong>on</strong>g>Ethernet</str<strong>on</strong>g> switching table is organized by VLAN), then<br />

the traffic is flooded to all access and trunk interfaces that are members of VLAN v-10.<br />

Flooding allows the switch to learn about destinati<strong>on</strong>s that are not yet in its <str<strong>on</strong>g>Ethernet</str<strong>on</strong>g><br />

switching table. If a particular destinati<strong>on</strong> MAC address is not in the <str<strong>on</strong>g>Ethernet</str<strong>on</strong>g> switching<br />

table, the switch floods the traffic to all interfaces except the interface <strong>on</strong> which it was<br />

received. When the destinati<strong>on</strong> node receives the flooded traffic, it sends an<br />

acknowledgment packet back to the switch, allowing the switch to learn the MAC address<br />

of the node and to add the address to its <str<strong>on</strong>g>Ethernet</str<strong>on</strong>g> switching table.<br />

The switch uses a mechanism called aging to keep the <str<strong>on</strong>g>Ethernet</str<strong>on</strong>g> switching table current.<br />

For each MAC address in the <str<strong>on</strong>g>Ethernet</str<strong>on</strong>g> switching table, the switch records a timestamp<br />

of when the informati<strong>on</strong> about the network node was learned. Each time the switch<br />

detects traffic from a MAC address that is in its <str<strong>on</strong>g>Ethernet</str<strong>on</strong>g> switching table, it updates the<br />

timestamp of that MAC address. A timer <strong>on</strong> the switch periodically checks the timestamp,<br />

and if it is older than the value set for mac-table-aging-time, the switch removes the<br />

node's MAC address from the <str<strong>on</strong>g>Ethernet</str<strong>on</strong>g> switching table. This aging process ensures that<br />

the switch tracks <strong>on</strong>ly active MAC addresses <strong>on</strong> the network and that it is able to flush<br />

out from the <str<strong>on</strong>g>Ethernet</str<strong>on</strong>g> switching table MAC addresses that are no l<strong>on</strong>ger available.<br />

You c<strong>on</strong>figure how l<strong>on</strong>g MAC addresses remain in the <str<strong>on</strong>g>Ethernet</str<strong>on</strong>g> switching table using the<br />

mac-table-aging-time statement in either the edit ethernet-switching-opti<strong>on</strong>s or the vlans<br />

Copyright © 2012, <strong>Juniper</strong> <strong>Networks</strong>, Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!