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.
<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] quitNext, 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.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
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.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
