Asante Technologies 35516 Configuring an IP Address, Setting a Default IP Gateway Address

Page 17

2.9 Configuring an IP Address

The switch ships with the default IP address 192.168.0.1/24. Connect via the serial port in order to assign the switch an IP address on your network.

The physical ports (or switchports) of the IC35516 are L2 ports, and cannot have an IP address assigned to them. By default, each switchport belongs to VLAN 1, a virtual interface (veth1) that may be assigned a primary, as well as any number of secondary, IP addresses. Use the following instructions to configure an IP address to the switch. The network administrator may later assign primary IP addresses to any other VLAN created.

Follow the steps below to change the switch’s IP address.

1.Connect to the console and press Enter at the Password prompt, as described above.

2.The screen will display the user mode prompt, Router>.

3.Type enable. The new prompt is Router#.

4.Type configure terminal. The new prompt is Router(config)#.

5.The default IP address is assigned to the veth1 interface. Type interface veth1. The new prompt is

Router(config-if-veth1)#.

6.Type ip address and the new address. Your screen will look like this example:

Router> enable

Router# configure terminal Router(config)# interface veth1

Router(config-if-veth1)# ip address 192.168.123.254 255.255.255.0 Router(config-if-veth1)# end

Router# show interface veth1 Veth1 is up, line protocol is up

Hardware is virtual interface VLAN 1, address is 00:00:94:D2:56:FA Encapsulation ARPA, Flags: <UP,BROADCAST,RUNNING,MULTICAST>

inet 192.168.123.254/24 broadcast 192.168.123.255 ARP Type: ARPA, ARP Timeout: 14400 seconds

Router# write file

Writing current-config to startup-config. Please wait.

Configuration saved to startup-config file

Router#

It is also acceptable to enter the subnet mask by typing ip address 192.168.123.254/24. Use the show interface veth1 command from privileged mode to see the new IP address. The new IP address automatically writes over the default IP address.

See Chapter 5 for more information on assigning IP addresses to interfaces.

2.9.1 Setting a Default IP Gateway Address

To define the default IP gateway for the switch, insert a static route:

Router(config)# ip route 0.0.0.0 255.255.255.255 <gateway IP> <mask>

17

