NETGEAR 7000 manual Example 1 Create Two VLANs

Page 42

NETGEAR 7000 Series Managed Switch Administration Guide

Example 1: Create Two VLANs

The following code sequence shows an example of creating two VLANs with egress frame tagging enabled.

(Netgear Switch) #vlan data (Netgear Switch) (Vlan)#vlan 10 (Netgear Switch) (Vlan)#vlan 20 (Netgear Switch) (Vlan)#exit (Netgear Switch) #conf

(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 pvid 10

(Netgear Switch) (conf-if-range-1/0/1-1/0/2)#exit (Netgear Switch) (Config)#interface 1/0/3

(Netgear Switch) (Interface 1/0/3)#vlan participation include 20 (Netgear Switch) (Interface 1/0/3)#vlan pvid 20

(Netgear Switch) (Interface 1/0/3)#exit

(Netgear Switch) (Config)#vlan port tagging all 10 (Netgear Switch) (Config)#vlan port tagging all 20 (Netgear Switch) (Config)#exit

Example 2: Set Up VLAN Routing for the VLANs and the Switch.

The following code sequence shows how to enable routing for the VLANs:

(Netgear Switch) #vlan data

(Netgear Switch) (Vlan)#vlan routing 10 (Netgear Switch) (Vlan)#vlan routing 20 (Netgear Switch) (Vlan)#exit

This returns the logical interface IDs that will be used instead of slot/port in subsequent routing commands. Assume that VLAN 10 is assigned ID 3/1 and VLAN 20 is assigned ID 3/2.

Enable routing for the switch:

(Netgear Switch) #config

(Netgear Switch) (Config)#ip routing (Netgear Switch) (Config)#exit

5-6

IP Routing Services

v1.1, May 2006

Image 42
Contents Netgear 7000 Series Managed Switch Administration Guide EN 55 022 Declaration of Conformance TrademarksStatement of Conditions Certificate of the Manufacturer/ImporterDeclaration Of Conformity FCC Information to UserFCC Guidelines for Human Exposure Regulatory Compliance InformationSeries Managed Switch Product and Publication DetailsContents Link Aggregation Chapter Virtual Router Redundancy Protocol Chapter Differentiated Services Chapter Pre-Login Banner Chapter Syslog About This Book Document OrganizationAudience CLI DocumentationRelated Documentation Xiv Chapter Getting Started Configuring for In-band ConnectivityUsing BootP or Dhcp In-band and Out-of-band ConnectivityUsing the EIA-232 Port Configuring for Out-Of-Band Connectivity Starting the Switch Initial ConfigurationInitial Configuration Procedure Software Installation System Information and System SetupQuick Starting the Networking Device Quick Start Commands Mode Description You power down or reset the networking device. In a stacking Quick Start Commands Figurations made to the networking device Chapter Using the Web Interface Configuring for Web AccessConfiguring an Snmp V3 User Profile Starting the Web InterfaceWeb Page Layout Command Buttons SaveNetgear 7000 Series Managed Switch Administration Guide Chapter Virtual LANs Vlan Configuration Example CLI ExamplesExample #1 Create Two VLANs Example #4 Assign VLAN3 as the Default Vlan Example #2 Assign Ports to VLAN2Example #3 Assign Ports to VLAN3 Graphical User Interface Link Aggregation CLI Example1shows the example network Example 1 Create two Lags STPExample 3 Enable both LAGs Example 2 Add the ports to the LAGsChapter IP Routing Services Port RoutingPort Routing Configuration Example 1. Enabling routing for the Switch CLI ExamplesExample 2. Enabling Routing for Ports on the Switch Vlan RoutingVlan Routing Configuration Example 2 Set Up Vlan Routing for the VLANs and the Switch Example 1 Create Two VLANsVlan Routing RIP Configuration CLI Example Netgear 7000 Series Managed Switch Administration Guide Vlan Routing Ospf Configuration Netgear 7000 Series Managed Switch Administration Guide RIP Configuration Routing Information ProtocolExample #1 Enable Routing for the Switch CLI ExampleExample #2 Enable Routing for Ports Example #3. Enable RIP for the SwitchExample #4. Enable RIP for ports 1/0/2 and 1/0/3 OspfCLI Examples Example #1 Configuring an Inter-Area Router Netgear 7000 Series Managed Switch Administration Guide Example #2 Configuring Ospf on a Border Router Enable routing for the switch Proxy Address Resolution Protocol ARP OverviewExample #1 show ip interface Example #2 ip proxy-arpChapter Virtual Router Redundancy Protocol Virtual Router Redundancy Protocol Enable Vrrp for the switch Set the priority for the port. The default priority is MAC ACLs Chapter Access Control Lists ACLsOverview LimitationsConfiguring IP ACLs Process IP ACL CLI ExampleMAC ACL CLI Examples Example #1 mac access list Example #2 permit any Example #3 Configure mac access-group Example #4 permit Example #5 show mac access-lists Netgear 7000 Series Managed Switch Administration Guide Chapter Class of Service CoS Queuing CoS Queue MappingTrusted Ports CoS Queue Configuration Port Egress Queue ConfigurationUntrusted Ports Drop Precedence Configuration per Queue Per Interface BasisExample #1 show classofservice trust Example #2 set classofservice trust modeExample #3 show classofservice ip-precedence mapping Example #5 Set CoS Trust Mode of an Interface Traffic ShapingExample #1 traffic-shape Netgear 7000 Series Managed Switch Administration Guide Chapter Differentiated Services Differentiated Services Netgear Switch Config#diffserv DiffServ for VoIP Configuration Example Netgear 7000 Series Managed Switch Administration Guide Following example configures DiffServ VoIP support Example #1 Enable Igmp Snooping Chapter Igmp SnoopingExample #2 show igmpsnooping Example #3 show mac-address-table igmpsnoopingChapter Port Security Operation Example #3 Config port security Example #1 show port securityExample #2 show port security on a specific interface 11-4 Port Security Chapter Traceroute 12-2 Traceroute Chapter Configuration Scripting ConsiderationsExample #3 script apply running-config.scr Example #1 scriptExample #2 script list and script delete Example #4 Creating a Configuration Script Example #5 Upload a Configuration Script13-4 Configuration Scripting Chapter Outbound Telnet Example #1 show network Example #2 show telnetExample #4 session-limit and session-timeout Example #3 transport output telnet14-4 Outbound Telnet Port Mirroring Example #1 show monitor session Example #2 show port allExample #3 show port interface Example #4 Config monitor session 1 mode Port, and what is enabled or disabled on the portExample #5 Config monitor session 1 source interface Example #6 Interface port securitySimple Network Time Protocol Sntp Example #1 show sntpExample #4 Configure Sntp Example #2 show sntp clientExample #3 show sntp server Simple Network Time Protocol Sntp 16-3 16-4 Simple Network Time Protocol Sntp Chapter Pre-Login Banner Transfer the file from the PC to the switch using Tftp Chapter Syslog Persistent Log FilesInterpreting Log Files Example #1 show logging Example #2 show logging bufferedExample #3 show logging traplogs Example 4 show logging hostsExample #5 logging port configuration 18-6 Syslog
Related manuals
Manual 2 pages 6.29 Kb