3 configuring vlan interfaces – CANOGA PERKINS 9175 Configuration Guide User Manual

Page 85

Advertising
background image

CanogaOS Configuration Guide

13-2

ICMP error messages limited to one every 1000 milliseconds
ICMP redirects are always sent
ARP timeout 01:00:00, ARP retry interval 1s
VRRP master of : VRRP is not configured on this interface

13.3 Configuring VLAN interfaces

This chapter describes configuring VLAN interfaces and using them. Several Virtual LAN
(VLAN) interfaces can be configured on a single ethernet interface. Once created, a
VLAN interface functions the same as any physical interface, and it can be configured
and displayed like any physical interface. Routing protocols, such as, RIP, OSPF and
BGP can run across networks using VLAN interfaces.

13.3.1 Configurations

DUT1#configure terminal

Enter the Configure mode.

DUT1(config)#vlan database

Enter VLAN database mode.

DUT1(config-vlan)#vlan 10

Create VLAN 10.

DUT1(config-vlan)#exit

Exit the VLAN database mode and enter the Configure
mode.

DUT1(config)#interface eth-0-2

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

DUT1(config-if)#switchport mode trunk

Set the switching characteristics of this interface to trunk
mode.

DUT1(config-if)#switchport trunk allowed vlan all

Enable all VLAN IDs on this port.

DUT1(config-if)#no shutdown

Enable the interface

DUT1(config-if)#exit

Exit the Interface mode and enter the Configure mode.

DUT1(config)#interface vlan10

Specify the interface vlan10)to be configured and enter
the Interface mode.

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

Configure IP address to 2.2.2.2/24

DUT1(config-if)#end

Return to privileged EXEC mode.

DUT1#show ip interface brief

Verify the configuration.

13.3.2 Validation

Commands

DUT1#show ip interface brief
Interface IP-Address Status Protocol
eth-0-1 1.1.1.1 up up
vlan10 2.2.2.2 up up
DUT1#
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

Advertising