Reference Guide

Brocade Fabric OS Command Reference 629
53-1004112-02
portCfg
--loss percentage
Sets the packet-loss percentage. The valid range is from 0.05 through 5.0 percentage.
--runtime min
Sets duration time for the test to run. The valid range is from 1 through 1440 minutes.
The default value is 5 minutes.
--timeout min | none
Sets the timeout duration for the test. If the timeout value is reached during the SLA
session, the session is terminated and the circuit is put into service. Specify none to run
the test until the runtime and packet-loss values are met. The valid range is from 1
through 2880 minutes.
delete name
Deletes the specified SLA session.
Examples To create an IP interface using IPv4:
switch:admin> portcfg ipif ge0 create \
192.169.0.20 netmask 255.0.0.0 mtu 1500
Operation Succeeded
To create an SVI LAN port on a DP:
switch:admin> portcfg ipif lan.dp0 create 10.0.0.1/24 vlan 100
Operation Succeeded.
switch:admin> portcfg ipif lan.dp0 create 10.0.1.1/24 vlan 200
Operation Succeeded.
switch:admin> portshow ipif
Port IP Address / Pfx MTU VLAN Flags
------------------------------------------------------------------------
ge4.dp0 192.168.60.20 / 24 1500 0 U R M
ge17.dp0 192.168.10.107 / 24 1500 0 U R M
lan.dp0 10.0.0.1 / 24 1500 100 U R M
lan.dp0 10.0.1.1 / 24 1500 200 U R M
------------------------------------------------------------------------
Flags: U=Up B=Broadcast D=Debug L=Loopback P=Point2Point R=Running
N=NoArp PR=Promisc M=Multicast S=StaticArp LU=LinkUp X=Crossport
To create an IP interface using IPv6 with a prefix:
switch:admin> portcfg ipif ge0 create 2000::22/64 1500
Operation Succeeded
switch:admin> portshow ipif ge0
Port IP Address / Pfx MTU VLAN Flags
--------------------------------------------------------------------------------
ge0 192.180.0.20 / 24 1500 n/a U R M
ge0 192.168.0.21 / 24 1500 n/a U R M
ge0 2000::10 / 64 1500 n/a U R M
--------------------------------------------------------------------------------
Flags: U=Up B=Broadcast D=Debug L=Loopback P=Point2Point R=Running
N=NoArp PR=Promisc M=Multicast S=StaticArp LU=LinkUp X=Crossport