configure

 

zone < add remove > zone-name

 

adds a security zone to (or removes it from) this virtual interface.

 

remove id

 

Deletes an interface.

 

 

 

Using conf t interface

create a new

Use configure terminal interface virtual int to create a new internal interface. In this example, an

internal

internal interface with an ID of 3 is created:

interface

 

 

hostname# conf t int vi add 3 int

 

The examples that follow assume that the following command has been executed (which puts the CLI

 

into the external interface context):

 

hostname# conf t int vi ext 2

configure

Use type to configure the external interface. In this example, the interface is set to use L2TP server

external

1.2.3.4 and DHCP for local communication with a user “jdoe.” The interface will disconnect after 30

interface

minutes of inactivity.

 

hostname(2)# type l2tp 1.2.3.4 user jdoe password bar

 

hostname(2)# idle-disconnect 30m

 

hostname(2)# local-ip dhcp

enable RIP

Use rip to enable RIP.

 

hostname(2)# rip enable

configure RIP

Use RIP send-modeto configure RIP send mode. In this example, send mode is configured to send

send mode

updates as RIPv2 multicast.

 

hostname(2)# rip send-mode v2-multicast

add a security

Use zone add to add a security zone to an interface. In this example, the WAN zone is added to the

zone to an

external interface.

interface

 

 

hostname(2)# zone add WAN

 

 

 

conf t local-user

 

The configure terminal local-usercommand creates, modifies, removes, or logs out a local user.

 

add username privilege-group group-namepassword password

 

adds a local user, assigns a password, and adds the user to a privilege group.

 

logout username [ip]

 

logs out the specified user. An IP address can be used to further specify the user.

X Family CLI Reference V 2.5.1

55