Page 1
M4200 and M4300 Series ProSAFE Managed Switches Sof tware A dm inistration Ma nua l Sof tware Version 1 2.0.2 July 2016 202-11586-03 350 East Plumeria Drive San Jose, CA 95134...
Page 2
Thank you for purchasing this NETGEAR product. You can visit www.netgear.com/support to register your product, get help, access the latest downloads and user manuals, and join our community. We recommend that you use only official NETGEAR support resources. Conformity For the current EU Declaration of Conformity, visit http://kb.netgear.com/app/answers/detail/a_id/11621.
Table of Contents Chapter 1 Documentation Resources Chapter 2 VLANs VLAN Concepts ........... . . 19 Create Two VLANs.
Page 4
Managed Switches Configure Private-VLAN Association ........56 CLI: Configure Private-VLAN Association .
Page 5
Managed Switches Web Interface: Set Up VLAN Routing for the VLANs and the Switch ..87 Chapter 6 RIP Routing Information Protocol Concepts....... . . 89 Enable Routing for the Switch .
VLANs V ir tu a l L A N s This chapter includes the following sections: • VLAN Concepts • Create Two VLANs • Assign Ports to VLAN 2 • Create Three VLANs • Assign Ports to VLAN 3 • Assign VLAN 3 as the Default VLAN for Port 1/0/2 •...
Managed Switches VLAN Concepts Adding virtual LAN (VLAN) support to a Layer 2 switch offers some of the benefits of both bridging and routing. Like a bridge, a VLAN switch forwards traffic based on the Layer 2 header, which is fast. Like a router, it partitions the network into logical segments, which provides better administration, security, and management of multicast traffic.
The example is shown as CLI commands and as a web interface procedure. CLI: Create Two VLANs Use the following commands to create two VLANs and to assign the VLAN IDs while leaving the names blank. (Netgear Switch) #vlan database (Netgear Switch) (Vlan)#vlan 2 (Netgear Switch) (Vlan)#vlan 3 (Netgear Switch) (Vlan)#exit Web Interface: Create Two VLANs Create VLAN2.
Managed Switches Web Interface: Assign Ports to VLAN 2 Assign ports to VLAN2. a. Select Switching > VLAN > Advanced > VLAN Membership. A screen similar to the following displays. b. In the VLAN ID list, select 2. c. Click Unit 1. The ports display. d.
The example is shown as CLI commands and as a web interface procedure. CLI: Create Three VLANs Use the following commands to create three VLANs and to assign the VLAN IDs while leaving the names blank. (Netgear Switch) #vlan database (Netgear Switch) (Vlan)#vlan 100 (Netgear Switch) (Vlan)#vlan 101 (Netgear Switch) (Vlan)#vlan 102...
Page 24
Managed Switches Create VLAN101. a. Select Switching > VLAN > Basic > VLAN Configuration. A screen similar to the following displays. b. Enter the following information: • In the VLAN ID field, enter 101. • In the VLAN Name field, enter VLAN101. c.
This example shows how to assign VLAN 3 as the default VLAN for port 1/0/2. CLI: Assign VLAN 3 as the Default VLAN for Port 1/0/2 (Netgear Switch) #config (Netgear Switch) (Config)#interface 1/0/2 (Netgear Switch) (Interface 1/0/2)#vlan pvid 3 (Netgear Switch) (Interface 1/0/2)#exit (Netgear Switch) (Config)#exit VLANs...
Managed Switches Web Interface: Assign VLAN 3 as the Default VLAN for Port 1/0/2 Select Switching > VLAN > Advanced > Port PVID Configuration. A screen similar to the following displays. Under PVID Configuration, scroll down and select the Interface 1/0/2 check box. Now 1/0/2 appears in the Interface field at the top.
Managed Switches Web Interface: Assign a MAC-Based VLAN Create VLAN3. a. Select Switching > VLAN > Basic > VLAN Configuration. A screen similar to the following displays. b. Enter the following information: • In the VLAN ID field, enter 3. •...
Page 30
Managed Switches d. Click the gray box before Unit 1 until U displays. e. Click Apply. Assign VPID3 to port 1/0/23. a. Select Switching > VLAN > Advanced > Port PVID Configuration. A screen similar to the following displays. b. Scroll down and select the 1/0/23 check box. c.
(Netgear Switch)#config (Netgear Switch)(Config)#vlan protocol group 1 (Netgear Switch)(Config)#vlan protocol group name 1 "vlan_ipx" (Netgear Switch)(Config)#vlan protocol group add protocol 1 ethertype ipx Create a VLAN protocol group vlan_ipx based on IP/ARP protocol. (Netgear Switch)(Config)#vlan protocol group 2 (Netgear Switch)(Config)#vlan protocol group name 2 "vlan_ip"...
Managed Switches Web Interface: Create a Protocol-Based VLAN Create VLAN4 and VLAN5. Create VLAN4. a. Select Switching > VLAN > Basic > VLAN Configuration. A screen similar to the following displays. b. Enter the following information: In the VLAN ID field, enter 4. In the VLAN Name field, enter VLAN4.
Page 33
Managed Switches b. Enter the following information: In the VLAN ID field, enter 5. In the VLAN Name field, enter VLAN5. In the VLAN Type list, select Static. c. Click Add. Create the protocol-based VLAN group vlan_ipx. a. Select Switching > VLAN > Advanced > Protocol Based VLAN Group Configuration.
Page 34
Managed Switches A screen similar to the following displays. b. Enter the following information: • In the Group ID field, enter 2. • In the Group Name field, enter vlan_ip. • In the Protocol list, select IP and ARP while holding down the Ctrl key. •...
Managed Switches Add port 11 to the group vlan_ip. a. Select Switching > VLAN > Advanced > Protocol Based VLAN Group Membership. A screen similar to the following displays. b. In the Group ID list, select 2. c. Click the gray box under port 11. A check mark displays in the box. d.
Managed Switches Web Interface: Create an IP Subnet–Based VLAN Create VLAN 2000. a. Select Switching > VLAN > Basic > VLAN Configuration. A screen similar to the following displays. b. Enter the following information: • In the VLAN ID field, enter 2000. •...
Managed Switches e. Click Apply. Associate the IP subnet with VLAN 2000. a. Select Switching > VLAN > Advanced > IP Subnet Based VLAN. A screen similar to the following displays. b. Enter the following information: • In the IP Address field, enter 10.100.0.0. •...
The script in this section shows how to configure Voice VLAN and prioritize the voice traffic. Here the Voice VLAN mode is in VLAN ID 10. CLI: Configure Voice VLAN and Prioritize Voice Traffic Create VLAN 10. (Netgear Switch) #vlan database (Netgear Switch) (Vlan)#vlan 10 (Netgear Switch) (Vlan)#exit VLANs...
Page 40
Managed Switches Include the ports 1/0/1 and 1/0/2 in VLAN 10. (Netgear Switch) (Config)#interface range 1/0/1-1/0/2 (Netgear Switch) (conf-if-range-1/0/1-1/0/2)#vlan participation include 10 (Netgear Switch) (conf-if-range-1/0/1-1/0/2)#vlan tagging 10 (Netgear Switch) (conf-if-range-1/0/1-1/0/2)#exit Configure Voice VLAN globally. (Netgear Switch) (Config)# voice vlan Configure Voice VLAN mode in the interface 1/0/2.
Managed Switches Web Interface: Configure Voice VLAN and Prioritize Voice Traffic Create VLAN 10. a. Select Switching > VLAN > Basic > VLAN Configuration. A screen similar to the following displays. b. In the VLAN ID field, enter 10. c. In the VLAN Name field, enter Voice VLAN. d.
Page 42
Managed Switches Configure Voice VLAN globally. a. Select Switching > VLAN > Advanced > Voice VLAN Configuration. A screen similar to the following displays. b. For Admin Mode, select the Enable radio button. c. Click Apply. Configure Voice VLAN mode in the interface 1/0/2. a.
Page 43
Managed Switches Create the DiffServ class ClassVoiceVLAN. a. Select QoS > Advanced > DiffServ > Class Configuration. A screen similar to the following displays. b. In the Class Name field, enter ClassVoiceVLAN. c. In the Class Type list, select All. d.
Page 44
Managed Switches A screen similar to the following displays. e. Click Apply. Create the DiffServ policy PolicyVoiceVLAN. a. Select QoS > DiffServ > Advanced > Policy Configuration. A screen similar to the following displays. b. In the Policy Name field, enter PolicyVoiceVLAN. c.
Page 45
Managed Switches A screen similar to the following displays. b. Click the Policy PolicyVoiceVLAN. A screen similar to the following displays. c. In the field next to the Assign Queue radio button, select 3. d. Click Apply. Assign it to interfaces 1/0/1 and 1/0/2. a.
Managed Switches A screen similar to the following displays. b. Select the check boxes for Interfaces 1/0/1 and 1/0/2. c. Set the Policy Name field as PolicyVoiceVLAN. d. Click Apply. Configure GARP VLAN Registration Protocol Generic Attribute Registration Protocol (GARP) VLAN Registration Protocol (GVRP) provides IEEE 802.1Q-compliant VLAN pruning and dynamic VLAN creation on 802.1Q-tagged ports.
Managed Switches Web Interface: Configure GVRP on switch A On Switch A, create VLANs 1000, 2000, and 3000: a. Select Switching > VLAN > Advanced > VLAN Configuration. A screen similar to the following displays. b. In the VLAN ID field, enter 1000. c.
Page 50
Managed Switches T specifies that the switch tags egress packets for port 24. d. Click Apply. Enable GVRP globally: a. Select Switching > VLAN > Advanced > GARP Switch Configuration. A screen similar to the following displays. b. Next to GVRP Mode, select the Enable radio button. c.
Managed Switches c. From the Port GVRP Mode menu, select Enable. d. Click Apply. Web Interface: Configure GVRP on Switch B Enable GVRP globally: a. Select Switching > VLAN > Advanced > GARP Switch Configuration. A screen similar to the following displays. b.
Managed Switches b. Scroll down and select the check box that corresponds to interface 1/0/11. The Interface field in the table heading displays 1/0/11. c. From the Port GVRP Mode menu, select Enable. d. Click Apply. Private VLANs The Private VLANs feature separates a regular VLAN domain into two or more subdomains. Each subdomain is defined (represented) by a primary VLAN and a secondary VLAN.
Page 53
Managed Switches Figure 5. Private VLANs The following figure illustrates the private VLAN traffic flow. Five ports A, B, C, D, and E make up a private VLAN. Port A is a promiscuous port which is associated with the primary VLAN 100.
Use the following commands to assign VLAN 100 to primary VLAN, VLAN 101 to isolated VLAN, and VLAN 102 to community VLAN. (Netgear Switch) #config (Netgear Switch) (Config)#vlan 100 (Netgear Switch) (Config)(Vlan) #private-vlan primary (Netgear Switch) (Config)(Vlan) #exit (Netgear Switch) (Config)#vlan 101 (Netgear Switch) (Config)(Vlan) #private-vlan isolated...
Page 55
Managed Switches b. Under Private VLAN Type Configuration, select the VLAN ID 100 check box. Now 100 appears in the interface field at the top. c. In the Private VLAN Type field, select Primary from the menu. d. Click Apply to save the settings Assign VLAN 101 as an isolated VLAN.
The example is shown as CLI commands and as a web interface procedure. CLI: Configure Private-VLAN Association Use the following commands to associate VLAN 101-102 (secondary VLAN) to VLAN 100 (primary VLAN). (Netgear Switch) #config (Netgear Switch) (Config)#vlan 100 (Netgear Switch)
The example is shown as CLI commands and as a web interface procedure. CLI: Configure Private-VLAN Port Mode (Promiscuous, Host) Use the following commands to assign port 1/0/1 to promiscuous port mode and ports 1/0/2-1/0/5 to host port mode. (Netgear Switch) #config (Netgear Switch) (Config)#interface 1/0/1...
The example is shown as CLI commands and as a web interface procedure. CLI: Configure Private-VLAN Host Ports Use the following commands to associate isolated ports 1/0/2-1/0/3 to a private-VLAN (primary=100, secondary=101). Community ports 1/0/4-1/0/5 to a private-VLAN (primary= 100, secondary=102). (Netgear Switch) #config (Netgear Switch) (Config)#interface 1/0/2-1/0/3 (Netgear Switch)
Managed Switches Web Interface: Assign Private-VLAN Port Host Ports Associate isolated ports 1/0/2-1/0/3 to a private-VLAN (primary=100, secondary=101). a. Select Security > Traffic Control > Private VLAN > Private VLAN Host Interface Configuration. A screen similar to the following displays. b.
The example is shown as CLI commands and as a web interface procedure. CLI: Map Private-VLAN Promiscuous Port Use the following commands to map private-VLAN promiscuous port 1/0/1 to a primary VLAN (100) and to secondary VLANs (101-102). (Netgear Switch) #config (Netgear Switch) (Config)#interface 1/0/1...
• General mode. In general mode, the following rules apply to switch ports: By default, all ports are designated as general mode ports and belong to the default VLAN. Ports conform to NETGEAR legacy switch behavior for switch ports. VLANs...
Configure port 1/0/3 as a trunk port. (Netgear Switch) (Interface 1/0/3)#switchport mode trunk (Netgear Switch) (Interface 1/0/3)#switchport trunk allowed vlan 1000,2000 Configure all incoming untagged packets to be tagged with the native VLAN ID. (Netgear Switch) (Interface 1/0/3)#switchport trunk native vlan 1000...
Page 64
Managed Switches A screen similar to the following displays. d. In the VLAN ID field, enter 2000. e. Click Add. Configure port 1/0/1 as an access port in VLAN 1000. a. Select Switching > VLAN > Advanced > VLAN Trunking Configuration. A screen similar to the following displays.
Page 65
Managed Switches The Interface field in the table heading displays 1/0/1. c. In the Switchport Mode field, select Access. d. In the Access VLAN ID field, select 1000. e. Click Apply. Configure port 1/0/2 as an access port in VLAN 2000. a.
Page 66
Managed Switches b. Select the check box that corresponds to interface 1/0/3. The Interface field in the table heading displays 1/0/3. c. In the Switchport Mode field, select Trunk. d. In the Native VLAN ID field, select 2000. Note: In this step, you configure incoming untagged packets to be tagged with VLAN ID 2000.
Managed Switches Link Aggregation Concepts Link aggregation allows the switch to treat multiple physical links between two endpoints as a single logical link. All the physical links in a given LAG must operate in full-duplex mode at the same speed. LAGs can be used to directly connect two switches when the traffic between them requires high bandwidth and reliability, or to provide a higher-bandwidth connection to a public network.
The example is shown as CLI commands and as a web interface procedure. CLI: Add Ports to the LAGs (Netgear Switch) #config (Netgear Switch) (Config)#interface 0/2 (Netgear Switch) (Interface 0/2)#addport 1/1 (Netgear Switch) (Interface 0/2)#exit (Netgear Switch) (Config)#interface 0/3 (Netgear Switch) (Interface 0/3)#addport 1/1...
Page 70
Managed Switches Two check marks display in the box. e. Click the Apply button to save the settings. Add ports to lag_20. a. Select Switching > LAG > LAG Membership. A screen similar to the following displays. b. Under LAG Membership, in the LAG ID list, select LAG 2. c.
Port Routing Po r t ro u t i n g , d e fa u lt ro ute s, a nd stati c ro u tes This chapter includes the following sections: • Port Routing Concepts • Port Routing Configuration •...
Managed Switches Port Routing Concepts The first networks were small enough for the end stations to communicate directly. As networks grew, Layer 2 bridging was used to segregate traffic, a technology that worked well for unicast traffic, but had problems coping with large quantities of multicast packets. The next major development was routing, where packets were examined and redirected at Layer 3.
Figure 9, Layer 3 switch configured for port routing on page 73. Use the following command to enable routing for the switch. Execution of the command enables IP forwarding by default. (Netgear Switch) #config (Netgear Switch) (Config)#ip routing (Netgear Switch) (Config)#exit Port Routing...
Managed Switches Web Interface: Enable Routing for the Switch Select Routing > IP > Basic > IP Configuration. A screen similar to the following displays. For Routing Mode, select the Enable radio button. Click Apply to save the settings. Enable Routing for Ports on the Switch Use the following commands or the web interface to enable routing for ports on the switch.
Page 76
Managed Switches d. Click Apply to save the settings. Assign IP address 192.150.3.1/24 to interface 1/0/3. a. Select Routing > IP> Advanced > IP Interface Configuration. A screen similar to the following displays. b. Scroll down and select the interface 1/0/3 check box. Now 1/0/3 appears in the Interface field at the top.
Managed Switches b. Scroll down and select the interface 1/0/5 check box. Now 1/0/5 appears in the Interface field at the top. c. Enter the following information: • In the IP Address field, enter 192.150.5.1. • In the Subnet Mask field, enter 255.255.255.0. •...
Managed Switches Web Interface: Add a Default Route Select Routing > Routing Table > Basic > Route Configuration. A screen similar to the following displays. In the Route Type list, select DefaultRoute. In the Next Hop IP Address field, enter one of the routing interface’s IP addresses. •...
Managed Switches CLI: Add a Static Route The following commands assume that the switch already has a defined a routing interface with a network address of 10.10.10.0, and is configured so that all packets destined for network 10.10.100.0 take the path of routing port. (FSM7328S) #show ip route Total Number of Routes......1 Network...
VLAN Routing V L A N rou t in g for a VL A N and fo r the sw i tc h This chapter includes the following sections: • VLAN Routing Concepts • Create Two VLANs • Set Up VLAN Routing for the VLANs and the Switch...
Managed Switches VLAN Routing Concepts You can configure the switch with some ports supporting VLANs and some supporting routing. You can also configure it to allow traffic on a VLAN to be treated as if the VLAN were a router port. When a port is enabled for bridging (the default) rather than routing, all normal bridge processing is performed for an inbound packet, which is then associated with a VLAN.
Managed Switches Web Interface: Create Two VLANs Create VLAN 10 and VLAN20. a. Select Switching > VLAN > Advanced > VLAN Configuration. A screen similar to the following displays. b. In the VLAN ID field, enter 10. c. In the VLAN Name field, enter VLAN10. d.
Page 84
Managed Switches Add ports to the VLAN10 and VLAN20. a. Select Switching > VLAN > Advanced > VLAN Membership. A screen similar to the following displays. b. In the VLAN ID field, select 10. c. Click the Unit 1. The ports display. d.
Page 85
Managed Switches Click Apply. Assign PVID to VLAN10 and VLAN20. a. Select Switching > VLAN > Advanced > Port PVID Configuration. A screen similar to the following displays. b. Scroll down and select 1/0/1 and 1/0/2 check boxes. c. In the PVID (1 to 4093) field, enter 10. d.
The next sequence shows an example of configuring the IP addresses and subnet masks for the virtual router ports. (Netgear Switch) (Config)#interface vlan 10 (Netgear Switch) (Interface-vlan 10)#ip address 192.150.3.1 255.255.255.0 (Netgear Switch) (Interface-vlan 10)#exit (Netgear Switch) (Config)#interface vlan 20 (Netgear Switch) (Interface-vlan 20)#ip address 192.150.4.1 255.255.255.0...
Managed Switches Web Interface: Set Up VLAN Routing for the VLANs and the Switch Select Routing > VLAN> VLAN Routing. A screen similar to the following displays. Enter the following information: • In the VLAN ID (1 to 4093) list, select 10. •...
Ro u t i n g I nfor mat i on Pro toco l This chapter includes the following sections: • Routing Information Protocol Concepts • Enable Routing for the Switch • Enable Routing for Ports • Enable RIP on the Switch •...
Managed Switches Routing Information Protocol Concepts Routing Information Protocol (RIP) is a protocol that routers can use to exchange network topology information. It is characterized as an interior gateway protocol, and is typically used in small to medium-sized networks. A router running RIP sends the contents of its routing table to each of its adjacent routers every 30 seconds.
The example is shown as CLI commands and as a web interface procedure. CLI: Enable Routing for the Switch (Netgear Switch) #config (Netgear Switch) (Config)#ip routing (Netgear Switch) (Config)#exit Web Interface: Enable Routing for the Switch Select Routing > IP > Basic > IP Configuration.
Page 92
Managed Switches • In the Subnet Mask field, enter 255.255.255.0. • In the Routing Mode field, select Enable. d. Click Apply to save the settings. Assign IP address 192.150.3.1/24 to interface 1/0/3. a. Select Routing > Advanced >IP Interface Configuration. A screen similar to the following displays.
RIP is enabled by default. CLI: Enable RIP on the Switch This sequence enables RIP for the switch. The route preference defaults to 15. (Netgear Switch) #config (Netgear Switch) (Config)#router rip (Netgear Switch) (Config router)#enable (Netgear Switch) (Config router)#exit (Netgear Switch) (Config)#exit Web Interface: Enable RIP on the Switch Select Routing >...
Managed Switches Web Interface: Configure VLAN Routing with RIP Support Configure a VLAN and include ports 1/0/2 in the VLAN: a. Select Routing > VLAN > VLAN Routing Wizard. A screen similar to the following displays. b. Enter the following information: •...
Page 98
Managed Switches b. Enter the following information: • In the Vlan ID field, enter 20. • In the IP Address field, enter 192.150.4.1. • In the Network Mask field, enter 255.255.255.0. c. Click Unit 1. The ports display. d. Click the gray box under port 3 until T displays. The T specifies that the egress packet is tagged for the port.
Page 99
Managed Switches c. Scroll down and select the interface vlan10 and vlan 20 check boxes. d. Enter the following information: For RIP Mode, select the Enable radio button. e. Click Apply to save the settings.
OSPF O pe n Sh or te st Pat h Fi rst This chapter includes the following sections: • Open Shortest Path First Concepts • Inter-area Router • OSPF on a Border Router • Stub Areas • NSSA Areas • VLAN Routing OSPF •...
Managed Switches Open Shortest Path First Concepts For larger networks, Open Shortest Path First (OSPF) is generally used in preference to RIP. OSPF offers several benefits to the administrator of a large or complex network: • Less network traffic: Routing table updates are sent only when a change has occurred. Only the part of the table which has changed is sent.
Managed Switches Web Interface: Configure an Inter-area Router Enable IP routing on the switch. a. Select Routing > IP > Basic > IP Configuration. A screen similar to the following displays. b. For Routing Mode, select the Enable radio button. Click Apply to save the settings.
Page 105
Managed Switches c. Enter the following information: • In the IP Address field, enter 192.150.2.1. • In the Subnet Mask field, enter 255.255.255.0. • In the Administrative Mode field, select Enable. d. Click Apply to save the settings. Assign IP address 192.150.3.1 to port 1/0/3: a.
Page 106
Managed Switches A screen similar to the following displays. b. Under OSPF Configuration, enter the following information: • In the Router ID field, enter 192.150.9.9. • In the OSPF Admin Mode field, select Enable. • In the RFC 1583 Compatibility field, select Disable. c.
Page 107
Managed Switches b. Scroll down and select the interface 1/0/2 check box. Now 1/0/2 appears in the Interface field at the top. • In the OSPF Area ID field, enter 0.0.0.2. • In the OSPF Admin Mode field, select Enable. •...
Enable OSPF for the ports, and set the OSPF priority and cost for the ports. (Netgear Switch) #config (Netgear Switch) (Config)#interface 1/0/2 (Netgear Switch) (Interface 1/0/2)#ip ospf (Netgear Switch) (Interface 1/0/2)#ip ospf areaid 0.0.0.2 (Netgear Switch) (Interface 1/0/2)#ip ospf priority 128 (Netgear Switch) (Interface 1/0/2)#ip ospf cost 32 (Netgear Switch) (Interface 1/0/2)#exit...
Page 110
Managed Switches Click Apply to save the settings. Assign IP address 192.150.2.2 to port 1/0/2. a. Select Routing > IP > Advanced > IP Interface Configuration. A screen similar to the following displays. b. Scroll down and select the interface 1/0/2 check box. Now 1/0/2 appears in the Interface field at the top.
Page 111
Managed Switches b. Scroll down and select the interface 1/0/3 check box. Now 1/0/3 appears in the Interface field at the top. c. Enter the following information: • In the IP Address Configuration Method field, select Manual. • In the IP Address field, enter 192.130.3.1. •...
Page 112
Managed Switches A screen similar to the following displays. b. Under OSPF Configuration, enter the following information: • In the Router ID field, enter 192.130.1.1. • In the OSPF Admin Mode field, select Enable. • In the RFC 1583 Compatibility field, select Disable. c.
Page 113
Managed Switches c. Click Apply to save the settings. Enable OSPF on port 1/0/3. a. Select Routing > OSPF > Advanced > Interface Configuration. A screen similar to the following displays. b. Under Interface Configuration, scroll down and select the interface 1/0/3 check box. Now 1/0/3 appears in the Interface field at the top.
(Netgear Switch) (Config)#router ospf (Netgear Switch) (Config-router)#router-id 1.1.1.1 Configure area 0.0.0.1 as a stub area (Netgear Switch) (Config-router)#area 0.0.0.1 stub Switch A injects a default route only to area 0.0.0.1. (Netgear Switch) (Config-router)#no area 0.0.0.1 stub summarylsa (Netgear Switch) (Config-router)#exit OSPF...
Managed Switches Web Interface: Configure Area 1 as a Stub Area on A1 Enable IP routing on the switch. a. Select Routing > IP > Basic > IP Configuration. A screen similar to the following displays. b. For Routing Mode, select the Enable radio button. Click Apply to save the settings.
Page 117
Managed Switches • In the Network Mask field, enter 255.255.255.0. • In the Admin Mode field, select Enable. d. Click Apply to save the settings. Assign IP address 192.168.20.1 to port 2/0/19: a. Select Routing > IP > Advanced > IP Interface Configuration. A screen similar to the following displays.
Page 118
Managed Switches A screen similar to the following displays. b. Under OSPF Configuration, in the Router ID field, enter 1.1.1.1. c. Click Apply to save the settings. Enable OSPF on the port 2/0/11. a. Select Routing > OSPF > Advanced > Interface Configuration. A screen similar to the following displays.
Page 119
Managed Switches A screen similar to the following displays. b. Under Interface Configuration, scroll down and select the interface 2/0/19 check box. Now 2/0/19 appears in the Interface field at the top. • In the OSPF Area ID field, enter 0.0.0.1. •...
Managed Switches Web Interface: Configure Area 1 as a Stub Area on A2 Enable IP routing on the switch. a. Select Routing > IP > Basic > IP Configuration. A screen similar to the following displays. b. For Routing Mode, select the Enable radio button. Click Apply to save the settings.
Page 122
Managed Switches • In the Network Mask field, enter 255.255.255.0. • In the Admin Mode field, select Enable. d. Click Apply to save the settings. Specify the router ID, and enable OSPF for the switch. a. Select Routing > OSPF > Basic > OSPF Configuration. A screen similar to the following displays.
Figure 15. NSSA area The example is shown as CLI commands and as a web interface procedure. CLI: Configure Area 1 as an NSSA Area Enable routing on the switch. (Netgear Switch) #config (Netgear Switch) (Config)#router ospf (Netgear Switch) (Config)#ip routing OSPF...
Managed Switches Web Interface: Configure Area 1 as an NSSA Area on A1 Enable IP routing on the switch. a. Select Routing > IP > Basic > IP Configuration. A screen similar to the following displays. b. For Routing Mode, select the Enable radio button. Click Apply to save the settings.
Page 126
Managed Switches d. Click Apply to save the settings. Assign IP address 192.168.20.1 to port 2/0/19. a. Select Routing > IP > Advanced > IP Interface Configuration. A screen similar to the following displays. b. Scroll down and select the interface 2/0/19 check box. Now 2/0/19 appears in the Interface field at the top.
Page 127
Managed Switches c. Click Apply to save the settings. Enable OSPF on port 2/0/11. a. Select Routing > OSPF > Advanced > Interface Configuration. A screen similar to the following displays. b. Scroll down and select the interface 2/0/11 check box. Now 2/0/11 appears in the Interface field at the top.
Enable routing on the switch. (Netgear Switch) #config (Netgear Switch) (Config)#ip routing (Netgear Switch) (Config)#router ospf Set the router ID to 2.2.2.2. (Netgear Switch) (Config-router)#router-id 2.2.2.2 Configure the area 0.0.0.1 as an NSSA area. (Netgear Switch) (Config-router)# area 0.0.0.1 nssa OSPF...
Managed Switches Web Interface: Configure Area 1 as an NSSA Area on A2 Enable IP routing on the switch. a. Select Routing > IP > Basic > IP Configuration. A screen similar to the following displays. b. mFor Routing Mode, select the Enable radio button. Click Apply to save the settings.
Page 131
Managed Switches • In the Network Mask field, enter 255.255.255.0. • In the Routing Mode field, select Enable. d. Click Apply to save the settings. Assign IP address 192.168.20.2 to port 1/0/15. a. Select Routing > IP > Advanced > IP Interface Configuration. A screen similar to the following displays.
Page 132
Managed Switches A screen similar to the following displays. b. Under OSPF Configuration, in the Router ID field, enter 2.2.2.2. c. Click Apply to save the settings. Enable RIP on port 1/0/11. a. Select Routing > RIP > Advanced > Interface Configuration. A screen similar to the following displays.
Page 133
Managed Switches A screen similar to the following displays. b. Scroll down and select the interface 1/0/15 check box. Now 1/0/15 appears in the Interface field at the top. c. Enter the following information: • In the OSPF Area ID field, enter 0.0.0.1. •...
Managed Switches A screen similar to the following displays. b. Scroll down and select the RIP check box. Now RIP appears in the Source field at the top. c. Enter the following information: In the Redistribute field, select Enable. d. Under Route Redistribution, in the Available Source list, select RIP. e.
Managed Switches Web Interface: Configure VLAN Routing OSPF Configure a VLAN and include ports 1/0/2 in the VLAN. a. Select Routing > VLAN > VLAN Routing Wizard. A screen similar to the following displays. b. Enter the following information: • In the Vlan ID field, enter 10.
Page 138
Managed Switches c. Click Unit 1. The ports display: Click the gray box under port 3 until T displays. The T specifies that the egress packet is tagged for the port. Click Apply to save the VLAN that includes port 3. Enable OSPF on the switch.
Managed Switches d. Enter the following information: • In the OSPF Area ID field, enter 0.0.0.2. • In the OSPF Admin Mode field, select Enable. • In the Priority field, enter 128. • In the Metric Cost field, enter 32. e.
Managed Switches Web Interface: Configure OSPFv3 Enable IPv6 unicast routing on the switch. Select Routing > IPv6 > Basic > IPv6 Global Configuration. A screen similar to the following displays. b. For IPv6 Unicast Routing Mode, select the Enable radio button. Click Apply to save the settings.
Page 143
Managed Switches Enable IPv6 on port 1/0/1. a. Select Routing > IPv6 > Advanced > IP Interface Configuration. A screen similar to the following displays. b. Scroll down and select the interface 1/0/1 check box. Now 1/0/1 appears in the Interface field at the top.
Page 144
Managed Switches • In the Onlink Flag field, select Disable. • In the Autonomous Flag field, select Disable. d. Click Add to save the settings. Enable OSPFv3 on port 1/0/1. a. Select Routing > OSPFv3 > Advanced > Interface Configuration. A screen similar to the following displays.
Po l i c y - b as e d rou t in g This chapter includes the following sections: • Policy-Based Routing Concepts • Route-Map Statements • PBR Processing Logic • PBR Configurations • PBR Example...
PBR. However, this feature is not supported. Starting with Software Version 10.2, the NETGEAR switch supports the route-map infrastructure for BGP. Match parameters defined in this chapter for policy-based routing operate in isolation with BGP.
• Destination IP address • Priority (802.1P priority) NETGEAR’s policy-based routing feature overrides routing decisions taken by the switch and makes the packet follow different actions specified in the following order to define forwarding criteria: • List of next hop IP addresses. The IP address can specify the adjacent next hop router in the path toward the destination to which the packets should be forwarded.
Managed Switches The route map with a deny statement uses the following logic: • The incoming packet is matched against the criteria in the match term specified in the route map. This match command can refer to an IP/MAC access list. An ACL that is used in the match term itself has one or more permit or deny rules.
Managed Switches The same phenomenon applies to ACLs specified in the match clause of PBR. That is, if a PBR route map is applied on a VLAN interface, any packet coming with a corresponding VLAN ID on any port is matched against PBR rules corresponding to the match ACL clause and the corresponding set actions are taken into effect.
Proxy ARP Examples The following are examples of the commands used in the proxy ARP feature. CLI: show ip interface (Netgear Switch) #show ip interface ? <slot/port> Enter an interface in slot/port format. brief Display summary information about IP configuration settings for all ports.
Managed Switches Web Interface: Configure Proxy ARP on a Port Select Routing > IP > Advanced > IP Interface Configuration. A screen similar to the following displays. Under Configuration, scroll down and select the Interface 1/0/3 check box. Now 1/0/3 appears in the Interface field at the top.
VRRP V i r t u a l Rou te r Re d un d a nc y Pro to co l This chapter includes the following sections: • Virtual Router Redundancy Protocol Concepts • VRRP on a Master Router •...
Managed Switches Virtual Router Redundancy Protocol Concepts When an end station is statically configured with the address of the router that will handle its routed traffic, a single point of failure is introduced into the network. If the router goes down, the end station is unable to communicate.
1/0/2 is the same as the port’s actual IP address therefore, this router will always be the VRRP master when it is active. The default priority is 255. (Netgear Switch) (Interface 1/0/2)#ip vrrp 20 ip 192.150.2.1 Enable VRRP on the port.
Managed Switches Web Interface: Configure VRRP on a Master Router Enable IP routing on the switch. a. Select Routing > IP > Basic > IP Configuration. A screen similar to the following displays. b. For Routing Mode, select the Enable radio button. Click Apply to save the settings.
Configure the IP addresses and subnet masks for the port that will participate in the protocol. (Netgear Switch) (Config)#interface 1/0/4 (Netgear Switch) (Interface 1/0/4)#routing (Netgear Switch) (Interface 1/0/4)#ip address 192.150.4.1 255.255.0.0 (Netgear Switch) (Interface 1/0/4)#exit Enable VRRP for the switch.
1/0/4 is the same as Router 1’s port 1/0/2 actual IP address, this router will always be the VRRP backup when Router 1 is active. (Netgear Switch) (Interface 1/0/4)#ip vrrp 20 ip 192.150.2.1 Set the priority for the port. The default priority is 100.
Page 161
Managed Switches A screen similar to the following displays. b. Scroll down and select the Interface 1/0/4 check box. Now 1/0/4 appears in the Interface field at the top. c. Enter the following information: • In the IP Address field, enter 192.150.4.1. •...
ACLs A cce ss Con t rol Lis t s This chapter includes the following sections: • Access Control List Concepts • MAC ACLs • Set Up an IP ACL with Two Rules • One-Way Access Using a TCP Flag in an ACL •...
Managed Switches Access Control List Concepts Access control lists (ACLs) can control the traffic entering a network. Normally ACLs reside in a firewall router or in a router connecting two internal networks. When you configure ACLs, you can selectively admit or reject inbound traffic, thereby controlling access to your network or to specific resources on your network.
Managed Switches IP ACLs IP ACLs classify for Layer 3. Each ACL is a set of up to 10 rules applied to inbound traffic. Each rule specifies whether the contents of a given field should be used to permit or deny access to the network, and can apply to one or more of the following fields within a packet: •...
IP address. Enter these commands: (Netgear Switch) #config (Netgear Switch) (Config)#access-list 101 permit tcp 192.168.77.0 0.0.0.255 192.178.77.0 0.0.0.255 Define the second rule for ACL 101 to set conditions for UDP traffic similar to those for TCP traffic.
Apply the rule to inbound traffic on port 1/0/2. Only traffic matching the criteria will be accepted. (Netgear Switch) (Config)#interface 1/0/2 (Netgear Switch) (Interface 1/0/2)#ip access-group 101 in (Netgear Switch) (Interface 1/0/2)#exit (Netgear Switch) (Config)#exit Web Interface: Set Up an IP ACL with Two Rules Create IP ACL 101 on the switch.
Page 167
Managed Switches c. Click Add to create a new rule. Create a new ACL rule and add it to ACL 101. a. After you click the Add button in step 2, a screen similar to the following displays. a. In the Extended ACL Rule Configuration, enter the following information: •...
Page 168
Managed Switches • In the Source IP Address field, enter 192.168.77.0. • In the Source IP Mask field, enter 0.0.0.255. • In the Destination IP Address field, enter 192.178.77.0. • In the Destination IP Mask field, enter 0.0.0.255. c. Click Apply to save the settings. Apply ACL 101 to port 2.
Managed Switches One-Way Access Using a TCP Flag in an ACL This example shows how to set up one-way access using a TCP flag in an ACL. PC 1 can access FTP server 1 and FTP server 2, but PC 2 can access only FTP server 2. Port 1/0/24 Port 0/13 192.168.40.2...
Page 171
(Netgear Switch) (Config)#ip route 192.168.50.0 255.255.255.0 192.168.200.2 Create an ACL that denies all the packets with TCP flags +syn-ack. (Netgear Switch) (Config)#access-list 101 deny tcp any flag +syn -ack Create an ACL that permits all the IP packets. (Netgear Switch) (Config)#access-list 102 permit ip any Apply ACLs 101 and 102 to port 0/44;...
Page 174
Managed Switches b. In the VLAN Routing Wizard, enter the following information: • In the Vlan ID field, enter 30. • In the IP Address field, enter 192.168.30.1. • In the Network Mask field, enter 255.255.255.0. c. Click Unit 1. The ports display. d.
Page 175
Managed Switches A screen similar to the following displays. b. Enter the following information: • In the Vlan ID field, enter 200. • In the IP Address field, enter 192.168.200.1. • In the Network Mask field, enter 255.255.255.0. c. Click Unit 1. The ports display. d.
Page 176
Managed Switches Add a static route with IP address 192.268.40.0/24: a. Select Routing > Routing Table > Basic > Route Configuration. A screen similar to the following displays. b. Under Configure Routes, make the following selection and enter the following information: •...
Page 177
Managed Switches Create an ACL with ID 101. a. Select Security > ACL > Advanced > IP ACL. A screen similar to the following displays. b. In the IP ACL Table, in the IP ACL ID field, enter 101. c. Click Add. Create an ACL with ID 102.
Page 178
Managed Switches A screen similar to the following displays. b. Under IP Extended Rules, in the ACL ID list, select 101. c. Click Add. A screen similar to the following displays. d. Under Extended ACL Rule Configuration (100-199), enter the following information and make the following selections: •...
Page 179
Managed Switches A screen similar to the following displays. b. Under IP Extended Rules, in the ACL ID list, select 102. c. Click Add. A screen similar to the following displays. d. Under Extended ACL Rule Configuration (100-199), enter the following information and make the following selections: •...
Page 180
Managed Switches A screen similar to the following displays. b. Under Binding Configuration, specify the following: • In the ACL ID list, select 101. • In the Sequence Number field, enter 1. c. Click Unit 1. The ports display. d. Click the gray box under port 44. A check mark displays in the box. e.
Page 181
Managed Switches Configuring the Switch B Create VLAN 40 with IP address 192.168.40.1/24. a. Select Routing > VLAN > VLAN Routing Wizard. A screen similar to the following displays. b. Enter the following information: • In the Vlan ID field, enter 40. •...
Page 182
Managed Switches c. Click Unit 1. The ports display. d. Click the gray box under port 25 twice until U displays. The U specifies that the egress packet is untagged for the port. e. Click Apply to save VLAN 50. Create VLAN 200 with IP address 192.168.200.2/24.
Page 183
Managed Switches b. Under Configure Routes, make the following selections and enter the following information: • Select Static in the Route Type field. • In the Network Address field, enter 192.168.100.0. • In the Subnet Mask field, enter 255.255.255.0. • In the Next Hop IP Address field, enter 192.168.200.1.
Managed Switches Use ACLs to Configure Isolated VLANs on a Layer 3 Switch This example shows how to isolate VLANs on a Layer 3 switch by using ACLs. In this example, PC 1 is in VLAN 24, PC 2 is in VLAN 48, and the server is in VLAN 38. PC 1 and PC 2 are isolated by an ACL but can both access the server.
Page 186
(Netgear Switch) (Config)#ip route default 10.100.5.252 Create ACL 101 to deny all traffic that has the destination IP address 192.168.24.0/24. (Netgear Switch) (Config)#access-list 101 deny ip any 192.168.24.0 0.0.0.255 Create ACL 102 to deny all traffic that has the destination IP address 192.168.48.0/24.
Managed Switches Deny all traffic with the destination IP address 192.168.48.0/24, and permit all other traffic. (Netgear Switch) (Config)#interface 1/0/24 (Netgear Switch) (Interface 1/0/24)#ip access-group 102 in 1 (Netgear Switch) (Interface 1/0/24)#ip access-group 103 in 2 (Netgear Switch) (Interface 1/0/24)#exit Deny all traffic with the destination IP address 192.168.24.0/24, and permit all other traffic.
Page 188
Managed Switches A screen similar to the following displays. b. Enter the following information: • In the Vlan ID field, enter 48. • In the IP Address field, enter 192.168.48.1. • In the Network Mask field, enter 255.255.255.0. c. Click Unit 1. The ports display. d.
Page 189
Managed Switches e. Click Apply to save VLAN 38. Enable IP routing: a. Select Routing > IP > Basic > IP Configuration. A screen similar to the following displays. b. Under IP Configuration, make the following selections: • For Routing Mode, select the Enable radio button. •...
Page 190
Managed Switches A screen similar to the following displays. b. In the IP ACL Table, in the IP ACL ID field, enter 102. c. Click Add. Create an ACL with ID 103. a. Select Security > ACL > Advanced > IP ACL. A screen similar to the following displays.
Page 191
Managed Switches A screen similar to the following displays. b. Under IP Extended Rules, in the ACL ID field, select 101. c. Click Add. A screen similar to the following displays. d. Under Extended ACL Rule Configuration (100-199), enter the following information and make the following selections: •...
Page 192
Managed Switches A screen similar to the following displays. b. Under IP Extended Rules, in the ACL ID field, select 102. c. Click Add. A screen similar to the following displays. d. Under Extended ACL Rule Configuration (100-199), enter the following information and make the following selections: •...
Page 193
Managed Switches A screen similar to the following displays. b. Under IP Extended Rules, in the ACL ID field, select 103. c. Click Add. A screen similar to the following displays. d. Under Extended ACL Rule Configuration (100-199), enter the following information and make the following selections: •...
Page 194
Managed Switches A screen similar to the following displays. b. Under Binding Configuration, make the following selection and enter the following information: • In the ACL ID field, select 102. • In the Sequence Number field, enter 1. c. Click Unit 1. The ports display. d.
CLI: Set up a MAC ACL with Two Rules Create a new MAC ACL acl_bpdu. (Netgear Switch) # (Netgear Switch) #config (Netgear Switch) (Config)#mac access-list extended acl_bpdu Deny all the traffic that has destination MAC 01:80:c2:xx:xx:xx. (Netgear Switch) (Config-mac-access-list)#deny any 01:80:c2:00:00:00 00:00:00:ff:ff:ff...
(Netgear Switch) (Config-mac-access-list)#exit Apply the MAC ACL acl_bpdu to port 1/0/2. (Netgear Switch) (Config)#interface 1/0/2 (Netgear Switch) (Interface 1/0/2)#mac access-group acl_bpdu in Web Interface: Set up a MAC ACL with Two Rules Create MAC ACL 101 on the switch. a. Select Security > ACL > MAC ACL.
Page 197
Managed Switches A screen similar to the following displays. a. In the ACL Name field, select acl_bpdu. b. In the Action field, select Deny. c. Enter the following information in the Rule Table. • In the ID field, enter 1. •...
Managed Switches c. Click the Add button. Apply the ACL acl_bpdu to port 2. a. Select Security > ACL > MAC ACL > MAC Binding Configuration. A screen similar to the following displays. b. Enter the following information in the MAC Binding Configuration. •...
Create an IP access control list with the name monitorHost. (Netgear Switch) (Config)# ip access-list monitorHost Define the rules to match host 10.0.0.1 and to permit all others. (Netgear Switch) (Config-ipv4-acl)# permit ip 10.0.0.1 0.0.0.0 any mirror 1/0/19 (Netgear Switch) (Config-ipv4-acl)# permit every ACLs...
Page 200
Managed Switches Bind the ACL with interface 1/0/1. (Netgear Switch) (Interface 1/0/1)#ip access-group monitorHost in 1 View the configuration. (Netgear Switch) # show ip access-lists Current number of ACLs: 1 Maximum number of ACLs: 100 ACL ID/Name Rules Direction Interface(s)
Managed Switches Web Interface: Configure ACL Mirroring Create an IP access control list with the name monitorHost on the switch. a. Select Security > ACL > Advanced > IP ACL. A screen similar to the following displays. b. In the IP ACL ID field, enter monitorHost. c.
Page 202
Managed Switches A screen similar to the following displays. b. Click Add. A screen similar to the following displays. c. In the Rule ID field, enter 1. d. For Action, select the Permit radio button. e. In the Mirror Interface list, select 1/0/19. f.
Page 203
Managed Switches A screen similar to the following displays. b. Click Add. A screen similar to the following displays. c. In the Rule ID field, enter 2. d. Select the Permit radio button. e. In the Match Every field, select True. f.
Managed Switches Bind the ACL with interface 1/0/1. a. Select Security > ACL > Advanced > IP Binding Configuration. A screen similar to the following displays. b. In the Sequence Number field, enter 1. c. In the Port Selection Table, click Unit 1 to display all the ports for the device. d.
(Netgear Switch) (Config)#ip access-list redirectHTTP Define a rule to match the HTTP stream and define a rule to permit all others. (Netgear Switch) (Config-ipv4-acl)# permit tcp any any eq http redirect 1/0/19 (Netgear Switch) (Config-ipv4-acl)# permit every Bind the ACL with interface 1/0/1.
Managed Switches Web Interface: Redirect a Traffic Stream This example redirects the HTTP traffic stream received in port 1/0/1 to port 1/0/19. Create an IP access control list with the name redirectHTTP. a. Select Security > ACL > Advanced > IP ACL. A screen similar to the following displays.
Page 207
Managed Switches A screen similar to the following displays. b. Click Add. A screen similar to the following displays. c. In the Rule ID field, enter 1. d. In the protocol field, select www-http. e. For Action, select the Permit radio button. f.
Page 208
Managed Switches A screen similar to the following displays. b. Click Add. A screen similar to the following displays. c. In the Rule ID field, enter 2. d. For Action, select the Permit radio button. e. In the Match Every field, select True. f.
(Netgear Switch) (Config)#ip access-list acl_voice Add a remark before you add a rule. (Netgear Switch) (Config-ipv4-acl)#remark "permit VOIP packets whose DSCP is EF" (Netgear Switch) (Config-ipv4-acl)#permit ip any any dscp ef (Netgear Switch) (Config-ipv4-acl)#remark "deny all of other packets" (Netgear Switch)
Create an IP ACL named voice_acl without specifying a sequence number. (Netgear Switch) #config (Netgear Switch) (Config)#ip access-list voice_acl (Netgear Switch) (Config-ipv4-acl)#permit ip any any dscp cs5 (Netgear Switch) (Config-ipv4-acl)#permit ip any any dscp ef (Netgear Switch) (Config-ipv4-acl)#deny ip any any...
Page 211
ACL rules. In the following example, the start sequence number is 1000 and the sequence increment number is 100. (Netgear Switch) (Config)#ip access-list resequence voice_acl 1000 100 (Netgear Switch) (Config)#show ip access-lists voice_acl ACL Name: voice_acl Sequence Number: 1000 Action.........
900 at the first position. The new rule drops all packets that arrive from IP address 192.168.1.1. (Netgear Switch) #config (Netgear Switch) (Config)#ip access-list voice_acl (Netgear Switch) (Config-ipv4-acl)#900 deny ip 192.168.1.1 255.255.255.0 any (Netgear Switch) (Config-ipv4-acl)#exit (Netgear Switch) (Config)#exit (Netgear Switch) #show ip access-lists voice_acl...
Permit any host to access the managed VLAN IP address of 169.254.100.100 through a Telnet or HTTP connection: (Netgear Switch) (Config)#ip access-list acl_for_cpu (Netgear Switch) (Config-ipv4-acl)#permit tcp any 169.254.100.100 0.0.0.0 eq telnet (Netgear Switch) (Config-ipv4-acl)#deny tcp any any eq http (Netgear Switch) (Config-ipv4-acl)#permit tcp any 169.254.100.100 0.0.0.0 eq http...
Page 214
Managed Switches Note that the order of the rules is important: When a packet matches multiple rules, the first rule takes precedence. Also, once you define an ACL for a given port, all traffic not specifically permitted by the ACL is denied access. Interface 1/0/1 Switch 2001:0DB8:c0ab:ac11::/64...
2001:DB8:C0AB:AC14::/64 (Netgear Switch) (Config-ipv6-acl)# permit tcp 2001:DB8:C0AB:AC11::/64 2001:DB8:C0AB:AC13::/64 eq telnet (Netgear Switch) (Config-ipv6-acl)# permit tcp 2001:DB8:C0AB:AC11::/64 any eq http Apply the rules to inbound traffic on port 1/0/1. Only traffic matching the criteria will be accepted. (Netgear Switch) (Config)#interface 1/0/1...
Page 217
Managed Switches A screen similar to the following displays. c. Click Add. A screen similar to the following displays. Define the first rule (1 of 3). a. Select Security > ACL > Advanced > IPv6 Rules. ACLs...
Page 218
Managed Switches A screen similar to the following displays. b. In the ACL Name list, select ipv6-acl. c. Click Add. A screen similar to the following displays. d. In the Rule ID field, enter 1. e. For Action, select the Permit radio button. f.
Page 219
Managed Switches A screen similar to the following displays. b. In the ACL Name list, select ipv6-acl. c. Click Add. A screen similar to the following displays. d. In the Rule ID field, enter 2. e. For Action, select the Permit radio button. f.
Page 220
Managed Switches A screen similar to the following displays. b. In the ACL Name list, select ipv6-acl. c. Click Add. A screen similar to the following displays. d. In the Rule ID field, enter 3. e. For Action, select the Permit radio button. f.
Page 221
Managed Switches A screen similar to the following displays. f. Click the Apply button. View the binding table. Select Security > ACL > Advanced > Binding Table. A screen similar to the following displays. ACLs...
CoS Queuing C l a ss of S e r vi ce q u e ui ng This chapter describes Class of Service (CoS) queue mapping, CoS Configuration, and traffic shaping features. The chapter includes the following sections: • CoS Queuing Concepts •...
Managed Switches CoS Queuing Concepts Each port has one or more queues for packet transmission. During configuration, you can determine the mapping and configuration of these queues. Based on the service rate and other criteria you configure, queues provide preference to specified packets.
Managed Switches Untrusted Ports • No incoming packet priority designation is trusted; therefore, the default priority value for the port is used. • All ingress packets from untrusted ports, where the packet is classified by an ACL or a DiffServ policy, are directed to specific CoS queues on the appropriate egress port. That specific CoS queue is determined by either the default priority of the port or a DiffServ or ACL-assigned queue attribute.
The example is shown as CLI commands and as a web interface procedure. CLI: Show classofservice Trust To use the CLI to show CoS trust mode, use these commands: (Netgear Switch) #show classofservice trust? <cr> Press Enter to execute the command.
Enter the minimum bandwidth percentage for Queue 0. (Netgear Switch) (Config)#cos-queue min-bandwidth 15 Incorrect input! Use 'cos-queue min-bandwidth <bw-0>..<bw-7>. (Netgear Switch) (Config)#cos-queue min-bandwidth 15 25 10 5 5 20 10 10 (Netgear Switch) (Config)#cos-queue strict? <queue-id> Enter a Queue Id from 0 to 7.
Page 227
Managed Switches A screen similar to the following displays. b. In the Queue ID list, select 0. c. Under Interface Queue Configuration, scroll down and select the interface 1/0/2 check box. Now 1/0/2 appears in the Interface field at the top. d.
Sets the Class of Service Trust Mode of an Interface to 802.1p. ip-dscp Sets the Class of Service Trust Mode of an Interface to IP DSCP. (Netgear Switch) (Interface 1/0/3)#classofservice trust dot1p? <cr> Press Enter to execute the command. (Netgear Switch) (Interface 1/0/3)#classofservice trust dot1p Note: The traffic class value range is 0–-6 instead of 0–-7 because queue 7...
CLI: Configure traffic-shape (Netgear Switch) (Config)#traffic-shape? <bw> Enter the shaping bandwidth percentage from 0 to 100 in increments of 5. (Netgear Switch) (Config)#traffic-shape 70? <cr> Press Enter to execute the command. (Netgear Switch) (Config)#traffic-shape 70 (Netgear Switch) (Config)# Web Interface: Configure Traffic Shaping Set the shaping bandwidth percentage to 70 percent.
DiffServ D i f fere n t i a te d Se r vi ces This chapter includes the following sections: • Differentiated Services Concepts • DiffServ • DiffServ for VoIP • Auto VoIP • DiffServ for IPv6 • Color Conform Policy •...
Managed Switches Differentiated Services Concepts Differentiated services (DiffServ) is one technique for implementing Quality of Service (QoS) policies. Using DiffServ in your network allows you to directly configure the relevant parameters on the switches and routers rather than using a resource reservation protocol.This section explains how to configure the switch to identify which traffic class a packet belongs to, and how it should be handled to provide the quality of service you want.
Figure 25. Class B subnet with differentiated services The example is shown as CLI commands and as a web interface procedure. CLI: Configure DiffServ Ensure that the DiffServ operation is enabled for the switch. (Netgear Switch) #config (Netgear Switch) (Config)#diffserv DiffServ...
Page 233
Create a DiffServ class of type all for each of the departments, and name them. Define the match criteria of source IP address for the new classes. (Netgear Switch) (Config)#class-map match-all finance_dept (Netgear Switch) (Config class-map)#match srcip 172.16.10.0 255.255.255.0 (Netgear Switch) (Config class-map)#exit (Netgear Switch) (Config)#class-map match-all marketing_dept (Netgear Switch) (Config class-map)#match srcip 172.16.20.0 255.255.255.0...
Page 234
It is presumed that the switch will forward this traffic to interface 1/0/5 based on a normal destination address lookup for Internet traffic. (Netgear Switch) (Config)#interface 1/0/5 (Netgear Switch) (Interface 1/0/5)#cos-queue min-bandwidth 0 25 25 25 25 0 0 0 (Netgear Switch) (Interface 1/0/5)#exit (Netgear Switch) (Config)#exit...
Managed Switches Web Interface: Configure DiffServ Enable Diffserv. a. Select QoS > DiffServ > Basic > DiffServ Configuration. A screen similar to the following displays. b. For Diffserv Admin Mode, select the Enable radio button. c. Click Apply to save the settings. Create the class finance_dept.
Page 236
Managed Switches A screen similar to the following displays. e. Under Diffserv Class Configuration, enter the following information: • In the Source IP Address field, enter 172.16.10.0. • In the Source Mask field, enter 255.255.255.0. f. Click Apply. Create the class marketing_dept: a.
Page 237
Managed Switches A screen similar to the following displays. e. Under Diffserv Class Configuration, enter the following information: • In the Source IP Address field, enter 172.16.20.0. • In the Source Mask field, enter 255.255.255.0. f. Click Apply. Create the class test_dept: a.
Page 238
Managed Switches A screen similar to the following displays. e. Under Diffserv Class Configuration, enter the following information: • In the Source IP Address field, enter 172.16.30.0. • In the Source Mask field, enter 255.255.255.0. f. Click Apply. Create class development_dept. a.
Page 239
Managed Switches A screen similar to the following displays. e. Under Diffserv Class Configuration, enter the following information: • In the Source IP Address field, enter 172.16.40.0. • In the Source Mask field, enter 255.255.255.0. f. Click Apply. Create a policy named internet_access and add the class finance_dept to it. a.
Page 240
Managed Switches A screen similar to the following displays. b. Under Policy Configuration, scroll down and select the internet_access check box. internet_access now appears in the Policy Selector field at the top. c. In the Member Class list, select marketing_dept. d.
Page 241
Managed Switches A screen similar to the following displays. b. Under Policy Configuration, scroll down and select the internet_access check box. Now internet_access appears in the Policy Selector field at the top. c. In the Member Class list, select development_dept. d.
Page 242
Managed Switches A screen similar to the following displays. c. In the Assign Queue list, select 1. d. Click Apply. Assign queue 2 to marketing_dept. a. Select QoS > DiffServ > Advanced > Policy Configuration. A screen similar to the following displays. b.
Page 243
Managed Switches A screen similar to the following displays. c. In the Assign Queue list, select 2. d. Click Apply. Assign queue 3 to test_dept. a. Select QoS > DiffServ > Advanced > Policy Configuration. A screen similar to the following displays. b.
Page 244
Managed Switches A screen similar to the following displays. c. In the Assign Queue list, select 3. d. Click Apply. Assign queue 4 to development_dept. a. Select QoS > DiffServ > Advanced > Policy Configuration. A screen similar to the following displays. b.
Page 245
Managed Switches A screen similar to the following displays. c. In the Assign Queue list, select 4. d. Click Apply. Attach the defined policy to interfaces 1/0/1 through 1/0/4 in the inbound direction. a. Select QoS > DiffServ > Advanced > Service Configuration. A screen similar to the following displays.
Page 246
Managed Switches A screen similar to the following displays. b. Scroll down and select the Interface 1/0/5 check box. Now 1/0/5 appears in the Interface field at the top. c. In the Queue ID list, select 1. d. In the Minimum Bandwidth field, enter 25. e.
Page 247
Managed Switches A screen similar to the following displays. b. Under Interface Queue Configuration, scroll down and select the interface 1/0/5 check box. Now 1/0/5 appears in the Interface field at the top. c. In the Queue ID list, select 3. d.
Enter Global configuration mode. Set queue 5 on all ports to use strict priority mode. This queue will be used for all VoIP packets. Activate DiffServ for the switch. (Netgear Switch) #config (Netgear Switch) (Config)#cos-queue strict 5 (Netgear Switch) (Config)#diffserv DiffServ...
Page 249
(Netgear Switch) (Config)#class-map match-all class_ef (Netgear Switch) (Config class-map)#match ip dscp ef (Netgear Switch) (Config class-map)#exit Create a DiffServ policy for inbound traffic named pol_voip, then add the previously created classes class_ef and class_voip as instances within this policy.
Managed Switches Web Interface: Diffserv for VoIP Set queue 5 on all interfaces to use strict mode. a. Select QoS > CoS > Advanced > CoS Interface Configuration. A screen similar to the following displays. b. Under Interface Queue Configuration, select all the interfaces. c.
Page 251
Managed Switches A screen similar to the following displays. b. In the Class Name field, enter class_voip. c. In the Class Type list, select All. Click Add to create a new class. e. Click class_voip. A screen similar to the following displays. f.
Page 252
Managed Switches A screen similar to the following displays. b. In the Class Name field, enter class_ef. c. In the Class Type list, select All. Click Add to create a new class. e. Click class_ef. A screen similar to the following displays. f.
Page 253
Managed Switches A screen similar to the following displays. b. In the Policy Selector field, enter pol_voip. c. In the Member Class list, select class_voip. d. Click Add to create a new policy. e. Click the pol_voip whose class member is class_voip. A screen similar to the following displays.
Page 254
Managed Switches A screen similar to the following displays. b. Under Policy Configuration, scroll down and select the pol_voip check box. Pol_voip now appears in the Policy Selector field at the top. c. In the Member Class list, select class_ef in. Click Apply to add the class class_ef to the policy pol_voip.
Managed Switches A screen similar to the following displays. b. Scroll down and select the Interface 1/0/2 check box. Now 1/0/2 appears in the Interface field at the top. c. In the Policy In list, select pol_voip. d. Click Apply to create a new policy. Auto VoIP The Auto VoIP feature makes it easy to set up voice over IP (VoIP) for IP phones on a switch.
Managed Switches The ports on which you configure protocol-based Auto VoIP are made members of the voice VLAN automatically. By default, no VLAN is used for the voice VLAN. You must create a voice VLAN first. OUI-Based Auto VoIP OUI-based Auto VoIP prioritizes VoIP packets based on the bytes of the organizationally unique identifiers (OUIs) in the source MAC address.
Enable protocol-based Auto VoIP on a specific port of the switch. (Netgear Switch)(Configure)#interface 2/0/1 (Netgear Switch)(Interface 2/0/1)#auto-voip protocol-based Display the Auto VoIP information. (Netgear Switch) #show auto-voip protocol-based interface 2/0/1 VoIP VLAN Id........2 Prioritization Type......traffic-class Class Value........6...
VoIP to egress queue 4. Change the egress queue of protocol-based Auto VoIP. (Netgear Switch) (Config)#auto-voip protocol-based traffic-class 4 Display the Auto VoIP information. (Netgear Switch) #show auto-voip protocol-based interface 2/0/1 VoIP VLAN Id........2 Prioritization Type......traffic-class Class Value........4...
Assign the VoIP traffic to VLAN 5, which becomes the VoIP VLAN. (Netgear Switch) (Config)#auto-voip vlan 5 Display the protocol-based Auto VoIP information. (Netgear Switch) #show auto-voip protocol-based interface 2/0/1 VoIP VLAN Id........5 Prioritization Type......traffic-class Class Value........6...
Managed Switches Web Interface: Change the Auto VoIP VLAN Create a VLAN 5: a. Select Switching > VLAN > Basic > Vlan Configuration. A screen similar to the following displays. b. In the VLAN ID field, enter 5. c. Click Add. Assign the VoIP traffic to VLAN 5.
The script in this section shows how to prioritize ICMPv6 traffic over other IPv6 traffic. Create the IPv6 class classicmpv6. (Netgear Switch) (Config)# class-map match-all classicmpv6 ipv6 Define matching criteria as protocol ICMPv6. (Netgear Switch) (Config-classmap) # match protocol 58 (Netgear Switch) (Config-classmap) # exit Create the policy policyicmpv6.
(Netgear Switch) (Config-policy-map)# exit Attach the policy policy_icmpv6 to interfaces 1/0/1,1/0/2 and 1/0/3: (Netgear Switch) (Config)# interface 1/0/1 (Netgear Switch) (Interface 1/0/1)# service-policy in policyicmpv6 (Netgear Switch) (Interface 1/0/1)# exit (Netgear Switch) (Config)# interface 1/0/2 (Netgear Switch) (Interface 1/0/2)# service-policy in policyicmpv6...
Page 263
Managed Switches A screen similar to the following displays. d. Click Add to create the IPv6 class. A screen similar to the following displays. Define matching criteria as protocol ICMPv6. a. Select QoS > DiffServ > Advanced > IPv6 Class Configuration. A screen similar to the following displays.
Page 264
Managed Switches A screen similar to the following displays. c. Select the Protocol Type radio button, select Other, and enter 58. A screen similar to the following displays. DiffServ...
Page 265
Managed Switches d. Click the Apply button. Create the policy policyicmpv6, and associate the previously created class classicmpv6. a. Select QoS > DiffServ > Advanced > Policy Configuration. A screen similar to the following displays. b. In the Policy Name field, enter policyicmpv6. c.
Page 266
Managed Switches A screen similar to the following displays. e. Click Add. Set the attribute as assign queue 6. a. Select QoS > DiffServ > Advanced > Policy Configuration. A screen similar to the following displays. b. Click the policy policyicmpv6. c.
Page 267
Managed Switches A screen similar to the following displays. d. Click Apply. Attach the policy policyicmpv6 to interfaces 1/0/1,1/0/2 and 1/0/3. a. Select QoS > DiffServ > Advanced > Service Interface Configuration. A screen similar to the following displays. b. In the Policy Name list, select policyicmpv6. c.
Managed Switches A screen similar to the following displays. d. Click Apply. A screen similar to the following displays. Color Conform Policy This example shows how to create a policy to police the traffic to a committed rate. The packets with IP precedence value of 7 are colored green to ensure that these packets are the last to be dropped when there is congestion.
Managed Switches Apply this policy to port 1/0/13. (Netgear Switch) (Config)#interface 1/0/13 (Netgear Switch) (Interface 1/0/13)#service-policy in policy_vlan (Netgear Switch) (Interface 1/0/13)#exit (Netgear Switch) (Config)#exit Web Interface: Configure a Color Conform Policy Create a VLAN. a. Select Switching > VLAN > Basic > VLAN Configuration.
Page 271
Managed Switches d. Click the gray boxes under ports 13 and 25 until T displays. The T specifies that the egress packet is tagged for the port. e. Click Apply. Create a class class_vlan: a. Select QoS > DiffServ > Advanced > Class Configuration. A screen similar to the following displays.
Page 272
Managed Switches A screen similar to the following displays. e. Under Diffserv Class Configuration, in the VLAN field, enter 5. f. Click Apply. Create a class class_color. a. Select QoS > DiffServ > Advanced > Class Configuration. A screen similar to the following displays. b.
Page 273
Managed Switches A screen similar to the following displays. e. Under Diffserv Class Configuration, in the Precedence Value list, select 7. f. Click Apply. Create a policy policy_vlan. a. Select QoS > DiffServ > Advanced > Policy Configuration. A screen similar to the following displays. b.
Page 274
Managed Switches A screen similar to the following displays. b. Under Policy Configuration, scroll down and select the policy_vlan check box. c. In the Member Class field, enter class_vlan. d. Click Apply. Configure policy_vlan. a. Select QoS > DiffServ > Advanced > Policy Configuration. b.
Managed Switches Apply policy_vlan to interface 1/0/13. a. Select QoS > DiffServ > Advanced > Service Interface Configuration. A screen similar to the following displays. b. Under Service Interface Configuration, scroll down and select the Interface 1/0/13 check box. c. In the Policy Name list, select policy_vlan. d.
Page 276
To configure WRED Explicit Congestion Notification configuration: Create class 1 and class 2. (Netgear Switch) (Config)#class-map (Netgear Switch) (Config)#class-map match-all class1 (Netgear Switch) (Config-classmap)#match srcip 1.1.1.1 255.255.255.255 (Netgear Switch) (Config-classmap)#exit (Netgear Switch) (Config)#class-map match-all class2 (Netgear Switch) (Config-classmap)#match ip dscp 46 (Netgear Switch) (Config-classmap)#exit Create a policy and configure the conform color for class 2.
Page 277
Tail Drop Weighted Tail Drop Weighted Tail Drop Configure the queue threshold and enable ECN on queue 3. (Netgear Switch) (Config)#random-detect queue-parms 3 min-thresh 60 20 10 10 max-thresh 100 80 70 60 drop-prob 10 10 10 10 ecn DiffServ...
IGMP Snooping and Querier I n ter n e t Grou p M an ag eme nt Pro to co l fea tu re s This chapter includes the following sections: • Internet Group Management Protocol Concepts • IGMP Snooping •...
Managed Switches Internet Group Management Protocol Concepts NETGEAR implements Internet Group Management Protocol (IGMP) in the following way: • IGMP uses version 1, version 2, or version 3. • IGMP includes snooping. • By default, IGMP snooping is enabled on VLAN 1.
Managed Switches Show igmpsnooping The example is shown as CLI commands and as a web interface procedure. CLI: Show igmpsnooping (Netgear Switch) #show igmpsnooping Admin Mode........Disable Multicast Control Frame Count....0 Interfaces Enabled for IGMP Snooping... None VLANs enabled for IGMP snooping....None Web Interface: Show igmpsnooping Select Switching >...
Show mac-address-table igmpsnooping The example is shown as CLI commands and as a web interface procedure. CLI for IGMPv1 and IGMPv2: Show mac-address-table igmpsnooping (Netgear Switch) #show mac-address-table igmpsnooping ? <cr> Press Enter to execute the command. (Netgear Switch) #show mac-address-table igmpsnooping...
This example configures the interface as the one the multicast router is attached to. All IGMP packets that are snooped by the switch are forwarded to the multicast router that is reachable from this interface. (Netgear Switch)(Interface 1/0/3)# set igmp mrouter interface Web Interface: Configure the Switch with an External Multicast Router Select Switching >...
This example configures the interface to forward only the snooped IGMP packets that come from VLAN ID (<VLAN Id>) to the multicast router attached to this interface. (Netgear Switch)(Interface 1/0/3)# set igmp mrouter 2 Web Interface: Configure the Switch with a Multicast Router Using VLAN Select Switching >...
Managed Switches IGMP Querier Concepts When the switch is used in network applications where video services such as IPTV, video streaming, and gaming are deployed, the video traffic is normally flooded to all connected ports because such traffic packets usually have multicast Ethernet addresses. IGMP snooping can be enabled to create a multicast group to direct that traffic only to those users that require it.
Page 286
Managed Switches A screen similar to the following displays. b. Enter the following information: • In the VLAN ID field, enter 1. • In the Admin Mode field, select Enable. c. Click Add. Enable the IGMP snooping querier globally. a. Select Switching > Multicast > IGMP Snooping > IGMP VLAN Configuration. A screen similar to the following displays.
The example is shown as CLI commands and as a web interface procedure. CLI: Show IGMP Querier Status To see the IGMP querier status, use the following command. (Netgear Switch) #show igmpsnooping querier vlan 1 VLAN 1 : IGMP Snooping querier status ---------------------------------------------- IGMP Snooping Querier VLAN Mode....
Managed Switches Web Interface: Show IGMP Querier Status Select Switching > Multicast > IGMP Snooping > Querier Configuration. A screen similar to the following displays. Click Refresh. IGMP Snooping and Querier...
Multicast VL AN registration This chapter includes the following sections: • Multicast VLAN Registration • Configure MVR in Compatible Mode • Configure MVR in Dynamic Mode...
Managed Switches Multicast VLAN Registration The IGMP Layer 3 protocol is widely used for IPv4 network multicasting. In Layer 2 networks, the IGMP protocol uses resources inefficiently. For example, a Layer 2 switch multicast traffic to all ports even if there are receivers connected to only a few ports. To fix this problem, the IGMP snooping protocol was developed.
Managed Switches Multicast source IGMP switch SP (VLAN999) SP (VLAN 999) MVR switch RP (VLAN 1001) RP (VLAN 1003) RP (VLAN 1002) Multicast client Multicast client Multicast client Figure 31. Network configured for MVR Note: The following examples show how to configure the MVR on the MVR switch.
Managed Switches Web Interface: Configure MVR in Compatible Mode Create MVLAN 999, VLAN1 1001, VLAN2 1002 and VLAN3 1003. a. Select Switching > VLAN > Basic > VLAN Configuration. A screen similar to the following displays. b. In the VLAN ID field, enter 999, and in the VLAN Name field, enter mVlan. c.
Page 295
Managed Switches Enable MVR and multicast VLAN a. Select Switching > MVR > Basic > MVR Configuration. A screen similar to the following displays. b. For MVR Running, select Enable. c. In the MVR Multicast VLAN field, enter 999. d. Click Apply. Add multicast group 224.1.2.3 to MVR.
Page 296
Managed Switches A screen similar to the following displays. b. Under MVR Interface Configuration, scroll down and select the Interface 0/1, 0/5 and 0/7 check boxes. c. Enter the following information: • In the Admin Mode list, select Enable. • In the Type list, select Receiver.
Managed Switches After port 0/1 receive IGMP report for Multicast Group 224.1.2.3, it will be added to the MVR Group 224.1.2.3. (Netgear Switch) #show mvr members MVR Group IP Status Members --------------- --------------- ---------------------------------- 224.1.2.3 ACTIVE 0/1(d) Web Interface: Configure MVR in Dynamic Mode Create MVLAN 999, VLAN1 1001, VLAN2 1002, and VLAN3 1003.
Page 301
Managed Switches A screen similar to the following displays. g. In the VLAN ID list, select 999. h. Click Unit 1. The ports display. Click the gray boxes under port 9 until T displays. The T specifies that the egress packet is tagged for the ports.
Page 302
Managed Switches Add multicast group 224.1.2.3 to the MVR. a. Select Switching > MVR > Basic > MVR Group Configuration. A screen similar to the following displays. b. In the MVR Group IP field, enter 224.1.2.3. c. Click Add. Configure a receiver on interface 0/1, 0/5 and 0/7. a.
Page 303
Managed Switches A screen similar to the following displays. b. Under MVR Interface Configuration, scroll down and select the Interface 0/9 check box. c. Enter the following information: • In the Admin Mode list, select Enable. • In the Type list, select source. d.
Security Management Po r t s e c u ri t y feat ures This chapter includes the following sections: • Port Security Concepts • Set the Dynamic and Static Limit on Port 1/0/1 • Convert the Dynamic Address Learned from 1/0/1 to a Static Address •...
Managed Switches Port Security Concepts Port security helps to secure the network by preventing unknown devices from forwarding packets. When a link goes down, all dynamically locked addresses are freed. The port security feature offers the following benefits: • You can limit the number of MAC addresses on a given port. Packets that have a matching MAC address (secure packets) are forwarded;...
Enable port-security globally (Netgear Switch) (Config)#interface 1/0/1 (Netgear Switch) (Interface 1/0/1)#port-security Enable port-security on port 1/0/1 (Netgear Switch) (Interface 1/0/1)#port-security max-dynamic 10 Set the dynamic limit to 10 (Netgear Switch) (Interface 1/0/1)#port-security max-static 3 Set the static limit to 3...
The example is shown as CLI commands and as a web interface procedure. CLI: Convert the Dynamic Address Learned from 1/0/1 to the Static Address (Netgear Switch)(Interface 1/0/1)#port-security mac-address move Convert the dynamic address learned from 1/0/1 to the static address (Netgear Switch)(Interface 1/0/1)#exit...
Select the Convert Dynamic Address to Static check box. Click Apply to save the settings. Create a Static Address The example is shown as CLI commands and as a web interface procedure. CLI: Create a Static Address (Netgear Switch) (Interface 1/0/1)#port-security mac-address 00:13:00:01:02:03 Security Management...
Managed Switches Web Interface: Create a Static Address Select Security > Traffic Control > Port Security > Static MAC address. A screen similar to the following displays. Under Port List, in the Interface list, select 1/0/1. In the Static MAC Address section of the screen, enter the following information: •...
Managed Switches Web Interface: Configure a Protected Port to Isolate Ports on the Switch Create a DHCP pool: Note: This example assumes that the DHCP service is enabled. For information about how to enable the DHCP service, see the web interface procedure in Configure a DHCP Server in Dynamic Mode page 466.
Page 313
Managed Switches Configure a VLAN and include ports 1/0/23 and 1/0/24 in the VLAN: a. Select Routing > VLAN > VLAN Routing Wizard. A screen similar to the following displays. b. Enter the following information: • In the Vlan ID field, enter 192. •...
Page 314
Managed Switches d. Click the gray box under port 48 twice until U displays. The U specifies that the egress packet is untagged for the port. e. Click Apply to save the VLAN that includes port 48. Enable IP routing: a.
Managed Switches A screen similar to the following displays. b. Under Protected Ports Configuration, click Unit 1. The ports display. • Click the gray box under port 23. A check mark displays in the box. • Click the gray box under port 24. A check mark displays in the box. c.
Managed Switches Configure an accounting server. (Netgear Switch) (Config)#radius accounting mode (Netgear Switch) (Config)#radius server host acct 10.100.5.17 Configure the shared secret between the accounting server and the client. (Netgear Switch) (Config)#radius server key acct 10.100.5.17 Enter secret (16 characters max):123456...
Page 318
Managed Switches c. Enter the following information: • In the IP Address field, enter 192.168.1.1. • In the Subnet Mask field, enter 255.255.255.0. • In the Routing Mode field, select Enable. d. Click Apply to save the settings. Assign IP address 10.100.5.33/24 to interface 1/0/19: a.
Page 319
Managed Switches a. Select Security > Port Authentication > Advanced > Port Authentication. A screen similar to the following displays. b. Scroll down and select the Interface 1/0/19 check box. Now 1/0/19 appears in the Interface field at the top. c.
Page 320
Managed Switches c. In the Secret Configured field, select Yes. d. In the Secret field, enter 123456. e. In the Primary Server field, select Yes. f. In the Message Authenticator field, select Enable. g. Click Add. Enable accounting. a. Select Security > Management Security > RADIUS > Radius Configuration. A screen similar to the following displays.
Managed Switches Create a Guest VLAN The guest VLAN feature allows a switch to provide a distinguished service to dot1x unaware clients (not rogue users who fail authentication). This feature provides a mechanism to allow visitors and contractors to have network access to reach an external network with no ability to surf the internal LAN.
Managed Switches Enable the guest VLAN on ports 1/0/1 and 1/0/24. (Netgear Switch) #show dot1x detail 1/0/1 Protocol Version....... 1 PAE Capabilities....... Authenticator Control Mode........auto Authenticator PAE State......Authenticated Backend Authentication State....Idle Quiet Period (secs)......60 Transmit Period (secs)......30 Guest VLAN ID........
Page 324
Managed Switches b. In the VLAN ID field, enter 2000. c. In the VLAN Type field, select Static. d. Click Add. Add ports to VLAN 2000. a. Select Switching > VLAN > Advanced > VLAN Membership. A screen similar to the following displays. b.
Page 325
Managed Switches A screen similar to the following displays. b. For Administrative Mode, select the Enable radio button. c. Click Apply to save settings. Configure the dot1x authentication list. a. Select Security > Management Security > Authentication List > Dot1x Authentication List.
Managed Switches e. Click Add. Configure the guest VLAN. a. Select Security > Port Authentication > Advanced > Port Authentication. A screen similar to the following displays. b. Scroll down and select the port 1/0/1 and 1/0/24 check boxes. c. In the Guest VLAN ID field, enter 2000. d.
Enable dot1x authentication on the switch (Netgear Switch) (Config)#dot1x system-auth-control Use the RADIUS as the authenticator. (Netgear Switch) (Config)#aaa authentication dot1x default radius Enable the switch to accept VLAN assignment by the RADIUS server. (Netgear Switch) (Config)#authorization network radius Security Management...
Page 328
Managed Switches Set the RADIUS server IP address. (Netgear Switch) (Config)#radius server host auth 192.168.0.1 Set the NAS-IP address for the RADIUS server. (Netgear Switch) (Config)#radius server key auth 192.168.0.1 Enter secret (16 characters max):12345 Re-enter secret:12345 Set the radius server key.
Managed Switches Web Interface: Assign VLANS Using RADIUS Assign the IP address for the web management interface. a. Select System > Management > Network Interface > IPv4 Network Configuration. A screen similar to the following displays. b. For Current Network Configuration Protocol, select the None radio button. c.
Page 330
Managed Switches A screen similar to the following displays. b. Under Port Authentication, scroll down and select the 1/0/6 and 1/0/12 check boxes. c. In the Control Mode list, select Force Authorized. d. Click Apply to save settings. Enable dot1x on the switch. Make sure that 1/0/12 and 1/0/6 are configured as force authorized before you do this step;...
Page 331
Managed Switches A screen similar to the following displays. b. Select the defaultList check box. c. In the 1 list, select RADIUS. d. Click Add. Configure the RADIUS authentication server. a. Select Security > Management Security > Radius > Server Configuration. A screen similar to the following displays.
Managed Switches Dynamic ARP Inspection Dynamic ARP inspection (DAI) is a security feature that rejects invalid and malicious ARP packets. The feature prevents a class of man-in-the-middle attacks, where an unfriendly station intercepts traffic for other stations by poisoning the ARP caches of its unsuspecting neighbors.
Enable DHCP snooping globally. (Netgear Switch) (Config)# ip dhcp snooping Enable DHCP snooping in a VLAN. (Netgear Switch) (Config)# ip dhcp snooping vlan 1 Configure the port through which the DHCP server is reached as trusted. (Netgear Switch) (Config)# interface 1/0/1 (Netgear Switch) (Interface 1/0/1)# ip dhcp snooping trust View the DHCP Snooping Binding table.
Managed Switches Web Interface: Configure Dynamic ARP Inspection Enable DHCP snooping globally. a. Select Security > Control > DHCP Snooping Global Configuration. A screen similar to the following displays. b. For DHCP Snooping Mode, select the Enable radio button. c. Click Apply. Enable DHCP snooping in a VLAN.
Page 335
Managed Switches Configure the port through which the DHCP server is reached as trusted. Here interface 1/0/1 is trusted. a. Select Security > Control > DHCP Snooping Interface Configuration. A screen similar to the following displays. b. Select the check box for Interface 1/0/1. c.
Page 336
Managed Switches A screen similar to the following displays. b. In the VLAN ID field, enter 1. c. In the Dynamic ARP Inspection field, select Enable. A screen similar to the following displays. d. Click Apply. A screen similar to the following displays. Now all the ARP packets received on the ports that are member of the VLAN are copied to the CPU for ARP inspection.
Managed Switches Now the ARP packets from the static client go through because the client has an entry in the ARP table. ACL ARP packets from the DHCP client go also through because the client has a DHCP snooping entry. This command can include the optional static keyword.
Managed Switches A screen similar to the following displays. Configure the ARP ACL used for VLAN 1. a. Select Security > Control > Dynamic ARP Inspection > DAI VLAN Configuration. b. In the ARP ACL Name field, enter ArpFilter. c. Click Apply. A screen similar to the following displays.
Enable DHCP snooping globally. (Netgear Switch) (Config)# ip dhcp snooping Enable DHCP snooping in a VLAN. (Netgear Switch) (Config)# ip dhcp snooping vlan 1 Configure the port through which the DHCP server is reached as trusted. (Netgear Switch) (Config)# interface 1/0/1 (Netgear Switch) (Interface 1/0/1)# ip dhcp snooping trust View the DHCP Snooping Binding table.
Managed Switches Web Interface: Configure DHCP Snooping Enable DHCP snooping globally: a. Select Security > Control > DHCP Snooping Global Configuration. A screen similar to the following displays. b. For DHCP Snooping Mode, select Enable. c. Click Apply. A screen similar to the following displays. Enable DHCP snooping in a VLAN.
Page 342
Managed Switches c. For DHCP Snooping Mode, select the Enable radio button. A screen similar to the following displays. d. Click Apply. Configure the port through which DHCP server is reached as trusted. a. Select Security > Control > DHCP Snooping Interface Configuration. A screen similar to the following displays.
Find a Rogue DHCP Server If you enable DHCP snooping, you can find a rogue DHCP server in the network. CLI: Find a Rogue DHCP server Check the statistics on the untrusted ports. (NETGEAR) #show ip dhcp snooping statistics Interface MAC Verify Client Ifc...
Control the logging DHCP messages filtration by the DHCP Snooping application for port 1/0/27. (Netgear Switch) (Interface 1/0/27)#ip dhcp snooping log-invalid Display the buffered logging output and search for “DHCP packet; op Reply” so you can determine the IP address and MAC address of the rogue DHCP server.
Page 345
Managed Switches a. The previous figure shows that the messages increased for port 1/0/27, indicating that the port is connected to a rogue DHCP server. Enable the logging of invalid packets for port 1/0/27. a. Select Security > Control > DHCP Snooping > Interface Configuration. A screen similar to the following displays.
CLI: Enter Static Binding into the Binding Database Enter the DHCP snooping static binding. (Netgear Switch) (Config)# ip dhcp snooping binding 00:11:11:11:11:11 vlan 1 192.168.10 .1 interface 1/0/2 Check to make sure that the binding database has the static entry.
The user must specify “no shutdown” on this interface to further work with that port. CLI: Configure the Maximum Rate of DHCP Messages Control the maximum rate of DHCP messages. (Netgear Switch) (Interface 1/0/2)# ip dhcp snooping limit rate 5 View the rate configured. (Netgear Switch) #show ip dhcp snooping interfaces 1/0/2...
Managed Switches A screen similar to the following displays. IP Source Guard IP Source Guard uses the DHCP snooping bindings database. When IP Source Guard is enabled, the switch drops incoming packets that do not match a binding in the bindings database.
Enable DHCP snooping globally. (Netgear Switch) (Config)# ip dhcp snooping Enable DHCP snooping in a VLAN. (Netgear Switch) (Config)# ip dhcp snooping vlan 1 Configure the port through which the DHCP server is reached as trusted. (Netgear Switch) (Config)# interface 1/0/1 (Netgear Switch) (Interface 1/0/1)# ip dhcp snooping trust View the DHCP Snooping Binding table.
Managed Switches Web Interface: Configure Dynamic ARP Inspection Enable DHCP snooping globally. a. Select Security > Control > DHCP Snooping Global Configuration. A screen similar to the following displays. b. For DHCP Snooping Mode, select the Enable radio button. c. Click Apply. Enable DHCP snooping in a VLAN.
Page 351
Managed Switches A screen similar to the following displays. Configure the port through which the DHCP server is reached as trusted. Here interface 1/0/1 is trusted. a. Select Security > Control > DHCP Snooping Interface Configuration. A screen similar to the following displays. b.
Page 352
Managed Switches A screen similar to the following displays. Enable IP source guard in the interface 1/0/2. a. Select Security > Control > IP Source Guard > Interface Configuration. b. Select the Interface 1/0/2 check box. c. For the IPSG mode, select Enable. d.
Any change in a user command authorization access list takes effect after a user has logged on and logged in again. The vendor-specific attribute netgear-cmdAuth is defined as follows: VENDOR netgear...
Page 354
:local HTTP :local DOT1X Create a command authorization list and configure TACACS as the authorization. (Netgear Switch)(Config)#aaa authorization commands "commandList" tacacs Configure command and privileged EXEC authorization for Telnet. (Netgear Switch)(Config)#line telnet (Netgear Switch)(Config-telnet) #authorization commands commandList (Netgear Switch)(Config-telnet) #exit (Netgear Switch)(Config) #exit Configure a TACACS+ server.
Page 355
Managed Switches Verify that command and privileged EXEC authorization are set up for Telnet. (Netgear Switch)#show authorization methods Command Authorization Method Lists ------------------------------------- dfltCmdAuthList none commandlist tacacs Line Command Method List --------- --------------------- Console dfltCmdAuthList Telnet commandlist dfltCmdAuthList Exec Authorization Method Lists...
RADIUS server for a Telnet user and deny the user to access specific commands. Configure a RADIUS server on the switch. (Netgear Switch) #config (Netgear Switch) (Config)#radius server host auth 172.26.2.41 (Netgear Switch) (Config)#radius server key auth 172.26.2.41 Enter secret (64 characters max):12345678...
Page 357
:local HTTP :local DOT1X Create a command authorization list and configure RADIUS as the authorization. (Netgear Switch)(Config)# aaa authorization commands commandList radius Configure command authorization list for Telnet. Netgear Switch) (Config)#line telnet (Netgear Switch) (Config-telnet)#authorization commands commandList (Netgear Switch) (Config-telnet)#exit...
Page 358
Exec Method List --------- --------------------- Console dfltExecAuthList Telnet dfltExecAuthList dfltExecAuthList Using Linux on the RADIUS server, configure NETGEAR as the vendor and 4526 as the vendor-specific value in the dictionary file for FreeRADIUS. VENDOR netgear 4526 BEGIN-VENDOR netgear ATTRIBUTE netgear-cmdAuth-deny string...
The following example shows how to use the CLI to configure command authorization by a TACACS+ server for a Telnet user and allow the user to access privileged EXEC mode directly. Change the authentication mode for Telnet users to TACACS. (Netgear Switch)(Config)#aaa authentication login "networkList" tacacs Security Management...
Page 360
HTTPS :local HTTP :local DOT1X Create an EXEC authorization list and configure TACACS as the authorization. (Netgear Switch)(Config)#aaa authorization exec "execList" tacacs Configure EXEC authorization for Telnet. (Netgear Switch)(Config)#line telnet (Netgear Switch)(Config-telnet)#authorization exec execList (Netgear Switch)(Config-telnet)#exit Security Management...
Page 361
Managed Switches Verify that EXEC authorization is set up for Telnet. (Netgear Switch) #show authorization methods Command Authorization Method Lists ------------------------------------- dfltCmdAuthList none commandlist tacacs Line Command Method List --------- --------------------- Console dfltCmdAuthList Telnet dfltCmdAuthList dfltCmdAuthList Exec Authorization Method Lists...
RADIUS server for a Telnet user and allow the user to access privileged EXEC mode directly. Configure a RADIUS server on the switch. (Netgear Switch) #config (Netgear Switch) (Config)#radius server host auth 172.26.2.41 (Netgear Switch) (Config)#radius server key auth 172.26.2.41 Enter secret (64 characters max):12345678 Re-enter secret:12345678 Change the authentication mode for Telnet users to RADIUS.
Page 363
Managed Switches Configure EXEC authorization for Telnet. (Netgear Switch) (Config)#line telnet (Netgear Switch) (Config-telnet)# authorization exec execList (Netgear Switch) (Config-telnet)#exit Verify that EXEC authorization is set up for Telnet. (Netgear Switch) #show authorization methods Command Authorization Method Lists ------------------------------------- dfltCmdAuthList...
(Netgear Switch)(Config)#radius server key acct 10.100.5.13 Enter secret (64 characters max):12345678 Re-enter secret:12345678 (Netgear Switch)(Config)#radius accounting mode (Netgear Switch)(Config)#aaa accounting exec default stop-only radius (Netgear Switch)#show radius Number of Configured Authentication Servers..0 Number of Configured Accounting Servers..1 Number of Named Authentication Server Groups... 0 Number of Named Accounting Server Groups..
Managed Switches Use the Authentication Manager to Set Up an Authentication Method List The authentication manager lets you configure an authentication method list, which you can apply on a per-port basis. If authentication is disabled, no authentication method is applied and the port provides open access.
Managed Switches Configure a Dot1x–MAB Authentication Method List with Dot1x–MAB Priority Note: This section describes how to configure the authentication order and priority. For information about configuring the dot1x authentication method, which is also referred to as 802.1x port security, see 802.1x Port Security on page 315.
Managed Switches The CLI command to enable authentication is as follows. (Netgear Switch)#configure (Netgear Switch)(Config)#authentication enable Configure a Dot1x–MAB Authentication Method List with MAB–Dot1x Priority Note: This section describes how to configure the authentication order and priority. For information about configuring the MAB authentication...
Page 369
At the expiration of the timer, the authentication manager restarts the authentication process for the first method in the list. The CLI command to enable authentication is as follows. (Netgear Switch)#configure (Netgear Switch)(Config)#authentication enable Security Management...
DAC by generating a DM or CoA message. A NETGEAR switch can detect these messages on UDP port number 3799. When a NETGEAR switch receives a disconnect message or a CoA message, the following occurs: •...
Page 371
Configure the switch’s IP address (172.26.2.145 on VLAN 1). The switch functions as the Dynamic Authorization Server (DAS). (Netgear Switch) #config (Netgear Switch) (Config)#interface vlan 1 (Netgear Switch) (Interface vlan 1)#ip address 172.26.2.145 /24 Configure the RADIUS server. (Netgear Switch) #config (Netgear Switch) (Config)#radius server host auth 172.26.2.20 (Netgear Switch) (Config)#radius server key auth 172.26.2.20...
Managed Switches If the authentication is successful, the session displays in the output of the show login sessions command. Disconnect the user from the DAC. [root@localhost raddb]# cat /usr/local/etc/raddb/test.txt | radclient -x 172.26.2.145:3799 disconnect 12345678 IPv6 Stateless RA Guard Spoof attacks can occur on routed protocols. When you operate an IPv6 network in a shared Layer 2 network segment, the network can receive and process rogue router advertisement (RA) messages that are generated with malicious intent or are caused by an incorrect configuration of routers that are connected to the segment.
Page 373
Configure the IPv6 RA Guard feature on port 1. (Netgear Switch) (Config)#interface 1/0/1 (Netgear Switch) (Interface 1/0/1)#ipv6 nd raguard attach-policy (Netgear Switch) (Interface 1/0/1)#exit (Netgear Switch) (Config)#exit Display the configuration of the IPv6 RA Guard feature on port 1/0/1.
MAC Authentication Bypass This chapter includes the following sections: • MAC Authentication Bypass Concepts • Configure MAC Authentication Bypass on a Switch • Configure a Network Policy Server on a Microsoft Windows Server 2008 R2 or Later Server • Configure an Active Directory on a Microsoft Windows Server 2008 R2 or Later Server •...
Managed Switches MAC Authentication Bypass Concepts MAC Authentication Bypass (MAB) provides 802.1X-unaware clients controlled access to the network by using the MAC address of the client device as the identifier. MAB has the following requirements: • You must preconfigure the known and allowable MAC addresses and corresponding access rights in the authentication server.
Page 376
Managed Switches 1. Traffic from an unknown client The switch learns the MAC address 2. EAPoL Request Identity message (30 seconds) 3. EAPoL Request Identity message (30 seconds) 4. EAPoL Request Identity message (30 seconds) 5. EAPoL time-out and MAB initiation (30 seconds) 6.
(Netgear Switch) (Config)#dot1x system-auth-control Configure RADIUS to authenticate 802.1X users. (Netgear Switch) (Config)#aaa authentication dot1x default radius Configure the switch to communicate with the Microsoft network policy server. In this example, the Microsoft network policy server IP address is 10.1.10.46. The shared key on the switch and the RADIUS server must match.
Page 378
To reduce the MAB authentication time, decrease the time of guest VLAN period. (Netgear Switch) #config (Netgear Switch) (Config)#interface 1/0/10 (Netgear Switch) (Interface 1/0/10)#dot1x timeout guest-vlan-period 1 Web Interface: Configure the Switch to Perform MAB with a Microsoft Network Policy Server Enable 802.1X authentication on the switch:...
Page 379
Managed Switches Configure the switch to communicate with the Microsoft network policy server. In this example, the IP address of the Microsoft network policy server is 10.1.10.46. The shared key between the switch and the server must match. a. Select Security > Management Security > RADIUS > Server Configuration. A screen similar to the following displays.
Page 380
Managed Switches The table heading displays the information for port 0/1. c. Configure the following settings: • From the Control Mode menu, select Force Authorized. • From the MAB menu, select Disable. Leave all other settings on the screen at their default value. d.
Managed Switches Configure a Network Policy Server on a Microsoft Windows Server 2008 R2 or Later Server Enable EAP-MD5 support. WARNING: Serious problems can occur if you modify the registry incorrectly by using the Registry Editor or by using another method. These problems might require that you reinstall your Microsoft operating system.
Page 382
Managed Switches b. Configure the following settings: • In the Friendly name field, enter the switch name (in this example, enter M4100-D12G). • In the Address (IP or DNS) field, enter the IP address of the switch that connects to the network policy server (in this example, enter 10.1.10.50. •...
Page 383
Managed Switches c. Select the Policy enabled check box. d. From the Type of network access server menu, select Unspecified. Leave the Vendor specific radio button cleared. e. Click the Apply button. f. Click the Conditions tab. The screen adjusts.
Page 384
Managed Switches g. Configure the NAS Port Type field as Ethernet. h. Click the Apply button. Click the Settings tab. The screen adjusts.
Page 385
Managed Switches Select the Override Network policy authentication settings check box. k. Under the EAP Types field, click the Add button. From the menu, select MD5-Challenge. m. Click the OK button. MD5-Challenge is added to the EAP Types field. n. From the EAP Types field, select MD5-Challenge. o.
Page 386
Managed Switches c. Select the Policy enabled check box. d. Select the Grant access radio button. e. From the Type of network access server menu, select Unspecified. Leave the Vendor specific radio button cleared. f. Click the Apply button. g. Click the Conditions tab. The screen adjusts.
Page 387
Managed Switches h. Configure the NAS Port Type field as Ethernet. Click the Apply button. Click the Constraints tab. The screen adjusts.
Page 388
Managed Switches k. Under the EAP Types field, click the Add button. From the menu, select MD5-Challenge. m. Click the OK button. MD5-Challenge is added to the EAP Types field. n. From the EAP Types field, select MD5-Challenge. o. Click the Apply button. p.
Managed Switches q. Select all four encryption check boxes, including the No encryption check box. r. Click the Apply button. Configure an Active Directory on a Microsoft Windows Server 2008 R2 or Later Server Create a user account with the following settings: •...
Managed Switches Select the Password never expires check box. Select the Store password using reversible encryption check box. Click the Apply button. Create a Password Settings Object (PSO) as described at the following Microsoft website: http://technet.microsoft.com/en-us/library/cc754461(v=ws.10).aspx. Use the default setting for all the attributes except for the following setting: msDS-PasswordComplexityEnabled = FALSE.
Change the guest VLAN period timer to 10 seconds using the CLI: (Netgear Switch) #config (Netgear Switch) (Config)# interface 1/0/1 (Netgear Switch) (Interface 1/0/1)#dot1x timeout guest-vlan-period 10 Web Interface: Reduce the Authentication Time for MAB Change the guest VLAN period timer to 10 seconds using the web interface: Select Security >...
Page 392
SNTP S i m p l e N et work Tim e Pro to co l This chapter includes the following sections: • Simple Network Time Protocol Concepts • Show SNTP (CLI Only) • Configure SNTP • Set the Time Zone (CLI Only) •...
The example is shown as CLI commands and as a web interface procedure. CLI: Configure SNTP NETGEAR switches do not have a built-in real-time clock. However, it is possible to use SNTP to get the time from a public SNTP/NTP server over the Internet. You may need permission from those public time servers.
Page 395
The client mode can be either broadcast mode or unicast mode. If the NTP server is not your own, you must use unicast mode. (Netgear Switch) (Config)#sntp client mode unicast When the SNTP client mode is enabled, the client waits for the polling interval to send the query to the server.
Managed Switches Web Interface: Configure SNTP Configure the SNTP server. a. Select System > Management >Time > SNTP Server Configuration. A screen similar to the following displays. b. Enter the following information: • In the Server Type field, select IPV4. •...
The example is shown as CLI commands and as a web interface procedure. CLI: Set the Named SNTP Server NETGEAR provides SNTP servers accessible by NETGEAR devices. Because NETGEAR might change IP addresses assigned to its time servers, it is best to access an SNTP server by DNS name instead of using a hard-coded IP address.
A screen similar to the following displays. b. Enter the following information: • In the Server Type list, select DNS. • In the Address field, enter time-f.netgear.com • In the Port field, enter 123. • In the Priority field, enter 1.
Page 399
Managed Switches b. Enter the following information: • For DNS Status, select the Enable radio button • In the DNS Server field, enter 192.168.1.1. c. Click Add. SNTP...
Page 400
Tools To o l s to ma na ge , moni to r, a nd p e rso n a li ze t h e s w itch a nd ne two r k This chapter includes the following sections: •...
In this example, the packet takes 16 hops to reach its destination. CLI: Traceroute (Netgear Switch) #traceroute? <ipaddr> Enter IP address. (Netgear Switch) #traceroute 216.109.118.74 ? <cr> Press Enter to execute the command. <port> Enter port no. (Netgear Switch) #traceroute 216.109.118.74 tracing route over a maximum of 20 hops 10.254.24.1...
Managed Switches Web Interface: Traceroute Select Maintenance > Troubleshooting > Traceroute. A screen similar to the following displays. Use this screen to specify that the switch must discover the routes that packets actually take when traveling to their destination through the network on a hop-by-hop basis. Once you click the Apply button, the switch sends three traceroute packets to each hop and the results are displayed in the result table.
On your computer, use Notepad to create a banner.txt file that contains the banner to be displayed. Login Banner - Unauthorized access is punishable by law. Transfer the file from the PC to the switch using TFTP. (Netgear Switch) #copy tftp://192.168.77.52/banner.txt nvram:clibanner Mode........... TFTP Set TFTP Server IP......192.168.77.52 TFTP Path......../ TFTP Filename........
Managed Switches Web Interface: Specify the Source (Mirrored) Ports and Destination (Probe) Select Monitoring > Mirroring > Port Mirroring. A screen similar to the following displays. Next to Admin Mode field, select the True radio button. From the Destination Port menu, select 1/0/3. Scroll down and select the check box to the left of interface 1/0/2.
Managed Switches RSPAN VLAN Reflected port 1/0/ Switch 1 1/0/23 1/0/24 1/0/23 Switch 4 1/0/24 1/0/3 Switch 3 1/0/4 1/0/1 Switch 2 Source port Destination port Figure 44. Example of an RSPAN topology In the previous figure, Switch 1 is the source switch, Switch 2 and Switch 3 are intermediate switches, and Switch 4 is the destination switch.
Such cases will require user intervention to correct the problem, by using appropriate stacking commands. CLI: Download a Backup Image and Make It Active (Netgear Switch) #copy tftp://192.168.0.1/switch.stk image2 Mode........... TFTP Set Server IP........192.168.0.1 Path........../ Filename........
From the Transfer Mode menu, select TFTP. e. From the Server Address Type menu, select IPv4. f. In the Server Address field, enter 10.100.5.17(tftp server IP address). g. In the Remote File Name, enter M4200.stk. h. Click the Apply button. Your settings are saved.
Managed Switches Activate image2. a. Select Maintenance > File Management > Dual Image Configuration. A screen similar to the following displays. b. Under Dual Image Configuration, select the check box next image 2. The Image name field in the table heading displays image 2. c.
Displays the protocols to use for outgoing connections from a line. (Netgear Switch) (Line)#transport output ? telnet Allow or disallow new telnet sessions. (Netgear Switch) (Line)#transport output telnet ? <cr> Press Enter to execute the command. (Netgear Switch) (Line)#transport output telnet (Netgear Switch) (Line)# Web Interface: Configure Telnet Select Security >...
Under Outbound Telnet, for Admin Mode, select the Enable radio button. Click the Apply button. Your settings are saved. CLI: Configure the Session Limit and Session Time-out (Netgear Switch) (Line)#session-limit ? <0-5> Configure the maximum number of outbound telnet sessions allowed.
Managed Switches Error Disablement and Automatic Error Recovery The switch supports interface error disablement, also referred to as Diagnostic Disable (D-Disable), and error autorecovery of the disabled interface. If the switch detects an error condition for an interface, it places the interface in a diagnostic-disabled (error-disabled) state by shutting down the interface.
Page 418
(Netgear Switch) #config (Netgear Switch) (Config)#errdisable recovery cause udld Change the time-out interval for autorecovery. (Netgear Switch) #config (Netgear Switch) (Config) #errdisable recovery interval 30 Display the status of autorecovery for all features. (Netgear Switch) #show errdisable recovery Errdisable Reason...
(if the configured action is to shut down the port). The following example shows how you can enable loop protection on ports 1/0/1 and 1/0/2: Enable loop protection globally. (Netgear Switch) (Config) #keepalive Tools...
The following example shows how you can install a new configuration on a switch by using the Nondisruptive Configuration Management feature: Download the file with the new configuration to switch. (Netgear Switch) # Copy tftp://172.26.2.21/new_config.scr nvram:script new_config.scr Merge the new configuration with the current configuration. (Netgear Switch) # Reload configuration new_config.scr Save the changes.
For USB mode, you need a USB sticker plugged into the USB slot on the front panel. (Netgear Switch) (Config) #exception protocol tftp Configure the IP address for the NFS or TFTP server. (Netgear Switch) (Config) #exception dump tftp-server 172.26.2.100 Change the name of the dump file. The file name is formed as follows: •...
Syslog Sy stem l o gg i n g This chapter includes the following sections: • Syslog Concepts • Show Logging • Show Logging Buffered • Show Logging Traplogs • Show Logging Hosts • Configure Logging for a Port • Email Alerting...
Sequence number Figure 45. Log Files Show Logging The example is shown as CLI commands and as a web interface procedure. CLI: Show Logging (Netgear Switch) #show logging Logging Client Local Port CLI Command Logging disabled Console Logging disabled Console Logging Severity Filter :...
Managed Switches Web Interface: Show Logging Configure the syslog. a. From the main menu, select Monitoring > Logs > Sys Log Configuration. A screen similar to the following displays. b. In the Syslog Configuration, next to the Admin Status, select the Enable radio button.
Page 425
Managed Switches b. Under Console Log Configuration, for Admin Status, select the Disable radio button. c. Click Apply. Configure the buffer logs. a. Select Monitoring > Logs > Buffer Logs. A screen similar to the following displays. b. Under Buffer Logs, for Admin Status, select the Enable radio button. c.
Managed Switches Show Logging Buffered The example is shown as CLI commands and as a web interface procedure. CLI: Show Logging Buffered (Netgear Switch) #show logging buffered ? <cr> Press Enter to execute the command. (Netgear Switch) #show logging buffered...
Select Monitoring > Logs > Buffer Logs. A screen similar to the following displays. Show Logging Traplogs The example is shown as CLI commands and as a web interface procedure. CLI: Show Logging Traplogs (Netgear Switch) #show logging traplogs <cr> Press Enter to execute the command.
Select Monitoring > Logs > Trap Logs. A screen similar to the following displays. Show Logging Hosts The example is shown as CLI commands and as a web interface procedure. CLI: Show Logging Hosts (Netgear Switch) #show logging hosts ? <cr> Press Enter to execute the command. (Netgear Switch) #show logging hosts...
Syslog Configuration. (Netgear Switch) (Config)#logging host ? <hostaddress> Enter Logging Host IP Address reconfigure Logging Host Reconfiguration remove Logging Host Removal (Netgear Switch) (Config)#logging host 192.168.21.253 ? <cr> Press Enter to execute the command. <port> Enter Port Id Syslog...
Managed Switches Email Alerting Email alerting is an extension of the logging system. The logging system allows you to configure a set of destinations for log messages. This feature adds the email configuration, through which the log messages are sent to a configured SMTP server such that an administrator can receive the log in an email account of their choice.
Managed Switches CLI: Send Log Messages to admin@switch.com Using Account aaaa@netgear.com Configure an SMTP server, for example, smtp.netgear.com. Before you configure the SMTP server, you need to have an account on SMTP server. (Netgear Switch) (Config)#mail-server "smtp.netgear.com" port 465 (Netgear Switch) (Mail-Server)#security tlsv1...
M a n a g e s w i tc h s ta c k s This chapter describes the concepts and recommended operating procedures to manage NETGEAR stackable managed switches that are running release 12.0 or a newer release. This chapter includes the following sections: •...
Managed Switches Switch Stack Management and Connectivity You manage the switch stack through the stack master. You cannot manage stack members on an individual basis. To access the stack master, use either a serial connection to the switch master’s console port or a Telnet connection to the IP address of the stack. You can use these methods to manage switch stacks: •...
The switch with the highest stack member priority value Note: NETGEAR recommends assigning the highest priority value to the switch that you prefer to be the stack master. This ensures that the switch is re-elected as stack master if a re-election occurs.
Install and Power-up a Stack Many switch models include a Hardware Installation Guide with information about rack mounting and stack cabling. Compatible Switch Models NETGEAR stackable managed switches include the following models: • M4300-28G • M4300-52G...
Install the switches in a rack. Install all stacking cables, including the redundant stack link. NETGEAR highly recommends that you install a redundant link between the switches. Identify the switch to be the master and power it up. Monitor the console port.
In that situation, the output of the show switch command shows a code (firmware) mismatch error. Note: NETGEAR recommends that you schedule the firmware upgrade when there is no excessive network traffic (such as a broadcast event). ...
Managed Switches b. Attempt again to copy the firmware to the units that did not get updated by issuing the copy command in stack configuration mode. After the firmware is loaded to all members of the stack, reset all the switches The new firmware takes effect.
Managed Switches Stack Switches Using a 10G Copper Port This example shows how to stack two switches at close range. Switch B Switch A 1/0/28 2/0/28 Figure 48. Connect switches through their 10G copper ports To set up a stack between two switches: Using a Cat6e Ethernet cable, connect a 10G copper port on one switch with a 10G copper port on the other switch.
Ethernet Ethernet Link Down (Netgear Switch) # (Netgear Switch) #config (Netgear Switch) (Config)#stack (Netgear Switch) (Config-stack)#stack-port 2/0/28 stack (Netgear Switch) (Config-stack)#exit (Netgear Switch) (Config)#exit (Netgear Switch)#exit (Netgear Switch) #reload Management switch has unsaved changes. Would you like to save them now? (y/n) y Config file 'startup-config' created successfully.
Page 442
Ethernet Ethernet Link Down (Netgear Switch) # (Netgear Switch) #config (Netgear Switch) (Config)#stack (Netgear Switch) (Config-stack)#stack-port 1/0/28 stack (Netgear Switch) (Config-stack)#exit (Netgear Switch) (Config)#exit (Netgear Switch)#exit (Netgear Switch) #reload Management switch has unsaved changes. Would you like to save them now? (y/n) y Config file 'startup-config' created successfully.
Managed Switches Web Interface: Configure the 10G Copper Ports as Stack Ports On Switch A, configure a stack port as an Ethernet port. a. Select System > Stacking > Advanced > Stack Port Configuration. A screen similar to the following displays. b.
Managed Switches b. Scroll down and select the 1/0/28 check box. c. In the Configured Stack Mode menu, select Stack. d. Click Apply to save the settings. Reboot the switch. a. Select Maintenance > Reset > Device Reboot. A screen similar to the following displays. b.
Managed Switches Preconfigure any new switches. Power off all new switches that must join the stack. CAUTION: If you cable one or more powered-on switches to the stack, the existing stack and the new switches assume that two stacks are merging. They elect a single, new stack master, and you cannot specify which switch becomes the new master.
Managed Switches CAUTION: If the switch stack is not cabled correctly, removing powered-on stack members might cause the switch stack to divide (that is, partition) into two or more switch stacks, each with the same configuration. Make sure that the switch stack is cabled correctly. Disconnect the stack cables.
No other stack members become the stack master. Note: NETGEAR does not recommend this scenario. Stack master election specifically • Connect two switches through their The stack member with the determined by the stack member stack ports.
Managed Switches Table 2. Switch stack master scenarios (continued) Scenario Action Result Add a stack member. • Power off the new switch The stack master is retained. The new switch is added to the • Through their stack ports, connect the switch stack.
• If specific numbering is required, NETGEAR recommends that you assign stack members their numbers when they are first installed and configured in the stack. •...
Managed Switches To renumber stack members, issue the following CLI command: (Netgear Switch) (Config)#switch 3 renumber 2 All the switches in the stack will be reset to perform Manager unit renumbering and the configuration of Manager switch interfaces will be cleared.
To mover the stack master to a different unit number, issue the following CLI command: (Netgear Switch) (Config)#stack (Netgear Switch) (Config-stack)#movemanagement 1 2 Web Interface: Move the Stack Master to a Different Unit Select System > Management > Basic > Stack Configuration.
SNMP S i m p l e N et work Ma nag e me nt Pro to co l This chapter includes the following sections: • Add a New Community • Enable SNMP Trap • SNMP Version 3 • sFlow •...
The example is shown as CLI commands and as a web interface procedure. CLI: Add a New Community (Netgear switch) #config (Netgear switch) (Config)#snmp-server community rw public@4 Web Interface: Add a New Community Select System > SNMP > SNMP V1/V2 > Community Configuration.
CLI: Enable SNMP Trap This example shows how to send SNMP trap to the SNMP server. (Netgear switch) #config (Netgear switch) (Config)# snmptrap public 10.100.5.17 Enable send trap to SNMP server 10.100.5.17 (Netgear switch) (Config)#snmp-server traps linkmode Enable send link status to the SNMP server when link status changes.
Password Changed! change the password to “12345678” (Netgear Switch) (Config)#users snmpv3 authentication admin md5 Set the authentication mode to md5 (Netgear Switch) (Config)#users snmpv3 encryption admin des 12345678 Set the encryption mode to des and the key is “12345678” SNMP...
Managed Switches Web Interface: Configure SNMPv3 Change the user password. If you set the authentication mode to MD5, you must make the length of password longer than 8 characters. a. Select Security > Management Security > User Configuration > User Management.
Managed Switches sFlow sFlow is the standard for monitoring high-speed switched and routed networks. sFlow technology is built into network equipment and gives complete visibility into network activity, enabling effective management and control of network resources. The sFlow monitoring system consists of an sFlow agent (embedded in a switch or router or in a standalone probe) and a central sFlow collector.
Configure the sFlow receiver timeout. Here sFlow samples will be sent to this receiver for the duration of 31536000 seconds. That is approximately 1 year. (Netgear Switch) (Config)# sflow receiver 1 owner NetMonitor timeout 31536000 Here, the default maximum datagram size is 1400. It can be modified to a value between 200 and 9116 using the command sflow receiver 1 maxdatagram <size>.
Managed Switches View the sampling port configurations. (Netgear Switch)) #show sflow samplers Sampler Receiver Packet Max Header Data Source Index Sampling Rate Size ----------- --------------- ----------------- ------------------ 1/0/1 1024 Web Interface: Configure Statistical Packet-based Sampling with sFlow Configure the sFlow receiver IP address.
Configure the sampling port sFlow receiver index, and polling interval. You need to repeat this for all the ports to be polled. (Netgear Switch) (Config)# interface 1/0/1 (Netgear Switch) (Interface 1/0/1)# sflow poller 1 (Netgear Switch) (Interface 1/0/1)# sflow poller interval View the polling port configurations.
Managed Switches Web Interface: Configure Time-Based Sampling of Counters with sFlow Configure the sampling ports sFlow receiver index, and polling interval: Select Monitoring > sFlow > Advanced > sFlow Interface Configuration. Select the Interface 1/0/1 check box. In the Poller Interval field, enter 300. A screen similar to the following displays.
D o m a i n N am e Sy stem This chapter includes the following sections: • Domain Name System Concepts • Specify Two DNS Servers • Manually Add a Host Name and an IP Address...
DNS servers) and to resolve an IP address using the DNS server. The example is shown as CLI commands and as a web interface procedure. CLI: Specify Two DNS Servers (Netgear Switch)#config (Netgear Switch) (Config)#ip name-server 12.7.210.170 219.141.140.10 (Netgear Switch) (Config)#ip domain-lookup (Netgear Switch) (Config)#exit (Netgear Switch)#ping www.netgear.com Send count=3, Receive count=3 from 206.82.202.46...
Select System > Management > DNS > Host Configuration. A screen similar to the following displays. Under DNS Host Configuration, enter the following information: • In the Host Name field, enter www.netgear.com. • In the IP Address field, enter 206.82.202.46. Click Add.
DHCP Server D y n a m i c H ost Con fi g ura ti o n Pro to co l S e r ve r This chapter includes the following sections: • Dynamic Host Configuration Protocol Concepts • Configure a DHCP Server in Dynamic Mode •...
Managed Switches Web Interface: Configure a DHCP Server in Dynamic Mode Create VLAN 200. a. Select Switching > VLAN > Basic > VLAN Configuration. A screen similar to the following displays. b. Under VLAN Configuration, in the VLAN ID field, enter 200. c.
Page 468
Managed Switches A screen similar to the following displays. b. Under Port PVID Configuration, scroll down and select the 1/0/1 check box. c. In the PVID (1 to 4093) field, enter 200. d. Click Apply to save the settings. Create a new DHCP pool. a.
CLI commands and as a Web interface procedure. CLI: Configure a DHCP Server that Assigns a Fixed IP Address (Netgear Switch)#config (Netgear Switch) (Config)#service dhcp (Netgear Switch) (Config)#ip dhcp pool pool_manual (Netgear Switch) (Config)#client-name dhcpclient (Netgear Switch) (Config)#hardware-address 00:01:02:03:04:05 (Netgear Switch) (Config)#host 192.168.200.1 255.255.255.0...
Managed Switches Web Interface: Configure a DHCP Server that Assigns a Fixed IP Address Select System > Services > DHCP Server > DHCP Server Configuration. A screen similar to the following displays. For Admin Mode, select the Enable radio button. Click Apply to enable the DHCP service.
Page 471
Managed Switches • In the Hardware Type list, select ethernet. • In the Host Number field, enter 192.168.200.1. • In the Network Mask field, enter 255.255.255.0. As an alternate, you can enter 24 in the Network Prefix Length field. • In the Days field, enter 1.
DHCPv6 Server D y n a m ic Ho s t Con f i g ura ti on Pro to co l ve rs io n 6 S e r ve r This chapter includes the following sections: • Dynamic Host Configuration Protocol Version 6 Concepts •...
Managed Switches Dynamic Host Configuration Protocol Version 6 Concepts Dynamic Host Configuration Protocol version 6 (DHCPv6) for IPv6 is used to assign IPv6 addresses statefully and distribute other configuration information such as domain name or DNS server. DHCPv6 supports stateful address allocation, prefix delegation, and stateless services. This chapter describes how to configure the prefix delegation mode using a DHCPv6 pool.
Page 476
Managed Switches A screen similar to the following displays. b. For IPv6 Unicast Routing, select the Enable radio button. c. Click Apply to save the settings. Enable IPv6 address on interface 1/0/9. a. Select Routing > IPv6 > Advanced > Interface Configuration. A screen similar to the following displays.
Page 477
Managed Switches A screen similar to the following displays. b. In the Interface list, select interface 1/0/9. c. In the Ipv6 Prefix field, enter 2001:1::1. d. In the Prefix Length field, select 64. e. Click Add. The IPv6 prefix for interface 1/0/9 is created. Enable the DHCPv6 server configuration.
Page 478
Managed Switches A screen similar to the following displays. b. In the Pool Name list, select Create. c. In the Pool Name field, enter pool1. d. Click Apply to save the settings. Configure the prefix in the pool1. a. Select System > Services > DHCPv6 Server > DHCPv6 Pool Configuration. A screen similar to the following displays.
CLI: Configure a Stateless DHCPv6 Server Enable IPv6 routing. (Netgear Switch) (Config)#ipv6 unicast-routing Create an IPv6 pool with a DNS server and enable the DHCPv6 service. (Netgear Switch) (Config)#ipv6 dhcp pool ipv6_server (Netgear Switch) (Config-dhcp6s-pool)#dns-server 2011:9:18::1 (Netgear Switch) (Config-dhcp6s-pool)#exit (Netgear Switch) (Config)#service dhcpv6...
Page 481
Managed Switches A screen similar to the following displays. b. Scroll down and select the 2/0/21 check box to the left of the Interface column. 2/0/21 displays in the Interface field of the table heading. c. In the IPv6 Mode field, select Enable. d.
Page 482
Managed Switches A screen similar to the following displays. b. For Admin Mode, select the Enable radio button. c. Click Apply to save the settings. Create a DHCPv6 pool. a. Select System > Services > DHCP Server > DHCPv6 Pool Configuration. A screen similar to the following displays.
CLI: Configure a Stateful DHCPv6 Server Enable IPv6 routing. (Netgear Switch) (Config)#ipv6 unicast-routing Create an IPv6 pool with a DNS server and enable the DHCPv6 service. (Netgear Switch) (Config)#ipv6 dhcp pool ipv6_server (Netgear Switch) (Config-dhcp6s-pool)#address prefix 2001:1:2::/64 (Netgear Switch) (Config-dhcp6s-pool)#exit (Netgear Switch) (Config)#service dhcpv6...
(Netgear Switch) (Config)#interface 1/0/1 (Netgear Switch) (Interface 1/0/1)#routing (Netgear Switch) (Interface 1/0/1)#ipv6 address 2001:1:2::1/64 (Netgear Switch) (Interface 1/0/1)#ipv6 enable (Netgear Switch) (Interface 1/0/1)#ipv6 dhcp server ipv6_server (Netgear Switch) (Interface 1/0/1)#exit Web Interface: Configure a Stateful DHCPv6 Server Enable ipv6 routing.
Page 485
Managed Switches A screen similar to the following displays. b. Select the 1/0/1 check box to the left of the Interface column. 1/0/1 displays in the Interface field of the table heading. c. In the IPv6 Mode field, select Enable. d.
Page 486
Managed Switches A screen similar to the following displays. b. For Admin Mode, select the Enable radio button. c. Click Apply to save the settings. Create the DHCPv6 pool. a. Select System > Services > DHCP Server > DHCPv6 Pool Configuration. A screen similar to the following displays.
Page 487
Managed Switches A screen similar to the following displays. b. In Pool Name list, select ipv6_server. c. In the Prefix field, enter 2001:1:2::. d. In the Prefix Length field, enter 64. e. Click Add. Enable the DHCPv6 pool on interface 1/0/1. a.
DVLANs and Private VLANs D o u b l e VL A NS a n d p ri vate V L A N g ro ups This chapter includes the following sections: • Double VLANs • Private VLAN Groups...
1/0/24. This example assumes that a Layer 2 switch connects all these devices in your domain. The Layer 2 switch tags the packet going to the NETGEAR switch port 1/0/24. The example is shown as CLI commands and as a web interface procedure.
Add interface 1/0/24 to VLAN 200, add pvid 200 to port. (Netgear Switch) #config (Netgear Switch) (Config)#interface 1/0/24 (Netgear Switch) (Interface 1/0/24)#vlan pvid 200 (Netgear Switch) (Interface 1/0/24)#vlan participation include 200 (Netgear Switch) (Interface 1/0/24)#exit Add interface 1/0/48 to the VLAN 200 in a tagging mode. (Netgear Switch) (Config)#interface 1/0/48...
Page 494
Managed Switches b. Under VLAN Configuration, enter the following information: • In the VLAN ID field, enter 200. • In the VLAN Name field, enter vlan200. • In the VLAN Type field, select Static. c. Click Add. Add ports 24 and 48 to VLAN 200. a.
Page 495
Managed Switches d. Click Apply to save the settings. Configure port 48 as the provider service port: a. Select Switching > VLAN > Advanced > Port DVLAN Configuration. A screen similar to the following displays. b. Scroll down and select the Interface 1/0/48 check box. Now 1/0/48 appears in the Interface field at the top.
Managed Switches Private VLAN Groups The private VLAN group allows you to create groups of users within a VLAN that cannot communicate with members in different groups but only within the same group. There are two modes for the private group. The mode can be either isolated or community. When in isolated mode, the member port in the group cannot forward its egress traffic to any other members in the same group.
(Netgear Switch) (Interface 1/0/17)#exit Create a VLAN 200 and include 1/0/6,1/0/7, 1/0/16, and 1/0/17. (Netgear Switch) (Config)# (Netgear Switch) (Config)#private-group name group1 1 mode community Create a private group in community mode. (Netgear Switch) (Config)#private-group name group2 2 mode isolated Create a private group in isolated mode.
Managed Switches Add 1/0/16 and 1/0/7 to the private group 1. (Netgear Switch) (Config)#interface range 1/0/16-1/0/17 (Netgear Switch) (conf-if-range-1/0/16-1/0/17)#switchport private-group 2 Add 1/0/16 and 1/0/7 to the private group 2. (Netgear Switch) (conf-if-range-1/0/16-1/0/17)#exit Web Interface: Create a Private VLAN Group Create VLAN 200.
Page 499
Managed Switches A screen similar to the following displays. b. Under VLAN Membership, in the VLAN ID list, select 200. c. Click Unit 1. The ports display. d. Click the gray boxes under ports 6, 7, 16 and 17 until U displays. The U specifies that the egress packet is untagged for the port.
Page 500
Managed Switches A screen similar to the following displays. b. In the Group Name field, enter group1. c. In the Group ID field, enter 1. d. In the Group Mode list, select community. e. Click Add. Add port 6 and 7 to group1. a.
Page 501
Managed Switches A screen similar to the following displays. b. In the Group Name field, enter group2. c. In the Group ID field, enter 2. d. In the Group Mode field, select isolated. e. Click Add. Add ports 16 and 17 to group2. a.
S p a n n i n g Tree Protoco l This chapter includes the following sections: • Spanning Tree Protocol Concepts • Configure Classic STP (802.1d) • Configure Rapid STP (802.1w) • Configure Multiple STP (802.1s) • Configure PVSTP and PVRSTP...
Click Apply. Configure Rapid STP (802.1w) The example is shown as CLI commands and as a web interface procedure. CLI: Configure Rapid STP (802.1w) (Netgear switch) (Config)# spanning-tree (Netgear switch) (Config)# spanning-tree mode rstp (Netgear switch) (Interface 1/0/3)# spanning-tree port mode...
Managed Switches Web Interface: Configure Rapid STP (802.1w) Enable 802.1w on the switch: a. Select Switching > STP > STP Configuration. A screen similar to the following displays. b. Enter the following information: • For Spanning Tree Admin Mode, select the Enable radio button. •...
Managed Switches Web Interface: Configure Multiple STP (802.1s) Enable 802.1s on the switch. a. Select Switching > STP > STP Configuration. A screen similar to the following displays. b. Enter the following information: • For Spanning Tree Admin Mode, select the Enable radio button. •...
Managed Switches c. Configure MST ID 2. • In the MST ID field, enter 2. • In the Priority field, enter 4096. • In the VLAN Id field, enter 11. • Click Add. • In the VLAN Id field, enter 12. •...
Page 509
Managed Switches If you enable PVSTP or PVRSTP on a switch, all other spanning tree modes on the switch become disabled. The difference between Multiple Spanning Tree Protocol (MSTP) and PVSTP or PVRSTP lies primarily in the way that the protocol maps spanning tree instances to VLANs: PVSTP or PVRSTP creates a spanning tree instance for each VLAN, whereas MSTP maps one or more VLANs to each Multiple Spanning Tree (MST) instance.
Ensure that ports 1/0/1 and 1/0/2 are in VLAN 1002 in tagged mode because BPDU packets for PVSTP are transmitted in tagged packets. Enable PVSTP. (Netgear Switch) #config (Netgear Switch) (Config)#spanning-tree mode pvst Note: After you enable PVSTP (or PVRSTP) globally, PVSTP (or PVRSTP) is applied to VLANs automatically.
Page 511
(Netgear Switch) (Config)#spanning-tree backbonefast To enable the switch to be elected as the root in VLAN 1000, set the PVSTP priority to 0. (Netgear Switch) (Config)#spanning-tree vlan 1000 priority 0 CLI: Configure PVSTP on Switch 2 Ensure that ports 1/0/1 and 1/0/2 are in VLAN 1002 in tagged mode because BPDU packets for PVSTP are transmitted in tagged packets.
Page 512
Managed Switches Verify the PVSTP status. (Netgear Switch) #show spanning-tree vlan 1002 VLAN 1002 Spanning-tree enabled protocol pvst RootID Priority 33770 Address 6C:B0:CE:19:AE:3D Cost Port This switch is the root Hello Time 2 Sec Max Age 20 sec Forward Delay 15 sec...
Managed Switches Web Interface: Configure PVSTP You must configure PVSTP on Switch 1 and Switch 2. This example assumes that all switches can support PVSTP. Web Interface: Configure PVSTP on Switch 1 Ensure that ports 1/0/1 and 1/0/2 are in VLAN 1002 in tagged mode because BPDU packets for PVSTP are transmitted in tagged packets.
Page 514
Managed Switches b. From the VLAN ID menu, select 1002. The roles of ports 1/0/1 and 1/0/2 display. To enable the switch to be elected as the root, change the PVST priority to lower value (for example, 0). a. Select Switching > STP > Advanced > PVST VLAN. A screen similar to the following displays.
Page 515
Managed Switches The settings for VLAN ID 1002 display in the fields in the table heading. c. In the Priority field, enter 0. d. Click Apply. Web Interface: Configure PVSTP on Switch 2 Ensure that ports 1/0/1 and 1/0/2 are in VLAN 1002 in tagged mode because BPDU packets for PVSTP are transmitted in tagged packets.
Page 516
Managed Switches b. From the VLAN ID menu, select 1002. The roles of ports 1/0/1 and 1/0/2 display.
Tunnels for IPv6 6 i n 4 t u n ne ls an d 6to4 t unne ls This chapter includes the following sections: • Tunnel Concepts • Create a 6in4 Tunnel • Create a 6to4 Tunnel...
Managed Switches Tunnel Concepts Two methods exist for IPv6 sites to communicate with each other over the IPv4 network: 6in4 tunnel and 6to4 tunnel. The 6in4 tunnel encapsulates IPv6 traffic over an explicitly configured IPv4 destination or end port of the tunnel with the IP protocol number set to 41. The 6to4 tunnel IPv6 prefix is constructed by prepending 2002 (hexadecimal) to the global IPv4 address.
Page 521
Managed Switches Enable IPv6 forwarding and unicast routing on the switch. a. Select Routing > IPv6 > Basic> Global Configuration. A screen similar to the following displays. b. For IPv6 Unicast Routing, select the Enable radio button. c. For IPv6 Forwarding, select the Enable radio button. d.
Page 522
Managed Switches A screen similar to the following displays. b. In the Tunnel ID list, select 0. c. In the Mode field, select 6-in-4-configured. d. In the Source Address field, enter 192.168.1.1. e. In the IPv6 Mode field, select Enable. f.
Page 523
Managed Switches A screen similar to the following displays. b. For IPv6 Unicast Routing, select the Enable radio button. c. For IPv6 Forwarding, select the Enable radio button. d. Click Apply. Create a routing interface and assign an IP address to it. a.
IPv4 address, which is extracted from IPv6 destination address with the prefix 2002::V4ADDR::/48. A NETGEAR switch behaves as a 6to4 border router that connects 6to4 islands (in the following figure, Switch 1 and Switch 2) to an IPv6 domain (in the following figure, Switch 3).
Page 526
(Netgear Switch) (Config)#interface tunnel 0 (Netgear Switch) (Interface tunnel 0)#ipv6 address 2002:c301:302::1/16 (Netgear Switch) (Interface tunnel 0)#ipv6 enable (Netgear Switch) (Interface tunnel 0)#tunnel mode ipv6ip 6to4 (Netgear Switch) (Interface tunnel 0)#tunnel source 195.1.3.2 (Netgear Switch) (Interface tunnel 0)#exit Configure the IPv6 address for routing port 1/0/3. The IPv6 address format is 2002:V4ADDR:Subnet::Host/64, in which V4ADDR is the source IPv4 address of the tunnel and Subnet is the subnet of 2002:V4ADDR::/64.
Page 528
Create a static IPv4 route to ensure that Switch 2 can reach Switch 1. You can also use a routing protocol such as RIP or OSPF to let Switch 2 learn the route from Switch 1. (Netgear Switch) (Config)#ip route 195.1.3.0 255.255.255.0 195.1.4.1 Verify the configuration.
Managed Switches reate a 6to4 Tunnel Web Interface: C You must configure Switch1, Switch2, and Switch 3. Web Interface: Create a 6to4 Tunnel on Switch 1 Enable IP routing on Switch 1. a. Select Routing > IP > Basic > IP Configuration. A screen similar to the following displays.
Page 531
Managed Switches Create a routing interface and assign an IP address to it. a. Select Routing > IP > Advanced > IP Interface Configuration. A screen similar to the following displays. b. Select the 1/0/1 check box for port 1/0/1. The settings for port 1/0/1 display in the fields in the table heading.
Page 532
Managed Switches The settings for port 1/0/3 display in the fields in the table heading. c. Configure the following settings: • In the IPv6 Mode field, select Enable. • In the Routing Mode field, select Enable. d. Click Apply. Configure the IPv6 address for IPv6 routing interface 1/0/3. a.
Page 533
Managed Switches b. Configure the following tunnel settings: • In the Tunnel ID field, select 0. • In the Mode field, select 6-to-4. • In the IPv6 Mode field, select Enable. • In the IPv6 Address/Prefix Length field, enter 2002:c301:302::1/16. •...
Page 534
Managed Switches • In the Next Hop IPv6 Address Type field, select Global. • In the Next Hop IPv6 Address field, enter 2002:c301:502::1. c. Click Add. Create a static route for subnet 195.1.4.0/24. a. Select Routing > Routing Table > Advanced > Route Configuration. A screen similar to the following displays.
Page 535
Managed Switches Web Interface: Create a 6to4 Tunnel on Switch 2 Enable IP routing on Switch 2. a. Select Routing > IP > Basic > IP Configuration. A screen similar to the following displays. b. For Routing Mode, select the Enable radio button. c.
Page 536
Managed Switches b. Above the table heading, Under IP Interface Configuration, click 2. c. Select the 2/0/1 check box for port 2/0/1. The settings for port 2/0/1 display in the fields in the table heading. d. Configure the following settings: •...
Page 537
Managed Switches d. Configure the following settings: • In the IPv6 Mode field, select Enable. • In the Routing Mode field, select Enable. e. Click Apply. Configure an IPv6 address for routing interface 2/0/3. a. Select Routing > IPv6 > Advanced > Prefix Configuration. A screen similar to the following displays.
Page 538
Managed Switches b. Configure the following tunnel settings: • In the Tunnel ID field, select 0. • In the Mode field, select 6-to-4. • In the IPv6 Mode field, select Enable. • In the IPv6 Address/Prefix Length field, enter 2002:c301:402::1/16. •...
Page 539
Managed Switches Web Interface: Create a 6to4 Tunnel on Switch 3 Enable IP routing on Switch 3. a. Select Routing > IP > Basic > IP Configuration. A screen similar to the following displays. b. For Routing Mode, select the Enable radio button. c.
Page 540
Managed Switches b. Above the table heading, Under IP Interface Configuration, click 2. c. Select the 2/0/1 check box for port 2/0/1. The settings for port 2/0/1 display in the fields in the table heading. d. Configure the following settings: •...
Page 541
Managed Switches Configure the IPv6 address for the IPv6 routing interface 2/0/24. a. Select Routing > IPv6 > Advanced > Prefix Configuration. A screen similar to the following displays. b. From the Interface menu, select 2/0/24. The settings for port 2/0/24 display in the fields in the table heading. c.
Page 542
Managed Switches • In the EUI64 field, select Disable. • In the Source Address field, enter 195.1.4.2. c. Click Add. d. Configure the following tunnel settings: • In the Tunnel ID field, select 0. • In the Mode field, select 6-to-4. •...
IPv6 Interface Configuration I P v 6 rou t i n g an d rou ti ng VL A Ns This chapter includes the following sections: • Create an IPv6 Routing Interface • Create an IPv6 Routing VLAN • Configure DHCPv6 Mode on the Routing Interface...
Page 546
Managed Switches A screen similar to the following displays. b. Under IPv6 Interface Configuration, scroll down and select the Interface 1/0/1 check box. Now 1/0/1 appears in the Interface field at the top. c. In the IPv6 Mode field, select Enable. d.
Managed Switches Web Interface: Create an IPv6 VLAN Routing Interface Create VLAN 500. a. Select Switching > VLAN > Basic > VLAN Configuration. A screen similar to the following displays. b. In the VLAN ID field, enter 500. c. In the VLAN Type field, select Static. d.
Page 550
Managed Switches A screen similar to the following displays. b. Under PVID Configuration, scroll down and select the Interface 1/0/1 check box. c. In the PVID (1 to 4093) field, enter 500. d. Click Apply to save the settings. Enable IPv6 forwarding and unicast routing on the switch. a.
The routing interface supports DHCPv6 mode, which can get the IPv6 address from a DHCPv6 server (address allocation). Note: Before you enable DHCPv6 mode, you must disable IPv6 unicast mode globally. CLI: Configure DHCPv6 mode on routing interface Enable IPv6 unicast globally. (Netgear Switch) (Config)#ipv6 unicast-routing IPv6 Interface Configuration...
Enable DHCPv6 on the interface 1/0/23. (Netgear Switch) (Config)#interface 1/0/23 (Netgear Switch) (Interface 1/0/23)#routing (Netgear Switch) (Interface 1/0/23)#ipv6 enable (Netgear Switch) (Interface 1/0/23)#ipv6 address dhcp (Netgear Switch) (Interface 1/0/23) Show the ipv6 address assigned from 1/0/23. (Netgear Switch) #show ipv6 interface 1/0/23 IPv6 is enabled IPv6 Prefix is ........
Page 553
Managed Switches A screen similar to the following displays. b. For IPv6 Unicast Routing, select the Enable radio button. c. Click Apply to apply the setting. Enable DHCPv6 on the interface 1/0/23. a. Select Routing > IPv6 > Advanced > Interface Configuration. A screen similar to the following displays.
Page 554
Managed Switches A screen similar to the following displays. b. Scroll down and select the interface 1/0/23. You can see the IPv6 address assigned by the DHCPv6 server. IPv6 Interface Configuration...
Protocol Independent Multicast This chapter includes the following sections: • Protocol Independent Multicast Concepts • PIM-DM • PIM-SM Note: PIM is available on the M4300 series switches only.
Managed Switches Protocol Independent Multicast Concepts The PIM protocol can be configured to operate on IPv4 and IPv6 networks. Separate CLI commands are provided for IPv4 and IPv6 operation; however, most configuration options are common to both protocols. Therefore, this section describes only IPv4 configuration; IPv6 configuration is similar to IPv4.
Page 557
Managed Switches Source IP 192.168.1.1 Port 1/0/13 Port 1/0/9 Port 1/0/10 Switch A Switch B Subnet 192.168.3.0/24 Port Port 1/0/1 1/0/11 Port Port 1/0/21 1/0/21 Subnet 192.168.6.0/24 Switch D Switch C Port 1/0/22 Port 1/0/22 Port 1/0/24 Host IP 192.168.4.2 Figure 57.
Managed Switches Web Interface: Configure PIM-DM PIM-DM on Switch A Enable IP routing on the switch. a. Select Routing > IP > Basic > IP Configuration. A screen similar to the following displays. b. For Routing Mode, select the Enable radio button. c.
Page 563
Managed Switches A screen similar to the following displays. b. Scroll down and select the Port 1/0/9 check box. Now 1/0/9 appears in the Port field at the top. Enter the following information: • In the IP Address field, enter 192.168.3.1. •...
Page 564
Managed Switches d. Click Apply to save the settings. Enable RIP on the interface 1/0/1. a. Select Routing > RIP > Advanced > Interface Configuration. A screen similar to the following displays. b. In the Interface list, select 1/0/1. c. For RIP Admin Mode, select the Enable radio button. d.
Page 565
Managed Switches A screen similar to the following displays. b. In the Interface list, select 1/0/13. c. For RIP Admin Mode, select the Enable radio button. d. Click Apply. Enable multicast globally. a. Select Routing > Multicast > Global Configuration. A screen similar to the following displays.
Page 566
Managed Switches A screen similar to the following displays. b. For PIM Protocol Type, select the PIM-DM radio button. c. For Admin Mode, select the Enable radio button. d. Click Apply. Enable PIM-DM on interfaces 1/0/1,1/0/9, and 1/0/13. a. Select Routing > Multicast > PIM > Interface Configuration. A screen similar to the following displays.
Page 567
Managed Switches PIM-DM on Switch B: Enable IP routing on the switch. a. Select Routing > IP > Basic > IP Configuration. A screen similar to the following displays. b. For Routing Mode, select the Enable radio button. c. Click Apply. Configure 1/0/10 as a routing port and assign an IP address to it.
Page 568
Managed Switches A screen similar to the following displays. b. Under IP Interface Configuration, scroll down and select the Port 1/0/11 check box. Now 1/0/11 appears in the Port field at the top. c. Enter the following information: • In the IP Address field, enter 192.168.5.1. •...
Page 569
Managed Switches A screen similar to the following displays. b. In the Interface list, select 1/0/11. c. For RIP Admin Mode, select the Enable radio button. d. Click Apply. Enable multicast globally. a. Select Routing > Multicast > Global Configuration. A screen similar to the following displays.
Page 570
Managed Switches c. For Admin Mode, select the Enable radio button. Click Apply. Enable PIM-SM on interfaces 1/0/10 and 1/0/11. a. Select Routing > Multicast > PIM > Interface Configuration. A screen similar to the following displays. b. Scroll down and select the Interface 1/0/10 and 1/0/11 check box. c.
Page 571
Managed Switches A screen similar to the following displays. b. Scroll down select the Port 1/0/21 check box. Now 1/0/21 appears in the Interface field at the top. c. Enter the following information: • In the IP Address field, enter 192.168.5.2. •...
Page 572
Managed Switches A screen similar to the following displays. b. In the Interface list, select 1/0/21. c. For RIP Admin Mode, select the Enable radio button. d. Click Apply. Enable RIP on interface 1/0/22. a. Select Routing > RIP > Advanced > Interface Configuration. A screen similar to the following displays.
Page 573
Managed Switches b. For Admin Mode, select the Enable radio button. c. Click Apply. Enable PIM-DM globally. a. Select Routing > Multicast > PIM > Global Configuration. A screen similar to the following displays. b. For PIM Protocol Type, select the PIM-DM radio button. c.
Page 574
Managed Switches PIM-DM on Switch D: Enable IP routing on the switch. a. Select Routing > IP > Basic > IP Configuration. A screen similar to the following displays. b. For Routing Mode, select the Enable radio button. c. Click Apply. Configure 1/0/21 as a routing port and assign an IP address to it.
Page 575
Managed Switches A screen similar to the following displays. b. Scroll down and select the Port 1/0/22 check box. Now 1/0/22 appears in the Interface field at the top. c. Enter the following information: • In the IP Address field, enter 192.168.6.2. •...
Page 576
Managed Switches A screen similar to the following displays. b. In the Interface list, select t 1/0/21. c. For RIP Admin Mode, select the Enable radio button. d. Click Apply. Enable RIP on interface 1/0/22. a. Select Routing > RIP > Advanced > Interface Configuration. A screen similar to the following displays.
Page 577
Managed Switches Enable multicast globally. a. Select Routing > Multicast > Global Configuration. A screen similar to the following displays. b. For Admin Mode, select the Enable radio button. c. Click Apply. Enable PIM-DM globally. a. Select Routing > Multicast > PIM > Global Configuration. A screen similar to the following displays.
Page 578
Managed Switches b. Scroll down and select the Interface 1/0/21, 1/0/22, and 1/0/24 check boxes. c. In the Admin Mode field, select Enable. d. Click Apply to save the settings. Enable IGMP globally. a. Select Routing > Multicast > IGMP > Global Configuration. A screen similar to the following displays.
Managed Switches PIM-SM Protocol-independent multicast sparse mode (PIM-SM) is used to efficiently route multicast traffic to multicast groups that can span wide area networks where bandwidth is a constraint. Source IP 192.168.1.1 Port 1/0/13 Port 1/0/10 Port 1/0/9 Switch A Switch B Subnet 192.168.3.0/24 Port...
Page 583
Managed Switches (Netgear Switch) (Config)#interface 1/0/24 (Netgear Switch) (Interface 1/0/24)#routing (Netgear Switch) (Interface 1/0/24)#ip address 192.168.4.1 255.255.255.0 (Netgear Switch) (Interface 1/0/24)#ip rip (Netgear Switch) (Interface 1/0/24)#ip igmp (Netgear Switch) (Interface 1/0/24)#ip pim (Netgear Switch) (Interface 1/0/24)#exit PIM-SM builds the multicast route table on each switch. The following tables show the routes that are built after PIM-SM switches to the source-specific tree from the shared tree.
Managed Switches Web Interface: Configure PIM-SM PIM-SM on Switch A Enable IP routing on the switch. a. Select Routing > IP > Basic > IP Configuration. A screen similar to the following displays. b. For Routing Mode, select the Enable radio button. c.
Page 585
Managed Switches A screen similar to the following displays. b. Scroll down and select the interface 1/0/9 check box. Now 1/0/9 appears in the Interface field at the top. c. Enter the following information: • In the IP Address field, enter 192.168.3.1. •...
Page 586
Managed Switches Enable RIP on interface 1/0/1. a. Select Routing > RIP > Advanced > Interface Configuration. A screen similar to the following displays. b. In the Interface field, select 1/0/1. c. For RIP Admin Mode, select the Enable radio button. d.
Page 587
Managed Switches d. Click Apply. Enable multicast globally. a. Select Routing > Multicast > Global Configuration. A screen similar to the following displays. b. For Admin Mode, select the Enable radio button. c. Click Apply. Enable PIM-SM globally. a. Select Routing > Multicast > PIM > Global Configuration. A screen similar to the following displays.
Page 588
Managed Switches A screen similar to the following displays. b. Scroll down and select the Interface 1/0/1, 1/0/9, and 1/0/13 check boxes. c. In the Admin Mode field, select Enable. d. Click Apply to save the settings. PIM-SM on Switch B: Enable IP routing on the switch.
Page 589
Managed Switches b. Scroll down and select the interface 1/0/10 check box. Now 1/0/10 appears in the Interface field at the top. c. Enter the following information: • In the IP Address field, enter 192.168.3.2. • In the Subnet Mask field, enter 255.255.255.0. •...
Page 590
Managed Switches Enable RIP on interface 1/0/11. a. Select Routing > RIP > Advanced > Interface Configuration. A screen similar to the following displays. b. In the Interface list, select 1/0/11. c. For RIP Admin Mode, select the Enable radio button. d.
Page 591
Managed Switches b. For PIM Protocol Type, select the PIM-SM radio button. c. For Admin Mode, select the Enable radio button. d. Click Apply. Enable PIM-SM on interfaces 1/0/10 and 1/0/11. a. Select Routing > Multicast > PIM > Interface Configuration. A screen similar to the following displays.
Page 592
Managed Switches A screen similar to the following displays. b. In the Interface list, select the 1/0/10. c. In the Hash Mask Length field, enter 30. d. In the Priority field, enter 7. e. Click Apply. PIM-SM on Switch C: Enable IP routing on the switch.
Page 593
Managed Switches A screen similar to the following displays. b. Scroll down and select the Port 1/0/21 check box. Now 1/0/21 appears in the Interface field at the top. c. Enter the following information: • In the IP address, enter 192.168.5.2. •...
Page 594
Managed Switches A screen similar to the following displays. b. In the Interface field, select 1/0/21. c. For RIP Admin Mode, select the Enable radio button. d. Click Apply. Enable RIP on interface 1/0/22. a. Select Routing > RIP > Advanced > Interface Configuration. A screen similar to the following displays.
Page 595
Managed Switches Enable PIM-SM globally. a. Select Routing > Multicast > PIM > Global Configuration. A screen similar to the following displays. b. For PIM Protocol Type, select the PIM-SM radio button. c. For Admin Mode, select the Enable radio button. d.
Page 596
Managed Switches A screen similar to the following displays. b. In the Interface list, select 1/0/22. c. In the Group IP field, enter 225.1.1.1. d. In the Group Mask field, enter 255.255.255.0. e. Click Add. BSR Candidate Configuration. a. Select Routing > Multicast > PIM > BSR Candidate Configuration. A screen similar to the following displays.
Page 597
Managed Switches PIM-SM on Switch D Enable IP routing on the switch. a. Select Routing > IP > Basic > IP Configuration. A screen similar to the following displays. b. For Routing Mode, select the Enable radio button. c. Click Apply. Configure 1/0/21 as a routing port and assign an IP address to it.
Page 598
Managed Switches A screen similar to the following displays. b. Scroll down and select the Port 1/0/22 check box. Now 1/0/22 appears in the Port field at the top. c. Enter the following information: • In the IP Address field, enter 192.168.6.2. •...
Page 599
Managed Switches A screen similar to the following displays. b. In the Interface list, select 1/0/21. c. For RIP Admin Mode, select the Enable radio button. d. Click Apply. Enable RIP on interface 1/0/22. a. Select Routing > RIP > Advanced > Interface Configuration. A screen similar to the following displays.
Page 600
Managed Switches A screen similar to the following displays. b. For Admin Mode, select the Enable radio button. c. Click Apply. Enable PIM-SM globally. a. Select Routing > Multicast > PIM > Global Configuration. A screen similar to the following displays. b.
Page 601
Managed Switches A screen similar to the following displays. b. Scroll down and select the Interface 1/0/21, 1/0/22, and 1/0/24 check boxes. c. In the Admin Mode field, select Enable. d. Click Apply to save the settings. Set up Candidate RP configuration. a.
Page 602
Managed Switches A screen similar to the following displays. b. In the Interface list, select 1/0/22. c. In the Hash Mask Length field, enter 30. d. In the Priority field, enter 3. e. Click Apply. Enable IGMP globally. a. Select Routing > Multicast > IGMP > Global Configuration. A screen similar to the following displays.
Page 603
Managed Switches A screen similar to the following displays. b. Under IGMP Routing Interface Configuration, scroll down and select the Interface 1/0/24 check box. c. In the Admin Mode field, select Enable. d. Click Apply to save the settings.
DHCP L2 Relay and L3 Relay D y n a m i c H ost Con fi g ura ti o n Pro to co l rel a ys This chapter includes the following sections: • DHCP L2 Relay • DHCP L3 Relay •...
Relay agent information option and broadcast the DHCP message. This section provides information about where a Layer 2 relay agent fits in and how it is used. CLI: Enable DHCP L2 Relay Enter the following commands: (Netgear Switch)#vlan database (Netgear Switch)(Vlan)#vlan 200 (Netgear Switch)(Vlan)#exit DHCP L2 Relay and L3 Relay...
Page 606
Enable the Option 82 Circuit ID field. (Netgear Switch) (Config)#dhcp l2relay circuit-id vlan 200 Enable the Option 82 Remote ID field. (Netgear Switch) (Config)#dhcp l2relay remote-id rem_id vlan 200 Enable DHCP L2 relay on port 1/0/4. (Netgear Switch) (Config)#interface 1/0/4...
Managed Switches Web Interface: Enable DHCP L2 Relay Create VLAN 200. a. Select Switching > VLAN > Basic > VLAN Configuration. A screen similar to the following displays. b. In the VLAN ID field, enter 200. c. In the VLAN Type field, select Static. d.
Page 608
Managed Switches A screen similar to the following displays. b. Scroll down and select the Interface 1/0/4, 1/0/5, and 1/0/6 check boxes. c. In the PVID (1 to 4093) field, enter 200. d. Click Apply to save the settings. Enable DHCP L2 relay on VLAN 200. a.
Managed Switches A screen similar to the following displays. b. Scroll down and select the 1/0/4, 1/0/5, and 1/0/6 check boxes. c. In the Admin Mode field, select Enable. d. Click Apply to save the settings. Enable DHCP L2 relay trust on interface 1/0/6. a.
Managed Switches DHCP server Switch functioning as a DHCP L3 relay 1/0/16 1/0/3 1/0/4 1/0/15 Figure 60. DHCP L3 relay Configure the DHCP L3 Server in a Windows Server Operating System In the Windows Server operating system, open the Server Manager. In the menu tree on the left, click Roles.
Page 611
Managed Switches In the pop-up menu, select Add Roles. The Add Roles Wizard starts. Click the Next button. DHCP L2 Relay and L3 Relay...
Page 612
Managed Switches Select the DHCP Server check box. Click the Next button. From the menu on the left, select DHCP scopes. DHCP L2 Relay and L3 Relay...
Page 613
Managed Switches Click the Add button. In the Add Scope pop-up window, enter the IP address scope information for a marketing scope. In this example, an IP address range of 10.200.1.2–10.200.1.100 is used. In the Default Gateway (optional) field, an IP address of 10.200.1.1 is used, which is the IP address of the gateway for the DHCP client.
Page 614
Managed Switches In the Add Scope pop-up window, enter the IP address scope information for a sales scope. In this example, an IP address range of 10.200.2.2–10.200.2.100 is used. In the Default Gateway (optional) field, an IP address of 10.200.2.1 is used, which is the gateway for the DHCP client.
Page 615
Managed Switches Click the Next button. Select the Disable DHCPv6 stateless mode for this server radio button. Click the Next button. DHCP L2 Relay and L3 Relay...
Page 616
Managed Switches Click the Install button. Wait for the DHCP server to be installed and the installation process to finish. Click the Close button. DHCP L2 Relay and L3 Relay...
Page 617
Managed Switches Make sure that in the Status column, the field for the DHCP server states Running. If a computer in the network must receive an IP address in the marketing scope or sales scope, the computer must include a static IP address configuration with the IP address, subnet mask, and gateway address of the gateway that is used for the marketing scope or sales scope.
Page 620
Managed Switches A screen similar to the following displays. b. Scroll down and select the Port 1/0/4 check box. c. In the IP Address field, enter 10.100.1.2. d. In the Subnet Mask field, enter 255.255.255.0. e. In the Routing Mode field, select Enable. f.
Page 621
Managed Switches A screen similar to the following displays. b. Under IP Interface Configuration, scroll down and select the Port 1/0/16 check box. c. In the IP Address Configuration Method field, enter Manual. d. In the IP Address field, enter 10.200.2.1. e.
Page 622
Managed Switches A screen similar to the following displays. b. In the Server Address field, enter 10.100.1.1. c. In the UDP Port field, enter dhcp. d. Click Add to save the settings. DHCP L2 Relay and L3 Relay...
Multicast Listener Discover y This chapter includes the following sections: • Multicast Listener Discovery Concepts • Configure MLD • MLD Snooping Note: MLD is available on the M4300 series switches only.
Managed Switches Multicast Listener Discovery Concepts Multicast Listener Discovery (MLD) protocol enables IPv6 routers to discover multicast listeners, the nodes that are configured to receive multicast data packets, on its directly attached interfaces. The protocol specifically discovers which multicast addresses are of interest to its neighboring nodes and provides this information to the active multicast routing protocol that determines the flow of multicast data packets.
Managed Switches Web Interface: Configure MLD MLD on Switch A Enable IP routing on the switch. a. Select Routing > IP > Basic > IP Configuration. A screen similar to the following displays. b. For Routing Mode, select the Enable radio button. c.
Page 628
Managed Switches b. Scroll down and select the Interface 1/0/1 and 1/0/13 check boxes. c. Enter the following information: • In the IPv6 Mode field, select Enable. • In the Routing Mode field, select Enable. • In the Admin Mode field, select Enable. d.
Page 629
Managed Switches c. Enter the following information: • In the IPv6 Prefix field, enter 2001:2::1. • In the Prefix Length field, enter 64. • In the EUI64 field, select Disable. d. Click Add to save the settings. Configure the router ID of OSPFv3. a.
Page 630
Managed Switches A screen similar to the following displays. b. For Admin Mode, select the Enable radio button. c. Click Apply. Enable PIM-DM globally. a. Select Routing > IPv6 Multicast > IPv6 PIM > Global Configuration. A screen similar to the following displays. b.
Page 631
Managed Switches A screen similar to the following displays. b. Scroll down and select the Interface 1/0/1 and 1/0/13 check boxes. c. In the Admin Mode field, select Enable. d. Click Apply to save the settings. MLD on Switch B Enable IP routing on the switch.
Page 632
Managed Switches A screen similar to the following displays. b. For IPv6 Unicast Routing, select the Enable radio button. c. Click Apply. Configure 1/0/21 and 1/0/24 as IPv6 routing ports. a. Select Routing > IPv6 > Advanced > Interface Configuration. A screen similar to the following displays.
Page 633
Managed Switches A screen similar to the following displays. b. In the Interface field, select 1/0/21. c. Enter the following information: • In the IPv6 Prefix field, enter 2001:1::2. • In the Prefix Length field, enter 64. • In the EUI64 field, select Disable. d.
Page 634
Managed Switches A screen similar to the following displays. b. In the Router ID field, enter 2.2.2.2. c. For Admin Mode, select the Enable radio button. d. Click Apply. Enable OSPFv3 on interfaces 1/0/21 and 1/0/24. a. Select Routing > OSPFv3 > Advanced > Interface Configuration. A screen similar to the following displays.
Page 635
Managed Switches Enable PIM-DM globally. a. Select Routing > IPv6 Multicast > IPv6PIM > Global Configuration. A screen similar to the following displays. b. For Admin Mode, select the Enable radio button. c. Click Apply. Enable PIM-DM on interfaces 1/0/21 and 1/0/24. a.
Managed Switches A screen similar to the following displays. b. For Admin Mode, select the Enable radio button. c. Click Apply. Enable MLD on interface 1/0/24. a. Select Routing > IPv6 Multicast > MLD > Routing Interface Configuration. A screen similar to the following displays. b.
Managed Switches Web Interface: Configure MLD Snooping Create VLAN 300. a. Select Switching > VLAN > Basic > VLAN Configuration. A screen similar to the following displays. b. In the VLAN ID field, enter 300. c. Click Add. Assign all of the ports to VLAN 300. a.
Page 639
Managed Switches A screen similar to the following displays. b. Scroll down and select the interface 1/0/1 and 1/0/24 check boxes. c. In the PVID (1 to 4093) field, enter 300. d. Click Apply to save the settings. Enable MLD snooping on the switch. a.
DVMRP Distance Vec tor Multicast Routing Pro to col This chapter includes the following sections: • Distance Vector Multicast Routing Protocol Concepts • CLI: Configure DVMRP • Web Interface: Configure DVMRP Note: DVMRP is available on the M4300 series switches only.
Managed Switches Distance Vector Multicast Routing Protocol Concepts The Distance Vector Multicast Routing Protocol (DVMRP) is used for multicasting over IP networks without routing protocols to support multicast. The DVMRP is based on the RIP protocol but more complicated than RIP. DVRMP maintains a link-state database to keep track of the return paths to the source of multicast packages.
Page 643
(Netgear Switch) (Interface 1/0/13)#ip dvmrp (Netgear Switch) (Interface 1/0/13)#exit (Netgear Switch) (Config)#interface 1/0/21 (Netgear Switch) (Interface 1/0/21)#ip dvmrp (Netgear Switch) (Interface 1/0/21)#exit (Netgear Switch) #show ip dvmrp neighbor Interface ........1/0/13 Neighbor IP Address ......192.168.2.2 State ......... Active Up Time (hh:mm:ss) ......00:02:40 Expiry Time (hh:mm:ss) ......
Page 644
Managed Switches (Netgear Switch) #show ip mcast mroute summary Multicast Route Table Summary Incoming Outgoing Source IP Group IP Protocol Interface Interface List ------------- ------------ ---------- --------- --------------- 192.168.1.2 225.0.0.1 DVMRP 1/0/1 1/0/21 DVRMP on Switch B Create routing ports 1/0/13 and 1/0/20.
Page 645
Minor Version ......... 255 Capabilities ........Prune GenID Missing 11441 Received Routes ....... 0 Received Bad Packets ......0 Received Bad Routes ......0 (Netgear Switch) #show ip mcast mroute detail summary Multicast Route Table Summary Incoming Outgoing Source IP...
Page 647
More Entries or quit(q) Capabilities ........Prune GenID Missing 11441 Received Routes ....... 0 Received Bad Packets ......0 Received Bad Routes ......0 (Netgear Switch) #show ip mcast mroute detail summary Multicast Route Table Summary Incoming Outgoing Source IP...
Managed Switches Web Interface: Configure DVMRP DVMRP on Switch A Enable IP routing on the switch. a. Select Routing > IP > Basic >IP Configuration. A screen similar to the following displays. b. For Routing Mode, select the Enable radio button. c.
Page 649
Managed Switches A screen similar to the following displays. b. Scroll down and select the Port 1/0/13 check box. Now 1/0/13 appears in the Port field at the top. c. Enter the following information: • In the IP Address field, enter 192.168.2.1. •...
Page 650
Managed Switches A screen similar to the following displays. b. For Admin Mode, select the Enable radio button. c. Click Apply. Enable DVMRP on the switch. a. Select Routing > Multicast > DVMRP > Global Configuration. A screen similar to the following displays. b.
Page 651
Managed Switches d. Click Apply to save the settings. DVMRP on Switch B Enable IP routing on the switch. a. Select Routing > IP > Basic > IP Configuration. A screen similar to the following displays. b. For Routing Mode, select the Enable radio button. c.
Page 652
Managed Switches A screen similar to the following displays. b. Scroll and select the Port 1/0/20 check box. Now 1/0/20 appears in the Interface field at the top. c. Enter the following information: • In the IP Address field, enter 192.168.4.1. •...
Page 653
Managed Switches A screen similar to the following displays. b. For Admin Mode, select the Enable radio button. c. Click Apply. Enable DVMRP on the interface. a. Select Routing > Multicast > DVMRP > Interface Configuration. A screen similar to the following displays. b.
Page 654
Managed Switches Configure 1/0/11 as a routing port and assign an IP address to it. a. Select Routing > IP > Advanced > IP Interface Configuration. A screen similar to the following displays. b. Scroll down and select the Port 1/0/11 check box. Now 1/0/11 appears in the Port field at the top.
Page 655
Managed Switches A screen similar to the following displays. b. Scroll down and select the Port 1/0/24 check box. Now 1/0/24 appears in the Port field at the top. c. Enter the following information: • In the IP Address field, enter 192.168.5.1. •...
Page 656
Managed Switches A screen similar to the following displays. b. For Admin Mode, select the Enable radio button. c. Click Apply. Enable DVMRP on the interface. a. Select Routing > Multicast > DVMRP > Interface Configuration. A screen similar to the following displays. b.
Page 657
Managed Switches Enable IGMP on the interface. a. Select Routing > Multicast > IGMP > Routing Interface Configuration. A screen similar to the following displays. b. Scroll down and select the Interface 1/0/24 check box. Now 1/0/24 appears in the Interface field at the top. c.
Link Dependency Co n f i gu re Li n k State G rou ps This chapter includes the following sections: • Link Dependency Concepts • CLI: Create a Link State Group • Web Interface: Create a Link State Group...
Managed Switches Link Dependency Concepts Link dependency enables or disables ports in a group based on the link state of other ports in the same group. That is, the link state of some ports depends on the link state of other ports. For example, if port A depends on port B and the switch detects link loss on B, the switch automatically brings down the link on port A.
Managed Switches CLI: Create a Link State Group Create a link state group with group number 1. (Netgear Switch) (Config)#link state group 1 action down Configure port 1/0/1 as an upstream link. (Netgear Switch) (Config)#interface 1/0/1 (Netgear Switch) (Interface 1/0/1)#link state group 1 upstream Configure port 1/0/5 as a downstream link.
Page 661
Managed Switches b. Select the check box for Group ID 1. 1 displays in the Group ID field of the table heading. c. From the Link Action menu, select Link Down. d. Click the Apply button. Your settings are saved. Configure port 1/0/1 as an upstream port.
Page 662
Managed Switches A screen similar to the following displays. b. Select the check box to the left of interface 1/0/5. 1/0/5 displays in the Interface field of the table heading. c. From the Downstream Interface menu, select True. d. Click the Apply button. Your settings are saved.
Captive Portals C aptive por tals and client authentication This chapter includes the following sections: • Captive Portal Concepts • Captive Portal Configuration Concepts • Enable a Captive Portal • Client Access, Authentication, and Control • Block a Captive Portal Instance •...
Managed Switches Captive Portal Concepts The captive portal feature is a software implementation that blocks clients from accessing the network until user verification has been established. You can set up verification to allow access for both guests and authenticated users. Authenticated users must be validated against a database of authorized captive portal users before access is granted.
Managed Switches Web Interface: Enable a Captive Portal Enable captive portal on the switch. a. Select Security > Control > Captive Portal > CP Global Configuration. A screen similar to the following displays. b. For Admin Mode, Select the Enable radio button. c.
Blocking a captive portal instance is a temporary command executed by the administrator and not saved in the configuration. Block a Captive Portal Instance CLI: Block a Captive Portal Instance (Netgear Switch)(Config-CP 1)#block Captive Portals...
CLI: Create Users and Groups Create a group whose group ID is 2. (Netgear Switch) #config (Netgear Switch) (config)#captive-portal (Netgear Switch)(Config-CP)# user group 2 Create a user whose name is user1. (Netgear Switch) (Config-CP)#user 2 name user1 Captive Portals...
Enter password (8 to 64 characters): 12345678 Re-enter password: 12345678 Add the user to the group. (Netgear Switch) (Config-CP)#user 2 group 2 Web Interface: Create Users and Groups Create a group. a. Select Security > Control > Captive Portal > CP Group Configuration.
Managed Switches A screen similar to the following displays. b. Enter the following information: • In the User ID Field, enter 2. • In the User Name field, enter user1. • In the Password field, enter 12345678. • In the Confirm Password field, enter 12345678. •...
If the attribute is 0 or not present, use the value configured for the captive portal. CLI: Configure RADIUS as the Verification Mode (Netgear Switch) (Config-CP 1)#radius-auth-server Default-RADIUS-Server (Netgear Switch) (Config-CP 1)#verification radius Captive Portals...
Managed Switches Web Interface: Configure RADIUS as the Verification Mode Select Security > Control > Captive Portal > CP Configuration. A screen similar to the following displays. Scroll down and select the CP 1 check box. Now CP 1 appears in the CP ID field at the top. Enter the following information: •...
iSCSI I n ter n a l S mal l Comp u te r Sy s te m I nte r face This chapter includes the following sections: • iSCSI Concepts • Enable iSCSI Awareness with VLAN Priority Tag • Enable iSCSI Awareness with DSCP •...
Managed Switches iSCSI Concepts The Internal Small Computer System Interface (iSCSI) feature is used in networks containing iSCSI initiators and targets where the administrator desires to protect the iSCSI traffic from interruption by giving the traffic preferential QoS treatment. The dynamically generated classifier rules are used to direct the iSCSI data traffic to queues that can be given the desired preference characteristics over other data transiting the switch.
Use the following commands to enable iSCSI awareness, select VPT, and set VLAN number and aging time. (Netgear Switch) #config (Netgear Switch) (Config) #iscsi enable (Netgear Switch) (Config) #iscsi cos vpt 5 (Netgear Switch) (Config) #iscsi aging time 10 (Netgear Switch) (Config) #exit Web Interface: Enable iSCSI Awareness with VLAN Priority Tag Enable iSCSI awareness, select VPT, and set VLAN number and aging time.
Use the following commands to enable iSCSI awareness, select DSCP, and set DSCP queue number and aging time. (Netgear Switch) #config (Netgear Switch) (Config) #iscsi enable (Netgear Switch) (Config) #iscsi cos dscp 46 (Netgear Switch) (Config) #iscsi aging time 10 (Netgear Switch) (Config) #exit Web Interface: Enable iSCSI Awareness with DSCP Enable iSCSI awareness, select DSCP, and set the DSCP queue number and aging time.
When working with iSCSI that does not use the standard IANA assigned iSCSI ports (3260/860), NETGEAR recommends that you specify the target IP address. Then, the switch snoops frames only if the TCP destination port is one of the configured TCP ports and the destination IP address is the target IP address.
IP Address TCP Port ------------------- ------------- -------------------- ------------- 192.168.10.107 57965 192.168.10.116 3260 (Netgear Switch) # The command shows that there is an active iSCSI session. The initiator is at IP address 192.168.10.107 and the Target is at IP address 192.168.10.116 iSCSI...
Managed Switches Web Interface: Show iSCSI Sessions Show iSCSI sessions. a. Select Switching > iSCSI > Advanced > Sessions. A screen similar to the following displays. Click Refresh. Show the iSCSI session details. a. Select Switching > iSCSI > Advanced > Sessions detailed. A screen similar to the following displays.
Managed Switches Override the Factory Default Configuration File NETGEAR managed switches support a single set of default configurations and scaling parameters, which are hard-coded in the factory default configuration file. To enable you to use a different set of default configurations and scaling parameters, you can override the factory default configuration file and specify that another file in the file system must be regarded as the factory defaults.
Managed Switches CLI: Erase the Old Factory Default Configuration File Erase the old factory default configuration file from the switch. (Netgear Switch) #erase factory-default Reload the switch. The new factory default configuration file (that is, the factory_default.txt. file) takes effect.
Connect with NETGEAR SFP AGM731F Cisco provides a way to support third-party small form-factor pluggables (SFPs). For example, you can get the NETGEAR SFP AGM731F to work between a Cisco switch and a NETGEAR switch. Before connecting the NETGEAR switch to the Cisco switch, configure the following command on the Cisco switch.
Need help?
Do you have a question about the M4200 and is the answer not in the manual?
Questions and answers