Interface lan|test gateway ip_address|none – EXFO BV10 Performance Endpoint Unit User Manual

Page 74

Advertising
background image

CLI Command Reference

68

BV10

Configuration Commands

interface lan|test address-netmask

IP_address/netmask|dhcp

Description Sets the IP address and subnet mask for the LAN or TEST port either

manually or using DHCP.
DHCP is enabled by default on the TEST port; it is disabled by default on

the LAN port.
The LAN port is set to IP address 10.10.10.10/255.255.0.0. When DHCP is

enabled, the local IP parameters are acquired from a DHCP server, as

defined in RFC2131. The CLI provides information about the DHCP

acquisition status and the lease (expiration time). For more

information, refer to show interface on page 51
The BV10 supports IPv4 addressing. The netmask value can be

specified in either dotted decimal notation or CIDR format. For

example:
192.168.1.1/255.255.255.0

192.168.1.1/24

Syntax

interface lan|test address-netmask
IP_address/netmask|dhcp

Example

bv10-100> interface test address-netmask 10.10.10.181/24
address-mask: changing static address to 10.10.10.181/255.255.255.0.

interface lan|test gateway

IP_address|none

Description When the LAN or TEST interface IP address of the port is manually set,

sets the gateway to the specified IP address or none. When the IP

address of the port is changed from DHCP to manual, the default

gateway is automatically set to manual using the last acquired default

gateway IP address. The gateway can still be configured to none.

Syntax

interface lan|test gateway IP_address|none

Example

bv10-100> interface lan gateway none

Advertising