arrow-left

All pages
gitbookPowered by GitBook
1 of 4

Loading...

Loading...

Loading...

Loading...

Command Reference

Converting Network-to-Tool portchevron-rightConfiguring 1G Electrical SFPchevron-rightEnabling FlowVision On-box Supportchevron-right

Enabling FlowVision On-box Support

To manage and configure the APB switch using a graphical user interface (GUI), enable FlowVision support on the device.

circle-exclamation

FlowVision utilizes TCP port 443 for its Web-GUI.

  1. Configure Management IP on the APB Switch

//Configure Mgmt IP

pbnoscli# configure terminal 
pbnoscli(config)# interface mgmt 
pbnoscli(config-if)# ip address 10.4.4.51/23 gateway 10.4.4.1 
pbnoscli(config-if)# end
pbnoscli#
  1. Enable FlowVision Ob-Box Support

  1. Verify the reachability of the APB switch from the management system

  1. Access the Web-GUI from your favourite browser https://<MGMT-IP>/

    User: admin

    Password: admin

Converting Network-to-Tool port

A Network port can be converted to a tool port by following the steps below,

  1. Remove the Network port from the flow

Assuming that we want to remove port "Ethernet 63/1" from the flow, The network ports can be reconfigured as below

2. Change the mode of the port to VLAN-aware

circle-info

This step is only required if the port was configured as VLAN-unware when it was initially configured as a network port.

3. Change the interface type to 'tool'

circle-info

The 'type' command under the interface works like a description for the user about the port type

4. Add the port to Port-Channel, if required

  • Adding the port to the Port-Channel

circle-exclamation

If the port channel is already part of a flow, then the flow has to be deleted and reconfigured with the new Port-Channel

  • Create the flow and add ports

  • Add rules to filter traffic

5. Adding the port the tool port

circle-info

The new port can be added to the existing list if it's not part of the Port-Channel

//Verify Management IP

