
configure
X Family CLI Reference V 2.5.1 55
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
internal
interface
Use configure terminal interface virtual int to create a new internal interface. In this example, an
internal interface with an ID of 3 is created:
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
external
interface
Use type to configure the external interface. In this example, the interface is set to use L2TP server
1.2.3.4 and DHCP for local communication with a user “jdoe.” The interface will disconnect after 30
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
send mode
Use RIP send-mode to configure RIP send mode. In this example, send mode is configured to send
updates as RIPv2 multicast.
hostname(2)# rip send-mode v2-multicast
add a security
zone to an
interface
Use zone add to add a security zone to an interface. In this example, the WAN zone is added to the
external interface.
hostname(2)# zone add WAN
conf t local-user
The configure terminal local-user command creates, modifies, removes, or logs out a local user.
add username privilege-group group-name password 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.
Komentarze do niniejszej Instrukcji