13 configuring layer3 interfaces, 1 configuring routed port – CANOGA PERKINS CanogaOS Configuration Guide User Manual
Page 100

CanogaOS Configuration Guide
Proprietary & Confidential Canoga Perkins Metro Ethernet Switches
Page 100 of 350
13 Configuring Layer3 Interfaces
3 types of Layer3 interface are supported:
z
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.
z
Routed Ports: Ports are physical ports configured to be in Layer 3 mode by using the no
switchport interface configuration command.
z
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.1 Configuring routed port
This chapter describes configuring routed port and using them. All physical interface can be
configured as routed port by using the no switchport interface configuration command.
Following these steps to configure a routed port.
13.1.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.1.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