Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 1556
AMF Introduction and Configuration
Software Reference for x310 Series Switches
59.12
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
.
Table 59-1: Set QoS CoS for an AMF tunneling switch
Description
Prompt
Command
Step 1. Create VLAN 10.
Enter Global Configuration mode
(awplus#)
configure terminal
Enter VLAN config mode
awplus(config)#)
vlan database
Create and enable VLAN 10
awplus(vlan-config)#
vlan 10 name virtual-link state
enable
Step 2. Configure VLAN10
Enter the VLAN configuration mode
for VLAN10.
awplus(vlan-config)#
interface vlan10
Set the IP address for VLAN10 to be
192.168.1.1/24
awplus(vlan-config-if)#
ip address 192.168.1.1/24
Return to config mode
awplus(vlan-config-if)#
exit
Step 3. Add policy map vlink to port 1.0.10
Set port 1.0.10 for configuring
awplus(vlan-config)#
interface port 1.0.10
Set the port to access mode
awplus(vlan-config-if)#
switchport mode access
Associate the port with VLAN10
awplus(vlan-config-if)#
switchport access vlan10
Add policy map vlink to port 1.0.10
awplus(vlan-config-if)#
service-policy input vlink
Return to config mode
awplus(vlan-config-if)#
exit
Step 4. Create an AMF virtual-link tunnel
Create the virtual link tunnel
awplus(vlan-config)#
atmf virtual-link id 1 ip
192.168.1.1 remote-id 2
remote-ip 192.168.2.1
Step 5. Create an ACL to permit tunneled traffic
Enable QoS on switch 1
awplus(vlan-config)#
mls qos enable
Create an access-list for the virtual
link
awplus(vlan-config)#
access-list hardware vlink
Permit traffic that has the tunneled IP
addresses
awplus(vlan-config-ip-
hw-acl)#
permit ip 192.168.2.1/24 ip
192.168.1.0/24
Step 6. Create a class-map for the virtual link
Create a class-map named vlink
awplus(vlan-config)#
class-map vlink
Step 7.
Create a class-map named vlinkarp
awplus(vlan-config)#
class-map vlinkarp
awplus(config-cmap)#
match eth-format ethii-any
protocol 0806