Asante Technologies 35516 user manual Vlan Configuration, Creating or Modifying a Vlan

Page 67

Chapter 6. VLAN Configuration

Up to 4094 Virtual LANs (VLANs) are supported on the IC35516. The switch is shipped with a default VLAN with VLAN ID (VID) 1. All switchports (eth1-eth16) are included in the default VID 1. The default VID 1 cannot be deleted.

6.1 Creating or Modifying a VLAN

Command

Purpose

Router(config)# vlan vid

Enter a VLAN ID (2-4094), which will access

 

config-vlan mode. Enter a new VLAN ID to

 

create a VLAN, or enter an existing VLAN ID to

 

modify a VLAN.

 

 

Router(config-vlan)# name Engineering

Enter a name for the VLAN (optional).

VLAN

 

Router(config)# end

Return to Enable node.

Deleting a VLAN

 

Command

Purpose

Router(config)# no vlan vid

Enter a VLAN ID (2-4094) to be removed.

 

 

Switchports are Layer 2-only interfaces associated with a physical port. A switchport is used as an access port. Switch ports are used for managing the physical interface and associated Layer 2 protocols and do not handle routing or bridging. Ports 1 through 16 on the 35516 are Ethernet ports. The following example demonstrates how to enter the interface configuration mode for port 16:

Router(config)# interface eth16

Router(config-if-eth16)#

From the interface configuration mode, use the switchport command to configure the access port or the Class of Service (CoS) default priority for the port.

An access port belongs to and carries the traffic of only one VLAN (see Virtual Interfaces, below.) Traffic is received and sent in native formats with no VLAN tagging. Traffic arriving on an access port is assumed to belong to the VLAN assigned to the port. If an access port receives a tagged packet (802.1Q tagged), the packet is dropped, and the source address is not learned. Static access ports are manually assigned to a VLAN.

Router(config-if-eth16)# switchport access vlan <1-4094>

Virtual Interfaces

A virtual interface represents a VLAN of switchports as one interface to the routing or bridging function in the system. Only one virtual interface can be associated with a VLAN, but it is only necessary to configure a virtual interface for a VLAN when you wish to route between VLANs or to provide IP host connectivity to the switch. By default, a virtual interface (veth1) is created for the default VLAN (VLAN 1) to permit remote switch administration. Additional virtual interfaces must be configured. In Layer 2 mode, virtual interfaces provide IP host connectivity only to the system; in Layer 3 mode, you can configure routing across virtual interfaces.

In order to create a virtual interface, it must be bound to a VLAN that has already been configured and bound in turn to a physical port or ports. The following examples show how to create a VLAN (with a VLAN ID of 2), how to select a port (interface eth9) to belong to the VLAN, and how to create a virtual interface (veth2) by binding it to VLAN 2.

67

