This article describes how to block Host bound traffic on versa FlexVNF.
Occasionally, customer configures SNMP client on the LAN network. In order to do that, we need to allow client IP address and its corresponding interface under “system vnf-manager” hierarchy. This allows LAN host to access SSH/SNMP/Netconf on Branch device. This may not be feasible or acceptable for client.
admin@CPE1-cli> show configuration system vnf-manager ip-addresses [ 171.10.10.2/32 172.1.1.1/32 ]; <<< 171.10.10.2 is SNMP client IP vnf-mgmt-interfaces [ tvi-0/5.0 vni-0/1.0 ];
We cannot block host bound traffic using security access policies as traffic gets terminated on CPE itself. To achieve this, we can configure QoS policy to block desired traffic coming from client and destined to Branch device.

Login to Versa Director and select the CPE and Organization where this change needs to be implemented


Go to Appliance > Configuration > Class of Service> QoS Policies> Rules and then click on + button.




Last login: Fri Jan 4 00:43:40 2019 from 10.144.2.0
[admin@versa-flexvnf: ~] # snmpwalk -v2c -c versa 171.10.10.1 .1.3.6.1.4.1.42359.2.2.1.1.1.1.3.0
iso.3.6.1.4.1.42359.2.2.1.1.1.1.3.0 = Gauge32: 49
[admin@versa-flexvnf: ~] # ssh admin@171.10.10.1
admin@171.10.10.1's password:
.---.,
( ``.
_ \ ) __ ________ _____ _____
( `. \ / \ \ / / ____| __ \ / ____| /\
\ `. ) / \ \ / /| |__ | |__) | (___ / \
\ | / \ \/ / | __| | _ / \___ \ / /\ \
\ | / \ / | |____| | \ \ ____) / ____ \
\ | / \/ |______|_| \_\_____/_/ \_\
\ | /
\_|/ ___ _ _____ ___ ___ _ ___
| __| | | __\ \/ | \ / / \| | __|
| _|| |__| _| > < \ V /| .` | _|
|_| |____|___/_/\_\ \_/ |_|\_|_|
Versa FlexVNF software
Release : 16.1R2 (S6)
Release date: 20181116
Package ID : 67da9db
[admin@versa-flexvnf: ~] # snmpwalk -v2c -c versa 171.10.10.1 .1.3.6.1.4.1.42359.2.2.1.1.1.1.3.0 iso.3.6.1.4.1.42359.2.2.1.1.1.1.3.0 = Gauge32: 50
[admin@versa-flexvnf: ~] # ssh admin@171.10.10.1
ssh: connect to host 171.10.10.1 port 22: Connection timed out
[ok][2019-01-04 15:22:01]
admin@CPE1-cli> show orgs org-services AGR class-of-service qos-policies AGR-QoS-Policy rules qos-policy-stats Allow-SNMP_Only
QOS QOS QOS QOS QOS PPS PPS KBPS KBPS
QOS DROP DROP FORWARD FORWARD SESSION POLICER POLICER POLICER POLICER
HIT PACKET BYTE PACKET BYTE DENY PKTS BYTES PKTS BYTES
RULE NAME COUNT COUNT COUNT COUNT COUNT COUNT DROPPED DROPPED DROPPED DROPPED
------------------------------------------------------------------------------------------------------
Allow-SNMP_Only 5 0 0 0 0 5 0 0 0 0