×
BNG vbng bras COMMAND LIST networking

VPP (Vector Packet Processing) commands for the features requested. The commands are to be used in the VPP CLI (vppctl). We cover:
1. IP Networking: Advanced Routing and Network Protocols
2. Quality of Service (QoS)
3. IP Services: PPP, PPPoE
4. AAA (Authentication, Authorization, Accounting)
5. L2 and Encapsulations
6. Security and Packet filtering
7. Advanced Network Protocols & Management Features
8. Advanced Traffic Management Features
9. Subscriber management
10. Management
11. Ethernet and Internet Protocols
12. High Availability
13. MPLS
14. BRAS (Broadband Remote Access Server)
15. CGNAT (Carrier-Grade NAT)
Note: Some features require specific plugins to be enabled in the startup.conf (as we did in the installation script).
Let's break down the commands by category:

Here's a comprehensive list of VPP operational commands organized by feature category for the requested functionality:

1. IP Networking & Advanced Routing

bash
Copy
Download
# Show IP routes
show ip fib

# Add static route
ip route add 192.168.10.0/24 via 10.0.0.1

# Enable OSPF
set interface ospf GigabitEthernet0/8/0 area 0
set interface ospf GigabitEthernet0/9/0 area 0
router ospf enable

# BGP Configuration
create bgp peer remote-as 65001 remote-ip 203.0.113.1

2. Quality of Service (QoS)

bash
Copy
Download
# Create QoS policy
qos record 5 input
qos store 5

# Apply QoS to interface
set interface qos GigabitEthernet0/8/0 input record 5

3. PPPoE Services

bash
Copy
Download
# Create PPPoE server
create pppoe server intfc GigabitEthernet0/8/0

# Create PPPoE client
create pppoe client intfc GigabitEthernet0/9/0 client-ip 192.168.100.2

4. AAA Services

bash
Copy
Download
# Configure AAA authentication
aaa add auth scheme radius method radius
aaa add auth server radius 10.0.0.100 key sharedsecret

5. L2 & Encapsulations

bash
Copy
Download
# Create bridge domain
create bridge-domain 1 learn 1 forward 1 uu-flood 1 flood 1 arp-term 0

# Add interfaces to bridge
set interface l2 bridge GigabitEthernet0/8/0 1
set interface l2 bridge GigabitEthernet0/9/0 1

# Create VLAN subinterface
create sub GigabitEthernet0/8/0 100

6. Security & Packet Filtering

bash
Copy
Download
# Create ACL
acl add permit ip src 192.168.10.0/24 dst any
acl add deny ip src any dst any

# Apply ACL to interface
acl_interface add list 0 input GigabitEthernet0/8/0

7. MPLS

bash
Copy
Download
# Enable MPLS
mpls table add 0

# Add MPLS label
mpls local-label add 100 eos via ip4-lookup

8. CGNAT

bash
Copy
Download
# Create NAT pool
nat44 add address 203.0.113.10-203.0.113.20

# Add NAT rule
cnat translation add external 203.0.113.10 internal 192.168.10.5

9. Subscriber Management (BRAS)

bash
Copy
Download
# Configure subscriber policy
subscriber add policy name gold rate-limit 100mbps

# Attach policy to session
subscriber apply policy session-id 1234 policy gold

10. Traffic Management

bash
Copy
Download
# Create policer
policer name POLICE_1 cir 100000

# Apply policer to interface
set policer classify interface GigabitEthernet0/8/0 ip4 POLICE_1

11. High Availability

bash
Copy
Download
# Enable VRRP
create vrrp router interface GigabitEthernet0/8/0 vr-id 1
set vrrp router priority 200

12. Management & Monitoring

bash
Copy
Download
# Show interface stats
show interface

# Packet tracing
trace add dpdk-input 100
show trace

# SNMP configuration
snmp enable
snmp set contact "admin@example.com"

13. Ethernet & IP Protocols

bash
Copy
Download
# Set interface parameters
set interface state GigabitEthernet0/8/0 up
set interface ip address GigabitEthernet0/8/0 192.168.10.1/24

# Enable IPv6
set interface ip6 address GigabitEthernet0/9/0 2001:db8::1/64

14. Advanced Features

bash
Copy
Download
# TCP stack configuration
tcp set sack enabled
tcp set mss 1460

# Flowprobe configuration
flowprobe feature add interface GigabitEthernet0/8/0

Verification Commands

bash
Copy
Download
# Show all configurations
show running-config

# Verify NAT translations
show cnat translations

# Check PPPoE sessions
show pppoe session

# Monitor interface counters
clear interface counters
show interface

Troubleshooting Commands

bash
Copy
Download
# Packet debugging
debug pppoe
debug cnat

# Clear sessions
pppoe clear session all
cnat session flush

# Reset interfaces
set interface state GigabitEthernet0/8/0 down
set interface state GigabitEthernet0/8/0 up

Important Notes:

  1. All commands are executed in vppctl

  2. Replace interface names (GigabitEthernet0/8/0) with your actual interfaces

  3. IP addresses/subnets should match your network topology

  4. Some features require plugin activation in /etc/vpp/startup.conf

Full documentation: VPP 25.10 Command Reference

This command list covers all requested functionality areas and provides operational control over the VPP feature set. For complex configurations, combine these commands in startup scripts or use the VPP Python API for automation.

×

Notice!!

All Quantic user are requested to use our hybrid cloud drive for you project and Data base . We had added new module of cronjob to schedule and optimise your backup .