6 ip vrf, 6 ip vrf -167 – PLANET XGS3-24042 User Manual

Page 321

Advertising
background image

19-167

Function:

Create a VLAN interface (a Layer 3 interface); the “no interface vlan <vlan-id>” command deletes

the Layer 3 interface specified.

Parameters:

<vlan-id> is the VLAN ID of the established VLAN, ranging from 1 to 4094.

Default:

No Layer 3 interface is configured upon switch shipment.

Command mode:

Global Mode

Usage Guide:

When creating a VLAN interface (Layer 3 interface), VLANs should be configured first, for details,

see the VLAN chapters. When VLAN interface (Layer 3 interface) is created with this command, the

VLAN interface (Layer 3 interface) configuration mode will be entered. After the creation of the

VLAN interface (Layer 3 interface), interface vlan command can still be used to enter Layer 3 Port

Mode.

Example:

Creating a VLAN interface (layer 3 interface).

Switch(config)#interface vlan 1

Switch(Config-if-Vlan1)#

19.1.6 ip vrf

Command:

ip vrf <vrf-name>

no ip vrf <vrf-name>

Function:

Configure the corresponding VPN instance, the no command cancel this VPN instance.

Parameters:

<vrf-name>: Configure the name of VPN instance, the ranging from 1 to 64.

Default:

Not configured.

Command mode:

Global configuration mode.

Usage Guide:

Configure the corresponding VPN instance. There is no default VPN instance on PE, a PE can

create multiple VPN instances and the name distinguishes the capital letter and small letter. Please

pay attention: VPN instance takes effect after configure RD.

Advertising