Operations 2 min read

Configuring VLAN Interfaces, Trunk Ports, and Advanced ACLs on a Router

This guide shows how to configure VLAN batch processing, set up trunk ports on GigabitEthernet interfaces, assign IP addresses to VLAN interfaces, and create advanced ACLs with a flow policy to block matching traffic on a network router.

Practical DevOps Architecture
Practical DevOps Architecture
Practical DevOps Architecture
Configuring VLAN Interfaces, Trunk Ports, and Advanced ACLs on a Router
<route> sys
[route] vlanbatch 10 20
[route] interfacegigabitethernet0/0/1
[route] –GigabitEthernet0/0/1] portlink-type trunk
[route] –GigabitEthernet0/0/1] porttrunk allow-pass vlan 10
[route] –GigabitEthernet0/0/1] quit
[route] interfacegigabitethernet0/0/2
[route] –GigabitEthernet0/0/2] portlink-type trunk
[route] –GigabitEthernet0/0/2] porttrunk allow-pass vlan 20
[route] –GigabitEthernet0/0/2] quit
[route] interfacevlanif10
[route] -Vlanif10] ipaddress 10.1.1.1 24
[route] -Vlanif10] quit
[route] interfacevlanif20
[route] -Vlanif20] ipaddress 10.1.2.1 24
[route] -Vlanif20] quit

Next, a flow policy is configured to deny traffic that matches the newly created advanced ACLs (ACL3001 and ACL3002), ensuring the ACLs and flow behavior are applied to the router.

Create Advanced ACL 3001

Create Advanced ACL 3002

Please pay attention and progress together.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

RouterACLVLANtrunk ports
Practical DevOps Architecture
Written by

Practical DevOps Architecture

Hands‑on DevOps operations using Docker, K8s, Jenkins, and Ansible—empowering ops professionals to grow together through sharing, discussion, knowledge consolidation, and continuous improvement.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.