Backup Configuration on BOSS and VOSS

ERS 4850 and VSP 7024

Save binary and ASCII configurations on ERS 4850 and VSP 7024:

copy config tftp address x.x.x.x filename ERS4850_name.bin

copy running tftp address x.x.x.x filename ERS4850_name.asc

copy config tftp address x.x.x.x filename VSP7024_name.bin

copy running tftp address x.x.x.x filename VSP7024_name.asc

VSP 4850 and VSP 7254

Save ASCII configurations on VSP 4850 and VSP 7254:

copy /intflash/config.cfg /intflash/config.yymmdd

copy /intflash/config.cfg x.x.x.x:VSP4850_name.yymmdd

Where x.x.x.x is IP address of TFTP server.

 

 

 

VI Cheat Sheet

General Commands:

To exit vi and save changes: ZZ   or  :wq

To exit vi without saving changes: :q!

To enter vi command mode: [esc]

Inserting

r          replace character under cursor with next character typed

R         keep replacing character until [esc] is hit

i           insert before cursor

a          append after cursor

A          append at end of line

O          open line above cursor and enter append mode

:%s/original/replacement Replace original text with replacement text

:%s/original/replacement/g Replace all (/gc with confirmation)

Deleting

x           delete character under cursor

dd         delete line under cursor

dw        delete word under cursor

db         delete word before cursor

ERS 3500 QOS VLAN Policy

qos if-group name Trusted class trusted
qos if-group name Unrestricted class unrestricted
qos action 253 name baseAct253 update-dscp 46 update-1p 6
qos l2-element 253 name l2Clfr405 vlan-min 253 vlan-max 253 ethertype 0x800
qos classifier 253 set-id 253 name clfrComp253 element-type l2 element-id 253
qos if-assign port 1/1-23 name Unrestricted
qos if-assign port 1/24 name Trusted
qos if-assign port 2/ALL name Unrestricted
qos policy 253 name policy253 if-group Unrestricted clfr-type classifier clfr-id 253 in-profile-action 253 precedence 1

 

 

Ubuntu Server QOS Test

Running Ubuntu Server in Virtual Box in Windows can allow for some useful extra networking utilities. I was searching for alternative to ping -V since this parameter has been deprecated and found the Ubuntu ping command offered more. Assumption being that the VM is connected to a network where you need to test.

Using Ping -Q tos option (ie 0xB8) to send ICMP requests with DSCP 46 set.

Tip: Toggle through multiple TTY terminal screens using Alt + left or right arrow. Run ping from one window and TCPDUMP from another.

 

Default VSP QOS behaviour

Enabling DiffServ on a port

Enable DiffServ so that the system provides DiffServ-based QoS on the port. By default, DiffServ is enabled.

Procedure

1. Enter Interface Configuration mode:
enable
configure terminal
interface GigabitEthernet {slot/port[/sub-port][-slot/port[/subport]][,…]}
or interface vlan <1–4059>

Note:
If your platform supports channelization for 40 Gbps ports and the port is channelized,
you must also specify the sub-port in the format slot/port/sub-port.

2. Enable DiffServ:
enable-diffserv [port {slot/port[/sub-port][-slot/port[/sub-port]]
[,…]}] [enable]
3. Disable Diffserv:
no enable-diffserv [port {slot/port[/sub-port][-slot/port[/subport]][,…]}]
[enable]

Enables DiffServ for the specified port. The default is enabled.

Configuring Layer 3 trusted or untrusted ports

Configure a port as trusted or untrusted to determine the Layer 3 QoS actions the switch performs.
A trusted (core) port honors incoming Differentiated Services Code Point (DSCP) markings. An untrusted (access) port overrides DSCP markings. The default configuration is trusted.

Procedure

1. Enter Interface Configuration mode:
enable
configure terminal
interface GigabitEthernet {slot/port[/sub-port][-slot/port[/subport]][,…]}
or interface vlan <1–4059>

Note:
If your platform supports channelization for 40 Gbps ports and the port is channelized,
you must also specify the sub-port in the format slot/port/sub-port.

2. Enable DiffServ.
3. Configure the port as an access port:
access-diffserv [port {slot/port[/sub-port][-slot/port[/sub-port]]
[,…]}] [enable]
4. Configure the port as a core port:
no access-diffserv [port {slot/port[/sub-port][-slot/port[/subport]][,…]}]
[enable]

If enabled, specifies an access port and overrides incoming DSCP bits. If disabled, specifies a core port that honors and services incoming DSCP bits.

Configuring Layer 2 trusted or untrusted ports

Configure a port as trusted or untrusted to determine the Layer 2 QoS actions the switch performs.
A trusted port (override disabled) honors incoming 802.1p bit markings. An untrusted port (override enabled) overrides 802.1p bit markings.

Procedure

1. Enter Interface Configuration mode:
enable
configure terminal
interface GigabitEthernet {slot/port[/sub-port][-slot/port[/subport]][,…]}
or interface vlan <1–4059>

Note:
If your platform supports channelization for 40 Gbps ports and the port is channelized,
you must also specify the sub-port in the format slot/port/sub-port.

2. Enable DiffServ.
3. Configure the port as Layer 2 untrusted:
qos 802.1p-override [enable]
4. Configure the port as Layer 2 trusted:
no qos 802.1p-override [enable]

If you use this variable, the port overrides incoming 802.1p bits; if you do not use this variable, the port honors and services incoming 802.1p bits. The default is disable (Layer 2 trusted).

Configuring the port QoS level

Configure the port QoS level to assign a default QoS level for all traffic if the packet does not match an access control list (ACL) that re-marks the packet. If you configure port QoS levels, Layer 2 and Layer 3 traffic from the same port use the same QoS level. The default value is 1.

For VoIP traffic, Avaya recommends that you use QoS level 6.

Procedure

1. Enter GigabitEthernet Interface Configuration mode:
enable
configure terminal
interface GigabitEthernet {slot/port[/sub-port][-slot/port[/subport]][,…]}

Note:
If your platform supports channelization for 40 Gbps ports and the port is channelized,
you must also specify the sub-port in the format slot/port/sub-port.

2. Configure the port QoS level:
qos level [port {slot/port[sub-port]}] <0-6>

Specifies the default QoS level for the port traffic. The system reserves QoS level 7 for network control traffic. The default is 1.