pbnoscli# show ip management 
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.4.4.51  netmask 255.255.254.0  broadcast 10.4.5.255
        inet6 fe80::63f:72ff:fec4:1a68  prefixlen 64  scopeid 0x20<link>
        ether 04:3f:72:c4:1a:68  txqueuelen 1000  (Ethernet)
        RX packets 1095  bytes 98068 (95.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 785  bytes 542645 (529.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xf8100000-f81fffff  
pbnoscli# 
//Before
pbnoscli(config)# flow flow01
pbnoscli(config-flow-flow01)# network-ports Ethernet4/1,Ethernet6/1,Ethernet63/1,Ethernet8/1
pbnoscli(config-flow-flow01)# 

//Reconfiguring flow01
pbnoscli(config)# flow flow01
pbnoscli(config-flow-flow01)# network-ports Ethernet4/1,Ethernet6/1,Ethernet8/1
pbnoscli(config-flow-flow01)# 
//Reconfiguring port mode
pbnoscli# configure terminal 
pbnoscli(config)# interface ethernet Ethernet63/1
pbnoscli(config-if)# mode vlan-aware 
pbnoscli(config-if)# 
//Reconfiguring Ethernet63/1
pbnoscli# configure terminal 
pbnoscli(config)# interface ethernet Ethernet63/1
pbnoscli(config-if)# type tool 
pbnoscli(config-if)# 
//Deleting Flow
pbnoscli(config)# no flow flow01

//Deleting old Port-channel
pbnoscli(config)# no port-channel 1 ports 

//Create a new Port-channel with the new port 
pbnoscli(config)# port-channel 1 ports Ethernet20/1,...,Ethernet63/1
pbnoscli(config)# 
// Some code
pbnoscli(config)# flow flow01
pbnoscli(config-flow-flow01)# network-ports Ethernet4/1,Ethernet6/1,Ethernet8/1
pbnoscli(config-flow-flow01)# tool-ports port-channel1
pbnoscli(config-flow-flow01)# 
//Adding rules to the flow
pbnoscli(config)# flow flow01
pbnoscli(config-flow-flow01)# rule 1 permit match-all counters enable              
pbnoscli(config-flow-flow01)# rule 2 permit match-all ipv6 counters enable 
pbnoscli(config-flow-flow01)# end
//Before
pbnoscli(config)# flow flow01                 
pbnoscli(config-flow-flow01)# tool-ports port-channel1
pbnoscli(config-flow-flow01)#

//Adding the port to the existing set of tool ports
pbnoscli(config)# flow flow01                 
pbnoscli(config-flow-flow01)# tool-ports port-channel1,Ethernet64/1
pbnoscli(config-flow-flow01)#
//Enable FlowVision On-Box Support

pbnoscli# configure terminal 
pbnoscli(config)# flowvision        
  enable                enable/disable the flowvision tool
pbnoscli(config)# flowvision enable 
pbnoscli(config)# end
pbnoscli# 
FlowVision GUI

Configuring 1G Electrical SFP

If an Electrical SFP fails to transfer link status to the switch side, configuring an-clause cl37 and enabling autoneg can resolve this issue. An example is configuring this feature to support the FINISAR SFP FTLX1471D3BCL on Edge-Core AS5812.

To set up a port for supporting a 1G Electrical SFP, follow the steps outlined below:

circle-exclamation

This feature is only supported on Broadcom platforms

  1. Configure speed on the port

  1. Configure the an-clause to support 1G Electrical pluggable

  1. configure auto-neg on the port

Note that if any changes on autoneg is made to the port, you must follow these exact steps in order:

// Check Ping for reachability
 
aviz@npbsrv01:~$ ping 10.4.4.51
PING 10.4.4.51 (10.4.4.51) 56(84) bytes of data.
64 bytes from 10.4.4.51: icmp_seq=1 ttl=64 time=0.614 ms
64 bytes from 10.4.4.51: icmp_seq=2 ttl=64 time=0.317 ms
64 bytes from 10.4.4.51: icmp_seq=3 ttl=64 time=0.268 ms
^C
--- 10.4.4.51 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2039ms
rtt min/avg/max/mdev = 0.268/0.399/0.614/0.152 ms

// Try Telnet to check the status of Port:443

aviz@npbsrv01:~$ 
aviz@npbsrv01:~$ telnet 10.4.4.51 443
Trying 10.4.4.51...
Connected to 10.4.4.51.
Escape character is '^]'.
pbnoscli# show running-config 
configure terminal
interface mgmt
ip address 10.4.4.51/23 gateway 10.4.4.1
!
flowvision enable
!
pbnoscli# 
pbnoscli(config)# interface ethernet Ethernet2/1
pbnoscli(config-if)# speed 1000
pbnoscli(config)# interface ethernet Ethernet2/1
pbnoscli(config-if)# an-clause cl37
pbnoscli(config)# interface ethernet Ethernet2/1
pbnoscli(config-if)# no autoneg disable
pbnoscli# show interface status 
================================================================================================
Port            Name                            Oper    Admin   Vlan    Speed   MTU     AutoNeg 
================================================================================================
Ethernet1/1     tenGigE1                        down    up      routed  10000   9100    N/A     
Ethernet2/1     tenGigE2                        up      up      routed  1000    9100    on      
Ethernet3/1     tenGigE3                        down    up      routed  10000   9100    N/A     
Ethernet4/1     tenGigE4                        down    up      routed  10000   9100    N/A     
<...>
Ethernet52/1    fourtyGigE52                    down    up      routed  40000   9100    N/A     
Ethernet53/1    fourtyGigE53                    down    up      routed  40000   9100    N/A     
Ethernet54/1    fourtyGigE54                    down    up      routed  40000   9100    N/A     
pbnoscli# 
Autoneg Disable to Enable:
---------------------------
pbnoscli(config)# interface ethernet Ethernet2/1
pbnoscli(config-if)# no an-clause cl37
pbnoscli(config-if)# an-clause cl37
pbnoscli(config-if)# no autoneg disable

pbnoscli# show running-config 
configure terminal
interface ethernet Ethernet2/1
speed 1000
an-clause cl37
!
interface mgmt
ip address 10.4.4.53/23 gateway 10.4.4.1
!
pbnoscli#