R6.1 Configuration Note Hybrid Ports Last
Updated: May, 2014 Issues
Version 1.0
Starting from 6.1R2 and onwards, the 7705 SAR supports hybrid port mode, which combines access and network modes on a single port. This allows management and user traffic to flow on the same port at the same time.
At the egress direction of the hybrid port, a new set of dual-rate shapers for the aggregate of the access and the aggregate of the NW traffic is introduced to ensure rate-based arbitration among access and NW traffic. Committed and peak rates can be configured in the shapers.
The goal of this configuration note is to provide configurations of the hybrid port and egress traffic shaper policies.
In the diagram below, two SAR-Ms are connected together via hybrid ports. Traffic is generated by IXIA.
Figure 1 - Network setup
- Network setup as shown in the diagram above.
- Hybrid port mode is configured on the ports connecting SAR-M-143 and SAR-M-144.
- IGP and MPLS enabled.
- Distributed Epipe service 100 is for the network traffic.
- Local Epipe service 200 is configured for the management traffic.
- Node SAR-M-143 Config:
The “encap-type” needs to be set to “dot1q”.
A:SAR-M-143# configure qos shaper-policy network
A:SAR-M-143>config>qos>shaper-policy# info
----------------------------------------------
shaper-group default create
description "Default Shaper Group."
rate max cir 50000
exit
----------------------------------------------
A:SAR-M-143# configure qos shaper-policy management
A:SAR-M-143>config>qos>shaper-policy# info
----------------------------------------------
shaper-group default create
description "Default Shaper Group."
rate max cir 3000
exit
----------------------------------------------
A:SAR-M-143# configure port 1/1/7
A:SAR-M-143>config>port# info
----------------------------------------------
ethernet
mode hybrid
encap-type dot1q
network
egress
shaper-policy network
exit
exit
access
egress
shaper-policy management
exit
exit
egress-rate 53000
exit
no shutdown
----------------------------------------------
VLAN 100 carries network traffic, whereas VLAN 200 carries management traffic. The underlying IGP and MPLS configurations are not shown here. They need to be configured properly to get the service operationally up.
A:SAR-M-143# configure router interface to-SAR-M-144
A:SAR-M-143>config>router>if# info
----------------------------------------------
address 10.143.144.1/30
port 1/1/7:100
dhcp
shutdown
exit
----------------------------------------------
A:SAR-M-143# configure service epipe 200
A:SAR-M-143>config>service>epipe# info
----------------------------------------------
sap 1/1/6:200 create
exit
sap 1/1/7:200 create
exit
no shutdown
----------------------------------------------
Note: SAR-M-144 has a similar configuration.
Hybrid port stats: since the traffic generator is sending more than the configured egress-rate, the drop counter is incrementing.
Note: “egress queue stats” from “show port xxx detail” is for the network port only.
A:SAR-M-143# show port 1/1/7 detail
===============================================================================
Ethernet Interface
===============================================================================
Description : 10/100/Gig Ethernet TX
Interface : 1/1/7 Oper Speed : 1 Gbps
Link-level : Ethernet Config Speed : 1 Gbps
Admin State : up Oper Duplex : full
Oper State : up Config Duplex : full
Physical Link : Yes MTU : 1572
Single Fiber Mode : No
IfIndex : 35880960 Hold time up : 0 seconds
Last State Change : 05/01/2014 16:51:30 Hold time down : 0 seconds
Last Cleared Time : 05/06/2014 15:22:51
Configured Mode : hybrid Encap Type : 802.1q
Dot1Q Ethertype : 0x8100 QinQ Ethertype : 0x8100
Ing. Pool % Rate : 100 Egr. Pool % Rate : 100
Net. Egr. Queue Pol: default
Net. Egr. ShaperPol: network
Acc. Egr. ShaperPol: management
Net. Scheduler Mode: 16-priority
Auto-negotiate : true MDI/MDX : MDX
Config Phy-tx-clock: auto-pref-slave Oper Phy-tx-clock: slave
SapEgr.Unshaped-Cir: 0 Kbps
Egress Rate : 53000 Ingress Rate : Default
Ingress CBS(bytes) : 130816 Src-pause : Disabled
Down-when-looped : Disabled Keep-alive : 10
Loop Detected : False Retry : 120
Use Broadcast Addr : False
Loopback : none Swap Mac Addr : Disabled
Loopback Time Left : unspecified
Cfm Loopback : Disabled
Sync. Status Msg. : Disabled Rx Quality Level : N/A
PTP Asymmetry : 0 Edge Timestamp : Disable
Timestamp Capable : True
Configured Address : 14:3e:60:b4:3e:3f
Hardware Address : 14:3e:60:b4:3e:3f
Cfg Alarm :
Alarm Status :
===============================================================================
Traffic Statistics
===============================================================================
Input Output
-------------------------------------------------------------------------------
Octets 8512 1008094356
Packets 96 661258
Errors 0 0
===============================================================================
Ethernet Statistics
===============================================================================
Broadcast Pckts : 0 Drop Events : 0
Multicast Pckts : 158 CRC/Align Errors : 0 Undersize Pckts : 0 Fragments : 0
Oversize Pckts : 0 Jabbers : 0
Collisions : 0
Octets : 1505056278
Packets : 987379
Packets of 64 Octets : 0
Packets of 65 to 127 Octets : 290
Packets of 128 to 255 Octets : 0
Packets of 256 to 511 Octets : 0
Packets of 512 to 1023 Octets : 0
Packets of 1024 to 1518 Octets : 57601
Packets of 1519 or more Octets : 929488
===============================================================================
===============================================================================
Port Statistics
===============================================================================
Input Output
-------------------------------------------------------------------------------
Unicast Packets 66 987155
Multicast Packets 79 79
Broadcast Packets 0 0
Discards 0 307152
Unknown Proto Discards 0
===============================================================================
===============================================================================
Port Discard Statistics
===============================================================================
Input Output
Inv L2 Packets : 0 Other Discards : 307152
Inv IP Packets : 0
H.Policed Packets: 0
CSM Ingress Queues CSM Egress Queues
Hi : 0 Common : 0
Medium : 0
......some output omitted......
Egress Queue 1 Packets Octets
In Profile forwarded : 0 0
Out Profile forwarded : 1555914 2368101108
Out Profile dropped : 514156 782545432
Egress Queue 2 Packets Octets
In Profile forwarded : 0 0
In Profile dropped : 0 0
Out Profile forwarded : 0 0
Out Profile dropped : 0 0
Egress Queue 3 Packets Octets
In Profile forwarded : 0 0
In Profile dropped : 0 0
Out Profile forwarded : 0 0
Out Profile dropped : 0 0
Egress Queue 4 Packets Octets In Profile forwarded : 0 0
In Profile dropped : 0 0
Out Profile forwarded : 0 0
Out Profile dropped : 0 0
Egress Queue 5 Packets Octets
In Profile forwarded : 0 0
In Profile dropped : 0 0
Out Profile forwarded : 0 0
Out Profile dropped : 0 0
Egress Queue 6 Packets Octets
In Profile forwarded : 0 0
In Profile dropped : 0 0
Out Profile forwarded : 0 0
Out Profile dropped : 0 0
Egress Queue 7 Packets Octets
In Profile forwarded : 0 0
In Profile dropped : 0 0
Out Profile forwarded : 0 0
Out Profile dropped : 0 0
Egress Queue 8 Packets Octets
In Profile forwarded : 0 0
In Profile dropped : 0 0
Out Profile forwarded : 0 0
Out Profile dropped : 0 0
Egress Queue CTL Packets Octets
Forwarded : 250 21146
Dropped : 0 N/A
===============================================================================
Management traffic stats on the hybrid port.
A:SAR-M-143# show service id 200 sap 1/1/7:200 detail
===============================================================================
Service Access Points(SAP)
===============================================================================
Service Id : 200
SAP : 1/1/7:200 Encap : q-tag
Description : (Not Specified)
Admin State : Up Oper State : Up
Flags : None
Multi Svc Site : None
Last Status Change : 05/02/2014 18:53:04
Last Mgmt Change : 05/02/2014 18:51:56
Sub Type : regular
Dot1Q Ethertype : 0x8100 QinQ Ethertype : 0x8100
Split Horizon Group: (Not Specified)
Hold Meps Up : Disabled
Admin MTU : 1572 Oper MTU : 1572
Ingr IP Fltr-Id : n/a Egr IP Fltr-Id : n/a
Ingr Mac Fltr-Id : n/a Egr Mac Fltr-Id : n/a
Ingr IPv6 Fltr-Id : n/a Egr IPv6 Fltr-Id : n/a
tod-suite : None qinq-pbit-marking : both
Ing Scheduler Mode : 4-priority Egr Scheduler Mode: 4-priority
Endpoint : N/A
Q Frame-Based Acct : Disabled
Vlan-translation : None
Acct. Pol : None Collect Stats : Disabled
Application Profile: None
-------------------------------------------------------------------------------
QOS
-------------------------------------------------------------------------------
Ingress qos-policy : 1 Egress qos-policy : 1
Shared Q plcy : n/a Multipoint shared : Disabled
-------------------------------------------------------------------------------
Sap Statistics Last Cleared Time : N/A
Packets Octets
Forwarding Engine Stats
Dropped : 0 0
Off. HiPrio : 0 0
Off. LowPrio : 0 0
Queueing Stats(Ingress QoS Policy 1)
Dro. HiPrio : 0 0
Dro. LowPrio : 0 0
For. InProf : 0 0
For. OutProf : 0 0
Queueing Stats(Egress QoS Policy 1)
Dro. InProf : 0 0
Dro. OutProf : 1630744 2452638976
For. InProf : 0 0
For. OutProf : 88565395 133202354080
-------------------------------------------------------------------------------
Sap per Queue stats
-------------------------------------------------------------------------------
Packets Octets
Ingress Queue 1 (Priority)
Off. HiPrio : 0 0
Off. LoPrio : 0 0
Dro. HiPrio : 0 0
Dro. LoPrio : 0 0
For. InProf : 0 0
For. OutProf : 0 0
Egress Queue 1
For. InProf : 0 0
For. OutProf : 88565395 133202354080
Dro. InProf : 0 0
Dro. OutProf : 1630744 2452638976
===============================================================================