Image 17
Contents IntraCore 35516 Series Technical Support IntraCore 35516 SeriesTable of Contents Page Introduction FeaturesLEDs Package ContentsGbic Front and Back Panel DescriptionsConsole Interface Management and ConfigurationInstallation Overview Hardware Installation and SetupSafety Overview Recommended Installation ToolsPower Requirements Installation into an Equipment RackEnvironmental Requirements Cooling and AirflowGigabit Interface Converters Installing a GbicRemoving a Gbic Installing the Optional Emergency Power SupplyGbic Care and Handling System Information System up since 103443 Fri Feb 071 10/100/1000BaseT Ports Cabling Procedures Connecting PowerConnecting to the Network Connecting to a Console SetupGigabit Ethernet Ports Cabling Procedures User Access Verification Password Unencrypted cleartext line password Setting PasswordsSpecifies an Unencrypted line password will follow Specifies a Hidden line password will followRouterconfig-if-veth1# Configuring an IP AddressSetting a Default IP Gateway Address Routerconfig# boot system flash bank1bank2 Restoring Factory DefaultsSystem Boot Parameters User Top User Exec Mode Understanding the Command Line Interface CLIAccess Each Command Mode Command Show ? PurposeCommand Purpose Privileged Top Privileged Exec ModeRouter enable Password Router# Command Exit end Ctrl-Z Purpose Global Configuration ModeCommand Purpose Router# configure terminal Interface Configuration Mode Route-Map Configuration Mode Router Configuration ModeCommand Help Purpose Advanced Features Supported within the Command ModeRouterconfig# hostname ? Word This systems network name Checking Command SyntaxRouterconfig# routed rip Invalid input detected at marker Routerconfig# route Ambiguous command. Routerconfig#Using the No and Default Forms of Commands Using CLI Command HistoryUsing Command-Line Editing Features and Shortcuts Routerconfig# router Command incomplete. Routerconfig#Completing a Partial Command Name Moving Around on the Command LineRouter# confTab Router# configure Keystrokes PurposeRouter# co? configure copy Router# co Editing Command Lines that WrapDeleting Entries Keystrokes Purpose Press the Delete or BackspaceScrolling Down a Line or a Screen Redisplaying the Current Command LineTransposing Mistyped Characters Controlling CapitalizationEnable Password Passwords and Privileges CommandsPassword Routerconfig-line# password AsanteService Password-Encryption Setting the System Clock Managing the System and Configuration FilesChanging the Password Managing the SystemDisplaying the Operating Configuration Enable the System LogTrace Packet Routes Test Connections with Ping TestsConfiguring from the Terminal Managing Configuration FilesConfiguration to Nvram Routerconfig# hostname newname Newnameconfig# endCopying Configuration Files to a Network Server Configuring Snmp Support Configuring Snmp and Spanning TreeRunning-config Startup-configCreate or Modify Access Control for Snmp Community Configuring Spanning Tree Protocol STPRouterconfig# duplicate-ip detect Disable the Snmp ProtocolHello Time Forward TimeMaximum Age PriorityMAC Address Table Routerconfig# mac-address-table aging-timePort Priority Port Path CostConfiguring IP Addressing Configuring IPAssign IP Addresses to Network Interfaces Class Address or Range StatusCidr Prefix Class C Equivalent Host Addresses Command PurposeAssign Multiple IP Addresses to Network Interfaces Configuring IP Routing Establish Address ResolutionDefine a Static ARP Cache SecondaryRoute Source Default Distance Configuring Static RoutesEnable RIP Configuring RIPAllow Unicast Updates for RIP Neighbor ip-addressRedistribute Routing Information Command Purpose Route-map map-tagdeny permit sequenceSpecify a RIP Version Set Metrics for Redistributed Routes Set Administrative DistanceFiltering Routing Information Generate a Default RouteSuppress Routing Updates through an Interface Enable or Disable Split-horizon Adjust TimersManage Authentication Keys Command Purpose Offset-list access-list-name in outMonitor and Maintain RIP Configuring IP Multicast RoutingPurpose Ip igmp query-interval 1-65535 seconds Configuring IgmpModifying the Igmp Host-Query Message Interval Configuring the Router as a Statically Connected Member CommandChanging the Igmp Version SecondsNbr-timeout 35-8000 seconds Configuring DvmrpCommand Purpose Route-expire-time 20-4000 seconds Default value 180 secondsDefault value 200 seconds Report-intervalCreate a Standard Access List Using Access ListsDestination address to match. e.g Create an Expanded Access ListApplying an Access List to an Interface Creating an Access List with a NameOperator equal to Operator greater thenEnable Ospf Configuring OspfConfigure ABR Type Command Purpose Router ospf StepConfigure Ospf Network Type Configure CompatibilityConfigure Ospf Interface Parameters Configure Area Parameters Configure Ospf for Non-broadcast NetworksConfigure Ospf Not So Stubby Area Nssa Command Purpose Neighbor ip-address priority numberCommand Purpose Area area-idvirtual-link router-idhello Configure Route Summarization between Ospf AreasCreate Virtual Links Not-advertisedConfigure Route Calculation Timers Control Default MetricsRefresh Timer Configuration Redistribute Routes into OspfPrevent Routes from being Advertised in Routing Updates Change the Ospf Administrative DistancesCommand Purpose Distance ospf external distance1 inter-area Suppress Routes on an InterfaceName Router ip-addressVirtual Router Redundancy Protocol Vrrp Vrrp ConfigurationEnable Irdp Processing Configuring Icmp Router Discovery Protocol IrdpMonitoring and Maintaining the Network Change Irdp ParametersShow access-lists access-list Command Purpose Show arp interfaceShow ip prefix-list prefix-list-name Show ip irdpCreating or Modifying a Vlan Vlan ConfigurationDeleting a Vlan Routerconfig# interface veth2 vlan Routerconfig-if-veth2#Routerconfig# no vlan Routerconfig# exit Router# show vlan Trunk Ieee 802.1Q Static AccessVlan Port Membership Modes Trunk allowed vlan add all except Command Purpose Routerconfig# vlan dot1q tag native3 Dot1q Tunnel Mode dot1q-tunnel Problem Possible Solutions Appendix A. Basic TroubleshootingPhysical Characteristics Appendix B. SpecificationsTechnical Support and Warranty Standards ComplianceIntraCare Warranty Statement Appendix C. FCC Compliance and Warranty StatementsFCC Compliance Statement Important Safety Instructions Page Appendix D. Console Port Pin Outs Pin Number Signal NameAppendix E. Online Warranty Registration