Brocade Fabric OS Command Reference Guide v6.1.0 (53-1000599-02, June 2008)

Table Of Contents
Fabric OS Command Reference 439
53-1000599-02
portCfg
2
Examples To add an ARP entry:
switch:admin> portcfg arp ge0 add 192.168.255.25 00:01:02:03:04:60
Operation Succeeded
To create an FCIP tunnel using IPV4:
switch:admin> portcfg fciptunnel ge0 create 2 192.168.255.2 192.168.255.20 100000
Operation Succeeded
To create an FCIP tunnel using IPV6:
switch:admin> portcfg fciptunnel 8/ge0 create 0 4000::1234 2000::800:3333:1234 0
Operation Succeeded
To modify an FCIP tunnel:
switch:admin> portcfg fciptunnel 3/ge0 modify 6 -b 100000 -c 1
Operation Succeeded
To create an FCIP tunnel with VC QoS mapping (default) turned on:
switch:admin> portcfg fciptunnel ge1 create 1 192.168.200.109 192.168.200.108 0 -M
To modify the default VC QoS map settings for VC 1:
switch:admin> portcfg fciptunnel ge1 qosmap 1 3 -Q 29
switch:admin> portcfg fciptunnel ge1 qosmap 1 4 -Q 28 -P 7
switch:admin> portcfg fciptunnel ge1 qosmap 1 4 -P 2
To return the VC QoS map settings to default values:
switch:admin> portcfg fciptunnel ge1 qosmap 1 -default
To create an FCIP tunnel with VLAN tagging:
switch:admin> portcfg fciptunnel8/ge0 create 1 192.168.10.1 192.168.20.1 0 -m 20 -v 100 -p 3 -P 7
Operation Succeeded
To modify an existing FCIP tunnel with VLAN tagging:
switch:admin> portcfg fciptunnel8/ge0 modify 1 192.168.10.1 192.168.20.1 0 -m 20 -v 100
To create an IP interface using IPv4:
switch:admin> portcfg ipif 4/ge0 create 192.168.100.50 255.255.255.0 1500
Operation Succeeded
To create an IP interface using IPv6 with a prefix:
switch:admin> portcfg ipif 8/ge0 create 2000::800:3333:1234/64 1500
Operation Succeeded
To create a static IP route using IPv4:
switch:admin> portcfg iproute ge0 create 172.16.123.231.255.255.0.0 192.168.255.25 1
Operation Succeeded
To create a static IP route using IPv6:
switch:admin> portcfg iproute 8/ge0 create 3000:4444:800::3456/64 1080::8:800:200C:1234