Image 67
Contents IntraCore 35516 Series Technical Support IntraCore 35516 SeriesTable of Contents Page Introduction FeaturesLEDs Package ContentsGbic Front and Back Panel DescriptionsConsole Interface Management and ConfigurationRecommended Installation Tools Hardware Installation and SetupInstallation Overview Safety OverviewCooling and Airflow Installation into an Equipment RackPower Requirements Environmental RequirementsGigabit Interface Converters Installing a GbicSystem Information System up since 103443 Fri Feb 07 Installing the Optional Emergency Power SupplyRemoving a Gbic Gbic Care and HandlingConnecting to the Network Connecting Power1 10/100/1000BaseT Ports Cabling Procedures Gigabit Ethernet Ports Cabling Procedures SetupConnecting to a Console User Access Verification Password Specifies a Hidden line password will follow Setting PasswordsUnencrypted cleartext line password Specifies an Unencrypted line password will followSetting a Default IP Gateway Address Configuring an IP AddressRouterconfig-if-veth1# System Boot Parameters Restoring Factory DefaultsRouterconfig# boot system flash bank1bank2 Command Show ? Purpose Understanding the Command Line Interface CLIUser Top User Exec Mode Access Each Command ModeRouter enable Password Router# Privileged Top Privileged Exec ModeCommand Purpose Command Purpose Router# configure terminal Global Configuration ModeCommand Exit end Ctrl-Z Purpose Interface Configuration Mode Route-Map Configuration Mode Router Configuration ModeCommand Help Purpose Advanced Features Supported within the Command ModeRouterconfig# route Ambiguous command. Routerconfig# Checking Command SyntaxRouterconfig# hostname ? Word This systems network name Routerconfig# routed rip Invalid input detected at markerRouterconfig# router Command incomplete. Routerconfig# Using CLI Command HistoryUsing the No and Default Forms of Commands Using Command-Line Editing Features and ShortcutsKeystrokes Purpose Moving Around on the Command LineCompleting a Partial Command Name Router# confTab Router# configureKeystrokes Purpose Press the Delete or Backspace Editing Command Lines that WrapRouter# co? configure copy Router# co Deleting EntriesControlling Capitalization Redisplaying the Current Command LineScrolling Down a Line or a Screen Transposing Mistyped CharactersRouterconfig-line# password Asante Passwords and Privileges CommandsEnable Password PasswordService Password-Encryption Managing the System Managing the System and Configuration FilesSetting the System Clock Changing the PasswordTest Connections with Ping Tests Enable the System LogDisplaying the Operating Configuration Trace Packet RoutesRouterconfig# hostname newname Newnameconfig# end Managing Configuration FilesConfiguring from the Terminal Configuration to NvramCopying Configuration Files to a Network Server Startup-config Configuring Snmp and Spanning TreeConfiguring Snmp Support Running-configDisable the Snmp Protocol Configuring Spanning Tree Protocol STPCreate or Modify Access Control for Snmp Community Routerconfig# duplicate-ip detectPriority Forward TimeHello Time Maximum AgePort Path Cost Routerconfig# mac-address-table aging-timeMAC Address Table Port PriorityClass Address or Range Status Configuring IPConfiguring IP Addressing Assign IP Addresses to Network InterfacesAssign Multiple IP Addresses to Network Interfaces Command PurposeCidr Prefix Class C Equivalent Host Addresses Secondary Establish Address ResolutionConfiguring IP Routing Define a Static ARP CacheRoute Source Default Distance Configuring Static RoutesNeighbor ip-address Configuring RIPEnable RIP Allow Unicast Updates for RIPSpecify a RIP Version Command Purpose Route-map map-tagdeny permit sequenceRedistribute Routing Information Set Metrics for Redistributed Routes Set Administrative DistanceSuppress Routing Updates through an Interface Generate a Default RouteFiltering Routing Information Command Purpose Offset-list access-list-name in out Adjust TimersEnable or Disable Split-horizon Manage Authentication KeysMonitor and Maintain RIP Configuring IP Multicast RoutingModifying the Igmp Host-Query Message Interval Configuring IgmpPurpose Ip igmp query-interval 1-65535 seconds Seconds CommandConfiguring the Router as a Statically Connected Member Changing the Igmp VersionNbr-timeout 35-8000 seconds Configuring DvmrpReport-interval Default value 180 secondsCommand Purpose Route-expire-time 20-4000 seconds Default value 200 secondsCreate a Standard Access List Using Access ListsDestination address to match. e.g Create an Expanded Access ListOperator greater then Creating an Access List with a NameApplying an Access List to an Interface Operator equal toCommand Purpose Router ospf Step Configuring OspfEnable Ospf Configure ABR TypeConfigure Ospf Interface Parameters Configure CompatibilityConfigure Ospf Network Type Command Purpose Neighbor ip-address priority number Configure Ospf for Non-broadcast NetworksConfigure Area Parameters Configure Ospf Not So Stubby Area NssaNot-advertised Configure Route Summarization between Ospf AreasCommand Purpose Area area-idvirtual-link router-idhello Create Virtual LinksRedistribute Routes into Ospf Control Default MetricsConfigure Route Calculation Timers Refresh Timer ConfigurationSuppress Routes on an Interface Change the Ospf Administrative DistancesPrevent Routes from being Advertised in Routing Updates Command Purpose Distance ospf external distance1 inter-areaName Router ip-address Virtual Router Redundancy Protocol Vrrp Vrrp ConfigurationChange Irdp Parameters Configuring Icmp Router Discovery Protocol IrdpEnable Irdp Processing Monitoring and Maintaining the NetworkShow ip irdp Command Purpose Show arp interfaceShow access-lists access-list Show ip prefix-list prefix-list-nameCreating or Modifying a Vlan Vlan ConfigurationRouterconfig# no vlan Routerconfig# exit Router# show vlan Routerconfig# interface veth2 vlan Routerconfig-if-veth2#Deleting a Vlan Vlan Port Membership Modes Static AccessTrunk Ieee 802.1Q 3 Dot1q Tunnel Command Purpose Routerconfig# vlan dot1q tag nativeTrunk allowed vlan add all except Mode dot1q-tunnel Problem Possible Solutions Appendix A. Basic TroubleshootingStandards Compliance Appendix B. SpecificationsPhysical Characteristics Technical Support and WarrantyFCC Compliance Statement Important Safety Instructions Appendix C. FCC Compliance and Warranty StatementsIntraCare Warranty Statement Page Appendix D. Console Port Pin Outs Pin Number Signal NameAppendix E. Online Warranty Registration