История изменений
Исправление sT331h0rs3, (текущая версия) :
user@host:~$ cat log
interface GigabitEthernet0/2.117*
interface GigabitEthernet0/2.118*
interface GigabitEthernet0/2.119*
interface GigabitEthernet0/2.120*
interface GigabitEthernet0/2.121*
interface GigabitEthernet0/2.122*
interface GigabitEthernet0/2.124
ip dhcp relay information option subscriber-id USER1
interface GigabitEthernet0/2.125*
interface GigabitEthernet0/2.126*
interface GigabitEthernet0/2.127*
interface GigabitEthernet0/2.128*
interface GigabitEthernet0/2.800*
interface GigabitEthernet0/2.802*
interface GigabitEthernet0/2.803*
interface GigabitEthernet0/2.804
ip dhcp relay information option subscriber-id USER10
user@host:~$ grep -B 1 "^\ " log | sed '/--/d'
interface GigabitEthernet0/2.124
ip dhcp relay information option subscriber-id USER1
interface GigabitEthernet0/2.804
ip dhcp relay information option subscriber-id USER10
Исходная версия sT331h0rs3, :
user@host:~$ cat log
interface GigabitEthernet0/2.117*
interface GigabitEthernet0/2.118*
interface GigabitEthernet0/2.119*
interface GigabitEthernet0/2.120*
interface GigabitEthernet0/2.121*
interface GigabitEthernet0/2.122*
interface GigabitEthernet0/2.124
ip dhcp relay information option subscriber-id USER1
interface GigabitEthernet0/2.125*
interface GigabitEthernet0/2.126*
interface GigabitEthernet0/2.127*
interface GigabitEthernet0/2.128*
interface GigabitEthernet0/2.800*
interface GigabitEthernet0/2.802*
interface GigabitEthernet0/2.803*
interface GigabitEthernet0/2.804
ip dhcp relay information option subscriber-id USER10
user@host:~$ grep -B 1 "^\ " log | sed '/--/d'
interface GigabitEthernet0/2.124
ip dhcp relay information option subscriber-id USER1
interface GigabitEthernet0/2.804
ip dhcp relay information option subscriber-id USER10