beautypg.com

13 configuring layer3 interfaces, 1 overview, 2 configuring routed port – CANOGA PERKINS 9175 Configuration Guide User Manual

Page 84

background image

CanogaOS Configuration Guide

13-1

13 Configuring Layer3 Interfaces

13.1 Overview

3 types of Layer3 interface are supported:

• VLAN interfaces: You should configure VLAN interfaces for any VLANs for which

you want to route traffic. VLAN interfaces are created when you enter a VLAN Id
following the interface vlan global configuration command. To delete a VLAN
interface, use the no interface vlan global configuration command.

• Routed Ports: Ports are physical ports configured to be in Layer 3 mode by using

the no switchport interface configuration command.

• Layer 3 Link Aggregation Ports: Link Aggregation interfaces made up of routed

ports.

A Layer 3 switch can have an IP address assigned to each routed port and VLAN
interface. All Layer 3 interfaces require an IP address to route traffic. This procedure
shows how to configure an interface as a Layer 3 interface and how to assign an IP
address to an interface.

13.2 Configuring routed port

This chapter describes configuring routed port and using them. All physical interfaces
can be configured as routed port by using the no switchport interface configuration
command. Follow these steps to configure a routed port.

13.2.1 Configurations

DUT1#configure terminal

Enter the Configure mode.

DUT1(config)#interface eth-0-1

Specify the interface (eth-0-1)to be configured and enter the
Interface mode.

DUT1(config-if)#no switchport

Configure on physical port only, change this port to Layer3
interface.

DUT1(config-if)#no shutdown

Enable this interface.

DUT1(config-if)#ip address 1.1.1.1/24

Configure IP address to 1.1.1.1/24.

DUT1(config-if)#end

Return to privileged EXEC mode.

DUT1#show ip interface brief

Verify the configuration.

13.2.2 Validation

Commands

DUT1#show ip interface brief
Interface IP-Address Status Protocol
eth-0-1 1.1.1.1 up up
DUT1#show ip interface
Interface eth-0-1
Interface current state: UP
Internet address(es):
1.1.1.1/24 broadcast 1.1.1.255
Joined group address(es):
224.0.0.1
The maximum transmit unit is 1500 bytes