Quick Reference Guide

PowerConnect B-Series TI24X Configuration Guide 581
53-1002269-02
Configuring IP parameters – Layer 3 Switches
21
You can configure IP routing interface parameters on a virtual interface. This section describes
how to configure an IP address on a virtual interface. Other sections in this chapter that describe
how to configure interface parameters also apply to virtual interfaces.
NOTE
The Layer 3 Switch uses the lowest MAC address on the device (the MAC address of port 1) as the
MAC address for all ports within all virtual interfaces you configure on the device.
To add a virtual interface to a VLAN and configure an IP address on the interface, enter commands
such as the following.
PowerConnect(config)#vlan 2 name IP-Subnet_1.1.2.0/24
PowerConnect(config-vlan-2)#untag e1 to 4
PowerConnect(config-vlan-2)#router-interface ve1
PowerConnect(config-vlan-2)#interface ve1
PowerConnect(config-vif-1)#ip address 1.1.2.1/24
The first two commands in this example create a Layer 3 protocol-based VLAN name
“IP-Subnet_1.1.2.0/24” and add a range of untagged ports to the VLAN. The router-interface
command creates virtual interface 1 as the routing interface for the VLAN. The last two commands
change to the interface configuration level for the virtual interface and assign an IP address to the
interface.
Syntax: router-interface ve <num>
Syntax: interface ve <num>
Refer to the syntax description in Assigning an IP address to an Ethernet port” on page 579.
Deleting an IP address
To delete an IP address, enter a command such as the following.
PowerConnect(config-if-e10000-1)#no ip address 1.1.2.1
This command deletes IP address 1.1.2.1. You do not need to enter the subnet mask.
To delete all IP addresses from an interface, enter the following command.
PowerConnect(config-if-e10000-1)#no ip address *
Syntax: no ip address <ip-addr> | *
Configuring packet parameters
You can configure the following packet parameters on Layer 3 Switches. These parameters control
how the Layer 3 Switch sends IP packets to other devices on an Ethernet network. The Layer 3
Switch always places IP packets into Ethernet packets to forward them on an Ethernet port.
Encapsulation type – The format for the Layer 2 packets within which the Layer 3 Switch sends
IP packets.
Maximum Transmission Unit (MTU) – The maximum length of IP packet that a Layer 2 packet
can contain. IP packets that are longer than the MTU are fragmented and sent in multiple
Layer 2 packets. You can change the MTU globally or an individual ports:
Global MTU – The default MTU value depends on the encapsulation type on a port and is
1500 bytes for Ethernet II encapsulation and 1492 bytes for SNAP encapsulation.
Port MTU – A port default MTU depends on the encapsulation type enabled on the port.